From: Julian Smart Date: Sat, 16 Apr 2005 10:32:36 +0000 (+0000) Subject: Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/18fefee7d1565c17d37ae3e0e35b5ffa476af9a4?ds=sidebyside Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes Jaakko Salli This patch modifies datectlg.cpp's wxDropdownButton in such manner that it should be much easier to convert it into a generic drop button class. Also, it is now more universal in the respect that it should work on platforms other than wxMSW and wxGTK (wxBitmapButton being prime prerequisite). Plus there are some bug fixes for wxDatePickerCtrlGeneric. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/datectrl.h b/include/wx/generic/datectrl.h index 6f83acb042..4b3eb201ca 100644 --- a/include/wx/generic/datectrl.h +++ b/include/wx/generic/datectrl.h @@ -89,6 +89,7 @@ private: void OnSetFocus(wxFocusEvent &event); void OnKillFocus(wxFocusEvent &event); void OnChildSetFocus(wxChildFocusEvent &event); + void OnSize(wxSizeEvent& event); wxDatePopupInternal *m_popup;