]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobut.cpp
[gtk] fixed bug that caused segfaults in wxYield when wxToolBar has non-button contr...
[wxWidgets.git] / src / os2 / radiobut.cpp
index 5453a8ec5287cf119e7c7f1286394a856d1d82fa..1905f909e26e1a8cb13a1a25bf180e87fa4a2ff9 100644 (file)
@@ -47,11 +47,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-           const wxValidator* validator,
-#  else
            const wxValidator& validator,
            const wxValidator& validator,
-#  endif
 #endif
            const wxString& name)
 {
 #endif
            const wxString& name)
 {
@@ -159,11 +155,7 @@ bool wxBitmapRadioButton::Create(wxWindow *parent, wxWindowID id,
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-           const wxValidator* validator,
-#  else
            const wxValidator& validator,
            const wxValidator& validator,
-#  endif
 #endif
            const wxString& name)
 {
 #endif
            const wxString& name)
 {