X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..a2615ebc22a402b1badb46475f94ab6aa3a64018:/samples/widgets/static.cpp?ds=sidebyside diff --git a/samples/widgets/static.cpp b/samples/widgets/static.cpp index 61109a84d0..991f823d19 100644 --- a/samples/widgets/static.cpp +++ b/samples/widgets/static.cpp @@ -41,7 +41,7 @@ #include "wx/statline.h" #include "widgets.h" - +#if 1 #include "icons/statbox.xpm" // ---------------------------------------------------------------------------- @@ -118,8 +118,8 @@ protected: *m_textLabel; private: - DECLARE_EVENT_TABLE(); - DECLARE_WIDGETS_PAGE(StaticWidgetsPage); + DECLARE_EVENT_TABLE() + DECLARE_WIDGETS_PAGE(StaticWidgetsPage) }; // ---------------------------------------------------------------------------- @@ -219,14 +219,14 @@ StaticWidgetsPage::StaticWidgetsPage(wxNotebook *notebook, // right pane wxSizer *sizerRight = new wxBoxSizer(wxHORIZONTAL); - sizerRight->SetMinSize(250, 0); + sizerRight->SetMinSize(150, 0); m_sizerStatic = sizerRight; CreateStatic(); // the 3 panes panes compose the window sizerTop->Add(sizerLeft, 0, wxGROW | (wxALL & ~wxLEFT), 10); - sizerTop->Add(sizerMiddle, 1, wxGROW | wxALL, 10); + sizerTop->Add(sizerMiddle, 0, wxGROW | wxALL, 10); sizerTop->Add(sizerRight, 1, wxGROW | (wxALL & ~wxRIGHT), 10); // final initializations @@ -367,3 +367,4 @@ void StaticWidgetsPage::OnButtonLabelText(wxCommandEvent& event) m_statText->SetLabel(m_textLabel->GetValue()); } +#endif \ No newline at end of file