]> git.saurik.com Git - wxWidgets.git/commitdiff
no special casing for iphone necessary
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 3 Apr 2010 09:49:10 +0000 (09:49 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 3 Apr 2010 09:49:10 +0000 (09:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/nonownedwnd_osx.cpp

index 017107215f22521e3e247c280e9dc01380018a69..54ecb11f6d3e8b2125d557929a1f54d95c399ae2 100644 (file)
@@ -424,12 +424,7 @@ void wxNonOwnedWindow::DoGetClientSize( int *width, int *height ) const
         return;
 
     int left, top, w, h;
         return;
 
     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)
        *width = w ;
     
     if (width)
        *width = w ;