allow a SHAPED flag for a dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8ec0a8fa72
commit
e00eeba851
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user