reset fg/bg colour and font to default if set to wxNullColour/Font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-18 08:02:01 +00:00
parent 29c749b8ba
commit 5edef14ec8
8 changed files with 108 additions and 282 deletions

View File

@@ -56,7 +56,7 @@ public:
virtual wxVisualAttributes GetDefaultAttributes() const;
protected:
virtual void ApplyWidgetStyle();
virtual void ApplyWidgetStyle(bool forceStyle = false);
// helper function to ease native widgets wrapping, called by
// ApplyWidgetStyle -- override this, not ApplyWidgetStyle
virtual void DoApplyWidgetStyle(GtkRcStyle *style);