]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/aui/auibook.h
wxAppTraits::SetLocale() is wxUSE_INTL=1 only
[wxWidgets.git] / include / wx / aui / auibook.h
index 05ebfdacf25ac11afe49f9882c6d22dd455834e7..28358f7d0c508de457a594dc46928107926dad83 100644 (file)
@@ -562,6 +562,14 @@ protected:
     void OnTabEndDrag(wxCommandEvent& evt);
     void OnTabButton(wxCommandEvent& evt);
 
+    // set selection to the given window (which must be non-NULL and be one of
+    // our pages, otherwise an assert is raised)
+    void SetSelectionToWindow(wxWindow *win);
+    void SetSelectionToPage(const wxAuiNotebookPage& page)
+    {
+        SetSelectionToWindow(page.window);
+    }
+
 protected:
 
     wxAuiManager m_mgr;