Fix up a comment.
This commit is contained in:
@@ -167,8 +167,10 @@ private:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//QT doesnt update the selection until this singal has been processed. //Defering this event ensures
|
// QT doesn't update the selection until this signal has been
|
||||||
//that wxTreeCtrl::GetSelection returns the new selection in the wx event handler.
|
// processed. Deferring this event ensures that
|
||||||
|
// wxTreeCtrl::GetSelection returns the new selection in the
|
||||||
|
// wx event handler.
|
||||||
wxTreeEvent changedEvent(wxEVT_TREE_SEL_CHANGED, treeCtrl, wxQtConvertTreeItem(current));
|
wxTreeEvent changedEvent(wxEVT_TREE_SEL_CHANGED, treeCtrl, wxQtConvertTreeItem(current));
|
||||||
wxPostEvent(treeCtrl, changedEvent);
|
wxPostEvent(treeCtrl, changedEvent);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user