added wxHeaderCtrl::OnColumnCountChanging()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-11 17:15:43 +00:00
parent f915d44b3f
commit 4635abaca6
3 changed files with 25 additions and 1 deletions

View File

@@ -337,6 +337,18 @@ protected:
meaning that the control didn't reach to the separator double click.
*/
virtual bool UpdateColumnWidthToFit(unsigned int idx, int widthTitle);
/**
Can be overridden in the derived class to update internal data
structures when the number of the columns in the control changes.
This method is called by SetColumnCount() before effectively changing
the number of columns.
The base class version does nothing but it is good practice to still
call it from the overridden version in the derived class.
*/
virtual void OnColumnCountChanging(unsigned int count);
};