Merge branch 'osx-dataview-native-key'

Implement wxEVT_CHAR generation for wxDataViewCtrl under Mac.

Closes https://github.com/wxWidgets/wxWidgets/pull/2324
This commit is contained in:
Vadim Zeitlin
2021-04-24 00:33:31 +02:00
6 changed files with 64 additions and 26 deletions

View File

@@ -573,6 +573,9 @@ public:
virtual void SetFont(const wxFont& font) wxOVERRIDE;
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;