]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/gauge.cpp
fixed bakefile so that in-tree headers take precedence over system-installed ones
[wxWidgets.git] / samples / widgets / gauge.cpp
index 267809895576d7dcf01ae1d471285119a9eddd3e..477f8d429bf138dff75f928ed0a77a261efee944 100644 (file)
@@ -29,6 +29,7 @@
     #include "wx/log.h"
     #include "wx/timer.h"
 
+    #include "wx/bitmap.h"
     #include "wx/button.h"
     #include "wx/checkbox.h"
     #include "wx/combobox.h"
@@ -41,7 +42,7 @@
 #include "wx/sizer.h"
 
 #include "widgets.h"
-#if 1
+#if wxUSE_GAUGE
 #include "icons/gauge.xpm"
 
 // ----------------------------------------------------------------------------
@@ -361,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();
 }
@@ -401,3 +402,4 @@ void GaugeWidgetsPage::StopTimer()
 }
 
 #endif
+    // wxUSE_GAUGE