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
This commit is contained in:
Jaakko Salli
2009-10-02 14:15:35 +00:00
parent 5d8a7943f5
commit bb3400a873
2 changed files with 3 additions and 1 deletions

View File

@@ -310,6 +310,7 @@ struct wxComboCtrlFeatures
@event{EVT_COMBOX_CLOSEUP(id, func)} @event{EVT_COMBOX_CLOSEUP(id, func)}
Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated
when the popup window of the combo control disappears (closes up). when the popup window of the combo control disappears (closes up).
You should avoid adding or deleting items in this event.
@endEventTable @endEventTable
@library{wxbase} @library{wxbase}

View File

@@ -63,7 +63,8 @@
Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated
when the list box of the combo box disappears (closes up). This when the list box of the combo box disappears (closes up). This
event is only generated for the same platforms as 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 @endEventTable
@library{wxcore} @library{wxcore}