generate double click events in the native MSW version of wxCalendarCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-04-04 15:49:08 +00:00
parent a4fcd589a8
commit b3ed70208b
3 changed files with 44 additions and 5 deletions

View File

@@ -298,11 +298,11 @@ public:
// implementation only from now on
protected:
// generate the given calendar event(s)
void GenerateEvent(wxEventType type)
// generate the given calendar event, return true if it was processed
bool GenerateEvent(wxEventType type)
{
wxCalendarEvent event(this, GetDate(), type);
HandleWindowEvent(event);
return HandleWindowEvent(event);
}
// generate all the events for the selection change from dateOld to current