]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/minifram.cpp
Fixed a notebook crash and added more tests to sample.
[wxWidgets.git] / src / gtk / minifram.cpp
index e4267e0a7fc8875a49f174f8bf5dc43518efcf01..a749f18a8328afc8b20786acf4b9877995f3de38 100644 (file)
@@ -209,7 +209,8 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto
     gdk_window_get_origin( widget->window, &org_x, &org_y );
     x += org_x - win->m_diffX;
     y += org_y - win->m_diffY;
-    win->InternalSetPosition(x, y);
+    win->m_x = x;
+    win->m_y = y;
     gtk_widget_set_uposition( win->m_widget, x, y );
 
     return TRUE;