Made widgets sample take up less space

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-04-09 10:31:37 +00:00
parent d3bfec747d
commit 7b12790064
11 changed files with 50 additions and 39 deletions

View File

@@ -39,7 +39,7 @@
#include "wx/sizer.h"
#include "widgets.h"
#if 1
#include "icons/button.xpm"
// ----------------------------------------------------------------------------
@@ -220,7 +220,7 @@ ButtonWidgetsPage::ButtonWidgetsPage(wxNotebook *notebook,
sizerRight->Add(0, 0, 1, wxCENTRE);
sizerRight->Add(m_button, 1, wxCENTRE);
sizerRight->Add(0, 0, 1, wxCENTRE);
sizerRight->SetMinSize(250, 0);
sizerRight->SetMinSize(150, 0);
m_sizerButton = sizerRight; // save it to modify it later
// the 3 panes panes compose the window
@@ -370,3 +370,4 @@ void ButtonWidgetsPage::OnButton(wxCommandEvent& event)
wxLogMessage(_T("Test button clicked."));
}
#endif