[wx-dev] #9525: wxBitmapButton SetDisabledBitmap() and
SetSelectedBitmap() not working
wxTrac
noreply at wxsite.net
Mon Jun 2 13:12:12 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9525>
#9525: wxBitmapButton SetDisabledBitmap() and SetSelectedBitmap() not working
--------------------+-------------------------------------------------------
Reporter: dolhop | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxMac | Version: 2.8.7.1
Keywords: | Blockedby:
Patch: 0 | Blocking:
--------------------+-------------------------------------------------------
wxPython for Mac 2.8.7.1 and python 2.5.1
The wxPython demo v2.8.7.1 wxBitmapButton example sets the "selected"
bitmap to a picture of Robin. This works fine on MSW, but the image does
not show up on MAC.
I was attempting to use wxBitmapButton with custom images in my own
program but only the "Label" image appears to be used, not Selected or
Disabled. The wx documentation only mentions that the "hover" image will
not work on MAC.
Calls to the corresponding GetBitmap...() methods returns the same
instance for all three of Label, Selected and Disabled (which is NOT the
same instance as any of the three I passed in, so I presume a copy is
being done at some point).
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9525>
More information about the wx-dev
mailing list