X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/622226dc73448ba5435bb402d2f60663cf70a23d..45cecdf9436fbfb7776f8ac610b280311d497ad7:/src/gtk/control.cpp diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index 626fbf167d..24570f6afe 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -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)