]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/canvas.h
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / demos / forty / canvas.h
index 60abf5f2d3b46842f67eaf93529efb7b2510ea7a..b7ea7d54594336018967cae42466b8e75e7509f9 100644 (file)
@@ -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);
@@ -37,6 +37,8 @@ public:
        void UpdateScores();
        void EnableHelpingHand(bool enable)             { m_helpingHand = enable; }
        void EnableRightButtonUndo(bool enable) { m_rightBtnUndo = enable; }
+        void LayoutGame();
+        void ShowPlayerDialog();
 
        DECLARE_EVENT_TABLE()