]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dlmsw.cpp
Implemented forceTrueColour in SetBestVisual.
[wxWidgets.git] / src / msw / dlmsw.cpp
index d9a49f3a1f67b560d3bdbea359a0d83d22f79c37..2e6d519eddf32be06c15cea071fe1889b350a6ab 100644 (file)
@@ -79,8 +79,15 @@ public:
         wxVersionDLL *verDLL;
     };
 
+    // TODO: fix EnumerateLoadedModules() to use EnumerateLoadedModules64()
+    #ifdef __WIN64__
+        typedef DWORD64 DWORD_32_64;
+    #else
+        typedef DWORD DWORD_32_64;
+    #endif
+
     static BOOL CALLBACK
-        EnumModulesProc(PSTR name, DWORD64 base, ULONG size, void *data);
+    EnumModulesProc(PSTR name, DWORD_32_64 base, ULONG size, void *data);
 };
 
 // ----------------------------------------------------------------------------
@@ -209,7 +216,7 @@ wxString wxVersionDLL::GetFileVersion(const wxString& filename) const
 /* static */
 BOOL CALLBACK
 wxDynamicLibraryDetailsCreator::EnumModulesProc(PSTR name,
-                                                DWORD64 base,
+                                                DWORD_32_64 base,
                                                 ULONG size,
                                                 void *data)
 {