From a783383c7d8297fd85393f165aa88b50197f12b8 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 4 Feb 2009 17:56:42 +0000 Subject: [PATCH] Added useful comment to a code sample snippet git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/comboctrl.tex | 1 + 1 file changed, 1 insertion(+) 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