X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c75a4cf0f94cbe53bfde4fbcddff741158fbc7c..908f8fc481c0503bf8be5002e5d5208666da7649:/wxPython/demo/FloatBar.py diff --git a/wxPython/demo/FloatBar.py b/wxPython/demo/FloatBar.py index 43de54fdd8..48f683e536 100644 --- a/wxPython/demo/FloatBar.py +++ b/wxPython/demo/FloatBar.py @@ -2,7 +2,7 @@ # Please note that wx.lib.floatbar is not formally supported as # part of wxPython. If it works, fine. If not, unfortunate. # GTK users can use the wx.TB_DOCKABLE flag with a regular -# wx.ToolBar, but everyone else has to take thier chances. +# wx.ToolBar, but everyone else has to take their chances. # import wx @@ -33,7 +33,7 @@ class TestFloatBar(wx.Frame): self.CreateStatusBar() tsize = (16,16) - new_bmp = wx.ArtProvider.GetBitmap(wx.ART_NORMAL_FILE, wx.ART_TOOLBAR, tsize) + new_bmp = wx.ArtProvider.GetBitmap(wx.ART_NEW, wx.ART_TOOLBAR, tsize) open_bmp = wx.ArtProvider.GetBitmap(wx.ART_FILE_OPEN, wx.ART_TOOLBAR, tsize) copy_bmp = wx.ArtProvider.GetBitmap(wx.ART_COPY, wx.ART_TOOLBAR, tsize) paste_bmp= wx.ArtProvider.GetBitmap(wx.ART_PASTE, wx.ART_TOOLBAR, tsize)