X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4ccedf7b28e60d8109ea412c34fb0f22a68afd4..6f02a879ed7efc5fcf6328ff47a1352ec82812b7:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index 35a665d9a0..89271ac2b4 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -86,10 +86,11 @@ gtk_button_style_set_callback( GtkWidget *m_widget, GtkStyle *WXUNUSED(style), w bottom_border += default_border->bottom; g_free( default_border ); } - win->DoMoveWindow( win->m_x-top_border, - win->m_y-left_border, - win->m_width+left_border+right_border, - win->m_height+top_border+bottom_border ); + win->MoveWindow( + win->m_x - top_border, + win->m_y - left_border, + win->m_width + left_border + right_border, + win->m_height + top_border + bottom_border); } return FALSE;