X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/735a300a96764b6681ec7ac38bfc11ecceb0b054..2de77c6a543caf44069b275dd154d4fc692ad29d:/include/wx/combo.h diff --git a/include/wx/combo.h b/include/wx/combo.h index 3aa8a32c56..6a190e524a 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -142,6 +142,7 @@ struct wxComboCtrlFeatures class WXDLLIMPEXP_CORE wxComboCtrlBase : public wxControl { friend class wxComboPopup; + friend class wxComboPopupEvtHandler; public: // ctors and such wxComboCtrlBase() : wxControl() { Init(); } @@ -401,6 +402,10 @@ public: wxPoint GetMargins() const { return DoGetMargins(); } + // Set custom style flags for embedded wxTextCtrl. Usually must be used + // with two-step creation, before Create() call. + void SetTextCtrlStyle( int style ); + // Return internal flags wxUint32 GetInternalFlags() const { return m_iFlags; } @@ -583,7 +588,7 @@ protected: wxEvtHandler* m_toplevEvtHandler; // this is for the control in popup - wxEvtHandler* m_popupExtraHandler; + wxEvtHandler* m_popupEvtHandler; // this is for the popup window wxEvtHandler* m_popupWinEvtHandler; @@ -648,6 +653,9 @@ protected: // platform-dependant customization and other flags wxUint32 m_iFlags; + // custom style for m_text + int m_textCtrlStyle; + // draw blank button background under bitmap? bool m_blankButtonBg;