use wxEventType coherently with the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2297,21 +2297,21 @@ public:
|
||||
// winid and event type
|
||||
void Connect(int winid,
|
||||
int lastId,
|
||||
int eventType,
|
||||
wxEventType eventType,
|
||||
wxObjectEventFunction func,
|
||||
wxObject *userData = (wxObject *) NULL,
|
||||
wxEvtHandler *eventSink = (wxEvtHandler *) NULL);
|
||||
|
||||
// Convenience function: take just one id
|
||||
void Connect(int winid,
|
||||
int eventType,
|
||||
wxEventType eventType,
|
||||
wxObjectEventFunction func,
|
||||
wxObject *userData = (wxObject *) NULL,
|
||||
wxEvtHandler *eventSink = (wxEvtHandler *) NULL)
|
||||
{ Connect(winid, wxID_ANY, eventType, func, userData, eventSink); }
|
||||
|
||||
// Even more convenient: without id (same as using id of wxID_ANY)
|
||||
void Connect(int eventType,
|
||||
void Connect(wxEventType eventType,
|
||||
wxObjectEventFunction func,
|
||||
wxObject *userData = (wxObject *) NULL,
|
||||
wxEvtHandler *eventSink = (wxEvtHandler *) NULL)
|
||||
|
Reference in New Issue
Block a user