class FortyApp: public wxApp
{
public:
- FortyApp();
+ FortyApp(){};
~FortyApp();
bool OnInit();
static const wxColour& BackgroundColour();
static const wxColour& TextColour();
static const wxBrush& BackgroundBrush();
- const wxString& GetDir() const { return m_dir; }
+ const wxString& GetHelpFile() const { return m_helpFile; }
private:
static wxColour* m_backgroundColour;
static wxColour* m_textColour;
static wxBrush* m_backgroundBrush;
- wxString m_dir;
+ wxString m_helpFile;
};
DECLARE_APP(FortyApp)
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);
DECLARE_EVENT_TABLE()
private:
- enum MenuCommands {
- NEW_GAME = 10,
+ enum MenuCommands {
+ NEW_GAME = 10,
SCORES,
- UNDO,
+ UNDO,
REDO,
- RIGHT_BUTTON_UNDO,
- HELPING_HAND,
+ RIGHT_BUTTON_UNDO,
+ HELPING_HAND,
LARGE_CARDS
};
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE );
-
+
bool AddControls(wxWindow* parent);
private: