1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxAuiNotebook
4 // Author: wxWidgets team
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
12 wxAuiNotebook is part of the wxAUI class framework, which represents a
13 notebook control, managing multiple windows with associated tabs.
15 See also @ref overview_aui.
17 wxAuiNotebook is a notebook control which implements many features common in
18 applications with dockable panes.
19 Specifically, wxAuiNotebook implements functionality which allows the user to
20 rearrange tab order via drag-and-drop, split the tab window into many different
21 splitter configurations, and toggle through different themes to customize
22 the control's look and feel.
24 The default theme that is used is wxAuiDefaultTabArt, which provides a modern,
26 The theme can be changed by calling wxAuiNotebook::SetArtProvider.
29 @style{wxAUI_NB_DEFAULT_STYLE}
30 Defined as wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE |
31 wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_CLOSE_ON_ACTIVE_TAB |
32 wxAUI_NB_MIDDLE_CLICK_CLOSE.
33 @style{wxAUI_NB_TAB_SPLIT}
34 Allows the tab control to be split by dragging a tab.
35 @style{wxAUI_NB_TAB_MOVE}
36 Allows a tab to be moved horizontally by dragging.
37 @style{wxAUI_NB_TAB_EXTERNAL_MOVE}
38 Allows a tab to be moved to another tab control.
39 @style{wxAUI_NB_TAB_FIXED_WIDTH}
40 With this style, all tabs have the same width.
41 @style{wxAUI_NB_SCROLL_BUTTONS}
42 With this style, left and right scroll buttons are displayed.
43 @style{wxAUI_NB_WINDOWLIST_BUTTON}
44 With this style, a drop-down list of windows is available.
45 @style{wxAUI_NB_CLOSE_BUTTON}
46 With this style, a close button is available on the tab bar.
47 @style{wxAUI_NB_CLOSE_ON_ACTIVE_TAB}
48 With this style, the close button is visible on the active tab.
49 @style{wxAUI_NB_CLOSE_ON_ALL_TABS}
50 With this style, the close button is visible on all tabs.
51 @style{wxAUI_NB_MIDDLE_CLICK_CLOSE}
52 With this style, middle click on a tab closes the tab.
54 With this style, tabs are drawn along the top of the notebook.
55 @style{wxAUI_NB_BOTTOM}
56 With this style, tabs are drawn along the bottom of the notebook.
59 @beginEventEmissionTable{wxAuiNotebookEvent}
60 @event{EVT_AUINOTEBOOK_PAGE_CLOSE(id, func)}
61 A page is about to be closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSE event.
62 @event{EVT_AUINOTEBOOK_PAGE_CLOSED(winid, fn)}
63 A page has been closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSED event.
64 @event{EVT_AUINOTEBOOK_PAGE_CHANGED(id, func)}
65 The page selection was changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGED event.
66 @event{EVT_AUINOTEBOOK_PAGE_CHANGING(id, func)}
67 The page selection is about to be changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGING event. This event can be vetoed.
68 @event{EVT_AUINOTEBOOK_BUTTON(id, func)}
69 The window list button has been pressed. Processes a @c wxEVT_AUINOTEBOOK_BUTTON event.
70 @event{EVT_AUINOTEBOOK_BEGIN_DRAG(id, func)}
71 Dragging is about to begin. Processes a @c wxEVT_AUINOTEBOOK_BEGIN_DRAG event.
72 @event{EVT_AUINOTEBOOK_END_DRAG(id, func)}
73 Dragging has ended. Processes a @c wxEVT_AUINOTEBOOK_END_DRAG event.
74 @event{EVT_AUINOTEBOOK_DRAG_MOTION(id, func)}
75 Emitted during a drag and drop operation. Processes a @c wxEVT_AUINOTEBOOK_DRAG_MOTION event.
76 @event{EVT_AUINOTEBOOK_ALLOW_DND(id, func)}
77 Whether to allow a tab to be dropped. Processes a @c wxEVT_AUINOTEBOOK_ALLOW_DND event. This event must be specially allowed.
78 @event{EVT_AUINOTEBOOK_DRAG_DONE(winid, fn)}
79 Notify that the tab has been dragged. Processes a @c wxEVT_AUINOTEBOOK_DRAG_DONE event.
80 @event{EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN(winid, fn)}
81 The middle mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN event.
82 @event{EVT_AUINOTEBOOK_TAB_MIDDLE_UP(winid, fn)}
83 The middle mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP event.
84 @event{EVT_AUINOTEBOOK_TAB_RIGHT_DOWN(winid, fn)}
85 The right mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN event.
86 @event{EVT_AUINOTEBOOK_TAB_RIGHT_UP(winid, fn)}
87 The right mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_UP event.
88 @event{EVT_AUINOTEBOOK_BG_DCLICK(winid, fn)}
89 Double clicked on the tabs background area. Processes a @c wxEVT_AUINOTEBOOK_BG_DCLICK event.
95 class wxAuiNotebook
: public wxBookCtrlBase
104 Constructor. Creates a wxAuiNotebok control.
106 wxAuiNotebook(wxWindow
* parent
, wxWindowID id
= wxID_ANY
,
107 const wxPoint
& pos
= wxDefaultPosition
,
108 const wxSize
& size
= wxDefaultSize
,
109 long style
= wxAUI_NB_DEFAULT_STYLE
);
113 If the @a select parameter is @true, calling this will generate a page change event.
115 bool AddPage(wxWindow
* page
, const wxString
& caption
,
117 const wxBitmap
& bitmap
= wxNullBitmap
);
122 The page must have the book control itself as the parent and must not
123 have been added to this control previously.
125 The call to this function may generate the page changing events.
128 Specifies the new page.
130 Specifies the text for the new page.
132 Specifies whether the page should be selected.
134 Specifies the optional image index for the new page.
136 @return @true if successful, @false otherwise.
138 @remarks Do not delete the page, it will be deleted by the book control.
143 virtual bool AddPage(wxWindow
*page
, const wxString
&text
, bool select
, int imageId
);
146 Sets the selection to the next or previous page.
148 void AdvanceSelection(bool forward
= true);
151 Changes the selection for the given page, returning the previous selection.
153 This function behaves as SetSelection() but does @em not generate the
154 page changing events.
156 See @ref overview_events_prog for more information.
159 virtual int ChangeSelection(size_t n
);
162 Creates the notebook window.
164 bool Create(wxWindow
* parent
, wxWindowID id
= wxID_ANY
,
165 const wxPoint
& pos
= wxDefaultPosition
,
166 const wxSize
& size
= wxDefaultSize
,
173 virtual bool DeleteAllPages();
176 Deletes a page at the given index.
177 Calling this method will generate a page change event.
179 bool DeletePage(size_t page
);
182 Returns the associated art provider.
184 wxAuiTabArt
* GetArtProvider() const;
187 Returns the currently selected page or @NULL.
190 wxWindow
* GetCurrentPage () const;
193 Returns the desired height of the notebook for the given page height.
194 Use this to fit the notebook to a given page size.
196 int GetHeightForPageHeight(int pageHeight
);
199 Returns the page specified by the given index.
201 wxWindow
* GetPage(size_t page_idx
) const;
204 Returns the tab bitmap for the page.
206 wxBitmap
GetPageBitmap(size_t page
) const;
209 Returns the number of pages in the notebook.
211 size_t GetPageCount() const;
214 Returns the page index for the specified window.
215 If the window is not found in the notebook, wxNOT_FOUND is returned.
217 int GetPageIndex(wxWindow
* page_wnd
) const;
220 Returns the tab label for the page.
222 wxString
GetPageText(size_t page
) const;
225 Returns the tooltip for the tab label of the page.
229 wxString
GetPageToolTip(size_t pageIdx
) const;
232 Returns the currently selected page.
234 int GetSelection() const;
237 Returns the height of the tab control.
239 int GetTabCtrlHeight() const;
242 InsertPage() is similar to AddPage, but allows the ability to specify the
244 If the @a select parameter is @true, calling this will generate a page change
247 bool InsertPage(size_t page_idx
, wxWindow
* page
,
248 const wxString
& caption
,
250 const wxBitmap
& bitmap
= wxNullBitmap
);
253 Inserts a new page at the specified position.
256 Specifies the position for the new page.
258 Specifies the new page.
260 Specifies the text for the new page.
262 Specifies whether the page should be selected.
264 Specifies the optional image index for the new page.
266 @return @true if successful, @false otherwise.
268 @remarks Do not delete the page, it will be deleted by the book control.
273 virtual bool InsertPage(size_t index
, wxWindow
*page
, const wxString
&text
,
274 bool select
=false, int imageId
=NO_IMAGE
);
277 Removes a page, without deleting the window pointer.
279 bool RemovePage(size_t page
);
282 Sets the art provider to be used by the notebook.
284 void SetArtProvider(wxAuiTabArt
* art
);
287 Sets the font for drawing the tab labels, using a bold version of the font for
290 virtual bool SetFont(const wxFont
& font
);
293 Sets the font for measuring tab labels.
295 void SetMeasuringFont(const wxFont
& font
);
298 Sets the font for drawing unselected tab labels.
300 void SetNormalFont(const wxFont
& font
);
303 Sets the bitmap for the page. To remove a bitmap from the tab caption, pass
306 bool SetPageBitmap(size_t page
, const wxBitmap
& bitmap
);
309 Sets the image index for the given page. @a image is an index into
310 the image list which was set with SetImageList().
313 virtual bool SetPageImage(size_t n
, int imageId
);
316 Sets the tab label for the page.
318 bool SetPageText(size_t page
, const wxString
& text
);
321 Sets the tooltip displayed when hovering over the tab label of the page.
324 @true if tooltip was updated, @false if it failed, e.g. because the
325 page index is invalid.
329 bool SetPageToolTip(size_t page
, const wxString
& text
);
332 Sets the font for drawing selected tab labels.
334 void SetSelectedFont(const wxFont
& font
);
337 Sets the page selection. Calling this method will generate a page change event.
339 size_t SetSelection(size_t new_page
);
342 Sets the tab height. By default, the tab control height is calculated
343 by measuring the text height and bitmap sizes on the tab captions. Calling this
344 method will override that calculation and set the tab control to the specified
345 height parameter. A call to this method will override any call to
346 SetUniformBitmapSize().
348 Specifying -1 as the height will return the control to its default auto-sizing
351 virtual void SetTabCtrlHeight(int height
);
355 Split performs a split operation programmatically. The argument @a page
356 indicates the page that will be split off. This page will also become the
357 active page after the split.
359 The @a direction argument specifies where the pane should go, it should be one
360 of the following: wxTOP, wxBOTTOM, wxLEFT, or wxRIGHT.
362 virtual void SetUniformBitmapSize(const wxSize
& size
);
363 virtual void Split(size_t page
, int direction
);
367 Shows the window menu for the active tab control associated with this notebook,
368 and returns @true if a selection was made.
370 bool ShowWindowMenu();
374 @class wxAuiTabContainerButton
376 A simple class which holds information about wxAuiNotebook tab buttons and their state.
381 class wxAuiTabContainerButton
386 /// current state (normal, hover, pressed, etc.)
388 /// buttons location (wxLEFT, wxRIGHT, or wxCENTER)
390 /// button's hover bitmap
392 /// button's disabled bitmap
394 /// button's hit rectangle
400 @class wxAuiTabContainer
402 wxAuiTabContainer is a class which contains information about each tab.
403 It also can render an entire tab control to a specified DC.
404 It's not a window class itself, because this code will be used by
405 the wxAuiNotebook, where it is disadvantageous to have separate
406 windows for each tab control in the case of "docked tabs".
408 A derived class, wxAuiTabCtrl, is an actual wxWindow - derived window
409 which can be used as a tab control in the normal sense.
414 class wxAuiTabContainer
426 virtual ~wxAuiTabContainer();
428 void SetArtProvider(wxAuiTabArt
* art
);
429 wxAuiTabArt
* GetArtProvider() const;
431 void SetFlags(unsigned int flags
);
432 unsigned int GetFlags() const;
434 bool AddPage(wxWindow
* page
, const wxAuiNotebookPage
& info
);
435 bool InsertPage(wxWindow
* page
, const wxAuiNotebookPage
& info
, size_t idx
);
436 bool MovePage(wxWindow
* page
, size_t newIdx
);
437 bool RemovePage(wxWindow
* page
);
438 bool SetActivePage(wxWindow
* page
);
439 bool SetActivePage(size_t page
);
440 void SetNoneActive();
441 int GetActivePage() const;
442 bool TabHitTest(int x
, int y
, wxWindow
** hit
) const;
443 bool ButtonHitTest(int x
, int y
, wxAuiTabContainerButton
** hit
) const;
444 wxWindow
* GetWindowFromIdx(size_t idx
) const;
445 int GetIdxFromWindow(wxWindow
* page
) const;
446 size_t GetPageCount() const;
447 wxAuiNotebookPage
& GetPage(size_t idx
);
448 const wxAuiNotebookPage
& GetPage(size_t idx
) const;
449 wxAuiNotebookPageArray
& GetPages();
450 void SetNormalFont(const wxFont
& normalFont
);
451 void SetSelectedFont(const wxFont
& selectedFont
);
452 void SetMeasuringFont(const wxFont
& measuringFont
);
453 void SetColour(const wxColour
& colour
);
454 void SetActiveColour(const wxColour
& colour
);
456 void SetRect(const wxRect
& rect
);
458 void RemoveButton(int id
);
459 void AddButton(int id
,
461 const wxBitmap
& normalBitmap
= wxNullBitmap
,
462 const wxBitmap
& disabledBitmap
= wxNullBitmap
);
464 size_t GetTabOffset() const;
465 void SetTabOffset(size_t offset
);
467 // Is the tab visible?
468 bool IsTabVisible(int tabPage
, int tabOffset
, wxDC
* dc
, wxWindow
* wnd
);
470 // Make the tab visible if it wasn't already
471 void MakeTabVisible(int tabPage
, wxWindow
* win
);
475 virtual void Render(wxDC
* dc
, wxWindow
* wnd
);
480 wxAuiNotebookPageArray m_pages
;
481 wxAuiTabContainerButtonArray m_buttons
;
482 wxAuiTabContainerButtonArray m_tabCloseButtons
;
485 unsigned int m_flags
;
493 Tab art provider defines all the drawing functions used by wxAuiNotebook.
495 This allows the wxAuiNotebook to have a pluggable look-and-feel.
497 By default, a wxAuiNotebook uses an instance of this class called
498 wxAuiDefaultTabArt which provides bitmap art and a colour scheme that is
499 adapted to the major platforms' look. You can either derive from that class
500 to alter its behaviour or write a completely new tab art class.
502 Another example of creating a new wxAuiNotebook tab bar is wxAuiSimpleTabArt.
504 Call wxAuiNotebook::SetArtProvider() to make use of this new tab art.
518 Clones the art object.
520 virtual wxAuiTabArt
* Clone() = 0;
523 Draws a background on the given area.
525 virtual void DrawBackground(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& rect
) = 0;
530 virtual void DrawButton(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& in_rect
,
531 int bitmap_id
, int button_state
, int orientation
,
532 wxRect
* out_rect
) = 0;
537 virtual void DrawTab(wxDC
& dc
, wxWindow
* wnd
, const wxAuiNotebookPage
& page
,
538 const wxRect
& rect
, int close_button_state
,
539 wxRect
* out_tab_rect
, wxRect
* out_button_rect
, int* x_extent
) = 0;
542 Returns the tab control size.
544 virtual int GetBestTabCtrlSize(wxWindow
*, const wxAuiNotebookPageArray
&, const wxSize
&) = 0;
547 Returns the indent size.
549 virtual int GetIndentSize() = 0;
552 Returns the tab size for the given caption, bitmap and state.
554 virtual wxSize
GetTabSize(wxDC
& dc
, wxWindow
* wnd
, const wxString
& caption
,
555 const wxBitmap
& bitmap
, bool active
,
556 int close_button_state
, int* x_extent
) = 0;
561 virtual void SetFlags(unsigned int flags
) = 0;
564 Sets the font used for calculating measurements.
566 virtual void SetMeasuringFont(const wxFont
& font
) = 0;
569 Sets the normal font for drawing labels.
571 virtual void SetNormalFont(const wxFont
& font
) = 0;
574 Sets the font for drawing text for selected UI elements.
576 virtual void SetSelectedFont(const wxFont
& font
) = 0;
579 Sets the colour of the inactive tabs.
583 virtual void SetColour(const wxColour
& colour
) = 0;
586 Sets the colour of the selected tab.
590 virtual void SetActiveColour(const wxColour
& colour
) = 0;
593 Sets sizing information.
595 virtual void SetSizingInfo(const wxSize
& tab_ctrl_size
, size_t tab_count
) = 0;
599 @class wxAuiNotebookEvent
601 This class is used by the events generated by wxAuiNotebook.
603 @beginEventEmissionTable{wxAuiNotebookEvent}
604 @event{EVT_AUINOTEBOOK_PAGE_CLOSE(id, func)}
605 A page is about to be closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSE event.
606 @event{EVT_AUINOTEBOOK_PAGE_CLOSED(winid, fn)}
607 A page has been closed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CLOSED event.
608 @event{EVT_AUINOTEBOOK_PAGE_CHANGED(id, func)}
609 The page selection was changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGED event.
610 @event{EVT_AUINOTEBOOK_PAGE_CHANGING(id, func)}
611 The page selection is about to be changed. Processes a @c wxEVT_AUINOTEBOOK_PAGE_CHANGING event. This event can be vetoed.
612 @event{EVT_AUINOTEBOOK_BUTTON(id, func)}
613 The window list button has been pressed. Processes a @c wxEVT_AUINOTEBOOK_BUTTON event.
614 @event{EVT_AUINOTEBOOK_BEGIN_DRAG(id, func)}
615 Dragging is about to begin. Processes a @c wxEVT_AUINOTEBOOK_BEGIN_DRAG event.
616 @event{EVT_AUINOTEBOOK_END_DRAG(id, func)}
617 Dragging has ended. Processes a @c wxEVT_AUINOTEBOOK_END_DRAG event.
618 @event{EVT_AUINOTEBOOK_DRAG_MOTION(id, func)}
619 Emitted during a drag and drop operation. Processes a @c wxEVT_AUINOTEBOOK_DRAG_MOTION event.
620 @event{EVT_AUINOTEBOOK_ALLOW_DND(id, func)}
621 Whether to allow a tab to be dropped. Processes a @c wxEVT_AUINOTEBOOK_ALLOW_DND event. This event must be specially allowed.
622 @event{EVT_AUINOTEBOOK_DRAG_DONE(winid, fn)}
623 Notify that the tab has been dragged. Processes a @c wxEVT_AUINOTEBOOK_DRAG_DONE event.
624 @event{EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN(winid, fn)}
625 The middle mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN event.
626 @event{EVT_AUINOTEBOOK_TAB_MIDDLE_UP(winid, fn)}
627 The middle mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP event.
628 @event{EVT_AUINOTEBOOK_TAB_RIGHT_DOWN(winid, fn)}
629 The right mouse button is pressed on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN event.
630 @event{EVT_AUINOTEBOOK_TAB_RIGHT_UP(winid, fn)}
631 The right mouse button is released on a tab. Processes a @c wxEVT_AUINOTEBOOK_TAB_RIGHT_UP event.
632 @event{EVT_AUINOTEBOOK_BG_DCLICK(winid, fn)}
633 Double clicked on the tabs background area. Processes a @c wxEVT_AUINOTEBOOK_BG_DCLICK event.
637 @category{events,bookctrl}
639 @see wxAuiNotebook, wxBookCtrlEvent
641 class wxAuiNotebookEvent
: public wxBookCtrlEvent
647 wxAuiNotebookEvent(wxEventType command_type
= wxEVT_NULL
, int win_id
= 0);
653 Default art provider for wxAuiNotebook.
657 @genericAppearance{auidefaulttabart.png}
663 class wxAuiDefaultTabArt
: public wxAuiTabArt
667 wxAuiDefaultTabArt();
668 virtual ~wxAuiDefaultTabArt();
670 wxAuiTabArt
* Clone();
671 void SetFlags(unsigned int flags
);
672 void SetSizingInfo(const wxSize
& tabCtrlSize
,
675 void SetNormalFont(const wxFont
& font
);
676 void SetSelectedFont(const wxFont
& font
);
677 void SetMeasuringFont(const wxFont
& font
);
678 void SetColour(const wxColour
& colour
);
679 void SetActiveColour(const wxColour
& colour
);
686 void DrawTab(wxDC
& dc
,
688 const wxAuiNotebookPage
& pane
,
689 const wxRect
& inRect
,
690 int closeButtonState
,
692 wxRect
* outButtonRect
,
698 const wxRect
& inRect
,
709 const wxString
& caption
,
710 const wxBitmap
& bitmap
,
712 int closeButtonState
,
717 const wxAuiNotebookPageArray
& items
,
720 int GetBestTabCtrlSize(wxWindow
* wnd
,
721 const wxAuiNotebookPageArray
& pages
,
722 const wxSize
& requiredBmpSize
);
726 The font used for all tabs
729 wxFont m_selectedFont
; /// The font used on the selected tab
730 wxFont m_measuringFont
;
731 wxColour m_baseColour
;
732 wxPen m_baseColourPen
;
734 wxBrush m_baseColourBrush
;
735 wxColour m_activeColour
;
736 wxBitmap m_activeCloseBmp
;
737 wxBitmap m_disabledCloseBmp
;
738 wxBitmap m_activeLeftBmp
;
739 wxBitmap m_disabledLeftBmp
;
740 wxBitmap m_activeRightBmp
;
741 wxBitmap m_disabledRightBmp
;
742 wxBitmap m_activeWindowListBmp
;
743 wxBitmap m_disabledWindowListBmp
;
747 unsigned int m_flags
;
752 @class wxAuiSimpleTabArt
754 Another standard tab art provider for wxAuiNotebook.
756 wxAuiSimpleTabArt is derived from wxAuiTabArt demonstrating how to write a
757 completely new tab art class. It can also be used as alternative to
760 @genericAppearance{auisimpletabart.png}
766 class wxAuiSimpleTabArt
: public wxAuiTabArt
772 virtual ~wxAuiSimpleTabArt();
774 wxAuiTabArt
* Clone();
775 void SetFlags(unsigned int flags
);
777 void SetSizingInfo(const wxSize
& tabCtrlSize
,
780 void SetNormalFont(const wxFont
& font
);
781 void SetSelectedFont(const wxFont
& font
);
782 void SetMeasuringFont(const wxFont
& font
);
783 void SetColour(const wxColour
& colour
);
784 void SetActiveColour(const wxColour
& colour
);
791 void DrawTab(wxDC
& dc
,
793 const wxAuiNotebookPage
& pane
,
794 const wxRect
& inRect
,
795 int closeButtonState
,
797 wxRect
* outButtonRect
,
803 const wxRect
& inRect
,
814 const wxString
& caption
,
815 const wxBitmap
& bitmap
,
817 int closeButtonState
,
822 const wxAuiNotebookPageArray
& items
,
825 int GetBestTabCtrlSize(wxWindow
* wnd
,
826 const wxAuiNotebookPageArray
& pages
,
827 const wxSize
& requiredBmpSize
);
832 wxFont m_selectedFont
;
833 wxFont m_measuringFont
;
835 wxPen m_selectedBkPen
;
836 wxBrush m_normalBkBrush
;
837 wxBrush m_selectedBkBrush
;
839 wxBitmap m_activeCloseBmp
;
840 wxBitmap m_disabledCloseBmp
;
841 wxBitmap m_activeLeftBmp
;
842 wxBitmap m_disabledLeftBmp
;
843 wxBitmap m_activeRightBmp
;
844 wxBitmap m_disabledRightBmp
;
845 wxBitmap m_activeWindowListBmp
;
846 wxBitmap m_disabledWindowListBmp
;
849 unsigned int m_flags
;