wxWidgets/include
Robin Dunn b4b5a92e0b Don't override DoGetSize, just let the default return the real size of
the widget like normal.  Since the former implementation used
GetBestSize, which uses a DC, which on Mac calls window->GetSize, this
resulted in an infinite recursion.

Also use SetBestFittingSize in the ctor and move CacheBestSize to
DoGetBestSize where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:23:06 +00:00
..
msvc/wx include wxmsw27_gl (#if wxUSE_GLCANVAS) too 2006-10-03 15:18:26 +00:00
wx Don't override DoGetSize, just let the default return the real size of 2006-10-25 20:23:06 +00:00
.cvsignore
wx_cw_d.pch
wx_cw_d.pch++
wx_cw.pch
wx_cw.pch++
wx_cwc_d.pch
wx_cwc_d.pch++
wx_cwc.pch
wx_cwc.pch++
wx_cwcocoa_d.pch
wx_cwcocoa_d.pch++
wx_cwcocoa_d.pchmm
wx_cwcocoa.pch
wx_cwcocoa.pch++
wx_cwcocoa.pchmm
wx_cwu_d.pch
wx_cwu_d.pch++
wx_pb.h
wxshlb_cw_d.pch
wxshlb_cw_d.pch++
wxshlb_cw.pch
wxshlb_cw.pch++
wxshlb_cwc_d.pch
wxshlb_cwc_d.pch++
wxshlb_cwc.pch
wxshlb_cwc.pch++
wxshlba_cw_d.pch
wxshlba_cw_d.pch++
wxshlba_cw.pch
wxshlba_cw.pch++
wxshlba_cwc_d.pch
wxshlba_cwc_d.pch++
wxshlba_cwc.pch
wxshlba_cwc.pch++