Skip to content

Commit

Permalink
change macro for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 committed Feb 1, 2023
1 parent 1fdd710 commit 79a5dac
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion xCapture/xCaptureApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ bool xCaptureApp::OnInit()
logger_base.info("******* OnInit: xCapture started.");

DumpConfig();
#ifdef _MSC_VER
#ifdef __WXMSW__
MSWEnableDarkMode();
#endif
static const wxCmdLineEntryDesc cmdLineDesc[] =
Expand Down
2 changes: 1 addition & 1 deletion xFade/xFadeApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ bool xFadeApp::OnInit()
logger_base.info("******* OnInit: xFade started.");

DumpConfig();
#ifdef _MSC_VER
#ifdef __WXMSW__
MSWEnableDarkMode();
#endif
static const wxCmdLineEntryDesc cmdLineDesc[] =
Expand Down
2 changes: 1 addition & 1 deletion xLights/xLightsApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ bool xLightsApp::OnInit()
InitialiseLogging(false);
static log4cpp::Category &logger_base = log4cpp::Category::getInstance(std::string("log_base"));
logger_base.info("******* OnInit: XLights started.");
#ifdef _MSC_VER
#ifdef __WXMSW__
MSWEnableDarkMode();
#endif
#if wxUSE_GLCANVAS_EGL
Expand Down
2 changes: 1 addition & 1 deletion xScanner/xScannerApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ bool xScannerApp::OnInit()
logger_base.info("******* OnInit: xScanner started.");

DumpConfig();
#ifdef _MSC_VER
#ifdef __WXMSW__
MSWEnableDarkMode();
#endif
static const wxCmdLineEntryDesc cmdLineDesc[] =
Expand Down
2 changes: 0 additions & 2 deletions xSchedule/xScheduleApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ bool xScheduleApp::OnInit()
#ifdef __WXMSW__
logger_base.debug("xSchedule module handle 0x%llx", ::GetModuleHandle(nullptr));
logger_base.debug("xSchedule wxTheApp 0x%llx", wxTheApp);
#endif
#ifdef _MSC_VER
MSWEnableDarkMode();
#endif
DumpConfig();
Expand Down

0 comments on commit 79a5dac

Please sign in to comment.