Fix build error in library tree widget.
This commit is contained in:
parent
5a57f6ba98
commit
7ca48c42d9
|
@ -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 );
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue