Define SF_UNICODE if undefined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-12-09 10:41:07 +00:00
parent 63efc55ff7
commit 92209a3966

View File

@@ -493,6 +493,10 @@ bool wxTextCtrl::StreamIn(const wxString& value, wxFontEncoding encoding)
eds.dwCookie = (DWORD)&wpc;
eds.pfnCallback = wxRichEditStreamIn;
#ifndef SF_UNICODE
#define SF_UNICODE 0x0010
#endif
if ( !::SendMessage(GetHwnd(), EM_STREAMIN,
SF_TEXT | SF_UNICODE | SFF_SELECTION,
(LPARAM)&eds) || eds.dwError )