X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74b965198ce3a4257deac901b6f7517e6447ca0f..a985b2c891cd7b925f01837323834aa6a9a8c23d:/src/osx/iphone/button.mm diff --git a/src/osx/iphone/button.mm b/src/osx/iphone/button.mm index 275128f191..e9df18bb46 100644 --- a/src/osx/iphone/button.mm +++ b/src/osx/iphone/button.mm @@ -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 ) {