Declare various WXH* handles compatibly with SDK.

It is no longer necessary to cast between e.g. HINSTANCE and
WXHINSTANCE, they are now declared as the same type (without including
Windows SDK header).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2010-04-25 12:07:30 +00:00
parent 6a57bd93ad
commit fe42ab1d7b
4 changed files with 28 additions and 29 deletions

View File

@@ -296,7 +296,7 @@ wxDynamicLibraryDetailsArray wxDynamicLibrary::ListLoaded()
}
/* static */
HMODULE wxDynamicLibrary::MSWGetModuleHandle(const char *name, void *addr)
WXHINSTANCE wxDynamicLibrary::MSWGetModuleHandle(const char *name, void *addr)
{
// we want to use GetModuleHandleEx() instead of usual GetModuleHandle()
// because the former works correctly for comctl32.dll while the latter