wx.Rect2D help

Hi folks,

I'm trying to create a wx.Rect2D object using four floating point numbers but am getting a TypeError:

TypeError: in method 'new_Rect2D', expected argument 1 of type 'wxDouble'

I searched but did not find any documentation for this data type. I'm using:

Python 2.5
wxPython 2.8.4.0
Fedora Core 7

Any suggestions?

Thanks,
Dan

···

--
Dr. Daniel B. Koch
Oak Ridge National Lab
http://www.ornl.gov/sci/gist/bios/bio_koch.html
(865) 241-9096

I don't think wx.Rect2D is set up to be used directly from Python -- what do you need it for?

-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@noaa.gov

Daniel B. Koch wrote:

Hi folks,

I'm trying to create a wx.Rect2D object using four floating point numbers but am getting a TypeError:

TypeError: in method 'new_Rect2D', expected argument 1 of type 'wxDouble'

I searched but did not find any documentation for this data type. I'm using:

Python 2.5
wxPython 2.8.4.0
Fedora Core 7

Any suggestions?

Upgrade to a newer release, this bug has already been fixed.

···

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