X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ae0bb792b13e17c62610245111c3ce7bf254464..878d055d0b7e6e733e4545b7c83404685e543866:/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) };