make GenerateEvent() public again to fix wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -297,14 +297,16 @@ public:
|
|||||||
|
|
||||||
// implementation only from now on
|
// implementation only from now on
|
||||||
|
|
||||||
protected:
|
|
||||||
// generate the given calendar event, return true if it was processed
|
// generate the given calendar event, return true if it was processed
|
||||||
|
//
|
||||||
|
// NB: this is public because it's used from GTK+ callbacks
|
||||||
bool GenerateEvent(wxEventType type)
|
bool GenerateEvent(wxEventType type)
|
||||||
{
|
{
|
||||||
wxCalendarEvent event(this, GetDate(), type);
|
wxCalendarEvent event(this, GetDate(), type);
|
||||||
return HandleWindowEvent(event);
|
return HandleWindowEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected:
|
||||||
// generate all the events for the selection change from dateOld to current
|
// generate all the events for the selection change from dateOld to current
|
||||||
// date: SEL_CHANGED, PAGE_CHANGED if necessary and also one of (deprecated)
|
// date: SEL_CHANGED, PAGE_CHANGED if necessary and also one of (deprecated)
|
||||||
// YEAR/MONTH/DAY_CHANGED ones
|
// YEAR/MONTH/DAY_CHANGED ones
|
||||||
|
Reference in New Issue
Block a user