Get(Class)DefaultAttributes() for wxGTK controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1087,5 +1087,13 @@ void wxListBox::FixUpMouseEvent(GtkWidget *widget, wxCoord& x, wxCoord& y)
|
||||
y += widget->allocation.y;
|
||||
}
|
||||
|
||||
|
||||
// static
|
||||
wxVisualAttributes
|
||||
wxListBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
||||
{
|
||||
return GetDefaultAttributesFromGTKWidget(gtk_list_new, true);
|
||||
}
|
||||
|
||||
#endif // wxUSE_LISTBOX
|
||||
|
||||
|
Reference in New Issue
Block a user