[wxPython-users] picture and some text where is the error in this
program plsss
Christopher Barker
Chris.Barker at noaa.gov
Tue Aug 7 13:23:40 PDT 2007
yadin Bocuma Rivas wrote:
> i did this but it inot working am i doing a huge mistake
It works for me on OS-X -- what are your symptoms?
However, I wouldn't do that -- it's a bit tricky to mix custom drawn
stuff and wx.Windows. So you have two choices, depending on your needs:
1) Custom draw all of it, using wx/DC.DrawText() to draw your text
2) Use all wx.Windows: wx.StaticBitmap for the bitmap.
See assorted Wiki pages, including:
http://wiki.wxpython.org/wxStaticBitmap
http://wiki.wxpython.org/wxStaticBitmap?action=fullsearch&context=180&value=Drawing&titlesearch=Titles
(that's a link to what you get if you do a title search for "Drawing")
There's a number of things I'd change about your style too. See:
http://wiki.wxpython.org/wxPython_Style_Guide
-Chris
PS: Please don't hijack an existing thread, start a new one instead.
--
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