]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/statbar.cpp
Added wxRegionGeneric and wxRegionIteratorGeneric using X.org code
[wxWidgets.git] / samples / statbar / statbar.cpp
index 39d0319645833c526ada362e087646b3cdd6a1b0..35c057296e43e2c2a03ab8e85667d6a8598a07db 100644 (file)
@@ -47,6 +47,7 @@
 #endif
 
 #include "wx/datetime.h"
+#include "wx/numdlg.h"
 
 // define this for the platforms which don't support wxBitmapButton (such as
 // Motif), else a wxBitmapButton will be used
@@ -95,7 +96,7 @@ public:
     void UpdateClock();
 
     // event handlers
-    void OnTimer(wxTimerEvent& event) { UpdateClock(); }
+    void OnTimer(wxTimerEvent& WXUNUSED(event)) { UpdateClock(); }
     void OnSize(wxSizeEvent& event);
     void OnToggleClock(wxCommandEvent& event);
     void OnButton(wxCommandEvent& event);