diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 89d96ae7e1..beadc2d5c4 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -1406,7 +1406,11 @@ void wxApp::MacSuspend( bool convertClipboard ) while (node) { 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)) +#endif +#endif win->MacActivate( MacGetCurrentEvent() , false ) ; node = node->Next(); diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 89d96ae7e1..beadc2d5c4 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -1406,7 +1406,11 @@ void wxApp::MacSuspend( bool convertClipboard ) while (node) { 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)) +#endif +#endif win->MacActivate( MacGetCurrentEvent() , false ) ; node = node->Next(); diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 2ee6006cf2..2b77c40ee6 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -375,8 +375,12 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, attr |= kWindowCloseBoxAttribute ; } +#if TARGET_CARBON +#if 0 // we've got some problem with that style right now if (HasFlag(wxSTAY_ON_TOP)) wclass = kUtilityWindowClass; +#endif +#endif #if TARGET_CARBON if ( HasFlag(wxFRAME_SHAPED) ) diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index 2ee6006cf2..2b77c40ee6 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -375,8 +375,12 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, attr |= kWindowCloseBoxAttribute ; } +#if TARGET_CARBON +#if 0 // we've got some problem with that style right now if (HasFlag(wxSTAY_ON_TOP)) wclass = kUtilityWindowClass; +#endif +#endif #if TARGET_CARBON if ( HasFlag(wxFRAME_SHAPED) )