]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/combobox.h
first raw revision
[wxWidgets.git] / interface / combobox.h
index a3d2dc584a6886ceade71500224b01280c856f9b..ac98f43f63142df4aa063cdc424a73c98a1e78b3 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        combobox.h
 /////////////////////////////////////////////////////////////////////////////
 // Name:        combobox.h
-// Purpose:     documentation for wxComboBox class
+// Purpose:     interface of wxComboBox
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -18,9 +18,8 @@
     A combobox permits a single selection only. Combobox items are numbered from
     zero.
 
     A combobox permits a single selection only. Combobox items are numbered from
     zero.
 
-    If you need a customized combobox, have a look at wxComboCtrl,
-    wxOwnerDrawnComboBox, wxComboPopup
-    and the ready-to-use wxBitmapComboBox.
+    If you need a customized combobox, have a look at wxComboCtrl, wxOwnerDrawnComboBox,
+    wxComboPopup and the ready-to-use wxBitmapComboBox.
 
     @beginStyleTable
     @style{wxCB_SIMPLE}:
 
     @beginStyleTable
     @style{wxCB_SIMPLE}:
@@ -40,7 +39,7 @@
            only.
     @endStyleTable
 
            only.
     @endStyleTable
 
-    @beginEventTable
+    @beginEventTable{wxCommandEvent}
     @event{EVT_COMBOBOX(id, func)}:
            Process a wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on
            the list is selected. Note that calling GetValue returns the new
     @event{EVT_COMBOBOX(id, func)}:
            Process a wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on
            the list is selected. Note that calling GetValue returns the new
@@ -58,8 +57,7 @@
     @category{ctrl}
     @appearance{combobox.png}
 
     @category{ctrl}
     @appearance{combobox.png}
 
-    @seealso
-    wxListBox, wxTextCtrl, wxChoice, wxCommandEvent
+    @see wxListBox, wxTextCtrl, wxChoice, wxCommandEvent
 */
 class wxComboBox : public wxControlWithItems
 {
 */
 class wxComboBox : public wxControlWithItems
 {
@@ -67,7 +65,7 @@ public:
     //@{
     /**
         Constructor, creating and showing a combobox.
     //@{
     /**
         Constructor, creating and showing a combobox.
-        
+
         @param parent
             Parent window. Must not be @NULL.
         @param id
         @param parent
             Parent window. Must not be @NULL.
         @param id
@@ -90,7 +88,7 @@ public:
             Window validator.
         @param name
             Window name.
             Window validator.
         @param name
             Window name.
-        
+
         @see Create(), wxValidator
     */
     wxComboBox();
         @see Create(), wxValidator
     */
     wxComboBox();
@@ -230,7 +228,7 @@ public:
 
     /**
         Removes the text between the two positions in the combobox text field.
 
     /**
         Removes the text between the two positions in the combobox text field.
-        
+
         @param from
             The first position.
         @param to
         @param from
             The first position.
         @param to
@@ -241,7 +239,7 @@ public:
     /**
         Replaces the text between two positions with the given text, in the combobox
         text field.
     /**
         Replaces the text between two positions with the given text, in the combobox
         text field.
-        
+
         @param from
             The first position.
         @param to
         @param from
             The first position.
         @param to
@@ -253,7 +251,7 @@ public:
 
     /**
         Sets the insertion point in the combobox text field.
 
     /**
         Sets the insertion point in the combobox text field.
-        
+
         @param pos
             The new insertion point.
     */
         @param pos
             The new insertion point.
     */
@@ -266,7 +264,7 @@ public:
 
     /**
         Selects the text between the two positions, in the combobox text field.
 
     /**
         Selects the text between the two positions, in the combobox text field.
-        
+
         @param from
             The first position.
         @param to
         @param from
             The first position.
         @param to
@@ -276,9 +274,10 @@ public:
 
     /**
         Sets the text for the combobox text field.
 
     /**
         Sets the text for the combobox text field.
-        @b NB: For a combobox with @c wxCB_READONLY style the string must be in
-        the combobox choices list, otherwise the call to SetValue() is ignored.
-        
+
+        @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.
+
         @param text
             The text to set.
     */
         @param text
             The text to set.
     */
@@ -289,3 +288,4 @@ public:
     */
     void Undo();
 };
     */
     void Undo();
 };
+