]> git.saurik.com Git - wxWidgets.git/commitdiff
allow a SHAPED flag for a dialog
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 9 Nov 2005 14:08:02 +0000 (14:08 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 9 Nov 2005 14:08:02 +0000 (14:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dialog.cpp

index d1aa43669ca7044df6a348be1137d229a475afe8..4f037becd78642a3420f56c3ec46212a22a9ae6f 100644 (file)
@@ -56,7 +56,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id,
     // All dialogs should really have this style
     style |= wxTAB_TRAVERSAL;
 
-    if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style & ~(wxYES|wxOK|wxNO|wxCANCEL) , name) )
+    if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style & ~(wxYES|wxOK|wxNO /*|wxCANCEL*/) , name) )
         return FALSE;
 
     return TRUE;