]> git.saurik.com Git - wxWidgets.git/commit
Don't override DoGetSize, just let the default return the real size of
authorRobin Dunn <robin@alldunn.com>
Wed, 25 Oct 2006 20:23:06 +0000 (20:23 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 25 Oct 2006 20:23:06 +0000 (20:23 +0000)
commitb4b5a92e0bb26443af521f47d02a8cadb9be1e70
tree0479b029c53c5e501ffe2b17df3034867fb3db46
parent64e4759f438bbb39e9f8e86b753762c8b370c416
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
include/wx/hyperlink.h
src/generic/hyperlink.cpp