]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/popupwin.cpp
setting the image position after the label is set, otherwise image_only will have...
[wxWidgets.git] / src / gtk1 / popupwin.cpp
index 26ed0610b5877f4425cc082708df7aafbcfd8301..908baae4045edb8ed3effdf7b3aa6f8afa04eaa8 100644 (file)
@@ -328,7 +328,7 @@ void wxPopupWindow::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int
     geom.max_width = m_width;
     geom.max_height = m_height;
     gtk_window_set_geometry_hints( GTK_WINDOW(m_widget),
-                                   (GtkWidget*) NULL,
+                                   NULL,
                                    &geom,
                                    (GdkWindowHints) flag );