X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ff9d30c0aab3b281ef9b380eac17435556c5088..eec4500dca898b64179484c428590b1aa9160145:/src/gtk/calctrl.cpp diff --git a/src/gtk/calctrl.cpp b/src/gtk/calctrl.cpp index 2da9293d0b..3672664b25 100644 --- a/src/gtk/calctrl.cpp +++ b/src/gtk/calctrl.cpp @@ -142,17 +142,17 @@ bool wxGtkCalendarCtrl::SetDate(const wxDateTime& date) { g_signal_handlers_block_by_func(m_widget, (gpointer) gtk_day_selected_callback, this); - + m_selectedDate = date; int year = date.GetYear(); int month = date.GetMonth(); int day = date.GetDay(); gtk_calendar_select_month(GTK_CALENDAR(m_widget), month, year); gtk_calendar_select_day(GTK_CALENDAR(m_widget), day); - + g_signal_handlers_unblock_by_func( m_widget, (gpointer) gtk_day_selected_callback, this); - + return true; }