X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f69756e3d68cc8a04b95c95df211295d2ac0ec8..f9e5b1c786b132485fb0570755d693ff354f4418:/include/wx/aui/auibook.h diff --git a/include/wx/aui/auibook.h b/include/wx/aui/auibook.h index 3606776512..70e8c8bb4b 100644 --- a/include/wx/aui/auibook.h +++ b/include/wx/aui/auibook.h @@ -30,10 +30,13 @@ // tab art class -class wxTabArt +class WXDLLIMPEXP_AUI wxTabArt { public: + wxTabArt() { } + virtual ~wxTabArt() { } + virtual void DrawBackground( wxDC* dc, const wxRect& rect) = 0; @@ -51,12 +54,13 @@ public: }; -class wxDefaultTabArt : public wxTabArt +class WXDLLIMPEXP_AUI wxDefaultTabArt : public wxTabArt { public: wxDefaultTabArt(); + virtual ~wxDefaultTabArt(); void DrawBackground( wxDC* dc, @@ -140,6 +144,7 @@ class WXDLLIMPEXP_AUI wxAuiTabContainerButton public: int id; // button's id int cur_state; // current state (normal, hover, pressed) + int location; // buttons location (wxLEFT or wxRIGHT) wxBitmap bitmap; // button's bitmap wxRect rect; // button's hit rectangle }; @@ -180,7 +185,7 @@ public: void SetMeasuringFont(const wxFont& measuring_font); void DoShowHide(); void SetRect(const wxRect& rect); - void AddButton(int id, const wxBitmap& bmp); + void AddButton(int id, int location, const wxBitmap& bmp); protected: