#if wxUSE_LISTBOOK
#include "wx/bookctrl.h"
+#include "wx/containr.h"
class WXDLLIMPEXP_FWD_CORE wxListView;
class WXDLLIMPEXP_FWD_CORE wxListEvent;
// wxListbook
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxListbook : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxListbook : public wxNavigationEnabled<wxBookCtrlBase>
{
public:
wxListbook() { }
wxBookCtrlEvent* CreatePageChangingEvent() const;
void MakeChangedEvent(wxBookCtrlEvent &event);
- // get flags for different list control modes
- long GetListCtrlIconViewFlags() const;
- long GetListCtrlReportViewFlags() const;
+ // Get the correct wxListCtrl flags to use depending on our own flags.
+ long GetListCtrlFlags() const;
// event handlers
void OnListSelected(wxListEvent& event);