X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba1e9d6cede4073faf42e3e290a030965a2205c3..68379eaf0ae64d105f8244b1db83e793f7dd83b0:/include/wx/univ/combobox.h diff --git a/include/wx/univ/combobox.h b/include/wx/univ/combobox.h index 52fa4b46b8..13c5302326 100644 --- a/include/wx/univ/combobox.h +++ b/include/wx/univ/combobox.h @@ -20,7 +20,7 @@ down list, not just a wxListBox. So we define a base wxComboControl which can use any control as pop down - list and wxComboBox deriving from it which implements the standard wxWindows + list and wxComboBox deriving from it which implements the standard wxWidgets combobox API. wxComboControl needs to be told somehow which control to use and this is done by SetPopupControl(). However, we need something more than just a wxControl in this method as, for example, we need to call @@ -77,7 +77,7 @@ public: // called before showing the control to set the initial selection - notice // that the text passed to this method might not correspond to any valid // item (if the user edited it directly), in which case the method should - // just return FALSE but not emit any errors + // just return false but not emit any errors virtual bool SetSelection(const wxString& value) = 0; // called immediately after the control is shown @@ -137,7 +137,7 @@ public: void ShowPopup(); void HidePopup(); - // return TRUE if the popup is currently shown + // return true if the popup is currently shown bool IsPopupShown() const { return m_isPopupShown; } // get the popup window containing the popup control @@ -159,8 +159,8 @@ public: virtual void OnDismiss(); // forward these functions to all subcontrols - virtual bool Enable(bool enable = TRUE); - virtual bool Show(bool show = TRUE); + virtual bool Enable(bool enable = true); + virtual bool Show(bool show = true); #if wxUSE_TOOLTIPS virtual void DoSetToolTip( wxToolTip *tip );