X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f86190702bb433f139dc2c335e2c551755def81f..e2c0faf71c4ec2ae9a604d7e9c2850f081bff266:/src/osx/nonownedwnd_osx.cpp?ds=sidebyside diff --git a/src/osx/nonownedwnd_osx.cpp b/src/osx/nonownedwnd_osx.cpp index 183fe42d7f..9e7f1e185c 100644 --- a/src/osx/nonownedwnd_osx.cpp +++ b/src/osx/nonownedwnd_osx.cpp @@ -3,7 +3,6 @@ // Purpose: implementation of wxNonOwnedWindow // Author: Stefan Csomor // Created: 2008-03-24 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor 2008 // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -307,7 +306,7 @@ void wxNonOwnedWindow::HandleActivated( double timestampsec, bool didActivate ) HandleWindowEvent(wxevent); } -void wxNonOwnedWindow::HandleResized( double timestampsec ) +void wxNonOwnedWindow::HandleResized( double WXUNUSED(timestampsec) ) { SendSizeEvent(); // we have to inform some controls that have to reset things @@ -478,11 +477,6 @@ void wxNonOwnedWindow::DoGetClientSize( int *width, int *height ) const *height = h ; } -double wxNonOwnedWindow::GetMagnificationFactor() const -{ - return m_nowpeer->GetMagnificationFactor(); -} - void wxNonOwnedWindow::WindowWasPainted() { s_lastFlush = clock(); @@ -502,6 +496,11 @@ WXWindow wxNonOwnedWindow::GetWXWindow() const return m_nowpeer ? m_nowpeer->GetWXWindow() : NULL; } +void *wxNonOwnedWindow::OSXGetViewOrWindow() const +{ + return GetWXWindow(); +} + // --------------------------------------------------------------------------- // Shape implementation // ---------------------------------------------------------------------------