X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584ad2a32fec156c6049145d7ece9a33213aea28..8b1c2cf0c20099050f0ed7bbcfa3ef19123303ce:/include/wx/gtk1/listbox.h diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index 7974011566..ff8d595c6c 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -96,6 +96,9 @@ public: virtual void DoSetItemClientObject(int n, wxClientData* clientData); virtual wxClientData* DoGetItemClientObject(int n) const; + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation from now on void GtkAddItem( const wxString &item, int pos=-1 ); @@ -127,6 +130,10 @@ protected: // return the string label for the given item wxString GetRealLabel(struct _GList *item) const; + // Widgets that use the style->base colour for the BG colour should + // override this and return true. + virtual bool UseGTKStyleBase() const { return true; } + private: // this array is only used for controls with wxCB_SORT style, so only // allocate it if it's needed (hence using pointer)