From cf8a60ae0ad390295135c852fba4e3332c32a458 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 29 May 2002 18:47:50 +0000 Subject: [PATCH] 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 --- contrib/src/stc/stc.cpp | 1 - contrib/src/stc/stc.cpp.in | 1 - src/stc/stc.cpp | 1 - src/stc/stc.cpp.in | 1 - 4 files changed, 4 deletions(-) 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) { -- 2.50.0