From 5bc244b80257909a098f9f6cb60318b5f5c7e227 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 4 Feb 2009 17:54:31 +0000 Subject: [PATCH] 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 --- interface/wx/combo.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.45.2