Get(Class)DefaultAttributes() for wxGTK controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-06 17:26:25 +00:00
parent 3cfd077ff8
commit 9d522606d0
84 changed files with 852 additions and 34 deletions

View File

@@ -162,6 +162,9 @@ public:
// should we ignore the changed signal? always resets the flag
bool IgnoreTextUpdate();
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
protected:
virtual wxSize DoGetBestSize() const;
@@ -175,6 +178,10 @@ protected:
// scroll position changed
bool DoScroll(GtkAdjustment *adj, int diff);
// Widgets that use the style->base colour for the BG colour should
// override this and return true.
virtual bool UseGTKStyleBase() const { return true; }
private:
// change the font for everything in this control
void ChangeFontGlobally();