X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/185d7c3ee4c6e4a9ddaf811ae38e57d68a0fdff3..f925f24de8a4e6aa116efed61ab77ec08b686c67:/wxPython/demo/wxButton.py?ds=sidebyside diff --git a/wxPython/demo/wxButton.py b/wxPython/demo/wxButton.py index 7ed3113215..f615727c94 100644 --- a/wxPython/demo/wxButton.py +++ b/wxPython/demo/wxButton.py @@ -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)