Christopher Barker wrote:
> Tim,
> 
> Sorry for the delay, I was out of town last week.
> 
> What platform is this? It looks like wxGTK.
> 
> That code is there because OS-X does not allow reading of pixel values 
> from a MemoryDC. This method is supposed to work on all platforms. 
> However, if it's crashing on GTK, then we could use the old DC.GetPixel 
> method there.
> 
> Robin, your thoughts???

The only thing that comes to mind is to verify that the xy position is 
valid (within range of the bitmap's width and height.)


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!

_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to