Add new methods to transform coordinates expressed in Cocoa's bounds rect to
authorDavid Elliott <dfe@tgwbd.org>
Wed, 12 Jan 2005 20:51:35 +0000 (20:51 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 12 Jan 2005 20:51:35 +0000 (20:51 +0000)
commit34c9978dac9a0120731737d5c6c5f629d1ace32b
tree368e235cfa8cf70f7e394888b806a0e89d4fd9ab
parent7d098cfdd754c035d623cd99a8fb79ee3d3e2f9b
Add new methods to transform coordinates expressed in Cocoa's bounds rect to
and from those expressed in wxWidgets fashion.  Use these new methods to do
the translation for mouse events, child window position, and dirty rects.
Also improve DoMoveWindow to only dirty the old and new rects of the
control within its superview rather than the entire superview.

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