On 11 January 2012 15:55, Dave Tapley <duked...@gmail.com> wrote:
> On 11 January 2012 00:56, Dave Tapley <duked...@gmail.com> wrote:
> > Does anyone know why wxTreeCtrl_GetBoundingRect is implemented [1] such
> that:
> > 1. It returns a null pointer on non-Windows platforms.
> > 2. It disregards the returned value and returns GetRect().
> >
> > It came in with: "wxhaskell-from-cvs @ 2004-09-14 10:27:48 by dleijen".
> >
> > Dave,
> >
> > [1]
> http://darcsden.com/DukeDave/wxhaskell-dev/wxc/cpp/treectrl.cpp#L-535
>
> Well, I've 'fixed' it, and it appears to work just fine in Ubuntu:
> http://darcsden.com/DukeDave/wxhaskell-dev/patch/20120111150758-a1f0b
>
> I'm still curious if anyone can answer my original two questions.
>
With respect to (1), I suspect that it is code dating back to wxWidgets 2.2
support (the 2.2. docs are no longer on line, so I can't confirm). At that
time, wxGTK was much less capable than wxMSW (it was based on GTK 1.x).
(2) baffles me completely.
Jeremy
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel