wxAuiNotebook window styles implemented

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2006-11-02 14:16:59 +00:00
parent c50fa29f43
commit 0ce53f3226
2 changed files with 38 additions and 7 deletions

View File

@@ -37,8 +37,8 @@ enum wxAuiNotebookOption
wxAUI_NB_TAB_SPLIT = 1 << 4,
wxAUI_NB_TAB_MOVE = 1 << 5,
wxAUI_NB_SCROLL_BUTTONS = 1 << 6,
wxAUI_NB_CLOSE_BUTTON = 1 << 7,
wxAUI_NB_PAGELIST_BUTTON = 1 << 8,
wxAUI_NB_PAGELIST_BUTTON = 1 << 7,
wxAUI_NB_CLOSE_BUTTON = 1 << 8,
wxAUI_NB_CLOSE_ON_ACTIVE_TAB = 1 << 9,
wxAUI_NB_CLOSE_ON_ALL_TABS = 1 << 10,
@@ -337,10 +337,10 @@ public:
wxAuiNotebook();
wxAuiNotebook(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxAUI_NB_DEFAULT_STYLE);
wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxAUI_NB_DEFAULT_STYLE);
virtual ~wxAuiNotebook();
@@ -363,6 +363,8 @@ public:
bool DeletePage(size_t page);
bool RemovePage(size_t page);
void SetWindowStyleFlag(long style);
bool SetPageText(size_t page, const wxString& text);
size_t SetSelection(size_t new_page);
@@ -370,6 +372,7 @@ public:
size_t GetPageCount() const;
wxWindow* GetPage(size_t page_idx) const;
void SetArtProvider(wxAuiTabArt* art);
wxAuiTabArt* GetArtProvider();
@@ -412,6 +415,7 @@ protected:
unsigned int m_flags;
#ifndef SWIG
DECLARE_CLASS(wxAuiNotebook)
DECLARE_EVENT_TABLE()
#endif
};