]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dnd/dnd.cpp
compilation fix for gcc4 (patch 1428840)
[wxWidgets.git] / samples / dnd / dnd.cpp
index acc50c0de1f16faa1c297cd3e8048d493524236e..2e78753d0f6591c725d1e01dcc883d304d1b42c4 100644 (file)
@@ -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 );