Fix using wrong variable in wxMotif DoSetSizeIntr().
Use y instead of using x twice. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3a87deed2a
commit
47187f84bb
@ -1252,8 +1252,8 @@ void wxWindow::DoSetSizeIntr(int x, int y, int width, int height,
|
||||
|
||||
if (x == -1)
|
||||
x = oldX;
|
||||
if (x == -1)
|
||||
x = oldY;
|
||||
if (y == -1)
|
||||
y = oldY;
|
||||
|
||||
if ( !(sizeFlags & wxSIZE_ALLOW_MINUS_ONE) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user