From 596f1d1160c9d413dc7725676297354e24ceffbc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 13 Aug 2003 16:47:43 +0000 Subject: [PATCH] renamed wxWindow::Clear() to ClearBackground() for wxGTK as well git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/window.h | 2 +- include/wx/gtk1/window.h | 2 +- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 40685ab806..f5c690f5bc 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -69,7 +69,7 @@ public: virtual void Refresh( bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL ); virtual void Update(); - virtual void Clear(); + virtual void ClearBackground(); virtual bool SetBackgroundColour( const wxColour &colour ); virtual bool SetForegroundColour( const wxColour &colour ); diff --git a/include/wx/gtk1/window.h b/include/wx/gtk1/window.h index 40685ab806..f5c690f5bc 100644 --- a/include/wx/gtk1/window.h +++ b/include/wx/gtk1/window.h @@ -69,7 +69,7 @@ public: virtual void Refresh( bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL ); virtual void Update(); - virtual void Clear(); + virtual void ClearBackground(); virtual bool SetBackgroundColour( const wxColour &colour ); virtual bool SetForegroundColour( const wxColour &colour ); diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 9b8fc44a59..b966d46d21 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3862,7 +3862,7 @@ void wxWindowGTK::GtkSendPaintEvents() m_updateRegion.Clear(); } -void wxWindowGTK::Clear() +void wxWindowGTK::ClearBackground() { wxCHECK_RET( m_widget != NULL, wxT("invalid window") ); diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 9b8fc44a59..b966d46d21 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -3862,7 +3862,7 @@ void wxWindowGTK::GtkSendPaintEvents() m_updateRegion.Clear(); } -void wxWindowGTK::Clear() +void wxWindowGTK::ClearBackground() { wxCHECK_RET( m_widget != NULL, wxT("invalid window") );