]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/scrolbar.h
Fixed the deleteion of VisualAge stuff
[wxWidgets.git] / include / wx / os2 / scrolbar.h
index bbf15a8d3bf9f92e21072e7a27288aee18641b83..e77f17ec4457ebfc9ebabfa71758b21fd4d75083 100644 (file)
@@ -29,7 +29,9 @@ public:
            const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize,
            long style = wxSB_HORIZONTAL,
+#if wxUSE_VALIDATORS
            const wxValidator& validator = wxDefaultValidator,
+#endif
            const wxString& name = wxScrollBarNameStr)
   {
       Create(parent, id, pos, size, style, validator, name);
@@ -38,7 +40,9 @@ public:
            const wxPoint& pos = wxDefaultPosition,
            const wxSize& size = wxDefaultSize,
            long style = wxSB_HORIZONTAL,
+#if wxUSE_VALIDATORS
            const wxValidator& validator = wxDefaultValidator,
+#endif
            const wxString& name = wxScrollBarNameStr);
 
   int GetThumbPosition() const ;