git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43986
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
elif event.GetId() == ID_HorizontalGradient:
gradient = wx.aui.AUI_GRADIENT_HORIZONTAL
elif event.GetId() == ID_HorizontalGradient:
gradient = wx.aui.AUI_GRADIENT_HORIZONTAL
- self._mgr.GetArtProvider().SetMetric(wx.aui.AUI_ART_GRADIENT_TYPE, gradient)
+ self._mgr.GetArtProvider().SetMetric(wx.aui.AUI_DOCKART_GRADIENT_TYPE, gradient)
eid = event.GetId()
if eid == ID_NoGradient:
eid = event.GetId()
if eid == ID_NoGradient:
- event.Check(self._mgr.GetArtProvider().GetMetric(wx.aui.AUI_ART_GRADIENT_TYPE) == wx.aui.AUI_GRADIENT_NONE)
+ event.Check(self._mgr.GetArtProvider().GetMetric(wx.aui.AUI_DOCKART_GRADIENT_TYPE) == wx.aui.AUI_GRADIENT_NONE)
elif eid == ID_VerticalGradient:
elif eid == ID_VerticalGradient:
- event.Check(self._mgr.GetArtProvider().GetMetric(wx.aui.AUI_ART_GRADIENT_TYPE) == wx.aui.AUI_GRADIENT_VERTICAL)
+ event.Check(self._mgr.GetArtProvider().GetMetric(wx.aui.AUI_DOCKART_GRADIENT_TYPE) == wx.aui.AUI_GRADIENT_VERTICAL)
elif eid == ID_HorizontalGradient:
elif eid == ID_HorizontalGradient:
- event.Check(self._mgr.GetArtProvider().GetMetric(wx.aui.AUI_ART_GRADIENT_TYPE) == wx.aui.AUI_GRADIENT_HORIZONTAL)
+ event.Check(self._mgr.GetArtProvider().GetMetric(wx.aui.AUI_DOCKART_GRADIENT_TYPE) == wx.aui.AUI_GRADIENT_HORIZONTAL)
elif eid == ID_AllowFloating:
event.Check((flags & wx.aui.AUI_MGR_ALLOW_FLOATING) != 0)
elif eid == ID_AllowFloating:
event.Check((flags & wx.aui.AUI_MGR_ALLOW_FLOATING) != 0)