use 0 (== GTK_STATE_NORMAL) for state parameter default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -229,9 +229,6 @@ wxControl::GetDefaultAttributesFromGTKWidget(GtkWidget* widget,
|
||||
return wxWindow::GetClassDefaultAttributes(wxWINDOW_VARIANT_NORMAL);
|
||||
}
|
||||
|
||||
if (state == -1)
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
// get the style's colours
|
||||
attr.colFg = wxColour(style->fg[state]);
|
||||
if (useBase)
|
||||
|
Reference in New Issue
Block a user