another compilation fix for after last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2439,7 +2439,12 @@ void wxWindowBase::DoMoveInTabOrder(wxWindow *win, MoveKind move)
|
||||
// can't just move the node around
|
||||
wxWindow *self = (wxWindow *)this;
|
||||
siblings.DeleteObject(self);
|
||||
if ( move == MoveBefore || ((i = i->GetNext()) != siblings.end()) )
|
||||
if ( move == MoveAfter )
|
||||
{
|
||||
i = i->GetNext();
|
||||
}
|
||||
|
||||
if ( i )
|
||||
{
|
||||
siblings.Insert(i, self);
|
||||
}
|
||||
|
Reference in New Issue
Block a user