]> git.saurik.com Git - wxWidgets.git/commit
Make public headers compatible with Objective-C++ with ARC.
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 21 Sep 2013 10:11:08 +0000 (10:11 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 21 Sep 2013 10:11:08 +0000 (10:11 +0000)
commit1c2704fe7b25f8f0b1f92b33280adc3c63d2dcab
tree1d467582d68e49d9cdb7d649801c0fa6e09e3252
parentd10fdec4b7f7c58c8a8571e9d87b5800710eb422
Make public headers compatible with Objective-C++ with ARC.

OSXGetViewOrWindow() virtual methods were defined in headers and were casting
NSView*/NSWindow* to void*, which the compiler complains about with ARC
enabled. Rather than writing conditional code in the header, move the
implementations into .cpp files. They were virtual anyway, so this is no less
efficient, and doesn't leave any problematic code in public headers.

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