]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / msw / dc.cpp
index 494561562484bfa98f3f095003329cf0d75dfde7..b828f025e1bcc2f417ee915aee16dee15dfb9fda 100644 (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;