Silence warning building with macOS SDK < 10.14

This commit is contained in:
Václav Slavík
2018-09-16 13:53:32 +02:00
committed by Václav Slavík
parent 7dfe9e05c6
commit d4d6524c63

View File

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