git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59402
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// implementation
//
+ virtual wxSize DoGetBestSize() const;
+
// adds all children of the passed parent to the control; if 'parentItem' is invalid the root(s) is/are added:
void AddChildrenLevel(wxDataViewItem const& parentItem);
return true;
}
+wxSize wxDataViewCtrl::DoGetBestSize() const
+{
+ wxSize best = wxControl::DoGetBestSize();
+ best.y = 80;
+
+ return best;
+}
+
/*static*/
wxVisualAttributes wxDataViewCtrl::GetClassDefaultAttributes(wxWindowVariant variant)
{
attr.colFg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
attr.colBg = wxSystemSettings::GetColour( wxSYS_COLOUR_LISTBOX );
- attr.font.MacCreateFromThemeFont(kThemeViewsFont);
+ //attr.font.MacCreateFromThemeFont(kThemeViewsFont);
return attr;
}