else
#endif
{
+ wxUnusedVar(type); // The type is detected automatically by GDK.
+
UnRef();
GdkPixbuf* pixbuf = gdk_pixbuf_new_from_file(name.fn_str(), NULL);
if (pixbuf)
void wxBitmap::SetPixbuf(GdkPixbuf* pixbuf)
{
UnRef();
-
+
if (!pixbuf)
return;