Lines Matching refs:oldRef
1012 const wxBitmapRefData* oldRef = wx_static_cast(const wxBitmapRefData*, data);
1014 newRef->m_width = oldRef->m_width;
1015 newRef->m_height = oldRef->m_height;
1016 newRef->m_bpp = oldRef->m_bpp;
1017 if (oldRef->m_pixmap != NULL)
1020 oldRef->m_pixmap, oldRef->m_width, oldRef->m_height,
1022 gdk_drawable_get_depth(oldRef->m_pixmap));
1025 newRef->m_pixmap, gc, oldRef->m_pixmap, 0, 0, 0, 0, -1, -1);
1028 if (oldRef->m_pixbuf != NULL)
1030 newRef->m_pixbuf = gdk_pixbuf_copy(oldRef->m_pixbuf);
1032 if (oldRef->m_mask != NULL)
1036 oldRef->m_mask->m_bitmap, oldRef->m_width, oldRef->m_height, 1);
1039 gc, oldRef->m_mask->m_bitmap, 0, 0, 0, 0, -1, -1);
1044 wxASSERT(oldRef->m_palette == NULL);