reverting content area calculation for iphone as translucent status bars get ignored otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -467,7 +467,12 @@ void wxNonOwnedWindow::DoGetClientSize( int *width, int *height ) const
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
int left, top, w, h;
|
int left, top, w, h;
|
||||||
|
// perhaps we should do this for all ?
|
||||||
|
#ifdef __WXOSX_IPHONE__
|
||||||
|
m_peer->GetContentArea(left, top, w, h);
|
||||||
|
#else
|
||||||
m_nowpeer->GetContentArea(left, top, w, h);
|
m_nowpeer->GetContentArea(left, top, w, h);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (width)
|
if (width)
|
||||||
*width = w ;
|
*width = w ;
|
||||||
|
Reference in New Issue
Block a user