Have wxComboCtrl generate wxEVT_COMMAND_COMBOBOX_DROPDOWN and wxEVT_COMMAND_COMBOBOX_CLOSEUP events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,6 +304,12 @@ struct wxComboCtrlFeatures
|
||||
@event{EVT_TEXT_ENTER(id, func)}
|
||||
Process a wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in
|
||||
the combo control.
|
||||
@event{EVT_COMBOX_DROPDOWN(id, func)}
|
||||
Process a wxEVT_COMMAND_COMBOBOX_DROPDOWN event, which is generated
|
||||
when the popup window is shown (drops down).
|
||||
@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).
|
||||
@endEventTable
|
||||
|
||||
@library{wxbase}
|
||||
@@ -504,8 +510,12 @@ public:
|
||||
|
||||
/**
|
||||
Dismisses the popup window.
|
||||
|
||||
@param generateEvent
|
||||
Set this to @true in order to generate
|
||||
wxEVT_COMMAND_COMBOBOX_CLOSEUP event.
|
||||
*/
|
||||
virtual void HidePopup();
|
||||
virtual void HidePopup(bool generateEvent=false);
|
||||
|
||||
/**
|
||||
Returns @true if the popup is currently shown
|
||||
|
Reference in New Issue
Block a user