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:
parent
8d78674593
commit
985934750c
@ -773,14 +773,12 @@ void wxWindowMac::MacPostControlCreate(const wxPoint& pos, const wxSize& size)
|
|||||||
|
|
||||||
UMASetControlTitle( (ControlRef) m_macControl , wxStripMenuCodes(m_label) , m_font.GetEncoding() ) ;
|
UMASetControlTitle( (ControlRef) m_macControl , wxStripMenuCodes(m_label) , m_font.GetEncoding() ) ;
|
||||||
|
|
||||||
wxSize new_size = size ;
|
|
||||||
if (!m_macIsUserPane)
|
if (!m_macIsUserPane)
|
||||||
{
|
{
|
||||||
SetInitialBestSize(size);
|
SetInitialBestSize(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetCursor( *wxSTANDARD_CURSOR ) ;
|
SetCursor( *wxSTANDARD_CURSOR ) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindowMac::DoSetWindowVariant( wxWindowVariant variant )
|
void wxWindowMac::DoSetWindowVariant( wxWindowVariant variant )
|
||||||
|
Loading…
Reference in New Issue
Block a user