diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 36624f4f42..70bac7e374 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1145,6 +1145,11 @@ void wxWindowMSW::SetLayoutDirection(wxLayoutDirection dir) if ( styleNew != styleOld ) { wxSetWindowExStyle(this, styleNew); + + // Update layout: whether we have children or are drawing something, we + // need to redo it with the new layout. + SendSizeEvent(); + Refresh(); } #endif }