From bb9e19db3d7721cf6ccc5355c10eabf3876335e9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 11 Aug 2009 00:19:03 +0000 Subject: [PATCH] Compilation fix after wxFlexGridSizer ctors change. wxFlexGridSizer ctor was even used incorrectly in a wx sample: the sizer was supposed to have 2 columns, not 4 with 2 pixels of vertical gap. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61639 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 038b87eea2..fe98c7449d 100644 --- a/samples/dnd/dnd.cpp +++ b/samples/dnd/dnd.cpp @@ -1596,7 +1596,7 @@ DnDShapeDialog::DnDShapeDialog(wxFrame *parent, DnDShape *shape) // attributes wxStaticBox* box = new wxStaticBox( this, wxID_ANY, wxT("&Attributes") ); wxStaticBoxSizer* attrSizer = new wxStaticBoxSizer( box, wxHORIZONTAL ); - wxFlexGridSizer* xywhSizer = new wxFlexGridSizer( 4, 2 ); + wxFlexGridSizer* xywhSizer = new wxFlexGridSizer( 2 ); wxStaticText* st;