X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarMonthViewDayTitle.cpp;h=c2fb6d50009aebceb94b9a922e763fc4f0d642a3;hp=f67ea776696975f9bf28b6f451f1b8db506f25ba;hb=401fd2eee6047f72fdaf811bbcc3924409a4fb9d;hpb=6028a1fc2134c5d1fe9c0147381cf81c4a0ef126 diff --git a/source/widgets/XCCalendarMonthViewDayTitle.cpp b/source/widgets/XCCalendarMonthViewDayTitle.cpp index f67ea77..c2fb6d5 100644 --- a/source/widgets/XCCalendarMonthViewDayTitle.cpp +++ b/source/widgets/XCCalendarMonthViewDayTitle.cpp @@ -22,14 +22,14 @@ XCCalendarMonthViewDayTitle::XCCalendarMonthViewDayTitle(wxWindow *parent, const : wxPanel(parent, wxID_ANY, pos, size, wxTAB_TRAVERSAL, title) { - WindowSizer->Add(DayPanel, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); - DayPanel->SetSizer(DaySizer); + windowSizer->Add(dayPanel, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); + dayPanel->SetSizer(daySizer); - DayText = new wxStaticText(DayPanel, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE); - DaySizer->Add(DayText, 1, wxALL, 0); - DayPanel->Layout(); + dayText = new wxStaticText(dayPanel, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE); + daySizer->Add(dayText, 1, wxALL, 0); + dayPanel->Layout(); - this->SetSizer(WindowSizer); + this->SetSizer(windowSizer); this->Layout(); }