Set focus to the main grid window in wxGrid::SetFocus()

After changing wxGrid to not inherit from wxPanel, this needs to be done
explicitly now.
This commit is contained in:
Vadim Zeitlin
2019-10-18 03:57:22 +02:00
parent 38247f596c
commit b4dee76b4c
2 changed files with 6 additions and 0 deletions

View File

@@ -1948,6 +1948,7 @@ public:
// override some base class functions
virtual void Fit() wxOVERRIDE;
virtual void SetFocus() wxOVERRIDE;
// implementation only
void CancelMouseCapture();