Make column width calculations in wxDataViewCtrl and wxHeaderCtrl consistent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2012-01-14 16:51:57 +00:00
parent b1b3236700
commit 5313727812
4 changed files with 27 additions and 9 deletions

View File

@@ -374,6 +374,13 @@ public:
*/
bool ShowCustomizeDialog();
/**
Returns width needed for given column's title.
@since 2.9.4
*/
int GetColumnTitleWidth(const wxHeaderColumn& col);
protected:
/**
Method to be implemented by the derived classes to return the