X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8375af8ff97a3649361b988a40b991a8cdaab09..21f47fb900438b3e517184eace6b82ab74c2c474:/src/gtk/button.cpp diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index e9b395f835..61e1ad1396 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -71,11 +71,11 @@ gtk_button_style_set_callback( GtkWidget *m_widget, GtkStyle *WXUNUSED(style), w right_border += default_border->right; top_border += default_border->top; bottom_border += default_border->bottom; - g_free( default_border ); + gtk_border_free( default_border ); } win->MoveWindow( - win->m_x - top_border, - win->m_y - left_border, + win->m_x - left_border, + win->m_y - top_border, win->m_width + left_border + right_border, win->m_height + top_border + bottom_border); }