]> git.saurik.com Git - wxWidgets.git/commitdiff
changed window creation class for dialogs (layering probs under X)
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 24 Apr 2002 14:40:53 +0000 (14:40 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 24 Apr 2002 14:40:53 +0000 (14:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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

index f290f8167fdcdc5731c6debef4e1aac82bfb2432..1c5d96ed76ea25fadf821161f42e04b37f01868b 100644 (file)
@@ -245,7 +245,7 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
     {
         if ( HasFlag( wxDIALOG_MODAL ) )
         {
-            wclass = kMovableModalWindowClass ;
+            wclass = kDocumentWindowClass ; // kMovableModalWindowClass ;
         }
         else 
         {
index f290f8167fdcdc5731c6debef4e1aac82bfb2432..1c5d96ed76ea25fadf821161f42e04b37f01868b 100644 (file)
@@ -245,7 +245,7 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
     {
         if ( HasFlag( wxDIALOG_MODAL ) )
         {
-            wclass = kMovableModalWindowClass ;
+            wclass = kDocumentWindowClass ; // kMovableModalWindowClass ;
         }
         else 
         {