[wxPython] wxDialog & wxCalendarCtrl question (newbie)

Hi,

I want to use wxCalendarCtrl on a wxDialog widget, but it seems
different as in demo code.(I have no year and month scrollbar only the
days of actual month could change.)
In demo code they use wxPanel to hold the wxCalendarCtrl.
Here is my code:

···

------------------------
posx = 300
posy = 200
self.consDLG = wxDialog(self, -1, 'Appointments', wxPoint(posx, posy),
style = wxSYSTEM_MENU)
cal = wxCalendarCtrl(self.consDLG, -1, wxDateTime_Now(), style =
wxCAL_SHOW_HOLIDAYS | wxCAL_SUNDAY_FIRST)
x = 5
y = 100
wxStaticText(self.consDLG, -1, 'Date: ',
wxDLG_PNT(self.consDLG, x, y), wxDLG_SZE(self.consDLG, -1, -1))
self.Date = wxTextCtrl(self.consDLG, -1, '',
wxDLG_PNT(self.consDLG, x+90,y), wxDLG_SZE(self.consDLG, 40,-1))
y += 15
wxStaticText(self.consDLG, -1, 'Appointment interval:',
wxDLG_PNT(self.consDLG, x, y), wxDLG_SZE(self.consDLG, -1, -1))
self.cons_hours = wxTextCtrl(self.consDLG, -1, '',
wxDLG_PNT(self.consDLG, x+90,y), wxDLG_SZE(self.consDLG, 45,-1))

# Buttons
wxButton(self.consDLG, ID_OK, 'Save', wxDLG_PNT(self.consDLG, posx/2-20,
posy-20)).SetDefault()
wxButton(self.consDLG, ID_CANCEL, 'Close', wxDLG_PNT(self.consDLG,
posx/2+20, posy-20))

EVT_BUTTON(self.consDLG, ID_OK, self.save_OnIrregConsHours)
EVT_BUTTON(self.consDLG, ID_CANCEL, self.cancel_3)
EVT_CALENDAR(self.consDLG, cal.GetId(), self.OnCalSelected)

------------------------

TIA:

    Attila Szüts
   (aszuts@lsc.hu)