X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/681be2ef80274e6c39b243922a594c59e4983dab..c2ba3059109e25f9705f617c38884dfbdd12de70:/include/wx/choicebk.h?ds=sidebyside diff --git a/include/wx/choicebk.h b/include/wx/choicebk.h index 4eb0652e81..0539b353dd 100644 --- a/include/wx/choicebk.h +++ b/include/wx/choicebk.h @@ -68,7 +68,7 @@ public: wxWindow *page, const wxString& text, bool bSelect = false, - int imageId = -1); + int imageId = NO_IMAGE); virtual int SetSelection(size_t n) { return DoSetSelection(n, SetSelection_SendEvent); } virtual int ChangeSelection(size_t n) { return DoSetSelection(n); } @@ -79,6 +79,11 @@ public: // returns the choice control wxChoice* GetChoiceCtrl() const { return (wxChoice*)m_bookctrl; } + // Override this to return true because the part of parent window + // background between our controlling wxChoice and the page area should + // show through. + virtual bool HasTransparentBackground() { return true; } + protected: virtual void DoSetWindowVariant(wxWindowVariant variant);