]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/notebook.h
another attempt to fix wxPanel/wxFrame::m_winLastFocused handling
[wxWidgets.git] / include / wx / gtk / notebook.h
index 4b297ddf323b6e5c697da75d4b1aeb4333b7f247..45d6eecfbf2a7539f32cfb162c4ce5cec7f28c40 100644 (file)
@@ -160,7 +160,10 @@ public:
     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)