- wxSystemSettings ss;
- m_colHighlightFg = ss.GetSystemColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
- m_colHighlightBg = ss.GetSystemColour(wxSYS_COLOUR_HIGHLIGHT);
+ m_colHighlightFg = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
+ m_colHighlightBg = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
const wxString& name)
{
if ( !wxControl::Create(parent, id, pos, size,
const wxString& name)
{
if ( !wxControl::Create(parent, id, pos, size,
- style | wxWANTS_CHARS, wxDefaultValidator, name) )
+ style | wxCLIP_CHILDREN | wxWANTS_CHARS,
+ wxDefaultValidator, name) )
dc.GetTextExtent(headertext, &monthw, &monthh);
// draw month-name centered above weekdays
dc.GetTextExtent(headertext, &monthw, &monthh);
// draw month-name centered above weekdays