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:
@@ -86,9 +86,7 @@ public:
|
||||
if ( !tx )
|
||||
tx = m_combo;
|
||||
|
||||
tx->Connect(wxEVT_KILL_FOCUS,
|
||||
wxFocusEventHandler(wxCalendarComboPopup::OnKillTextFocus),
|
||||
NULL, this);
|
||||
tx->Bind(wxEVT_KILL_FOCUS, &wxCalendarComboPopup::OnKillTextFocus, this);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user