[wx-dev] Re: #2440: second bitmap does not appear for check tool

wxTrac noreply at wxsite.net
Mon Jun 2 06:46:24 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/2440#comment:1>

#2440: second bitmap does not appear for check tool
-----------------------+----------------------------------------------------
  Reporter:  rollrom   |       Owner:           
      Type:  defect    |      Status:  closed   
  Priority:  normal    |   Milestone:           
 Component:  wxGTK     |     Version:           
Resolution:  outdated  |    Keywords:  wxToolBar
 Blockedby:            |       Patch:  0        
  Blocking:            |  
-----------------------+----------------------------------------------------
Changes (by wojdyr):

  * keywords:  => wxToolBar
  * status:  new => closed
  * resolution:  => outdated


Comment:

 Yes, that's what documentation says in wxToolBar::SetToolDisabledBitmap():

   NOTE: The native toolbar classes on the main platforms all synthesize
 the disabled bitmap from the normal bitmap, so this function will have no
 effect on those platforms.

 IMO it would be nice to add this note also to wxToolBar::AddTool() and
 deprecate the method SetToolDisabledBitmap() that doesn't has any effect
 on main platforms anyway.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/2440#comment:1>


More information about the wx-dev mailing list