]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/forty.h
renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches...
[wxWidgets.git] / demos / forty / forty.h
index 3663738bc3c1cf71e51a83dd4534d7ff0c8cce56..91b847749db4bb056b7f9a43a25e466c076bf545 100644 (file)
 class FortyApp: public wxApp
 {
 public:
-    FortyApp();
+    FortyApp(){};
     ~FortyApp();
     bool OnInit();
 
     static const wxColour& BackgroundColour();
     static const wxColour& TextColour();
     static const wxBrush&  BackgroundBrush();
+    const wxString& GetHelpFile() const { return m_helpFile; }
 
 private:
     static wxColour* m_backgroundColour;
     static wxColour* m_textColour;
     static wxBrush*  m_backgroundBrush;
+    wxString m_helpFile;
 };
 
+DECLARE_APP(FortyApp)
+
 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);
 
@@ -56,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
     };
 
@@ -82,7 +83,7 @@ public:
         const wxPoint& pos = wxDefaultPosition,
         const wxSize& size = wxDefaultSize,
         long style = wxDEFAULT_DIALOG_STYLE );
-    
+
     bool AddControls(wxWindow* parent);
 
 private: