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:
parent
e75ceab08c
commit
87a1dbc52e
@ -2883,7 +2883,7 @@ void wxMSWDCImpl::SetLayoutDirection(wxLayoutDirection dir)
|
||||
return;
|
||||
}
|
||||
|
||||
DWORD layout = GetLayout(GetHdc());
|
||||
DWORD layout = wxMSW::GetLayout(GetHdc());
|
||||
if ( layout == GDI_ERROR )
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user