]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/radiobut.cpp
updated mac sources (CW 5.3 working , CW6 still having code gen problems)
[wxWidgets.git] / src / mac / radiobut.cpp
index f5f95dfab2ed077ed0129df18750e82cc96a650e..9a93378c0cbb1ccdcb2d40d4b8868c76838556bc 100644 (file)
@@ -15,7 +15,9 @@
 
 #include "wx/radiobut.h"
 
+#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
+#endif
 
 #include <wx/mac/uma.h>
 
@@ -48,7 +50,8 @@ void wxRadioButton::SetValue(bool val)
        
    ::SetControlValue( m_macControl , val ) ;
    
-   if (val) {
+   if (val) 
+   {
                cycle=this->NextInCycle();
                if (cycle!=NULL) {
                        while (cycle!=this) {
@@ -94,4 +97,3 @@ wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle)
                return(cycle);
        }
 }  
-