]> git.saurik.com Git - wxWidgets.git/commit - src/cocoa/window.mm
Implement wxWindow::GetTextExtent to use wxDC to at least return something
authorDavid Elliott <dfe@tgwbd.org>
Fri, 12 Oct 2007 19:17:45 +0000 (19:17 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 12 Oct 2007 19:17:45 +0000 (19:17 +0000)
commitd39780517dc80c48d29b637f659e81ebd512d60d
tree000a447314c681cbfe329c41cc66452efc9646e8
parent1e40f6676a0e403bf9f98ab44d40edab0811499b
Implement wxWindow::GetTextExtent to use wxDC to at least return something
reasonable rather than leaving uninitialized garbage values unchanged.

Fix wxWindow::DoSetVirtualSize so that the underlying Cocoa view always
takes up at least as much area as its enclosing clip view.  In particular,
wxDefaultCoord was not being handled, resulting in -1 size components.

Together, these make the generic wxListCtrl mostly usable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/cocoa/window.mm