]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
DMC fix.
[wxWidgets.git] / src / generic / scrlwing.cpp
index 785629edb5fa137088b1bf2cf746ab482eff5587..ba82747eb1b5cec9f1c541a96768b976fe4b0a28 100644 (file)
@@ -1213,7 +1213,7 @@ bool wxGenericScrolledWindow::Create(wxWindow *parent,
 {
     m_targetWindow = this;
 
-    bool ok = wxPanel::Create(parent, id, pos, size, style, name);
+    bool ok = wxPanel::Create(parent, id, pos, size, style|wxHSCROLL|wxVSCROLL, name);
 
     return ok;
 }