diff --git a/CHANGES.rst b/CHANGES.rst index e4f08d22..d18008de 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -144,6 +144,7 @@ Changes in this release include the following: * Add an explicit wx.GraphicsContext.Create overload for wx.AutoBufferedPaintDC. (#783) +* Return original AGW window style in AuiToolBar.GetAGWWindowStyleFlag. (#870) diff --git a/wx/lib/agw/aui/auibar.py b/wx/lib/agw/aui/auibar.py index 5c6a9d58..5f6eec67 100644 --- a/wx/lib/agw/aui/auibar.py +++ b/wx/lib/agw/aui/auibar.py @@ -1706,7 +1706,7 @@ class AuiToolBar(wx.Control): :see: :meth:`SetAGWWindowStyleFlag` for an explanation of various AGW-specific style. """ - return self._agwStyle + return self._originalStyle def SetArtProvider(self, art):