give the generic tree and list controls a DoGetBestSize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-08-25 22:22:37 +00:00
parent fbd11d30c8
commit 3872d96df2
6 changed files with 29 additions and 0 deletions

View File

@@ -391,6 +391,8 @@ public:
void OnGetToolTip( wxTreeEvent &event );
void OnInternalIdle( );
virtual wxSize DoGetBestSize() const;
virtual wxVisualAttributes GetDefaultAttributes() const
{
return GetClassDefaultAttributes(GetWindowVariant());