]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/radiobox.cpp
more wxUniv compilation fixes (bug 1085003)
[wxWidgets.git] / src / mac / classic / radiobox.cpp
index 103d68ca440e684148637c4b011267d31b503bfc..2b0d11d3e9550b9326473cf570a3dae3c1af1cd3 100644 (file)
@@ -132,7 +132,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
     
     MacPreControlCreate( parent , id ,  wxStripMenuCodes(label) , pos , size ,style, val , 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, 
         kControlGroupBoxTextTitleProc , (long) this ) ;
     
     for (i = 0; i < n; i++)