]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
Correctly restore the originally used C locale in wxLocale dtor.
[wxWidgets.git] / src / common / sizer.cpp
index 37f31766a341d3839947ae31afeee41261d9d296..1fd2b74d71a158ec712814c7181d251c2bff30f4 100644 (file)
@@ -976,6 +976,8 @@ void wxSizer::Layout()
     CalcMin();
 
     // Applies the layout and repositions/resizes the items
+    wxWindow::ChildrenRepositioningGuard repositionGuard(m_containingWindow);
+
     RecalcSizes();
 }