]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/checklst.cpp
remove declaration for ctor which is never defined
[wxWidgets.git] / src / osx / carbon / checklst.cpp
index adff768e253866b45f1902abcb8801240ce636a7..218600348f3ad959bfec7b0f9a96a10a0dc2d444 100644 (file)
@@ -186,7 +186,7 @@ public :
     {
         OSStatus err = errDataBrowserPropertyNotSupported;
 
-        wxCheckListBox *checklist = wxDynamicCast( owner->GetPeer() , wxCheckListBox );
+        wxCheckListBox *checklist = wxDynamicCast( owner->GetWXPeer() , wxCheckListBox );
         wxCHECK_MSG( checklist != NULL , errDataBrowserPropertyNotSupported , wxT("wxCheckListBox expected"));
 
         if ( !changeValue )