X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarList.cpp;h=9dae3fcf34a9d89a79b5fd7d918b0c9a0e491572;hb=0c16b6458c0fdc03b94288c17d7a685b95f122fc;hp=4ee85acc802d5f53ebbdc473943c3e354a23c633;hpb=c5716d0f27f0f917282df9121aa97eab7a1bf6b8;p=xestiacalendar%2F.git diff --git a/source/widgets/XCCalendarList.cpp b/source/widgets/XCCalendarList.cpp index 4ee85ac..9dae3fc 100644 --- a/source/widgets/XCCalendarList.cpp +++ b/source/widgets/XCCalendarList.cpp @@ -25,16 +25,7 @@ XCCalendarList::XCCalendarList(wxWindow *parent) szrMain = new wxBoxSizer( wxVERTICAL ); this->SetSizer(szrMain); - this->SetSize(wxSize(350, 500)); - - //scwMain = new wxScrolledWindow(); - - //szrScrolled = new wxBoxSizer( wxHORIZONTAL ); - //scwMain->SetSizer(szrScrolled); - - //szrMain->Add(scwMain, 0, wxEXPAND, 5); - //szrMain->Layout(); - + this->SetSize(wxSize(350, 500)); } @@ -122,6 +113,8 @@ void XCCalendarList::UpdateCalendarList(CalendarDataStorage *dataStorage){ // Set the updated checksum. checksumUpdate = currentChecksum.checksumValue; + + this->Layout(); }