Compilation fixes for non-MSVC 9 compilers after r65555.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Sep 2010 11:05:46 +0000 (11:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Sep 2010 11:05:46 +0000 (11:05 +0000)
commit473ca5f34aec8f80adcfc6bfb8888807567dfeae
tree833ac986c030d42184ce7b09ffd558b8e1dd02a4
parent685ed4d1f8a834dd898d0897fa96d3a8b0468372
Compilation fixes for non-MSVC 9 compilers after r65555.

Somehow MSVC 9 compiled invalid wxT(__FUNCTION__) expressions but both MinGW
and MSVC 6 (correctly) failed. Don't use this construct at all but instead
call wxLogLastError() with the real function name.

Also refactor the code slightly to avoid having to repeat this fix thrice.

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