git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52832
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
else if ( HasFlag( wxPOPUP_WINDOW ) )
{
}
else if ( HasFlag( wxPOPUP_WINDOW ) )
{
- // TEMPORARY HACK!
- // Until we've got a real wxPopupWindow class on wxMac make it a
- // little easier for wxFrame to be used to emulate it and workaround
- // the lack of wxPopupWindow.
if ( HasFlag( wxBORDER_NONE ) )
if ( HasFlag( wxBORDER_NONE ) )
wclass = kHelpWindowClass ; // has no border
wclass = kHelpWindowClass ; // has no border
+ attr |= kWindowNoShadowAttribute;
+ }
wclass = kPlainWindowClass ; // has a single line border, it will have to do for now
wclass = kPlainWindowClass ; // has a single line border, it will have to do for now
- //attr |= kWindowNoShadowAttribute; // turn off the shadow Should we??
- group = GetWindowGroupOfClass( // float above other windows
- kFloatingWindowClass) ;
+ }
+ group = GetWindowGroupOfClass(kFloatingWindowClass) ;
+ // make sure we don't deactivate something
+ activationScopeSet = true;
+ activationScope = kWindowActivationScopeNone;
}
else if ( HasFlag( wxCAPTION ) )
{
}
else if ( HasFlag( wxCAPTION ) )
{