Fix up a comment.

This commit is contained in:
Jay Nabonne
2019-02-07 11:39:26 +00:00
parent 541e7af374
commit 6dfc243b27

View File

@@ -167,8 +167,10 @@ private:
return;
}
//QT doesnt update the selection until this singal has been processed. //Defering this event ensures
//that wxTreeCtrl::GetSelection returns the new selection in the wx event handler.
// QT doesn't update the selection until this signal has been
// 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));
wxPostEvent(treeCtrl, changedEvent);
}