]> git.saurik.com Git - wxWidgets.git/commitdiff
code
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 9 Feb 2003 09:08:09 +0000 (09:08 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 9 Feb 2003 09:08:09 +0000 (09:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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

index d07c85cf629c41fb44a1df9f12329d59a37b3657..d053a98ab1dfc60563751936499d461223016f40 100644 (file)
@@ -557,14 +557,7 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
     }
     else if ( HasFlag( wxCAPTION ) )
     {
-        if ( HasFlag( wxDIALOG_MODAL ) )
-        {
-            wclass = kDocumentWindowClass ; // kMovableModalWindowClass ;
-        }
-        else 
-        {
-            wclass = kDocumentWindowClass ;
-        }
+       wclass = kDocumentWindowClass ; 
     }
     else
     {
index d07c85cf629c41fb44a1df9f12329d59a37b3657..d053a98ab1dfc60563751936499d461223016f40 100644 (file)
@@ -557,14 +557,7 @@ void  wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
     }
     else if ( HasFlag( wxCAPTION ) )
     {
-        if ( HasFlag( wxDIALOG_MODAL ) )
-        {
-            wclass = kDocumentWindowClass ; // kMovableModalWindowClass ;
-        }
-        else 
-        {
-            wclass = kDocumentWindowClass ;
-        }
+       wclass = kDocumentWindowClass ; 
     }
     else
     {