]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/scrolwin.h
made the validation message more clear
[wxWidgets.git] / include / wx / generic / scrolwin.h
index 5e092a91a9318f9ec9994911d103eacc018cff87..ce9c0e75de816a01cbf6eea584c57aadc1c28a55 100644 (file)
@@ -27,7 +27,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
 
 // default scrolled window style
 #ifndef wxScrolledWindowStyle
-#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
+    #define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
 #endif
 
 // avoid triggering this stupid VC++ warning
@@ -66,6 +66,9 @@ public:
 
     virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
 
+    // lay out the window and its children
+    virtual bool Layout();
+
 protected:
     // this is needed for wxEVT_PAINT processing hack described in
     // wxScrollHelperEvtHandler::ProcessEvent()
@@ -88,3 +91,4 @@ private:
 
 #endif
     // _WX_GENERIC_SCROLLWIN_H_
+