]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxButton.py
fixed clipping of items with icons text in report mode
[wxWidgets.git] / wxPython / demo / wxButton.py
index 7ed311321547289cdf5d5b2d6d2d416e27f7ac14..f615727c94892a55968ce2992844c9c5f5134331 100644 (file)
@@ -1,6 +1,8 @@
 
 from wxPython.wx import *
 
+import images
+
 #----------------------------------------------------------------------
 
 class TestPanel(wxPanel):
@@ -19,8 +21,7 @@ class TestPanel(wxPanel):
 
         b.SetToolTipString("This is a Hello button...")
 
-        bmp = wxBitmap('bitmaps/test2.bmp', wxBITMAP_TYPE_BMP)
-
+        bmp = images.getTest2Bitmap()
         mask = wxMaskColour(bmp, wxBLUE)
         bmp.SetMask(mask)