diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 742bd32022..5352d49b32 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1159,6 +1159,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 }