[wxMac 2.8x] wxWindow::DoGetBestSize bug still not solved
Vadim Zeitlin
vadim at wxwindows.org
Fri Apr 13 16:40:12 PDT 2007
On Fri, 13 Apr 2007 16:37:43 -0700 Robin Dunn <robin at alldunn.com> wrote:
RD> > OTOH I'd agree that DoGetBestSize() should account for the scrollbars if
RD> > they happen to be shown. But then it should do it under all platforms, of
RD> > course...
RD>
RD> I seem to recall that there is code somewhere that adjusts best size by
RD> the difference between client size and actual size, so if the
RD> wxWindowMac does client size properly when the scrollbars are shown then
RD> it should work.
I thought this was only done for wxUniv (I'd really like to do it for all
ports but this means defining a new DoGetClientBestSize() as otherwise it
would be introduce subtle (i.e. of the worst kind) incompatibility). Do you
know where is this done in wxMac?
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list