]> git.saurik.com Git - wxWidgets.git/commitdiff
Added useful comment to a code sample snippet
authorJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 4 Feb 2009 17:54:31 +0000 (17:54 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 4 Feb 2009 17:54:31 +0000 (17:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/combo.h

index 78a3dca7fc77038cb724bf3288502932ecee4ab0..604340e956e10136525e32d700877e5a0245ad11 100644 (file)
@@ -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