renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1385,17 +1385,6 @@ bool wxWindowOS2::Reparent(
|
||||
return TRUE;
|
||||
} // end of wxWindowOS2::Reparent
|
||||
|
||||
void wxWindowOS2::Clear()
|
||||
{
|
||||
wxClientDC vDc((wxWindow*)this);
|
||||
wxBrush vBrush( GetBackgroundColour()
|
||||
,wxSOLID
|
||||
);
|
||||
|
||||
vDc.SetBackground(vBrush);
|
||||
vDc.Clear();
|
||||
} // end of wxWindowOS2::Clear
|
||||
|
||||
void wxWindowOS2::Update()
|
||||
{
|
||||
::WinUpdateWindow(GetHwnd());
|
||||
|
Reference in New Issue
Block a user