Add dark mode support

Add dark mode support
This commit is contained in:
Andy Vandijck 2025-07-07 20:44:54 +02:00
parent 8a2cec5790
commit 20db98897d
1 changed files with 4 additions and 0 deletions

View File

@ -355,6 +355,10 @@ wxString wxvbamApp::GetAbsolutePath(wxString path)
bool wxvbamApp::OnInit() {
using_wayland = IsWayland();
#if ((wxMAJOR_VERSION == 3) && (wxMINOR_VERSION >= 3)) || (wxMAJOR_VERSION > 3)
SetAppearance(Appearance::System);
#endif
// use consistent names for config, DO NOT TRANSLATE
SetAppName("visualboyadvance-m");
#if (wxMAJOR_VERSION >= 3)