]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/checklst.cpp
Make wxr resources work in Unicode mode.
[wxWidgets.git] / src / mac / carbon / checklst.cpp
index 3bb48dec081ef03c916d8974cdc6ef0a227e93ac..89123057f040845a079a1223a74d999abaa0c990 100644 (file)
@@ -376,7 +376,7 @@ END_EVENT_TABLE()
 
 void wxCheckListBox::OnChar(wxKeyEvent& event)
 {
-  if ( event.KeyCode() == WXK_SPACE )
+  if ( event.GetKeyCode() == WXK_SPACE )
   {
     int index = GetSelection() ;
     if ( index >= 0 )