Return correct main window from wxListHeaderWindow

wxListHeaderWindow is part of the composite wxGenericListCtrl, so override
GetMainWindowOfCompositeControl() in it to indicate this relationship.
This commit is contained in:
Vadim Zeitlin
2016-06-29 18:20:55 +02:00
parent 8bb4495d95
commit dae164b8aa

View File

@@ -370,6 +370,8 @@ public:
int m_colToSend;
int m_widthToSend;
virtual wxWindow *GetMainWindowOfCompositeControl() wxOVERRIDE { return GetParent(); }
virtual void OnInternalIdle() wxOVERRIDE;
private: