From bacea4971842f2d9c8ba72d8c2a00110128a7f38 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 7 Dec 2010 09:10:02 +0000 Subject: [PATCH] updated comment was not saved in former commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/nonownedwnd_osx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/osx/nonownedwnd_osx.cpp b/src/osx/nonownedwnd_osx.cpp index 15b275ef6f..e2543dff27 100644 --- a/src/osx/nonownedwnd_osx.cpp +++ b/src/osx/nonownedwnd_osx.cpp @@ -467,7 +467,9 @@ void wxNonOwnedWindow::DoGetClientSize( int *width, int *height ) const return; int left, top, w, h; - // perhaps we should do this for all ? + // under iphone with a translucent status bar the m_nowpeer returns the + // inner area, while the content area extends under the translucent + // status bar, therefore we use the content view's area #ifdef __WXOSX_IPHONE__ m_peer->GetContentArea(left, top, w, h); #else -- 2.45.2