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:
Robert Roebling 2005-05-21 09:42:02 +00:00
parent 9527eca5de
commit 7cb93e4565
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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)