]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ctrlsub.h
Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
[wxWidgets.git] / include / wx / ctrlsub.h
index d286d874f111653479f26d693d5574561a35297f..4108164ea1a01f577fba0576795cee5b516343ea 100644 (file)
@@ -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)
 };