]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/checklst.cpp
Use IsOk() instead of Ok()
[wxWidgets.git] / src / mac / carbon / checklst.cpp
index 8b12a0590d79e4be6e7e1ed2b947b575785cc9fe..5f0fecb5e2eb434db3128a4d12cf540b4a550c60 100644 (file)
 
 #include "wx/mac/uma.h"
 
-#ifndef __DARWIN__
-#include <Appearance.h>
-#endif
-
 IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
 
 BEGIN_EVENT_TABLE(wxCheckListBox, wxListBox)
@@ -226,7 +222,7 @@ public :
                     wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, checklist->GetId() );
                     event.SetInt( owner->GetLineFromItem( this ) );
                     event.SetEventObject( checklist );
-                    checklist->GetEventHandler()->ProcessEvent( event );
+                    checklist->HandleWindowEvent( event );
                 }
                 break;