X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/afa7bd1eef03eb167b7f70412f1b4ef08ad73138..5b008dd712dc781933629f19039587076094ed8a:/src/gtk/button.cpp?ds=sidebyside 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;