X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7995487f3032d8415f87619efac7c391c72730..5151c7af137a1b6f3c8f656048cf7d13524f040e:/demos/forty/canvas.h diff --git a/demos/forty/canvas.h b/demos/forty/canvas.h index 02a65fe385..b507518f5e 100644 --- a/demos/forty/canvas.h +++ b/demos/forty/canvas.h @@ -8,7 +8,7 @@ // Copyright: (c) 1993-1998 Chris Breeze // Licence: wxWindows licence //--------------------------------------------------------------------------- -// Last modified: 22nd July 1998 - ported to wxWindows 2.0 +// Last modified: 22nd July 1998 - ported to wxWidgets 2.0 ///////////////////////////////////////////////////////////////////////////// #ifndef _CANVAS_H_ #define _CANVAS_H_ @@ -21,7 +21,7 @@ class PlayerSelectionDialog; class FortyCanvas: public wxScrolledWindow { public: - FortyCanvas(wxWindow* parent, int x, int y, int w, int h); + FortyCanvas(wxWindow* parent, const wxPoint& pos, const wxSize& size); virtual ~FortyCanvas(); virtual void OnDraw(wxDC& dc); @@ -38,6 +38,7 @@ public: void EnableHelpingHand(bool enable) { m_helpingHand = enable; } void EnableRightButtonUndo(bool enable) { m_rightBtnUndo = enable; } void LayoutGame(); + void ShowPlayerDialog(); DECLARE_EVENT_TABLE()