Use Bind() instead of Connect() in wxWidgets code
Use more modern function which allows to avoid wxXXXEventHandler() macros use. No real changes.
This commit is contained in:
@@ -179,7 +179,7 @@ wxTreeCtrlBase::wxTreeCtrlBase()
|
||||
// quick DoGetBestSize calculation
|
||||
m_quickBestSize = true;
|
||||
|
||||
Connect(wxEVT_CHAR_HOOK, wxKeyEventHandler(wxTreeCtrlBase::OnCharHook));
|
||||
Bind(wxEVT_CHAR_HOOK, &wxTreeCtrlBase::OnCharHook, this);
|
||||
}
|
||||
|
||||
wxTreeCtrlBase::~wxTreeCtrlBase()
|
||||
|
||||
Reference in New Issue
Block a user