[wx-dev] wxRealRect implementation

Stefan Csomor csomor at advancedconcepts.ch
Tue Apr 22 10:15:01 PDT 2008


>  I really don't think we want to duplicate all wxRect code in this class.
> If we need it at all we should have wxRectangle<> template and typedef
> wxRect as wxRectangle<int> and wxRealRect as wxRectangle<float>.
> 
>  Of course, the same would ideally need to be done for wxPoint too...

wxRect2DDouble, wxPoint2DDouble are in wx/geometry.h, they could be changed
using templates in trunk probably ...

just my 0.02$,

Stefan





More information about the wx-dev mailing list