X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/185d7c3ee4c6e4a9ddaf811ae38e57d68a0fdff3..d062e17fca1a1fc0b82b269da4a7ad271075ba2b:/wxPython/demo/wxButton.py 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)