]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
added missing return on error
[wxWidgets.git] / src / os2 / radiobox.cpp
index 43bcd15f5e95a680fe63a4df3e064be843e0955d..0392b1c87f5fd79301026270626197e8d2bff322 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef WX_PRECOMP
     #include <stdio.h>
     #include "wx/setup.h"
+    #include "wx/wxchar.h"
+    #include "wx/string.h"
     #include "wx/bitmap.h"
     #include "wx/brush.h"
     #include "wx/radiobox.h"
@@ -22,9 +24,7 @@
 
 #include "wx/os2/private.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxRadioBox, wxControl)
-#endif
 
 // ---------------------------------------------------------------------------
 // private functions
@@ -144,11 +144,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title,
         int n, const wxString choices[],
         int majorDim, long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-        const wxValidator* val, const wxString& name)
-#  else
         const wxValidator& val, const wxString& name)
-#  endif
 #endif
 {
     m_selectedButton = -1;