Replace wxEvtHandler::Connect() with Bind() in the docs
In the docs, replace mentions of wxEvtHandler::Connect() with wxEvtHandler::Bind(), mostly to match the actual code but also because Bind() is the recommended way to dynamically bind events. Closes https://github.com/wxWidgets/wxWidgets/pull/2298
This commit is contained in:
@@ -131,7 +131,7 @@ public:
|
||||
Notice that the generic wxInfoBar implementation handles the button
|
||||
events itself and so they are not propagated to the info bar parent and
|
||||
you need to either inherit from wxInfoBar and handle them in your
|
||||
derived class or use wxEvtHandler::Connect(), as is done in the dialogs
|
||||
derived class or use wxEvtHandler::Bind(), as is done in the dialogs
|
||||
sample, to handle the button events in the parent frame.
|
||||
|
||||
@param btnid
|
||||
|
Reference in New Issue
Block a user