From 09e26476d240828ced7fa35989cc6bfa71ebec7f Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 15 Jul 2017 21:37:08 +0100 Subject: [PATCH] XCCalendarMonthSelect: Layout control after creating it. --- source/widgets/XCCalendarMonthSelect.cpp | 1 + 1 file changed, 1 insertion(+) 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(){ -- 2.39.5