]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/radiobut.cpp
Compilation fix.
[wxWidgets.git] / src / mac / classic / radiobut.cpp
index 991c8be68f7d0ea0db3d04e12889f50b016be9c3..ab3068e02d08423438cd651df7580308eb7079c9 100644 (file)
@@ -17,9 +17,7 @@
 
 #include "wx/radiobut.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-#endif
 
 #include "wx/mac/uma.h"
 
@@ -38,7 +36,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
     
     MacPreControlCreate( parent , id ,  label , pos , size ,style, validator , name , &bounds , title ) ;
 
-    m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, 
+    m_macControl = (WXWidget) ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1, 
           kControlRadioButtonProc , (long) this ) ;
     
     MacPostControlCreate() ;