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();