Merge pull request #871 from tianzhuqiao/agw_aui_4.0.x

Return original AGW window style in AuiToolBar.GetAGWWindowStyleFlag.
(cherry picked from commit 183bda5930)
This commit is contained in:
Robin Dunn
2018-05-31 21:20:45 -07:00
parent 4b4e642c4f
commit d04878e5ea
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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):