[ 1502010 ] Cast to wrong type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1488,7 +1488,7 @@ void wxDC::SetFont(const wxFont& font)
|
||||
else // selected ok
|
||||
{
|
||||
if ( !m_oldFont )
|
||||
m_oldFont = (WXHPEN)hfont;
|
||||
m_oldFont = (WXHFONT)hfont;
|
||||
|
||||
m_font = font;
|
||||
}
|
||||
@@ -1581,7 +1581,7 @@ void wxDC::SetBrush(const wxBrush& brush)
|
||||
else // selected ok
|
||||
{
|
||||
if ( !m_oldBrush )
|
||||
m_oldBrush = (WXHPEN)hbrush;
|
||||
m_oldBrush = (WXHBRUSH)hbrush;
|
||||
|
||||
m_brush = brush;
|
||||
}
|
||||
|
Reference in New Issue
Block a user