Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
XCCalendarMonthSelect: Layout control after creating it.
[xestiacalendar/.git] / source / widgets / XCCalendarMonthSelect.cpp
index 94e9421..6c46280 100644 (file)
@@ -60,6 +60,7 @@ XCCalendarMonthSelect::XCCalendarMonthSelect(wxWindow *parent)
        
        btnChange->Connect(wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(XCCalendarMonthSelect::UpdateMonthView), NULL, this);
 
+       this->Layout();
 }
 
 XCCalendarMonthSelect::~XCCalendarMonthSelect(){
@@ -82,6 +83,7 @@ void XCCalendarMonthSelect::UpdateMonthView(wxCommandEvent &event){
        
        this->Dismiss();
        wxCommandEvent UpdateGrid(XCCALENDARMANIPULATOR_CHANGEGRID);
+       UpdateGrid.SetId(ID_CHANGEGRID);
        wxPostEvent(this->GetParent(), UpdateGrid);
        
 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy