X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f0c8f31f407ecfce909060464c0ea655221cdab..ef6ece2352e739f843d9fc08d96d46b6467b83d6:/src/osx/carbon/checklst.cpp diff --git a/src/osx/carbon/checklst.cpp b/src/osx/carbon/checklst.cpp index adff768e25..218600348f 100644 --- a/src/osx/carbon/checklst.cpp +++ b/src/osx/carbon/checklst.cpp @@ -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 )