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