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:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
It can be displayed as static list with editable or read-only text field;
|
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
|
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
|
A combobox permits a single selection only. Combobox items are numbered
|
||||||
from zero.
|
from zero.
|
||||||
@@ -22,17 +22,19 @@
|
|||||||
wxOwnerDrawnComboBox, wxComboPopup and the ready-to-use wxBitmapComboBox.
|
wxOwnerDrawnComboBox, wxComboPopup and the ready-to-use wxBitmapComboBox.
|
||||||
|
|
||||||
Please refer to wxTextEntry documentation for the description of methods
|
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
|
@beginStyleTable
|
||||||
@style{wxCB_SIMPLE}
|
@style{wxCB_SIMPLE}
|
||||||
Creates a combobox with a permanently displayed list. Windows only.
|
Creates a combobox with a permanently displayed list. Windows only.
|
||||||
@style{wxCB_DROPDOWN}
|
@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}
|
@style{wxCB_READONLY}
|
||||||
Same as wxCB_DROPDOWN but only the strings specified as the combobox
|
A combobox with this style behaves like a wxChoice (and may look in
|
||||||
choices can be selected, it is impossible to select (even from a
|
the same way as well, although this is platform-dependent), i.e. it
|
||||||
program) a string which is not in the choices list.
|
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}
|
@style{wxCB_SORT}
|
||||||
Sorts the entries in the list alphabetically.
|
Sorts the entries in the list alphabetically.
|
||||||
@style{wxTE_PROCESS_ENTER}
|
@style{wxTE_PROCESS_ENTER}
|
||||||
|
Reference in New Issue
Block a user