deactivating wxSTAY_ON_TOP patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-05-22 19:43:08 +00:00
parent 5aed9d5067
commit b9c102317d
4 changed files with 16 additions and 0 deletions

View File

@@ -1399,7 +1399,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 // having problems right now with that
if (!win->HasFlag(wxSTAY_ON_TOP)) if (!win->HasFlag(wxSTAY_ON_TOP))
#endif
#endif
win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ; win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ;
node = node->GetNext(); node = node->GetNext();

View File

@@ -1399,7 +1399,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 // having problems right now with that
if (!win->HasFlag(wxSTAY_ON_TOP)) if (!win->HasFlag(wxSTAY_ON_TOP))
#endif
#endif
win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ; win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ;
node = node->GetNext(); node = node->GetNext();

View File

@@ -598,8 +598,12 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
attr |= kWindowCloseBoxAttribute ; attr |= kWindowCloseBoxAttribute ;
} }
#if TARGET_CARBON
#if 0 // having problems right now with that
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) )

View File

@@ -598,8 +598,12 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
attr |= kWindowCloseBoxAttribute ; attr |= kWindowCloseBoxAttribute ;
} }
#if TARGET_CARBON
#if 0 // having problems right now with that
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) )