summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.cc
AgeCommit message (Collapse)Author
2025-05-27Move i18n setup into 3 separate platform files.Carl Hetherington
2025-05-27Put wx::report_problem() in a dcpomatic namespace.Carl Hetherington
2025-04-16Respect dark GUI on all platforms, not just macOS.Carl Hetherington
2025-03-25Add Nepal Standard Time UTC offset (+5:45).Carl Hetherington
2025-02-10Fix macOS locale handling.Carl Hetherington
The docs for wxLocale say it's broken on macOS, and it seems to cause problems when e.g. de_DE is configured in DoM and the computer is set to de_DE locale (and language) - then you can't enter , in wxSpinCtrlDouble and if you type a . and then use the up/down buttons it all goes wrong. It doesn't seem possible to set a configured locale in DoM, but you probably don't want that anyway. wxUILocale::UseDefault() appears to magically fix everything. Unfortunately this is not available in the version of wxWidgets we use for 10.8 and 10.9, and we can't go higher with wxWidgets on those macOS versions. So maybe localisation on 10.{8,9} will be broken, and stay broken.
2025-02-09Remove unnecessary wx_ptrCarl Hetherington
It was only ever used for wxDialog subclasses, which can be stack-allocated.
2025-01-19Add option to force short screen layout (#2946).Carl Hetherington
2025-01-16Extract layout_for_short_screen().Carl Hetherington
2024-10-15Remove AddCatalog() that I think is actually unnecessary.Carl Hetherington
This was supposed to fix mac, but mac doesn't run this branch of the #if.
2024-10-14Fix lookup of wxWidgets i18n on Windows and macOS.Carl Hetherington
2024-09-03Remove use of wxT in favour of char_to_wx().Carl Hetherington
The wxWidgets docs advise against its use these days.
2024-09-03Make context_translation take a char array.Carl Hetherington
2024-09-03Remove some implicit conversions between wxString and std::string.Carl Hetherington
2024-09-03Add new char_to_wx() to convert UTF8 character arrays to wxString.Carl Hetherington
2024-05-06Use sqlite for cinema and DKDM recipient lists.Carl Hetherington
2024-04-26Splash behaviour does not need to be branded after all.Carl Hetherington
2024-04-26Allow customisation of error report email address.Carl Hetherington
2024-04-24Restore time zone to Cinema and improve UI to use it (#2473).Carl Hetherington
2024-04-21Bring some more branding into the variant.Carl Hetherington
2024-04-21Extract all uses of DCP-o-matic name to allow branding.Carl Hetherington
2024-04-15Fix build on macOS 10.8 (wxWidgets 3.0.5).Carl Hetherington
2024-04-10Hopefully fix build with the older wxWidgets use for old macOS.Carl Hetherington
2024-04-08Add new setup of i18n for macOS (#2778).Carl Hetherington
2024-04-08Cleanup: header ordering.Carl Hetherington
2024-03-15Get prefs icons from the source tree on when starting from the macOS console.Carl Hetherington
2024-01-16Cleanup: rename some methods in FilePickerCtrl and use ↵Carl Hetherington
boost::filesystem::path more.
2023-09-09Always call AddCatalog("wxstd") as it appears to be necessary toCarl Hetherington
get wxWidgets' translations to appear (at least on Windows) (#2606).
2023-05-10Fix uninitialised variable caught by the macOS compiler.Carl Hetherington
2023-04-25Don't use wx_ptr for the splash screen.Carl Hetherington
Using wx_ptr in the wxApp object seems bad because in ~App wxWidgets deletes all top-level windows in `DeleteAllTLWs` so if ~wx_ptr then tries to destroy them we get a use-after-free.
2023-01-16Add indent option to wxGridBagSizer version of add_label_to_sizerCarl Hetherington
Also remove the use of wxRIGHT as I don't think it was doing anything before.
2023-01-15Use wx_ptr for the splash screen.Carl Hetherington
2023-01-14Add wx_ptr and use it instead of ScopeGuard in a lot of places.Carl Hetherington
2023-01-14Use ScopeGuard more.Carl Hetherington
2022-11-29Extract RegionSubtagWidget.Carl Hetherington
2022-11-29Add default audio language configuration (#2375).Carl Hetherington
2022-10-18Use different icons for the timeline in dark/light modes.Carl Hetherington
2022-10-11Hack to fix wxChoice heights on KDE (#2343).Carl Hetherington
2022-09-05Tidy up code to report failures to load config in the UI.Carl Hetherington
2022-07-20Change bitmap_path to take a full name with extension.Carl Hetherington
2022-05-15Layout alignment tweaks.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-04-03C++11 and whitespace cleanups.Carl Hetherington
2022-03-09Improve ratings dialog to allow only valid values (#2199).Carl Hetherington
2022-03-09Add search_ctrl_height()Carl Hetherington
2022-02-11Allow a little more space in small_button_size for the ru_RU translation.Carl Hetherington
2021-11-20Extract dpi_scale_factor() to a function.Carl Hetherington
2021-06-25Extract gui_is_dark() to wx_util.Carl Hetherington
2021-04-29C++11 tidying.Carl Hetherington
2021-03-14Fix crash on startup on macOS.Carl Hetherington
2021-02-28Add version informationm to splash screen (#1913).Carl Hetherington