]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/nonownedwnd_osx.cpp
adding magnification API into the wxWindow classes for best retina support
[wxWidgets.git] / src / osx / nonownedwnd_osx.cpp
index edcba5d9ce707e6f0cf838324b99f2177e7be9f7..183fe42d7fab5b9388b8a7ce9ba71919708f4d6a 100644 (file)
@@ -478,6 +478,11 @@ void wxNonOwnedWindow::DoGetClientSize( int *width, int *height ) const
        *height = h ;
 }
 
+double wxNonOwnedWindow::GetMagnificationFactor() const
+{
+    return m_nowpeer->GetMagnificationFactor();
+}
+
 void wxNonOwnedWindow::WindowWasPainted()
 {
     s_lastFlush = clock();