[wxPython-users] floating staticbitmap problem ...

Christopher Barker Chris.Barker at noaa.gov
Fri Jul 20 11:24:41 PDT 2007


Ajay J Deshpande wrote:
> i have a staticbitmap A over which i have to position other smaller 
> static bitmaps B.

wx.StaticBitmap is a wrapper around the native one on each platform. ON 
some platforms, it is not a "real" Window, so it may not be able to act 
as a parent -- it also doesn't catch Mouse events the same way, etc.

in wx.lib.statbmp there is GenStaticBitmap which is a real wx.Control, 
and may work for you.

On the other hand, it may be better to simple draw the bitmaps to a 
wx.Window with DC.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list