]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bmpcbox.cpp
fix warnings about unreachable return statements
[wxWidgets.git] / src / gtk / bmpcbox.cpp
index b625542b1084a0f62e3600af3885c105c248743b..7ac3b0ecdead07b95c67650c7d597a80cfe2f7bf 100644 (file)
@@ -224,7 +224,7 @@ wxBitmap wxBitmapComboBox::GetItemBitmap(unsigned int n) const
         if ( pixbuf )
         {
             g_object_ref( pixbuf );
-            bitmap.SetPixbuf( pixbuf );
+            bitmap = wxBitmap(pixbuf);
         }
         g_value_unset( &value );
     }