]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
Fixes for Unicode build.
[wxWidgets.git] / include / wx / scrolwin.h
index b4a54a747c388285e8d004e30bde875fb8a8c7d7..486050a29dccfcbdb94e0b1e0d46a8157ce67053 100644 (file)
@@ -51,7 +51,7 @@ public:
     virtual void GetScrollPixelsPerUnit(int *pixelsPerUnitX,
                                         int *pixelsPerUnitY) const;
 
-    // Enable/disable Windows scrolling in either direction. If TRUE, wxWindows
+    // Enable/disable Windows scrolling in either direction. If TRUE, wxWidgets
     // scrolls the canvas and only a bit of the canvas is invalidated; no
     // Clear() is necessary. If FALSE, the whole canvas is invalidated and a
     // Clear() is necessary. Disable for when the scroll increment is used to
@@ -217,13 +217,16 @@ protected:
     class WXDLLEXPORT wxScrolledWindow : public wxGenericScrolledWindow
     {
     public:
-        wxScrolledWindow();
+        wxScrolledWindow() { }
         wxScrolledWindow(wxWindow *parent,
                          wxWindowID winid = -1,
                          const wxPoint& pos = wxDefaultPosition,
                          const wxSize& size = wxDefaultSize,
                          long style = wxScrolledWindowStyle,
-                         const wxString& name = wxPanelNameStr);
+                         const wxString& name = wxPanelNameStr)
+            : wxGenericScrolledWindow(parent, winid, pos, size, style, name)
+        {
+        }
 
     private:
         DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)