Commit 8863c003 authored by kintel's avatar kintel

Use wxWindowDC instead of wxClientDC as function parameters since we cannot...

Use wxWindowDC instead of wxClientDC as function parameters since we cannot assume that wxPaintDC inherits from wxClientDC
parent c3a7b4d1
......@@ -141,7 +141,7 @@ void WinEDA_MsgPanel::Affiche_1_Parametre( int pos_X, const wxString& texte_H,
}
void WinEDA_MsgPanel::showItem( wxClientDC& dc, const MsgItem& aItem )
void WinEDA_MsgPanel::showItem( wxWindowDC& dc, const MsgItem& aItem )
{
int color = aItem.m_Color;
......
......@@ -1409,7 +1409,7 @@ class WinEDA_MsgPanel : public wxPanel
protected:
std::vector<MsgItem> m_Items;
void showItem( wxClientDC& dc, const MsgItem& aItem );
void showItem( wxWindowDC& dc, const MsgItem& aItem );
public:
WinEDA_DrawFrame* m_Parent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment