build fix for wxUSE_INTL==0 (patch 1878908)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c1841ac2e3
commit
beee6bf864
@ -784,10 +784,12 @@ wxString wxTextCtrl::GetRange(long from, long to) const
|
||||
encoding = font.GetEncoding();
|
||||
}
|
||||
|
||||
#if wxUSE_INTL
|
||||
if ( encoding == wxFONTENCODING_SYSTEM )
|
||||
{
|
||||
encoding = wxLocale::GetSystemEncoding();
|
||||
}
|
||||
#endif // wxUSE_INTL
|
||||
|
||||
if ( encoding == wxFONTENCODING_SYSTEM )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user