]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/choice.h
don't log mouse events by default
[wxWidgets.git] / include / wx / os2 / choice.h
index 54eab34fa169277b819d4776cf1bec3cdf1b9613..6289745486902ab5791fa02a8afe428783bd4c60 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);
 
@@ -69,7 +61,7 @@ public:
 
     // OS2 only
     virtual bool OS2Command(WXUINT param, WXWORD id);
-    MRESULT OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+    MRESULT OS2WindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
 
 protected:
     virtual void DoSetItemClientData( int n, void* clientData );
@@ -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);