Replace Connect() with Bind() in all samples and utils too
Still use Connect() in unit tests which were written explicitly for it and in EventConnector, which can't use Bind() as it uses a variable for the event type. No real changes, just use the newer and more convenient function.
This commit is contained in:
@@ -274,7 +274,7 @@ wxDataObject to achieve this.
|
||||
|
||||
This sample demonstrates various features of the wxWidgets events. It
|
||||
shows how to dynamic events and connecting/disconnecting the event handlers
|
||||
during run time by using wxEvtHandler::Connect() and wxEvtHandler::Disconnect(),
|
||||
during run time by using wxEvtHandler::Bind() and wxEvtHandler::Unbind(),
|
||||
and also how to use wxWindow::PushEventHandler() and wxWindow::PopEventHandler().
|
||||
|
||||
@sampledir{event}
|
||||
|
Reference in New Issue
Block a user