X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8933fbc62e616831f1708b063f6a369221b1934c..6a3f8b4f1f1c802df93ce7bc05588536cb7a4dad:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index 1e344758af..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} @@ -96,9 +97,10 @@ public: string must be one of the valid choices if it is not empty. @param pos Window position. + If ::wxDefaultPosition is specified then a default position is chosen. @param size - Window size. If wxDefaultSize is specified then the window is sized - appropriately. + Window size. + If ::wxDefaultSize is specified then the window is sized appropriately. @param n Number of strings with which to initialise the control. @param choices @@ -224,6 +226,9 @@ public: /** Sets the text for the combobox text field. + Notice that this method will generate a wxEVT_COMMAND_TEXT_UPDATED + event, use wxTextEntry::ChangeValue() if this is undesirable. + @note For a combobox with @c wxCB_READONLY style the string must be in the combobox choices list, otherwise the call to SetValue() is ignored.