X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..f2d0790b1a14b530531f5f6cfc269107f796aba2:/samples/widgets/button.cpp diff --git a/samples/widgets/button.cpp b/samples/widgets/button.cpp index da3ed2cc91..c5c3dcac65 100644 --- a/samples/widgets/button.cpp +++ b/samples/widgets/button.cpp @@ -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) }; // ----------------------------------------------------------------------------