]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/scrolwin.h
renamed wxWave to wxSound
[wxWidgets.git] / include / wx / generic / scrolwin.h
index 9ff4daa8288011c174725846dc64f23d383249ba..faf66d635aad490cc9a6d952408a03e4b88245e1 100644 (file)
@@ -43,13 +43,17 @@ class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
                                             public wxScrollHelper
 {
 public:
-    wxGenericScrolledWindow();
+    wxGenericScrolledWindow() : wxScrollHelper(this) { }
     wxGenericScrolledWindow(wxWindow *parent,
                      wxWindowID winid = -1,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxScrolledWindowStyle,
-                     const wxString& name = wxPanelNameStr);
+                     const wxString& name = wxPanelNameStr)
+        : wxScrollHelper(this)
+    {
+        Create(parent, winid, pos, size, style, name);
+    }
 
     virtual ~wxGenericScrolledWindow();