summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-23 15:36:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-23 15:36:47 +0100
commit8edf711eb2f39c7779f2d39938d786befea1c49b (patch)
tree4c7b7f552b5f550e87f57a15c03ab25e4ac2847b /vcl
parentca35a282d50bbc238c9975fdf7d77038676318ab (diff)
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
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/window/salframe.cxx2
1 files changed, 1 insertions, 1 deletions
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 );