X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc35c728671d1220e38ddd02d4bc77cf63b6c437..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/bmpcbox.h diff --git a/interface/wx/bmpcbox.h b/interface/wx/bmpcbox.h index c5ba7aa7ff..573487538a 100644 --- a/interface/wx/bmpcbox.h +++ b/interface/wx/bmpcbox.h @@ -3,7 +3,7 @@ // Purpose: interface of wxBitmapComboBox // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -28,7 +28,7 @@ @style{wxCB_SORT} Sorts the entries in the list alphabetically. @style{wxTE_PROCESS_ENTER} - The control will generate the event wxEVT_COMMAND_TEXT_ENTER + The control will generate the event wxEVT_TEXT_ENTER (otherwise pressing Enter key is either processed internally by the control or used for navigation between dialog controls). Windows only. @@ -36,20 +36,20 @@ @todo create wxCB_PROCESS_ENTER rather than reusing wxTE_PROCESS_ENTER! - @beginEventTable{wxCommandEvent} + @beginEventEmissionTable{wxCommandEvent} @event{EVT_COMBOBOX(id, func)} - Process a wxEVT_COMMAND_COMBOBOX_SELECTED event, when an item on + Process a @c wxEVT_COMBOBOX event, when an item on the list is selected. @event{EVT_TEXT(id, func)} - Process a wxEVT_COMMAND_TEXT_UPDATED event, when the combobox text changes. + Process a @c wxEVT_TEXT event, when the combobox text changes. @event{EVT_TEXT_ENTER(id, func)} - Process a wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in + Process a @c wxEVT_TEXT_ENTER event, when RETURN is pressed in the combobox. @endEventTable @library{wxadv} @category{ctrl} - + @appearance{bitmapcombobox} @see wxComboBox, wxChoice, wxOwnerDrawnComboBox, wxCommandEvent */ @@ -70,10 +70,20 @@ public: Window identifier. The value wxID_ANY indicates a default value. @param value Initial selection string. An empty string indicates no selection. + @param pos + Initial position. + @param size + Initial size. @param n Number of strings with which to initialise the control. @param choices An array of strings with which to initialise the control. + @param style + The window style, see wxCB_* flags. + @param validator + Validator which can be used for additional data checks. + @param name + Control name. @see Create(), wxValidator */ @@ -96,8 +106,18 @@ public: Window identifier. The value wxID_ANY indicates a default value. @param value Initial selection string. An empty string indicates no selection. + @param pos + Initial position. + @param size + Initial size. @param choices An wxArrayString with which to initialise the control. + @param style + The window style, see wxCB_* flags. + @param validator + Validator which can be used for additional data checks. + @param name + Control name. @see Create(), wxValidator */ @@ -160,7 +180,8 @@ public: const wxString& name = wxBitmapComboBoxNameStr); /** - Returns size of bitmaps used in the list. + Returns the size of the bitmaps used in the combo box. + If the combo box is empty, then ::wxDefaultSize is returned. */ virtual wxSize GetBitmapSize() const;