From 8bc10f3280653cf193f1a07a2b61932fa70a9a68 Mon Sep 17 00:00:00 2001 From: Benjamin Williams Date: Wed, 25 Mar 2009 14:23:14 +0000 Subject: [PATCH] added missing getters to wxAuiToolBar (#10182) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/aui/auibar.h | 6 ++++++ src/aui/auibar.cpp | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/include/wx/aui/auibar.h b/include/wx/aui/auibar.h index ab4d4b44aa..50a5018969 100644 --- a/include/wx/aui/auibar.h +++ b/include/wx/aui/auibar.h @@ -249,8 +249,11 @@ public: virtual wxAuiToolBarArt* Clone() = 0; virtual void SetFlags(unsigned int flags) = 0; + virtual unsigned int GetFlags() = 0; virtual void SetFont(const wxFont& font) = 0; + virtual wxFont GetFont() = 0; virtual void SetTextOrientation(int orientation) = 0; + virtual int GetTextOrientation() = 0; virtual void DrawBackground( wxDC& dc, @@ -327,8 +330,11 @@ public: virtual wxAuiToolBarArt* Clone(); virtual void SetFlags(unsigned int flags); + virtual unsigned int GetFlags(); virtual void SetFont(const wxFont& font); + virtual wxFont GetFont(); virtual void SetTextOrientation(int orientation); + virtual int GetTextOrientation(); virtual void DrawBackground( wxDC& dc, diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index cdce25ffef..67d5ba9af5 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -227,6 +227,21 @@ void wxAuiDefaultToolBarArt::SetTextOrientation(int orientation) m_text_orientation = orientation; } +unsigned int wxAuiDefaultToolBarArt::GetFlags() +{ + return m_flags; +} + +wxFont wxAuiDefaultToolBarArt::GetFont() +{ + return m_font; +} + +int wxAuiDefaultToolBarArt::GetTextOrientation() +{ + return m_text_orientation; +} + void wxAuiDefaultToolBarArt::DrawBackground( wxDC& dc, wxWindow* WXUNUSED(wnd),