diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index 503a29cb0b..1a3d426aaa 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -242,7 +242,7 @@ short wxApp::MacHandleAEPDoc(const WXEVENTREF event , WXEVENTREF WXUNUSED(reply) return err; fName = wxMacFSRefToPath( &theRef ) ; - files += fName; + fileNames.Add( fName ); } MacPrintFiles(fileNames); diff --git a/src/osx/nonownedwnd_osx.cpp b/src/osx/nonownedwnd_osx.cpp index 9e7f1e185c..0e57c7f9f9 100644 --- a/src/osx/nonownedwnd_osx.cpp +++ b/src/osx/nonownedwnd_osx.cpp @@ -496,10 +496,12 @@ WXWindow wxNonOwnedWindow::GetWXWindow() const return m_nowpeer ? m_nowpeer->GetWXWindow() : NULL; } +#if wxOSX_USE_COCOA_OR_IPHONE void *wxNonOwnedWindow::OSXGetViewOrWindow() const { return GetWXWindow(); } +#endif // --------------------------------------------------------------------------- // Shape implementation diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index afbf5a0a32..3d4eb703c1 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -2545,10 +2545,12 @@ bool wxWindowMac::OSXHandleClicked( double WXUNUSED(timestampsec) ) return false; } +#if wxOSX_USE_COCOA_OR_IPHONE void *wxWindowMac::OSXGetViewOrWindow() const { return GetHandle(); } +#endif wxInt32 wxWindowMac::MacControlHit(WXEVENTHANDLERREF WXUNUSED(handler) , WXEVENTREF event ) {