From 16d54adb37e9578045b2efe78613de8cf1cf9d78 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Mon, 1 Sep 2003 14:51:42 +0000 Subject: [PATCH] Committing in . removing some obsolete CLEAR members Modified Files: wxWindows/samples/richedit/wxlwindow.cpp wxWindows/utils/dialoged/src/reseditr.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/richedit/wxlwindow.cpp | 2 +- utils/dialoged/src/reseditr.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/richedit/wxlwindow.cpp b/samples/richedit/wxlwindow.cpp index 4383578c2c..f39113a35c 100644 --- a/samples/richedit/wxlwindow.cpp +++ b/samples/richedit/wxlwindow.cpp @@ -214,7 +214,7 @@ wxLayoutWindow::Clear(int family, { GetLayoutList()->Clear(family,size,style,weight,underline,fg,bg); SetBackgroundColour(GetLayoutList()->GetDefaultStyleInfo().GetBGColour()); - wxScrolledWindow::Clear(); + //wxScrolledWindow::Clear(); ResizeScrollbars(true); SetDirty(); SetModified(FALSE); diff --git a/utils/dialoged/src/reseditr.cpp b/utils/dialoged/src/reseditr.cpp index 2d33bddd2c..0b9968031c 100644 --- a/utils/dialoged/src/reseditr.cpp +++ b/utils/dialoged/src/reseditr.cpp @@ -640,8 +640,8 @@ bool wxResourceManager::DeleteWindow(wxWindow* win) win->Destroy(); - if (clearDisplay) - m_editorPanel->Clear(); + //if (clearDisplay) + // m_editorPanel->Clear(); return TRUE; } @@ -1218,7 +1218,7 @@ void wxResourceManager::ClearCurrentDialog() DisassociateResource(m_editorPanel->m_childWindow); DeleteWindow(m_editorPanel->m_childWindow); m_editorPanel->m_childWindow = NULL; - m_editorPanel->Clear(); + //m_editorPanel->Clear(); } } -- 2.45.2