]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/gauge.cpp
fix a precedence order problem
[wxWidgets.git] / samples / widgets / gauge.cpp
index 267809895576d7dcf01ae1d471285119a9eddd3e..e7d7eba3137139760f55907e4868d943a2ccd89b 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"
 
 // ----------------------------------------------------------------------------
@@ -401,3 +402,4 @@ void GaugeWidgetsPage::StopTimer()
 }
 
 #endif
+    // wxUSE_GAUGE