Fixed a regression, where in the object list when in-place editing

the object name, the accelerator keys were still captured and caused
weired effects or crashes.
This commit is contained in:
bubnikv 2019-05-16 10:37:06 +02:00
parent d13d3f39af
commit fc0bc15869
2 changed files with 36 additions and 25 deletions

View file

@ -188,7 +188,9 @@ public:
void selection_changed();
void show_context_menu();
#ifndef __WXOSX__
void key_event(wxKeyEvent& event);
#endif /* __WXOSX__ */
void get_settings_choice(const wxString& category_name);
void get_freq_settings_choice(const wxString& bundle_name);
@ -298,7 +300,9 @@ public:
void msw_rescale();
private:
void OnChar(wxKeyEvent& event);
#ifdef __WXOSX__
// void OnChar(wxKeyEvent& event);
#endif /* __WXOSX__ */
void OnContextMenu(wxDataViewEvent &event);
void OnBeginDrag(wxDataViewEvent &event);