]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
changed Refresh to take Rect as client coordinates not window coordinates
[wxWidgets.git] / src / msw / main.cpp
index 237eb9eee3d0857f92f5fe497aa37ca484482a1d..f9a4ae5e657d41f7098004aef612d4f44b757485 100644 (file)
@@ -66,7 +66,7 @@ HINSTANCE wxhInstance = 0;
 
 #if !defined(_WINDLL)
 
-#if defined(__TWIN32__) || defined(__WXWINE__)
+#if defined(__TWIN32__) || defined(__WXWINE__) || defined(__WXMICROWIN__)
     #define HINSTANCE HANDLE
 
     extern "C"
@@ -114,8 +114,11 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)
            wxEntryCleanup();
            break;
     }
+#else
+       (void)hModule;
+       (void)fdwReason;
 #endif // !WXMAKINGDLL
-
+       (void)lpReserved;
     return TRUE;
 }