]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/radiobox.mm
OS X compilation fix
[wxWidgets.git] / src / cocoa / radiobox.mm
index 4b4f7522e25466401b1faa1af5d00edf87079e34..8cf200fb4de4ac3c44137334a1d567c12e4eb9a0 100644 (file)
@@ -53,7 +53,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID winid,
 {
     if(!CreateControl(parent,winid,pos,size,style,validator,name))
         return false;
-    SetNSView([[WXNSView alloc] initWithFrame: MakeDefaultNSRect(size)]);
+    SetNSView([[WX_GET_OBJC_CLASS(WXNSView) alloc] initWithFrame: MakeDefaultNSRect(size)]);
     [m_cocoaNSView release];
     if(m_parent)
         m_parent->CocoaAddChild(this);