X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0847e36eff0512bf3c50c01e8d9dcff5e693ada5..ce38e440a6790c5e77306b0bb880cf7288f6bb6a:/include/wx/combo.h diff --git a/include/wx/combo.h b/include/wx/combo.h index 9a9ed7883b..c3699fae7c 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(); @@ -310,10 +310,10 @@ public: // Platform-specific default can be set with value-1. // Remarks // * This method may do nothing on some native implementations. - wxDEPRECTED( void SetTextIndent( int indent ) ); + wxDEPRECATED( void SetTextIndent( int indent ) ); // Returns actual indentation in pixels. - wxDEPRECTED( wxCoord GetTextIndent() const ); + wxDEPRECATED( wxCoord GetTextIndent() const ); #endif // Returns area covered by the text field. @@ -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