]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dnd.cpp
cleanup - reformatting; simplified OnPaint
[wxWidgets.git] / src / gtk / dnd.cpp
index a6922b83ee0e8a7b841ab00fb2398fa9eb2a11c3..b9e4d38b87ca2e409e4f00897583b446ddcf1c35 100644 (file)
@@ -822,7 +822,7 @@ void wxDropSource::PrepareIcon( int action, GdkDragContext *context )
 
     gtk_widget_pop_colormap ();
 
-    gtk_widget_set_usize (m_iconWindow, width, height);
+    gtk_widget_set_size_request (m_iconWindow, width, height);
     gtk_widget_realize (m_iconWindow);
 
     g_signal_connect (m_iconWindow, "configure_event",