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:
@@ -370,6 +370,8 @@ public:
|
|||||||
int m_colToSend;
|
int m_colToSend;
|
||||||
int m_widthToSend;
|
int m_widthToSend;
|
||||||
|
|
||||||
|
virtual wxWindow *GetMainWindowOfCompositeControl() wxOVERRIDE { return GetParent(); }
|
||||||
|
|
||||||
virtual void OnInternalIdle() wxOVERRIDE;
|
virtual void OnInternalIdle() wxOVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user