]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/button.cpp
show the resize cursor when the mouse is above the grip and not only when it's just...
[wxWidgets.git] / samples / widgets / button.cpp
index da3ed2cc91b4f37849857e3762588567f8ca9bdd..c5c3dcac65e04072ae3854a7428964a75c0e0f8b 100644 (file)
@@ -26,6 +26,7 @@
 
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
+    #include "wx/app.h"
     #include "wx/log.h"
 
     #include "wx/button.h"
@@ -111,8 +112,8 @@ protected:
     wxTextCtrl *m_textLabel;
 
 private:
-    DECLARE_EVENT_TABLE();
-    DECLARE_WIDGETS_PAGE(ButtonWidgetsPage);
+    DECLARE_EVENT_TABLE()
+    DECLARE_WIDGETS_PAGE(ButtonWidgetsPage)
 };
 
 // ----------------------------------------------------------------------------