X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bb70c4026e31feb396b60a02c2a36dd5f63c3f0..c580f45efe9406261d537f2dada51650eb054be6:/samples/widgets/gauge.cpp diff --git a/samples/widgets/gauge.cpp b/samples/widgets/gauge.cpp index 8c45ffa26c..477f8d429b 100644 --- a/samples/widgets/gauge.cpp +++ b/samples/widgets/gauge.cpp @@ -42,7 +42,7 @@ #include "wx/sizer.h" #include "widgets.h" -#if 1 +#if wxUSE_GAUGE #include "icons/gauge.xpm" // ---------------------------------------------------------------------------- @@ -362,7 +362,7 @@ void GaugeWidgetsPage::OnUpdateUIResetButton(wxUpdateUIEvent& event) event.Enable( m_chkVert->GetValue() || m_chkSmooth->GetValue() ); } -void GaugeWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event) +void GaugeWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event)) { CreateGauge(); } @@ -402,3 +402,4 @@ void GaugeWidgetsPage::StopTimer() } #endif + // wxUSE_GAUGE