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 ) ; }