]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
implemented fallback for AlphaBlend() for the systems not supporting it
[wxWidgets.git] / src / motif / frame.cpp
index ef7ab95de2a0783f5c211a59dc80721c91edcd8e..f65136d32db9eebc4d9001481da85feaca4305f7 100644 (file)
@@ -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)