]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
no real change: put event handlers together at the end of the file
[wxWidgets.git] / src / common / sizer.cpp
index a13599bf3ca559163113181c0695c5d04906b2bd..173a0a48106109f8a2e42dfd14d2bb57f511ffed 100644 (file)
@@ -486,8 +486,13 @@ void wxSizerItem::SetDimension( const wxPoint& pos_, const wxSize& size_ )
             // not change the size of the window. In such a case, no
             // wxSizeEvent would normally be generated and thus the
             // control wouldn't get layed out correctly here.
+#if 1
             m_window->SetSize(pos.x, pos.y, size.x, size.y,
                               wxSIZE_ALLOW_MINUS_ONE|wxSIZE_FORCE_EVENT );
+#else
+            m_window->SetSize(pos.x, pos.y, size.x, size.y,
+                              wxSIZE_ALLOW_MINUS_ONE );
+#endif
             break;
         }
         case Item_Sizer:
@@ -2243,7 +2248,7 @@ void wxStdDialogButtonSizer::Realize()
         }
 
         // Extra space around and at the right
-        Add(12, 24);
+        Add(12, 40);
 #elif defined(__WXGTK20__)
         Add(0, 0, 0, wxLEFT, 9);
         if (m_buttonHelp)