28#include <wx/treebook.h>
33 WX_TREEBOOK( wxWindow *parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
34 const wxSize& size = wxDefaultSize,
long style = wxBK_DEFAULT,
35 const wxString&
name = wxEmptyString );
37 bool AddLazyPage( std::function<wxWindow*( wxWindow* aParent )> aLazyCtor,
38 const wxString&
text,
bool bSelect =
false,
int imageId = NO_IMAGE );
40 bool AddLazySubPage( std::function<wxWindow*( wxWindow* aParent )> aLazyCtor,
41 const wxString&
text,
bool bSelect =
false,
int imageId = NO_IMAGE );
wxWindow * ResolvePage(size_t aPage)
bool AddLazyPage(std::function< wxWindow *(wxWindow *aParent)> aLazyCtor, const wxString &text, bool bSelect=false, int imageId=NO_IMAGE)
bool AddLazySubPage(std::function< wxWindow *(wxWindow *aParent)> aLazyCtor, const wxString &text, bool bSelect=false, int imageId=NO_IMAGE)