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:
parent
d81f6eac73
commit
18ac7bef9e
@ -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);
|
||||
}
|
||||
|
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user