X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/868741e9d30e1b62e8ee27614543e8ae820fd15d..adb799d6ef8e1ba754ab08b26e64fa40219f95f8:/demos/forty/canvas.h diff --git a/demos/forty/canvas.h b/demos/forty/canvas.h index 28ef41f1c6..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);