From: Steve Brokenshire Date: Sat, 15 Jul 2017 20:37:08 +0000 (+0100) Subject: XCCalendarMonthSelect: Layout control after creating it. X-Git-Tag: release-0.04~16 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=09e26476d240828ced7fa35989cc6bfa71ebec7f;p=xestiacalendar%2F.git XCCalendarMonthSelect: Layout control after creating it. --- diff --git a/source/widgets/XCCalendarMonthSelect.cpp b/source/widgets/XCCalendarMonthSelect.cpp index 5f87172..6c46280 100644 --- a/source/widgets/XCCalendarMonthSelect.cpp +++ b/source/widgets/XCCalendarMonthSelect.cpp @@ -60,6 +60,7 @@ XCCalendarMonthSelect::XCCalendarMonthSelect(wxWindow *parent) btnChange->Connect(wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(XCCalendarMonthSelect::UpdateMonthView), NULL, this); + this->Layout(); } XCCalendarMonthSelect::~XCCalendarMonthSelect(){