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;