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
This commit is contained in:
Vadim Zeitlin 2013-02-09 11:11:53 +00:00
parent e75ceab08c
commit 87a1dbc52e

View File

@ -2883,7 +2883,7 @@ void wxMSWDCImpl::SetLayoutDirection(wxLayoutDirection dir)
return;
}
DWORD layout = GetLayout(GetHdc());
DWORD layout = wxMSW::GetLayout(GetHdc());
if ( layout == GDI_ERROR )
return;