From 6fc5325167a4f18ba9fc0c074ebc34853d06e821 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 8 Feb 2012 00:22:21 +0000 Subject: [PATCH] Interface fixes changing fiction into truth. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/frame.h | 2 +- interface/wx/graphics.h | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/interface/wx/frame.h b/interface/wx/frame.h index fc2ac1554e..0124755b99 100644 --- a/interface/wx/frame.h +++ b/interface/wx/frame.h @@ -234,7 +234,7 @@ public: */ virtual wxStatusBar* CreateStatusBar(int number = 1, long style = wxSTB_DEFAULT_STYLE, wxWindowID id = 0, - const wxString& name = wxStatusLineNameStr); + const wxString& name = wxStatusBarNameStr); /** Creates a toolbar at the top or left of the frame. diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index 83627b2ef4..6431067da9 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -807,6 +807,23 @@ public: virtual wxCompositionMode GetCompositionMode() const; + /** + Push the current state of the context's transformation matrix on a + stack. + + @see wxGraphicsContext::PopState + */ + virtual void PushState() = 0; + + /** + Pops a stored state from the stack and sets the current transformation + matrix to that state. + + @see wxGraphicsContext::PopState + */ + virtual void PopState() = 0; + + virtual void EnableOffset(bool enable = true); void DisableOffset(); bool OffsetEnabled(); -- 2.45.2