X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7995487f3032d8415f87619efac7c391c72730..230c57431343e02d4ae3011e8a74d46fbb5575a7:/demos/forty/canvas.h diff --git a/demos/forty/canvas.h b/demos/forty/canvas.h index 02a65fe385..b7ea7d5459 100644 --- a/demos/forty/canvas.h +++ b/demos/forty/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()