]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode/WinCE corrections
authorJulian Smart <julian@anthemion.co.uk>
Sun, 5 Dec 2004 13:36:44 +0000 (13:36 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 5 Dec 2004 13:36:44 +0000 (13:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/radiobox.cpp
src/msw/utils.cpp

index d3a0a4f586ad5c1410aafe5b9f6a245725ed7a4f..d583c4f33710ff238969ff5d8fab8ae359f771ac 100644 (file)
     #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 )
index 9ff3687c46425140891a97113e69ca651970dffa..74117167a3c51e7444d07b6e773198050e086ccd 100644 (file)
@@ -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 ) ;
 }