X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aae91497f6ac36a76d3313cf405cae0f098ea1d1..878711c01c1b9ad5b97d35f379a048b8ce1bfb49:/src/motif/frame.cpp diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index ef7ab95de2..f65136d32d 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -505,10 +505,12 @@ void wxFrame::DoSetIcon(const wxIcon& icon) if (!m_frameShell) return; - if (!icon.Ok() || !icon.GetPixmap()) + if (!icon.Ok() || !icon.GetDrawable()) return; - XtVaSetValues((Widget) m_frameShell, XtNiconPixmap, icon.GetPixmap(), NULL); + XtVaSetValues((Widget) m_frameShell, + XtNiconPixmap, icon.GetDrawable(), + NULL); } void wxFrame::SetIcon(const wxIcon& icon)