]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/textctrl.h
more fixes to stream code: allow deriving from wxStreamBuffer and using custom
[wxWidgets.git] / include / wx / os2 / textctrl.h
index 56ba625ffa30a23c5eb114129d7a5824cb4e7dcb..7f819fe260142cffd3367116c16cf07b16de0465 100644 (file)
@@ -25,11 +25,7 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = 0,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-               const wxValidator* validator = wxDefaultValidator,
-#  else
                const wxValidator& validator = wxDefaultValidator,
-#  endif
 #endif
                const wxString& name = wxTextCtrlNameStr)
     {
@@ -42,11 +38,7 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = 0,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-                const wxValidator* validator = wxDefaultValidator,
-#  else
                 const wxValidator& validator = wxDefaultValidator,
-#  endif
 #endif
                 const wxString& name = wxTextCtrlNameStr);
 
@@ -154,7 +146,7 @@ protected:
     // limit is big enough)
     void AdjustSpaceLimit();
 
-    virtual wxSize DoGetBestSize();
+    virtual wxSize DoGetBestSize() const;
 
 private:
     DECLARE_EVENT_TABLE()