]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/notebook.h
wxTreeCtrl Mac look
[wxWidgets.git] / include / wx / gtk / notebook.h
index ef09df8f89db3e5c7422838ee0685b4d2abcc917..45d6eecfbf2a7539f32cfb162c4ce5cec7f28c40 100644 (file)
@@ -89,6 +89,7 @@ public:
   // 3) set for each page it's image
     // associate image list with a control
   void SetImageList(wxImageList* imageList);
+  void AssignImageList(wxImageList* imageList);
     // get pointer (may be NULL) to the associated image list
   wxImageList *GetImageList() const { return m_imageList; }
 
@@ -157,8 +158,12 @@ public:
     wxGtkNotebookPage* GetNotebookPage(int page) const;
 
     wxImageList*    m_imageList;
+    bool            m_ownsImageList;
     wxList          m_pages;
-    int             m_lastSelection;  /* hack */
+
+    // for reasons explained in gtk/notebook.cpp we store the current
+    // selection internally instead of querying the notebook for it
+    int             m_selection;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxNotebook)