X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ae0bb792b13e17c62610245111c3ce7bf254464..21f60945831a6edad0f2101b6053a2c8213d5296:/include/wx/ctrlsub.h diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index d286d874f1..4108164ea1 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -150,6 +150,10 @@ public: // this wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST + // usually the controls like list/combo boxes have their own background + // colour + virtual bool ShouldInheritColours() const { return false; } + private: DECLARE_NO_COPY_CLASS(wxControlWithItems) };