From 87a1dbc52e44796f9821b5d66118754dad57473e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 9 Feb 2013 11:11:53 +0000 Subject: [PATCH] Don't call ::GetLayout() in wxMSW code directly. Use wxMSW::GetLayout() wrapper to avoid directly binding to a function not present in old Windows versions and also to fix linking errors with MinGW after the changes of r73484. See #3995. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 4945615624..b828f025e1 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -2883,7 +2883,7 @@ void wxMSWDCImpl::SetLayoutDirection(wxLayoutDirection dir) return; } - DWORD layout = GetLayout(GetHdc()); + DWORD layout = wxMSW::GetLayout(GetHdc()); if ( layout == GDI_ERROR ) return; -- 2.45.2