From 1db02a5e5c7271c0d41bbdedf91728f644026420 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Dec 2010 13:18:52 +0000 Subject: [PATCH] Minor improvements to wxComboBox documentation. Mention that wxCB_DROPDOWN is MSW (and Motif...) specific and don't document the much more often used wxCB_READONLY in its terms, just describe it directly instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/combobox.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index 6dcefeebc2..314a30e24e 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -13,7 +13,7 @@ It can be displayed as static list with editable or read-only text field; or a drop-down list with text field; or a drop-down list without a text - field. + field depending on the platform and presence of wxCB_READONLY style. A combobox permits a single selection only. Combobox items are numbered from zero. @@ -22,17 +22,19 @@ wxOwnerDrawnComboBox, wxComboPopup and the ready-to-use wxBitmapComboBox. Please refer to wxTextEntry documentation for the description of methods - operating with the text entry part of the combobox. + operating with the text entry part of the combobox and to wxItemContainer + for the methods operating with the list of strings. @beginStyleTable @style{wxCB_SIMPLE} Creates a combobox with a permanently displayed list. Windows only. @style{wxCB_DROPDOWN} - Creates a combobox with a drop-down list. + Creates a combobox with a drop-down list. MSW and Motif only. @style{wxCB_READONLY} - Same as wxCB_DROPDOWN but only the strings specified as the combobox - choices can be selected, it is impossible to select (even from a - program) a string which is not in the choices list. + A combobox with this style behaves like a wxChoice (and may look in + the same way as well, although this is platform-dependent), i.e. it + allows the user to choose from the list of options but doesn't allow + to enter a value not present in the list. @style{wxCB_SORT} Sorts the entries in the list alphabetically. @style{wxTE_PROCESS_ENTER} -- 2.47.2