From 885b88a2575bafdd064a778e867dd89783309f90 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 5 Dec 2004 13:36:44 +0000 Subject: [PATCH] Unicode/WinCE corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/radiobox.cpp | 4 ++++ src/msw/utils.cpp | 23 ++++++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index d3a0a4f586..d583c4f337 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -47,6 +47,10 @@ #include "wx/tooltip.h" #endif // wxUSE_TOOLTIPS +#if defined(__WXWINCE__) && !defined(WS_EX_TRANSPARENT) +#define WS_EX_TRANSPARENT 0 +#endif + // TODO: wxCONSTRUCTOR #if 0 // wxUSE_EXTENDED_RTTI WX_DEFINE_FLAGS( wxRadioBoxStyle ) diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index 9ff3687c46..74117167a3 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -843,15 +843,32 @@ static void InitToolHelp32() lpfCreateToolhelp32Snapshot= (HANDLE(WINAPI *)(DWORD,DWORD)) GetProcAddress( hInstLib, - "CreateToolhelp32Snapshot" ) ; +#ifdef __WXWINCE__ + wxT("CreateToolhelp32Snapshot") +#else + "CreateToolhelp32Snapshot" +#endif + ) ; lpfProcess32First= (BOOL(WINAPI *)(HANDLE,LPPROCESSENTRY32)) - GetProcAddress( hInstLib, "Process32First" ) ; + GetProcAddress( hInstLib, +#ifdef __WXWINCE__ + wxT("Process32First") +#else + "Process32First" +#endif + ) ; lpfProcess32Next= (BOOL(WINAPI *)(HANDLE,LPPROCESSENTRY32)) - GetProcAddress( hInstLib, "Process32Next" ) ; + GetProcAddress( hInstLib, +#ifdef __WXWINCE__ + wxT("Process32Next") +#else + "Process32Next" +#endif + ) ; FreeLibrary( hInstLib ) ; }