X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a9fa0d6b59c5c299766b3ed71ccadeeebf3dbb8..6076b569f0b3eb2574df44a8711850555c17b601:/include/wx/gtk1/textctrl.h diff --git a/include/wx/gtk1/textctrl.h b/include/wx/gtk1/textctrl.h index 88ebbb41af..7ca89491e6 100644 --- a/include/wx/gtk1/textctrl.h +++ b/include/wx/gtk1/textctrl.h @@ -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();