]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/choice.h
Some compilation fixes
[wxWidgets.git] / include / wx / os2 / choice.h
index 54eab34fa169277b819d4776cf1bec3cdf1b9613..f2c7efe954dedf0fd9ae06721f2519929f299fff 100644 (file)
@@ -29,11 +29,7 @@ public:
              int n = 0, const wxString choices[] = NULL,
              long style = 0,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-             const wxValidator* validator = wxDefaultValidator,
-#  else
              const wxValidator& validator = wxDefaultValidator,
-#  endif
 #endif
              const wxString& name = wxChoiceNameStr)
     {
@@ -46,11 +42,7 @@ public:
              int n = 0, const wxString choices[] = NULL,
              long style = 0,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-             const wxValidator* validator = wxDefaultValidator,
-#  else
              const wxValidator& validator = wxDefaultValidator,
-#  endif
 #endif
              const wxString& name = wxChoiceNameStr);
 
@@ -78,7 +70,7 @@ protected:
     virtual wxClientData* DoGetItemClientObject( int n ) const;
 
     // OS2 implementation
-    virtual wxSize DoGetBestSize();
+    virtual wxSize DoGetBestSize() const;
     virtual void DoSetSize(int x, int y,
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);