|
|
|
@ -71,7 +71,13 @@ LIB_TREE::LIB_TREE( wxWindow* aParent, LIB_TABLE* aLibTable, |
|
|
|
sizer->Add( search_sizer, 0, wxEXPAND, 5 ); |
|
|
|
|
|
|
|
m_query_ctrl->Bind( wxEVT_TEXT, &LIB_TREE::onQueryText, this ); |
|
|
|
|
|
|
|
#if wxCHECK_VERSION( 3, 1, 0 )
|
|
|
|
m_query_ctrl->Bind( wxEVT_SEARCH, &LIB_TREE::onQueryEnter, this ); |
|
|
|
#else
|
|
|
|
m_query_ctrl->Bind( wxEVT_TEXT_ENTER, &LIB_TREE::onQueryEnter, this ); |
|
|
|
#endif
|
|
|
|
|
|
|
|
m_query_ctrl->Bind( wxEVT_CHAR_HOOK, &LIB_TREE::onQueryCharHook, this ); |
|
|
|
|
|
|
|
|
|
|
|
|