]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied background colour patch for Motif notebooks
authorRobert Roebling <robert@roebling.de>
Wed, 16 Feb 2005 23:08:22 +0000 (23:08 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 16 Feb 2005 23:08:22 +0000 (23:08 +0000)
    (actually in generic tab control code).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/tabg.cpp

index 75a10c14d5827c751726cc0ce2023ddc00e3045a..8ec1549f2bdafdf9b2027a96d3a1e4b69f973b3e 100644 (file)
@@ -527,12 +527,11 @@ wxTabView::wxTabView(long style)
   m_tabViewRect.x = 300;
   m_highlightColour = *wxWHITE;
   m_shadowColour = wxColour(128, 128, 128);
-  m_backgroundColour = *wxLIGHT_GREY;
+  m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE);
   m_textColour = *wxBLACK;
   m_highlightPen = wxWHITE_PEN;
   m_shadowPen = wxGREY_PEN;
-  m_backgroundPen = wxLIGHT_GREY_PEN;
-  m_backgroundBrush = wxLIGHT_GREY_BRUSH;
+  SetBackgroundColour(m_backgroundColour);
   m_tabFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
   m_tabSelectedFont = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
   m_window = (wxWindow *) NULL;