]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/checklst.cpp
set extra widget from child inserter, so that correct style is set early enough
[wxWidgets.git] / src / osx / carbon / checklst.cpp
index 5f0fecb5e2eb434db3128a4d12cf540b4a550c60..218600348f3ad959bfec7b0f9a96a10a0dc2d444 100644 (file)
@@ -22,7 +22,7 @@
     #include "wx/arrstr.h"
 #endif
 
-#include "wx/mac/uma.h"
+#include "wx/osx/uma.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
 
@@ -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 )