]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/statbmp.cpp
Fixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about...
[wxWidgets.git] / src / gtk / statbmp.cpp
index aeb95223ec0407ac674d4d0a271a9b85dd27a83d..b12acdde77a64e2cec979b3370ea185b5b4ddfb4 100644 (file)
@@ -47,6 +47,7 @@ bool wxStaticBitmap::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi
     m_bitmap = bitmap;
 
     m_widget = gtk_image_new();
+    g_object_ref(m_widget);
 
     if (bitmap.Ok())
         SetBitmap(bitmap);