]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
Fixes and tweaks and additions to the wxHtml docs for Phoenix
[wxWidgets.git] / include / wx / scrolwin.h
index f1ca429ffffbd89dbf061859fab9bfb61377c5f7..53883f2ae2c6068a1cdc206b809d1a227e3ba5d5 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        include/wx/scrolwin.h
+// Name:        wx/scrolwin.h
 // Purpose:     wxScrolledWindow, wxScrolledControl and wxScrollHelper
 // Author:      Vadim Zeitlin
 // Modified by:
@@ -384,6 +384,9 @@ public:
         if ( !(style & (wxHSCROLL | wxVSCROLL)) )
             style |= wxHSCROLL | wxVSCROLL;
 
+        if ( style & wxALWAYS_SHOW_SB )
+            ShowScrollbars(wxSHOW_SB_ALWAYS, wxSHOW_SB_ALWAYS);
+
         return T::Create(parent, winid, pos, size, style, name);
     }