[wx-dev] #9608: wxGenericStaticBitmap and samples/widgets/statbmp.cpp added

wxTrac noreply at wxsite.net
Fri Jun 20 15:13:23 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/9608>

#9608: wxGenericStaticBitmap and samples/widgets/statbmp.cpp added
----------------------------+-----------------------------------------------
 Reporter:  wojdyr          |       Owner:         
     Type:  enhancement     |      Status:  new    
 Priority:  normal          |   Milestone:         
Component:  GUI-generic     |     Version:  2.9-svn
 Keywords:  wxStaticBitmap  |   Blockedby:         
    Patch:  1               |    Blocking:         
----------------------------+-----------------------------------------------
 wxGenericStaticBitmap is an implementation that uses wxDC::DrawBitmap().
 Since wxStaticBitmap "is meant for display of the small icons in the
 dialog boxes and is not meant to be a general purpose image display
 control. In particular, under Windows 9x...",
 the generic control will be useful for larger images.

 The implementation is based on code I had in my program, on wxMac control
 (which can now just use the generic control, but I can't test wxMac, so I
 didn't change it), and on GenStaticBitmap from wxPython.

 The patch also adds wxStaticBitmap to widgets sample. This depends on the
 first part of the patch, so I didn't separate it.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/9608>


More information about the wx-dev mailing list