Hacks.
[windows-environment.git] / Patches / wxwidgets-osx-zorder.patch
1 Index: src/osx/dialog_osx.cpp
2 ===================================================================
3 --- src/osx/dialog_osx.cpp      (revision 3f66f6a5b3583b02c34854556eb83e3a808524ce)
4 +++ src/osx/dialog_osx.cpp      (revision 2fa4a0be4ecd4169aa655f296733fe6ca99048e2)
5 @@ -179,4 +179,8 @@
6      SetReturnCode(retCode);
7      Show(false);
8 +
9 +    // Prevent app frame from taking z-order precedence
10 +    if( GetParent() )
11 +        GetParent()->Raise();
12  }
13