]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbook.h
include <string>
[wxWidgets.git] / include / wx / listbook.h
index 13a28528661f1c42dc5866d12456772fa414031b..f77b0ca6906575df2ea1206d426fd20db027d461 100644 (file)
@@ -36,7 +36,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
 // wxListbook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListbook : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxListbook : public wxBookCtrlBase
 {
 public:
     wxListbook()
@@ -97,6 +97,10 @@ protected:
     wxBookCtrlBaseEvent* CreatePageChangingEvent() const;
     void MakeChangedEvent(wxBookCtrlBaseEvent &event);
 
+    // get flags for different list control modes
+    long GetListCtrlIconViewFlags() const;
+    long GetListCtrlReportViewFlags() const;
+
     // event handlers
     void OnListSelected(wxListEvent& event);
     void OnSize(wxSizeEvent& event);
@@ -108,6 +112,10 @@ private:
     // common part of all constructors
     void Init();
 
+    // this should be called when we need to be relaid out
+    void UpdateSize();
+
+
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxListbook)
 };
@@ -116,7 +124,7 @@ private:
 // listbook event class and related stuff
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListbookEvent : public wxBookCtrlBaseEvent
+class WXDLLIMPEXP_CORE wxListbookEvent : public wxBookCtrlBaseEvent
 {
 public:
     wxListbookEvent(wxEventType commandType = wxEVT_NULL, int id = 0,