Added a virtual wxWindow::OSXGetViewOrWindow() method.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:57:50 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:57:50 +0000 (22:57 +0000)
commitff6893d2c2c05cf0c4e81f00cfdd6466b15b9c93
tree059931e8ddd0c6b04769983727810032b43f0209
parent3996b21a7f11ae6c1985b5ee55223ddec537f689
Added a virtual wxWindow::OSXGetViewOrWindow() method.

This can be used to retrieve either an NSView for child windows or NSWindow
for non-owned ones without resorting to dynamic casts.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/nonownedwnd.h
include/wx/osx/window.h