fix reversed left/top variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2007-06-21 03:43:01 +00:00
parent d81f6eac73
commit 18ac7bef9e
2 changed files with 4 additions and 4 deletions

View File

@ -74,8 +74,8 @@ gtk_button_style_set_callback( GtkWidget *m_widget, GtkStyle *WXUNUSED(style), w
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);
}

View File

@ -2742,8 +2742,8 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags
}
}
DoMoveWindow( m_x-top_border,
m_y-left_border,
DoMoveWindow( m_x - left_border,
m_y - top_border,
m_width+left_border+right_border,
m_height+top_border+bottom_border );
}