]> git.saurik.com Git - wxWidgets.git/commitdiff
deactivating wxSTAY_ON_TOP patch
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 22 May 2003 19:43:08 +0000 (19:43 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 22 May 2003 19:43:08 +0000 (19:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/app.cpp
src/mac/carbon/app.cpp
src/mac/carbon/toplevel.cpp
src/mac/toplevel.cpp

index f3ef2825300e818af12e51d4cc7a729c341fdcf6..ecf1ec44b2d1a52e09e406c9f64582f1fb2d18d8 100644 (file)
@@ -1399,7 +1399,11 @@ void wxApp::MacSuspend( bool convertClipboard )
     while (node)
     {
         wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
+#if TARGET_CARBON
+#if 0 //  having problems right now with that
         if (!win->HasFlag(wxSTAY_ON_TOP))
+#endif  
+#endif
             win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ;
 
         node = node->GetNext();
index f3ef2825300e818af12e51d4cc7a729c341fdcf6..ecf1ec44b2d1a52e09e406c9f64582f1fb2d18d8 100644 (file)
@@ -1399,7 +1399,11 @@ void wxApp::MacSuspend( bool convertClipboard )
     while (node)
     {
         wxTopLevelWindow* win = (wxTopLevelWindow*) node->Data();
+#if TARGET_CARBON
+#if 0 //  having problems right now with that
         if (!win->HasFlag(wxSTAY_ON_TOP))
+#endif  
+#endif
             win->MacActivate( ((EventRecord*) MacGetCurrentEvent())->when , false ) ;
 
         node = node->GetNext();
index bd6af555961975886191bbc016eaeb3519a7df57..92cbb42606b862f0df376f26ff603017e9ecc485 100644 (file)
@@ -598,8 +598,12 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
         attr |= kWindowCloseBoxAttribute ;
     }
 
+#if TARGET_CARBON
+#if 0 //  having problems right now with that
     if (HasFlag(wxSTAY_ON_TOP))
        wclass = kUtilityWindowClass;
+#endif
+#endif
 
 #if TARGET_CARBON
     if ( HasFlag(wxFRAME_SHAPED) )
index bd6af555961975886191bbc016eaeb3519a7df57..92cbb42606b862f0df376f26ff603017e9ecc485 100644 (file)
@@ -598,8 +598,12 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
         attr |= kWindowCloseBoxAttribute ;
     }
 
+#if TARGET_CARBON
+#if 0 //  having problems right now with that
     if (HasFlag(wxSTAY_ON_TOP))
        wclass = kUtilityWindowClass;
+#endif
+#endif
 
 #if TARGET_CARBON
     if ( HasFlag(wxFRAME_SHAPED) )