OS/2 updates and initial toolbar implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-07-01 22:22:13 +00:00
parent 4daa4d665a
commit d697657f1e
14 changed files with 1345 additions and 1122 deletions

View File

@@ -1392,9 +1392,9 @@ void wxDC::DoDrawBitmap(
//
if (IsKindOf(CLASSINFO(wxPaintDC)))
{
wxPaintDC* pPaintDC = wxDynamicCast(this, wxPaintDC);
wxWindowDC* pWindowDC = wxDynamicCast(this, wxWindowDC);
lColor = pPaintDC->m_pCanvas->GetBackgroundColour().GetPixel();
lColor = pWindowDC->m_pCanvas->GetBackgroundColour().GetPixel();
}
else if (GetBrush() != wxNullBrush)
lColor = GetBrush().GetColour().GetPixel();