From: Jaakko Salli Date: Fri, 2 Oct 2009 14:15:35 +0000 (+0000) Subject: Added note about dangers of adding and deleting items in wxEVT_COMMAND_COMBOBOX_CLOSE... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bb3400a8738a90b33a055e410cf02e34e66193bc?ds=inline Added note about dangers of adding and deleting items in wxEVT_COMMAND_COMBOBOX_CLOSEUP (works only on wxMSW) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/combo.h b/interface/wx/combo.h index 38ef1f9342..25e1ef7756 100644 --- a/interface/wx/combo.h +++ b/interface/wx/combo.h @@ -310,6 +310,7 @@ struct wxComboCtrlFeatures @event{EVT_COMBOX_CLOSEUP(id, func)} Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated when the popup window of the combo control disappears (closes up). + You should avoid adding or deleting items in this event. @endEventTable @library{wxbase} diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index 93e7f3eee7..1cdc7125aa 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -63,7 +63,8 @@ Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated when the list box of the combo box disappears (closes up). This event is only generated for the same platforms as - wxEVT_COMMAND_COMBOBOX_DROPDOWN above. + wxEVT_COMMAND_COMBOBOX_DROPDOWN above. Also note that only wxMSW + supports adding or deleting items in this event. @endEventTable @library{wxcore}