]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/forty.h
Fix referencing of cairo_t returned from wxDCImpl::GetCairoContext().
[wxWidgets.git] / demos / forty / forty.h
index c0e7e6f12bd93306d89ab0c81dbff9153916ea96..ee9c132358df7fe15ff2a1cfb34155cd409e4784 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Chris Breeze
 // Modified by:
 // Created:     21/07/97
-// RCS-ID:      $Id$
 // Copyright:   (c) 1993-1998 Chris Breeze
 // Licence:     wxWindows licence
 //---------------------------------------------------------------------------
@@ -16,8 +15,8 @@
 class FortyApp: public wxApp
 {
 public:
-    FortyApp(){};
-    ~FortyApp();
+    FortyApp(){}
+    virtual ~FortyApp();
     bool OnInit();
 
     static const wxColour& BackgroundColour();
@@ -61,10 +60,7 @@ public:
 
 private:
     enum MenuCommands {
-        NEW_GAME = 10,
-        SCORES,
-        UNDO,
-        REDO,
+        SCORES = 10,
         RIGHT_BUTTON_UNDO,
         HELPING_HAND,
         LARGE_CARDS
@@ -88,9 +84,6 @@ public:
         long style = wxDEFAULT_DIALOG_STYLE );
 
     bool AddControls(wxWindow* parent);
-
-private:
-    DECLARE_EVENT_TABLE()
 };
 
 #define ID_ABOUT_HTML_WINDOW    1000