turning off a wxSTAY_ON_TOP patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1406,7 +1406,11 @@ void wxApp::MacSuspend( bool convertClipboard )
|
|||||||
while (node)
|
while (node)
|
||||||
{
|
{
|
||||||
wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
|
wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
|
||||||
|
#if TARGET_CARBON
|
||||||
|
#if 0 // we've got some problem with that style right now
|
||||||
if (!win->HasFlag(wxSTAY_ON_TOP))
|
if (!win->HasFlag(wxSTAY_ON_TOP))
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
win->MacActivate( MacGetCurrentEvent() , false ) ;
|
win->MacActivate( MacGetCurrentEvent() , false ) ;
|
||||||
|
|
||||||
node = node->Next();
|
node = node->Next();
|
||||||
|
@@ -1406,7 +1406,11 @@ void wxApp::MacSuspend( bool convertClipboard )
|
|||||||
while (node)
|
while (node)
|
||||||
{
|
{
|
||||||
wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
|
wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
|
||||||
|
#if TARGET_CARBON
|
||||||
|
#if 0 // we've got some problem with that style right now
|
||||||
if (!win->HasFlag(wxSTAY_ON_TOP))
|
if (!win->HasFlag(wxSTAY_ON_TOP))
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
win->MacActivate( MacGetCurrentEvent() , false ) ;
|
win->MacActivate( MacGetCurrentEvent() , false ) ;
|
||||||
|
|
||||||
node = node->Next();
|
node = node->Next();
|
||||||
|
@@ -375,8 +375,12 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
attr |= kWindowCloseBoxAttribute ;
|
attr |= kWindowCloseBoxAttribute ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if TARGET_CARBON
|
||||||
|
#if 0 // we've got some problem with that style right now
|
||||||
if (HasFlag(wxSTAY_ON_TOP))
|
if (HasFlag(wxSTAY_ON_TOP))
|
||||||
wclass = kUtilityWindowClass;
|
wclass = kUtilityWindowClass;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
if ( HasFlag(wxFRAME_SHAPED) )
|
if ( HasFlag(wxFRAME_SHAPED) )
|
||||||
|
@@ -375,8 +375,12 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
attr |= kWindowCloseBoxAttribute ;
|
attr |= kWindowCloseBoxAttribute ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if TARGET_CARBON
|
||||||
|
#if 0 // we've got some problem with that style right now
|
||||||
if (HasFlag(wxSTAY_ON_TOP))
|
if (HasFlag(wxSTAY_ON_TOP))
|
||||||
wclass = kUtilityWindowClass;
|
wclass = kUtilityWindowClass;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
if ( HasFlag(wxFRAME_SHAPED) )
|
if ( HasFlag(wxFRAME_SHAPED) )
|
||||||
|
Reference in New Issue
Block a user