From: Robin Dunn Date: Wed, 29 May 2002 18:47:50 +0000 (+0000) Subject: Removed Refresh from OnSize as it's not needed anymore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cf8a60ae0ad390295135c852fba4e3332c32a458 Removed Refresh from OnSize as it's not needed anymore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index 6e22325317..20d1fa34b6 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -1877,7 +1877,6 @@ void wxStyledTextCtrl::OnScroll(wxScrollEvent& evt) { void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { wxSize sz = GetClientSize(); m_swx->DoSize(sz.x, sz.y); - Refresh(FALSE); } void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index 4b00760485..17f06ad588 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/src/stc/stc.cpp.in @@ -327,7 +327,6 @@ void wxStyledTextCtrl::OnScroll(wxScrollEvent& evt) { void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { wxSize sz = GetClientSize(); m_swx->DoSize(sz.x, sz.y); - Refresh(FALSE); } void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 6e22325317..20d1fa34b6 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -1877,7 +1877,6 @@ void wxStyledTextCtrl::OnScroll(wxScrollEvent& evt) { void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { wxSize sz = GetClientSize(); m_swx->DoSize(sz.x, sz.y); - Refresh(FALSE); } void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) { diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index 4b00760485..17f06ad588 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -327,7 +327,6 @@ void wxStyledTextCtrl::OnScroll(wxScrollEvent& evt) { void wxStyledTextCtrl::OnSize(wxSizeEvent& evt) { wxSize sz = GetClientSize(); m_swx->DoSize(sz.x, sz.y); - Refresh(FALSE); } void wxStyledTextCtrl::OnMouseLeftDown(wxMouseEvent& evt) {