improved rendering of styles and events sections: put the description of those items on new lines; put the prototype of event handlers on a separate line, too. This change requires that @event and @style macros are _not_ followed by a colon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,12 +22,12 @@
|
||||
@c wxGENERIC_BITMAPCOMBOBOX is defined.
|
||||
|
||||
@beginStyleTable
|
||||
@style{wxCB_READONLY}:
|
||||
@style{wxCB_READONLY}
|
||||
Creates a combobox without a text editor. On some platforms the
|
||||
control may appear very different when this style is used.
|
||||
@style{wxCB_SORT}:
|
||||
@style{wxCB_SORT}
|
||||
Sorts the entries in the list alphabetically.
|
||||
@style{wxTE_PROCESS_ENTER}:
|
||||
@style{wxTE_PROCESS_ENTER}
|
||||
The control will generate the event wxEVT_COMMAND_TEXT_ENTER
|
||||
(otherwise pressing Enter key is either processed internally by the
|
||||
control or used for navigation between dialog controls).
|
||||
@@ -37,12 +37,12 @@
|
||||
@todo create wxCB_PROCESS_ENTER rather than reusing wxTE_PROCESS_ENTER!
|
||||
|
||||
@beginEventTable{wxCommandEvent}
|
||||
@event{EVT_COMBOBOX(id, func)}:
|
||||
@event{EVT_COMBOBOX(id, func)}
|
||||
Process a wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on
|
||||
the list is selected.
|
||||
@event{EVT_TEXT(id, func)}:
|
||||
@event{EVT_TEXT(id, func)}
|
||||
Process a wxEVT_COMMAND_TEXT_UPDATED event, when the combobox text changes.
|
||||
@event{EVT_TEXT_ENTER(id, func)}:
|
||||
@event{EVT_TEXT_ENTER(id, func)}
|
||||
Process a wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in
|
||||
the combobox.
|
||||
@endEventTable
|
||||
|
Reference in New Issue
Block a user