]> git.saurik.com Git - wxWidgets.git/commitdiff
Define SF_UNICODE if undefined
authorJulian Smart <julian@anthemion.co.uk>
Sun, 9 Dec 2001 10:41:07 +0000 (10:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 9 Dec 2001 10:41:07 +0000 (10:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/textctrl.cpp

index 4282e711fe633b58402e843df7e34f125633bfdb..c02095d7621e366c95bd4cc06308014e4594f675 100644 (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 )