From: Karsten Ballüder Date: Thu, 10 Dec 1998 14:19:43 +0000 (+0000) Subject: another API change fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5e5f494a6e4436d72846f71df892e3d4e19c7cb0 another API change fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/user/wxLayout/wxllist.cpp b/user/wxLayout/wxllist.cpp index c66496c0fe..5370cc8fad 100644 --- a/user/wxLayout/wxllist.cpp +++ b/user/wxLayout/wxllist.cpp @@ -161,7 +161,7 @@ wxLayoutObjectIcon::wxLayoutObjectIcon(wxIcon *icon) void wxLayoutObjectIcon::Draw(wxDC &dc, wxPoint const &translate) { - dc.DrawIcon(m_Icon,wxPoint(m_Position.x+translate.x, m_Position.y+translate.y)); + dc.DrawIcon(*m_Icon,m_Position.x+translate.x, m_Position.y+translate.y); } void