]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/button.mm
Use shared pointers throughout when managing history with the ie backend, simplifying...
[wxWidgets.git] / src / osx / iphone / button.mm
index 275128f1915321f8bf0889073b37c78245ec80b8..e9df18bb4622d9d792cc65be61d60985a0195ad1 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     1998-01-01
-// RCS-ID:      $Id: button.cpp 54845 2008-07-30 14:52:41Z SC $
+// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -32,7 +32,7 @@ wxSize wxButton::DoGetBestSize() const
 
     wxRect r ;
 
-    m_peer->GetBestRect(&r);
+    GetPeer()->GetBestRect(&r);
 
     if ( r.GetWidth() == 0 && r.GetHeight() == 0 )
     {