going private for m_peer to give a foundation for better encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,7 @@ wxSize wxButton::DoGetBestSize() const
|
||||
|
||||
wxRect r ;
|
||||
|
||||
m_peer->GetBestRect(&r);
|
||||
GetPeer()->GetBestRect(&r);
|
||||
|
||||
if ( r.GetWidth() == 0 && r.GetHeight() == 0 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user