X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/868741e9d30e1b62e8ee27614543e8ae820fd15d..db4444f0cebf4e63e666a7d6d18141c127535efd:/demos/forty/forty.h diff --git a/demos/forty/forty.h b/demos/forty/forty.h index f3f36baee8..9a4383c9a1 100644 --- a/demos/forty/forty.h +++ b/demos/forty/forty.h @@ -16,6 +16,8 @@ class FortyApp: public wxApp { public: + FortyApp(); + ~FortyApp(); bool OnInit(); static const wxColour& BackgroundColour(); @@ -32,7 +34,7 @@ class FortyCanvas; class FortyFrame: public wxFrame { public: - FortyFrame(wxFrame* frame, char* title, int x, int y, int w, int h,bool largecards); + FortyFrame(wxFrame* frame, const wxString& title, int x, int y, int w, int h,bool largecards); virtual ~FortyFrame(); void OnCloseWindow(wxCloseEvent& event); @@ -62,4 +64,25 @@ private: FortyCanvas* m_canvas; }; +//---------------------------------------------------------------------------- +// stAboutDialog +//---------------------------------------------------------------------------- + +class FortyAboutDialog: public wxDialog +{ +public: + // constructors and destructors + FortyAboutDialog( wxWindow *parent, wxWindowID id, const wxString &title, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxDEFAULT_DIALOG_STYLE ); + + bool AddControls(wxWindow* parent); + +private: + DECLARE_EVENT_TABLE() +}; + +#define ID_ABOUT_HTML_WINDOW 1000 + #endif