diff --git a/src/osx/cocoa/nonownedwnd.mm b/src/osx/cocoa/nonownedwnd.mm index ed05e21089..6e270ee826 100644 --- a/src/osx/cocoa/nonownedwnd.mm +++ b/src/osx/cocoa/nonownedwnd.mm @@ -251,7 +251,7 @@ long style, long extraStyle, const wxString& name ) else m_macWindow = [wxNSWindow alloc]; - CGWindowLevel level = kCGNormalWindowLevelKey; + CGWindowLevel level = kCGNormalWindowLevel; if ( style & wxFRAME_TOOL_WINDOW ) {