X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f3c339c0de768a4ba05437b21a7bf46d2c00b57..2ad50cc75b44bdb79c3c1a031e1a548d0fa5bfb9:/src/mac/toplevel.cpp diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index d07c85cf62..d053a98ab1 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -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 {