diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 42d6364c2b..d8816f8974 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -4193,6 +4193,7 @@ void wxTextCtrl::DoDraw(wxControlRenderer *renderer) // FIXME: is this really a bug in wxMSW? rectTextArea.width--; #endif // __WXMSW__ + dc.DestroyClippingRegion(); dc.SetClippingRegion(rectTextArea); // adjust for scrolling