moved DoApplyWidgetStyle to wxWindowGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -278,21 +278,5 @@ wxControl::GetDefaultAttributesFromGTKWidget(GtkWidget* (*widget_new)(GtkAdjustm
|
||||
return attr;
|
||||
}
|
||||
|
||||
void wxControl::ApplyWidgetStyle(bool forceStyle)
|
||||
{
|
||||
GtkRcStyle *style = CreateWidgetStyle(forceStyle);
|
||||
if ( style )
|
||||
{
|
||||
DoApplyWidgetStyle(style);
|
||||
gtk_rc_style_unref(style);
|
||||
}
|
||||
}
|
||||
|
||||
void wxControl::DoApplyWidgetStyle(GtkRcStyle *style)
|
||||
{
|
||||
gtk_widget_modify_style(m_widget, style);
|
||||
}
|
||||
|
||||
|
||||
#endif // wxUSE_CONTROLS
|
||||
|
||||
|
Reference in New Issue
Block a user