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
This commit is contained in:
Vadim Zeitlin 2010-12-25 13:18:52 +00:00
parent 5bf7b950a4
commit 1db02a5e5c

View File

@ -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}