X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5885966f0c3fc428e2ee6111790efd209fffddb..eebb8902d970787df1e70b83e011ce051ebead21:/include/wx/combo.h diff --git a/include/wx/combo.h b/include/wx/combo.h index 1093a26f5d..797658c901 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -158,7 +158,7 @@ public: // show/hide popup window virtual void ShowPopup(); - virtual void HidePopup(); + virtual void HidePopup(bool generateEvent=false); // Override for totally custom combo action virtual void OnButtonClick(); @@ -303,7 +303,7 @@ public: const wxBitmap& bmpHover = wxNullBitmap, const wxBitmap& bmpDisabled = wxNullBitmap ); -#if WXWIN_COMPATIBILITY_2_6 +#if WXWIN_COMPATIBILITY_2_8 // // This will set the space in pixels between left edge of the control and the // text, regardless whether control is read-only (ie. no wxTextCtrl) or not. @@ -403,7 +403,7 @@ public: bool IsCreated() const { return m_iFlags & wxCC_IFLAG_CREATED ? true : false; } // common code to be called on popup hide/dismiss - void OnPopupDismiss(); + void OnPopupDismiss(bool generateEvent); // PopupShown states enum