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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user