X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15bee36fdf12ec78f61e1372a460a7606f7ccb7e..70fb935a6a52fd27b288f4885c55cddf038b89f1:/demos/forty/forty.h diff --git a/demos/forty/forty.h b/demos/forty/forty.h index d6d9e3f752..9a4383c9a1 100644 --- a/demos/forty/forty.h +++ b/demos/forty/forty.h @@ -34,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); @@ -64,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