]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobut.cpp
corrected dynamic class implementation
[wxWidgets.git] / src / os2 / radiobut.cpp
index 5453a8ec5287cf119e7c7f1286394a856d1d82fa..d0b290c9978482c9208c851495527b798325e4f8 100644 (file)
 
 #include "wx/os2/private.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapRadioButton, wxRadioButton)
-#endif
 
 bool wxRadioButton::OS2Command(WXUINT param, WXWORD id)
 {
@@ -47,11 +44,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-           const wxValidator* validator,
-#  else
            const wxValidator& validator,
-#  endif
 #endif
            const wxString& name)
 {
@@ -154,16 +147,15 @@ void wxRadioButton::Command (wxCommandEvent & event)
   ProcessCommand (event);
 }
 
+// Not implemented
+#if 0
+
 bool wxBitmapRadioButton::Create(wxWindow *parent, wxWindowID id,
        const wxBitmap *bitmap,
            const wxPoint& pos,
            const wxSize& size, long style,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-           const wxValidator* validator,
-#  else
            const wxValidator& validator,
-#  endif
 #endif
            const wxString& name)
 {
@@ -228,3 +220,4 @@ bool wxBitmapRadioButton::GetValue(void) const
     return FALSE;
 }
 
+#endif
\ No newline at end of file