m_tab_ctrl_height = 0;
#ifdef __WXMAC__
- wxBrush toolbarbrush;
- toolbarbrush.MacSetTheme( kThemeBrushToolbarBackground );
- wxColor base_colour = toolbarbrush.GetColour();
+ wxColor base_colour = wxColour( wxMacCreateCGColorFromHITheme(kThemeBrushToolbarBackground));
#else
wxColor base_colour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
#endif
bool select,
const wxBitmap& bitmap)
{
+ wxASSERT_MSG(page, wxT("page pointer must be non-NULL"));
+ if (!page)
+ return false;
+
page->Reparent(this);
wxAuiNotebookPage info;
SetSelectedFont(selectedFont);
SetMeasuringFont(selectedFont);
- if (GetArtProvider())
- {
- GetArtProvider()->SetNormalFont(normalFont);
- GetArtProvider()->SetSelectedFont(selectedFont);
- GetArtProvider()->SetMeasuringFont(selectedFont);
- }
-
return true;
}