A little cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-05-15 19:26:39 +00:00
parent 8d78674593
commit 985934750c

View File

@ -773,14 +773,12 @@ void wxWindowMac::MacPostControlCreate(const wxPoint& pos, const wxSize& size)
UMASetControlTitle( (ControlRef) m_macControl , wxStripMenuCodes(m_label) , m_font.GetEncoding() ) ;
wxSize new_size = size ;
if (!m_macIsUserPane)
{
SetInitialBestSize(size);
}
SetCursor( *wxSTANDARD_CURSOR ) ;
}
void wxWindowMac::DoSetWindowVariant( wxWindowVariant variant )