]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix after wxFlexGridSizer ctors change.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Aug 2009 00:19:03 +0000 (00:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Aug 2009 00:19:03 +0000 (00:19 +0000)
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

index 038b87eea29f40cac43208418aae347876a32331..fe98c7449dca445bb7213d5ff8e006013e2ef764 100644 (file)
@@ -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;