X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/236d7be30109bdc203d4aab3ff5d11d309a8f359..f321d0bc0caf4d78ccc5426e926fc25c46297439:/demos/forty/forty.h?ds=sidebyside diff --git a/demos/forty/forty.h b/demos/forty/forty.h index 2b8a93005a..e1e9eb7e75 100644 --- a/demos/forty/forty.h +++ b/demos/forty/forty.h @@ -16,8 +16,8 @@ class FortyApp: public wxApp { public: - FortyApp(); - ~FortyApp(); + FortyApp(){} + virtual ~FortyApp(); bool OnInit(); static const wxColour& BackgroundColour(); @@ -38,8 +38,8 @@ class FortyCanvas; class FortyFrame: public wxFrame { public: - FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos, const wxSize& size, bool largecards); - virtual ~FortyFrame(); + FortyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos, const wxSize& size, bool largecards); + virtual ~FortyFrame(){}; void OnCloseWindow(wxCloseEvent& event); @@ -60,13 +60,10 @@ public: DECLARE_EVENT_TABLE() private: - enum MenuCommands { - NEW_GAME = 10, - SCORES, - UNDO, - REDO, - RIGHT_BUTTON_UNDO, - HELPING_HAND, + enum MenuCommands { + SCORES = 10, + RIGHT_BUTTON_UNDO, + HELPING_HAND, LARGE_CARDS }; @@ -86,11 +83,8 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE ); - - bool AddControls(wxWindow* parent); -private: - DECLARE_EVENT_TABLE() + bool AddControls(wxWindow* parent); }; #define ID_ABOUT_HTML_WINDOW 1000