]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/radiobox.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / os2 / radiobox.h
index 8b1e97a9c0beffb3b25a433ee675eaa5a1526031..d6eb7cc229744727917f08e81bdc4f9b6b8e9ba0 100644 (file)
@@ -29,9 +29,7 @@ public:
                       ,const wxString     asChoices[] = NULL
                       ,int                nMajorDim = 0
                       ,long               lStyle = wxRA_HORIZONTAL
                       ,const wxString     asChoices[] = NULL
                       ,int                nMajorDim = 0
                       ,long               lStyle = wxRA_HORIZONTAL
-#if wxUSE_VALIDATORS
                       ,const wxValidator& rVal = wxDefaultValidator
                       ,const wxValidator& rVal = wxDefaultValidator
-#endif
                       ,const wxString&    rsName = wxRadioBoxNameStr
                      )
     {
                       ,const wxString&    rsName = wxRadioBoxNameStr
                      )
     {
@@ -44,9 +42,7 @@ public:
                ,asChoices
                ,nMajorDim
                ,lStyle
                ,asChoices
                ,nMajorDim
                ,lStyle
-#if wxUSE_VALIDATORS
                ,rVal
                ,rVal
-#endif
                ,rsName
               );
     }
                ,rsName
               );
     }
@@ -62,9 +58,7 @@ public:
                 ,const wxString     asChoices[] = NULL
                 ,int                nMajorDim = 0
                 ,long               lStyle = wxRA_HORIZONTAL
                 ,const wxString     asChoices[] = NULL
                 ,int                nMajorDim = 0
                 ,long               lStyle = wxRA_HORIZONTAL
-#if wxUSE_VALIDATORS
                 ,const wxValidator& rVal = wxDefaultValidator
                 ,const wxValidator& rVal = wxDefaultValidator
-#endif
                 ,const wxString&    rsName = wxRadioBoxNameStr
                );
 
                 ,const wxString&    rsName = wxRadioBoxNameStr
                );