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:
@@ -5351,6 +5351,14 @@ void wxGenericListCtrl::SetFocus()
|
||||
m_mainWin->SetFocus();
|
||||
}
|
||||
|
||||
wxSize wxGenericListCtrl::DoGetBestSize() const
|
||||
{
|
||||
// Something is better than nothing...
|
||||
// 100x80 is what the MSW version will get from the default
|
||||
// wxControl::DoGetBestSize
|
||||
return wxSize(100,80);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// virtual list control support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user