From 8edf711eb2f39c7779f2d39938d786befea1c49b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 23 Mar 2015 15:36:47 +0100 Subject: Avoid KeyFuncType::DELETE shadowed by a macro on Windows ...required to remove the WIN_* defines from postwin.h, so that the latter can be included multiple times; the WIN_* defines appeared to be unused except for one use of WND_FindWindow anyway Change-Id: I2080225c74c196fbc1b7d4f20b636b44e1e12150 --- vcl/win/source/window/salframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index fbd82f03e314..1544b2f11c82 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -678,7 +678,7 @@ static const sal_uInt16 aImplTranslateKeyTab[KEY_TAB_SIZE] = static UINT ImplSalGetWheelScrollLines() { UINT nScrLines = 0; - HWND hWndMsWheel = WIN_FindWindow( MSH_WHEELMODULE_CLASS, MSH_WHEELMODULE_TITLE ); + HWND hWndMsWheel = FindWindowA( MSH_WHEELMODULE_CLASS, MSH_WHEELMODULE_TITLE ); if ( hWndMsWheel ) { UINT nGetScrollLinesMsgId = RegisterWindowMessage( MSH_SCROLL_LINES ); -- cgit v1.2.3