From: Stefan Csomor Date: Wed, 24 Apr 2002 14:40:53 +0000 (+0000) Subject: changed window creation class for dialogs (layering probs under X) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/60fcb5849bd079b14a15c2950e7950c0b5fab25b changed window creation class for dialogs (layering probs under X) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index f290f8167f..1c5d96ed76 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -245,7 +245,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, { if ( HasFlag( wxDIALOG_MODAL ) ) { - wclass = kMovableModalWindowClass ; + wclass = kDocumentWindowClass ; // kMovableModalWindowClass ; } else { diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index f290f8167f..1c5d96ed76 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -245,7 +245,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title, { if ( HasFlag( wxDIALOG_MODAL ) ) { - wclass = kMovableModalWindowClass ; + wclass = kDocumentWindowClass ; // kMovableModalWindowClass ; } else {