From: Jaakko Salli Date: Wed, 4 Feb 2009 17:54:31 +0000 (+0000) Subject: Added useful comment to a code sample snippet X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5bc244b80257909a098f9f6cb60318b5f5c7e227 Added useful comment to a code sample snippet git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/combo.h b/interface/wx/combo.h index 78a3dca7fc..604340e956 100644 --- a/interface/wx/combo.h +++ b/interface/wx/combo.h @@ -264,6 +264,7 @@ struct wxComboCtrlFeatures wxListViewComboPopup* popupCtrl = new wxListViewComboPopup(); + // It is important to call SetPopupControl() as soon as possible comboCtrl->SetPopupControl(popupCtrl); // Populate using wxListView methods