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:
Stefan Csomor
2011-03-18 14:33:57 +00:00
parent 2275632282
commit 8606ee5077
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ wxSize wxButton::DoGetBestSize() const
wxRect r ;
m_peer->GetBestRect(&r);
GetPeer()->GetBestRect(&r);
if ( r.GetWidth() == 0 && r.GetHeight() == 0 )
{