]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/statbox_osx.cpp
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / src / osx / statbox_osx.cpp
index c093cd384fa2e96e4ee57c626b6a044d009c0f4b..2db314f9fce94bc9ab6a010430ed1ce1d79db9ae 100644 (file)
@@ -31,7 +31,7 @@ bool wxStaticBox::Create( wxWindow *parent,
 
     m_labelOrig = m_label = label;
 
-    m_peer = wxWidgetImpl::CreateGroupBox( this, parent, id, label, pos, size, style, GetExtraStyle() );
+    SetPeer(wxWidgetImpl::CreateGroupBox( this, parent, id, label, pos, size, style, GetExtraStyle() ));
 
     MacPostControlCreate( pos, size );