Silence warning building with macOS SDK < 10.14
This commit is contained in:
committed by
Václav Slavík
parent
7dfe9e05c6
commit
d4d6524c63
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user