]> git.saurik.com Git - wxWidgets.git/commit
Fix compilation of EnumerateLoadedModules() call for MinGW64 4.5.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Sep 2010 22:58:48 +0000 (22:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Sep 2010 22:58:48 +0000 (22:58 +0000)
commitba97f6f8a39e978f5081f86752faa18ea3af7ba4
tree2cd1d030ce009ddfc068edc7bd1029ebf9adc29c
parent7095bd60e207c6f2038c290078925b6549d03e5e
Fix compilation of EnumerateLoadedModules() call for MinGW64 4.5.

Our logic for detection of whether the first argument of
PENUMLOADED_MODULES_CALLBACK is const or not didn't work for MinGW64 4.5.

Replace it with a less error-prone (even if more ugly) version which simply
casts the callback to the type expected by the function.

Closes #12465.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/dlmsw.cpp