X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..a60c99e6a919bad02f33ee1429a831f00b0df819:/src/stubs/notebook.cpp diff --git a/src/stubs/notebook.cpp b/src/stubs/notebook.cpp index aecb879f4b..cd85a27ad7 100644 --- a/src/stubs/notebook.cpp +++ b/src/stubs/notebook.cpp @@ -97,10 +97,6 @@ bool wxNotebook::Create(wxWindow *parent, m_windowId = id == -1 ? NewControlId() : id; - // colors and font - m_backgroundColour = wxColour(GetSysColor(COLOR_BTNFACE)); - m_foregroundColour = *wxBLACK ; - // style m_windowStyle = style; @@ -278,7 +274,7 @@ void wxNotebook::OnSize(wxSizeEvent& event) SetSelection(nSel); // fit the notebook page to the tab control's display area - int w, hl + int w, h; GetSize(&w, &h); uint nCount = m_aPages.Count();