Setting the background colour of a wxWindow or
wxScrolledWindow etc. should only affect the actual background, not the border (sunken) or the scrollbars etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9527eca5de
commit
7cb93e4565
@ -4370,7 +4370,8 @@ void wxWindowGTK::DoApplyWidgetStyle(GtkRcStyle *style)
|
||||
{
|
||||
if (m_wxwindow)
|
||||
gtk_widget_modify_style(m_wxwindow, style);
|
||||
gtk_widget_modify_style(m_widget, style);
|
||||
else
|
||||
gtk_widget_modify_style(m_widget, style);
|
||||
}
|
||||
|
||||
bool wxWindowGTK::SetBackgroundStyle(wxBackgroundStyle style)
|
||||
|
@ -4370,7 +4370,8 @@ void wxWindowGTK::DoApplyWidgetStyle(GtkRcStyle *style)
|
||||
{
|
||||
if (m_wxwindow)
|
||||
gtk_widget_modify_style(m_wxwindow, style);
|
||||
gtk_widget_modify_style(m_widget, style);
|
||||
else
|
||||
gtk_widget_modify_style(m_widget, style);
|
||||
}
|
||||
|
||||
bool wxWindowGTK::SetBackgroundStyle(wxBackgroundStyle style)
|
||||
|
Loading…
Reference in New Issue
Block a user