git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26529
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( scrollView )
{
HIViewAddSubview( scrollView , textView ) ;
- m_macControl = scrollView ;
+ m_macControl = (WXWidget) scrollView ;
}
else
{
- m_macControl = textView ;
+ m_macControl = (WXWidget) textView ;
}
#else
short featurSet;
wxMacSetupControlBackgroundUPP = NewControlColorUPP( wxMacSetupControlBackground ) ;
}
+ // we need a valid font for the encodings
+ wxWindowBase::SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
}
// Destructor