From: Robin Dunn Date: Wed, 8 Feb 2012 00:16:59 +0000 (+0000) Subject: Add an empty implementation of the OSXGenerateEvent() pure virtual so the generic... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb74c22a0b5d4c7cde8845a7ac9174ee434ee1c3 Add an empty implementation of the OSXGenerateEvent() pure virtual so the generic date picker ctrl can be used in the cocoa build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/datectrl.h b/include/wx/generic/datectrl.h index 6151d81b08..61e9aef431 100644 --- a/include/wx/generic/datectrl.h +++ b/include/wx/generic/datectrl.h @@ -82,6 +82,10 @@ private: void OnSize(wxSizeEvent& event); void OnFocus(wxFocusEvent& event); +#ifdef __WXOSX_COCOA__ + virtual void OSXGenerateEvent(const wxDateTime& dt) {} +#endif + wxComboCtrl* m_combo; wxCalendarComboPopup* m_popup;