diff --git a/docs/latex/wx/comboctrl.tex b/docs/latex/wx/comboctrl.tex index 07d9608518..22b4df0217 100644 --- a/docs/latex/wx/comboctrl.tex +++ b/docs/latex/wx/comboctrl.tex @@ -112,6 +112,7 @@ Here's how you would create and populate it in a dialog constructor: wxListViewComboPopup* popupCtrl = new wxListViewComboPopup(); + // It is important to call SetPopupControl() as soon as possible comboCtrl->SetPopupControl(popupCtrl); // Populate using wxListView methods