]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/canvas.cpp
update for bakefile 0.2.6
[wxWidgets.git] / demos / forty / canvas.cpp
index e2356e184aa1df6f8147a0ed118e135835828953..3b1cc178d910e0982b48af5ff7c0cbac2ea38cdb 100644 (file)
@@ -34,12 +34,14 @@ BEGIN_EVENT_TABLE(FortyCanvas, wxScrolledWindow)
 END_EVENT_TABLE()
 
 FortyCanvas::FortyCanvas(wxWindow* parent, const wxPoint& pos, const wxSize& size) :
-             wxScrolledWindow(parent, wxID_ANY, pos, size),
+             wxScrolledWindow(parent, wxID_ANY, pos, size, 0),
              m_helpingHand(true),
              m_rightBtnUndo(true),
              m_playerDialog(0),
              m_leftBtnDown(false)
 {
+    SetScrollbars(0, 0, 0, 0);
+
 #ifdef __WXGTK__
     m_font = wxTheFontList->FindOrCreateFont(12, wxROMAN, wxNORMAL, wxNORMAL);
 #else