X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..2adfb497e666354303ea6bb0e468f1e53811ad55:/samples/widgets/gauge.cpp diff --git a/samples/widgets/gauge.cpp b/samples/widgets/gauge.cpp index 3075d39b81..353dd228a4 100644 --- a/samples/widgets/gauge.cpp +++ b/samples/widgets/gauge.cpp @@ -41,7 +41,7 @@ #include "wx/sizer.h" #include "widgets.h" - +#if 1 #include "icons/gauge.xpm" // ---------------------------------------------------------------------------- @@ -122,8 +122,8 @@ protected: wxTimer *m_timer; private: - DECLARE_EVENT_TABLE(); - DECLARE_WIDGETS_PAGE(GaugeWidgetsPage); + DECLARE_EVENT_TABLE() + DECLARE_WIDGETS_PAGE(GaugeWidgetsPage) }; // ---------------------------------------------------------------------------- @@ -222,7 +222,7 @@ GaugeWidgetsPage::GaugeWidgetsPage(wxNotebook *notebook, wxSizer *sizerRight = new wxBoxSizer(wxHORIZONTAL); m_gauge = new wxGauge(this, GaugePage_Gauge, m_range); sizerRight->Add(m_gauge, 1, wxCENTRE | wxALL, 5); - sizerRight->SetMinSize(250, 0); + sizerRight->SetMinSize(150, 0); m_sizerGauge = sizerRight; // save it to modify it later // the 3 panes panes compose the window @@ -400,3 +400,4 @@ void GaugeWidgetsPage::StopTimer() wxLogMessage(_T("Progress finished.")); } +#endif \ No newline at end of file