OS/2 Statusbar fixes in DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -542,6 +542,18 @@ int wxDC::GetDepth() const
|
|||||||
|
|
||||||
void wxDC::Clear()
|
void wxDC::Clear()
|
||||||
{
|
{
|
||||||
|
//
|
||||||
|
// If this is a canvas DC then just fill with the background color
|
||||||
|
// Otherwise purge the whole thing
|
||||||
|
//
|
||||||
|
if (m_pCanvas)
|
||||||
|
{
|
||||||
|
RECTL vRect;
|
||||||
|
|
||||||
|
::GpiQueryClipBox(m_hPS, &vRect);
|
||||||
|
::WinFillRect(m_hPS, &vRect, ::GpiQueryBackColor(m_hPS));
|
||||||
|
}
|
||||||
|
else
|
||||||
::GpiErase(m_hPS);
|
::GpiErase(m_hPS);
|
||||||
} // end of wxDC::Clear
|
} // end of wxDC::Clear
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user