X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d4a10e70a78ac7221ed20138592d0998a92cd02..4496eadc93e3740f2e0d936cace2eb58ef2f3f63:/samples/dnd/dnd.cpp?ds=sidebyside diff --git a/samples/dnd/dnd.cpp b/samples/dnd/dnd.cpp index acc50c0de1..2e78753d0f 100644 --- a/samples/dnd/dnd.cpp +++ b/samples/dnd/dnd.cpp @@ -1509,7 +1509,7 @@ bool DnDFile::OnDropFiles(wxCoord, wxCoord, const wxArrayString& filenames) DnDShapeDialog::DnDShapeDialog(wxFrame *parent, DnDShape *shape) :wxDialog( parent, 6001, wxT("Choose Shape"), wxPoint( 10, 10 ), wxSize( 40, 40 ), - wxRAISED_BORDER|wxCAPTION|wxTHICK_FRAME|wxSYSTEM_MENU ) + wxDEFAULT_DIALOG_STYLE | wxRAISED_BORDER | wxTHICK_FRAME ) { m_shape = shape; wxBoxSizer* topSizer = new wxBoxSizer( wxVERTICAL );