]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/FloatBar.py
Return correct values for GetFieldRect() when using themes.
[wxWidgets.git] / wxPython / demo / FloatBar.py
index 43de54fdd869df3beca7741589975b31ce20f5d8..48f683e5368e8f3aaa5e90e0b66b6ef0881c4d51 100644 (file)
@@ -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
 # 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
 #
 
 import  wx
@@ -33,7 +33,7 @@ class TestFloatBar(wx.Frame):
         self.CreateStatusBar()
 
         tsize = (16,16)
         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)
         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)