]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
backported fix for proper tree ctrl refershing after changing item colour/font from 2.2
[wxWidgets.git] / src / msw / main.cpp
index 237eb9eee3d0857f92f5fe497aa37ca484482a1d..f9a4ae5e657d41f7098004aef612d4f44b757485 100644 (file)
@@ -66,7 +66,7 @@ HINSTANCE wxhInstance = 0;
 
 #if !defined(_WINDLL)
 
 
 #if !defined(_WINDLL)
 
-#if defined(__TWIN32__) || defined(__WXWINE__)
+#if defined(__TWIN32__) || defined(__WXWINE__) || defined(__WXMICROWIN__)
     #define HINSTANCE HANDLE
 
     extern "C"
     #define HINSTANCE HANDLE
 
     extern "C"
@@ -114,8 +114,11 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)
            wxEntryCleanup();
            break;
     }
            wxEntryCleanup();
            break;
     }
+#else
+       (void)hModule;
+       (void)fdwReason;
 #endif // !WXMAKINGDLL
 #endif // !WXMAKINGDLL
-
+       (void)lpReserved;
     return TRUE;
 }
 
     return TRUE;
 }