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
This commit is contained in:
Vadim Zeitlin
2003-08-13 16:47:43 +00:00
parent e3ac6ee157
commit 596f1d1160
4 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ public:
virtual void Refresh( bool eraseBackground = TRUE, virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL ); const wxRect *rect = (const wxRect *) NULL );
virtual void Update(); virtual void Update();
virtual void Clear(); virtual void ClearBackground();
virtual bool SetBackgroundColour( const wxColour &colour ); virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour ); virtual bool SetForegroundColour( const wxColour &colour );

View File

@@ -69,7 +69,7 @@ public:
virtual void Refresh( bool eraseBackground = TRUE, virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL ); const wxRect *rect = (const wxRect *) NULL );
virtual void Update(); virtual void Update();
virtual void Clear(); virtual void ClearBackground();
virtual bool SetBackgroundColour( const wxColour &colour ); virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour ); virtual bool SetForegroundColour( const wxColour &colour );

View File

@@ -3862,7 +3862,7 @@ void wxWindowGTK::GtkSendPaintEvents()
m_updateRegion.Clear(); m_updateRegion.Clear();
} }
void wxWindowGTK::Clear() void wxWindowGTK::ClearBackground()
{ {
wxCHECK_RET( m_widget != NULL, wxT("invalid window") ); wxCHECK_RET( m_widget != NULL, wxT("invalid window") );

View File

@@ -3862,7 +3862,7 @@ void wxWindowGTK::GtkSendPaintEvents()
m_updateRegion.Clear(); m_updateRegion.Clear();
} }
void wxWindowGTK::Clear() void wxWindowGTK::ClearBackground()
{ {
wxCHECK_RET( m_widget != NULL, wxT("invalid window") ); wxCHECK_RET( m_widget != NULL, wxT("invalid window") );