Implement wxComboBox::Popup() and Dismiss() for wxOSX/Cocoa.
Unlike in the other ports, these methods currently don't generate any events under OS X because these events are never generated at all there. Closes #12642. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -285,10 +285,11 @@ public:
|
||||
/**
|
||||
Shows the list box portion of the combo box.
|
||||
|
||||
Currently only implemented in wxMSW and wxGTK.
|
||||
Currently this method is implemented in wxMSW, wxGTK and wxOSX/Cocoa.
|
||||
|
||||
Notice that calling this function will generate a
|
||||
@c wxEVT_COMMAND_COMBOBOX_DROPDOWN event.
|
||||
@c wxEVT_COMMAND_COMBOBOX_DROPDOWN event except under wxOSX where
|
||||
generation of this event is not supported at all.
|
||||
|
||||
@since 2.9.1
|
||||
*/
|
||||
@@ -297,15 +298,16 @@ public:
|
||||
/**
|
||||
Hides the list box portion of the combo box.
|
||||
|
||||
Currently only implemented in wxMSW and wxGTK.
|
||||
Currently this method is implemented in wxMSW, wxGTK and wxOSX/Cocoa.
|
||||
|
||||
Notice that calling this function will generate a
|
||||
@c wxEVT_COMMAND_COMBOBOX_CLOSEUP event.
|
||||
@c wxEVT_COMMAND_COMBOBOX_CLOSEUP event except under wxOSX where
|
||||
generation of this event is not supported at all.
|
||||
|
||||
@since 2.9.1
|
||||
*/
|
||||
virtual void Dismiss();
|
||||
|
||||
|
||||
virtual int GetSelection() const;
|
||||
virtual void GetSelection(long *from, long *to) const;
|
||||
virtual void SetSelection(int n);
|
||||
|
Reference in New Issue
Block a user