added wxSetCCUnicodeFormat() and use it in wxTreeCtrl/wxToolBar; also replaced SendMessage(LVM_SETUNICODEFORMAT) with a call to it in wxListCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-03-20 12:39:04 +00:00
parent 7aad0bf32e
commit 9a63feff3a
4 changed files with 17 additions and 3 deletions

View File

@@ -353,9 +353,7 @@ bool wxListCtrl::Create(wxWindow *parent,
// explicitly say that we want to use Unicode because otherwise we get ANSI
// versions of _some_ messages (notably LVN_GETDISPINFOA) in MSLU build
#if wxUSE_UNICODE
::SendMessage(GetHwnd(), LVM_SETUNICODEFORMAT, TRUE, 0);
#endif
wxSetCCUnicodeFormat(GetHwnd());
// for comctl32.dll v 4.70+ we want to have this attribute because it's
// prettier (and also because wxGTK does it like this)