From bb3400a8738a90b33a055e410cf02e34e66193bc Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Fri, 2 Oct 2009 14:15:35 +0000 Subject: [PATCH] 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 --- interface/wx/combo.h | 1 + interface/wx/combobox.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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} -- 2.50.0