]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/radiobox.h
Committing in .
[wxWidgets.git] / include / wx / os2 / radiobox.h
index 576e12b11454f20c81f931c7f911f90fa90105bb..ec2ac64f86244f8543d1197099dede317f735258 100644 (file)
@@ -29,7 +29,13 @@ public:
              const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
              int n = 0, const wxString choices[] = NULL,
              int majorDim = 0, long style = wxRA_HORIZONTAL,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+             const wxValidator* val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr)
+#  else
              const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr)
+#  endif
+#endif
   {
     Create(parent, id, title, pos, size, n, choices, majorDim, style, val, name);
   }
@@ -40,7 +46,13 @@ public:
              const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
              int n = 0, const wxString choices[] = NULL,
              int majorDim = 0, long style = wxRA_HORIZONTAL,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+             const wxValidator* val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr);
+#  else
              const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr);
+#  endif
+#endif
 
   virtual bool OS2Command(WXUINT param, WXWORD id);
   virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,