Try to handle wxEVT_KEY_DOWN on OSX

This commit is contained in:
YuSanka 2018-08-16 09:46:34 +02:00
parent 5de933b77e
commit e6fce6e1f6

View File

@ -287,7 +287,7 @@ wxBoxSizer* create_objects_list(wxWindow *win)
m_objects_ctrl->Bind( m_objects_ctrl->Bind(
#ifdef __WXOSX__ #ifdef __WXOSX__
wxEVT_CHAR_HOOK, wxEVT_KEY_DOWN,
#else #else
wxEVT_CHAR, wxEVT_CHAR,
#endif //__WXOSX__ #endif //__WXOSX__