silence warning about unused var in SDK < 10.14

This commit is contained in:
Stefan Csomor 2018-08-08 08:07:59 +02:00
parent 71ad5ba545
commit e09d11c7ac

View File

@ -597,6 +597,8 @@ wxOSXEffectiveAppearanceSetter::wxOSXEffectiveAppearanceSetter()
formerAppearance = NSAppearance.currentAppearance; formerAppearance = NSAppearance.currentAppearance;
NSAppearance.currentAppearance = NSApp.effectiveAppearance; NSAppearance.currentAppearance = NSApp.effectiveAppearance;
} }
#else
wxUnusedVar(formerAppearance);
#endif #endif
} }