]> git.saurik.com Git - wxWidgets.git/commitdiff
GTK2: gtk_widget_set_uposition -> gtk_window_move for wxMiniFrame. No, I don't like...
authorMart Raudsepp <leio@gentoo.org>
Sat, 4 Feb 2006 12:31:10 +0000 (12:31 +0000)
committerMart Raudsepp <leio@gentoo.org>
Sat, 4 Feb 2006 12:31:10 +0000 (12:31 +0000)
use my wm to move this minifram, but alas for now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/minifram.cpp

index d86921e0e67ed98391e40e8c5d09b28b7fb1cf15..27d3ec2e4ae2f9063bff887f6c3bec55362ad7ae 100644 (file)
@@ -188,7 +188,7 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto
     y += org_y - win->m_diffY;
     win->m_x = x;
     win->m_y = y;
-    gtk_widget_set_uposition( win->m_widget, x, y );
+    gtk_window_move( GTK_WINDOW(win->m_widget), x, y );
 
     return TRUE;
 }