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