Implement EVT_CHAR generation for wxDataViewCtrl under Mac
This requires manually sending the original key event back to the native control because NSOutlineView doesn't implement the NSTextInputClient protocol and so doesn't allow handling the keys in the usual way.
This commit is contained in:
committed by
Vadim Zeitlin
parent
18c45321f4
commit
26d6f82a81
@@ -573,6 +573,9 @@ public:
|
||||
|
||||
virtual void SetFont(const wxFont& font);
|
||||
|
||||
virtual void keyEvent(WX_NSEvent event, WXWidget slf, void* _cmd) wxOVERRIDE;
|
||||
virtual bool doCommandBySelector(void* sel, WXWidget slf, void* _cmd) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
void InitOutlineView(long style);
|
||||
int GetDefaultRowHeight() const;
|
||||
|
Reference in New Issue
Block a user