git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70714
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(GtkWidget* widget,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(GtkWidget* widget,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(wxGtkWidgetNew_t,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(wxGtkWidgetNew_t,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromStr_t,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromStr_t,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromAdj_t,
bool useBase = false,
static wxVisualAttributes
GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromAdj_t,
bool useBase = false,
// Widgets that use the style->base colour for the BG colour should
// override this and return true.
// Widgets that use the style->base colour for the BG colour should
// override this and return true.
return wxWindow::GetClassDefaultAttributes(wxWINDOW_VARIANT_NORMAL);
}
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)
// get the style's colours
attr.colFg = wxColour(style->fg[state]);
if (useBase)