+void wxBitmap::DestroyImage(void)
+{
+ if (!Ok()) return;
+
+ if (M_BMPDATA->m_image)
+ {
+ gdk_imlib_destroy_image( M_BMPDATA->m_image );
+ M_BMPDATA->m_image = NULL;
+ };
+};
+
+void wxBitmap::RecreateImage(void)
+{
+};
+
+void wxBitmap::Render(void)
+{
+ if (!Ok()) return;
+
+#ifdef USE_GDK_IMLIB
+
+ gdk_imlib_render( M_BMPDATA->m_image, M_BMPDATA->m_image->rgb_width, M_BMPDATA->m_image->rgb_height );
+ M_BMPDATA->m_width = M_BMPDATA->m_image->rgb_width;
+ M_BMPDATA->m_height = M_BMPDATA->m_image->rgb_height;
+ M_BMPDATA->m_pixmap = gdk_imlib_move_image( M_BMPDATA->m_image );
+ GdkBitmap *mask = gdk_imlib_move_mask( M_BMPDATA->m_image );
+ if (mask)
+ {
+ M_BMPDATA->m_mask = new wxMask();
+ M_BMPDATA->m_mask->m_bitmap = mask;
+ };
+
+#endif
+};
+
+