From 17f0e75e6c55306589ece1a1394346ac54298fe8 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sat, 21 Jan 2006 18:08:06 +0000 Subject: [PATCH] Lets have a close box for the DnDShapeDialog in the dnd sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dnd/dnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.45.2