#include "wx/app.h"
#include "wx/log.h"
#include "wx/radiobox.h"
+ #include "wx/statbox.h"
#endif
#include "wx/artprov.h"
#endif
IMPLEMENT_WIDGETS_PAGE(SearchCtrlWidgetsPage, _T("SearchCtrl"),
- FAMILY_CTRLS | ALL_CTRLS);
+ FAMILY_CTRLS | EDITABLE_CTRLS | ALL_CTRLS);
SearchCtrlWidgetsPage::SearchCtrlWidgetsPage(WidgetsBookCtrl *book,
wxImageList *imaglist)
void SearchCtrlWidgetsPage::OnToggleSearchButton(wxCommandEvent&)
{
- m_srchCtrl->SetSearchButtonVisible( m_searchBtnCheck->GetValue() );
+ m_srchCtrl->ShowSearchButton( m_searchBtnCheck->GetValue() );
}
void SearchCtrlWidgetsPage::OnToggleCancelButton(wxCommandEvent&)
{
- m_srchCtrl->SetCancelButtonVisible( m_cancelBtnCheck->GetValue() );
+ m_srchCtrl->ShowCancelButton( m_cancelBtnCheck->GetValue() );
}