Merge branch 'replace-connect-bind'
Replace almost all occurrences of wxEvtHandler::Connect() with Bind(). See https://github.com/wxWidgets/wxWidgets/pull/820
This commit is contained in:
@@ -584,7 +584,7 @@ bool wxTextCtrl::MSWCreateText(const wxString& value,
|
||||
}
|
||||
#endif
|
||||
if ( !contextMenuConnected )
|
||||
Connect(wxEVT_CONTEXT_MENU, wxContextMenuEventHandler(wxTextCtrl::OnContextMenu));
|
||||
Bind(wxEVT_CONTEXT_MENU, &wxTextCtrl::OnContextMenu, this);
|
||||
}
|
||||
else
|
||||
#endif // wxUSE_RICHEDIT
|
||||
|
Reference in New Issue
Block a user