silence warning about unused var in SDK < 10.14
This commit is contained in:
parent
71ad5ba545
commit
e09d11c7ac
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user