X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fac46b97d649dd611fb189524d7ce5f66f99a89a..b9b1eec60482f45775ea28b035cf6e969efa877a:/include/wx/gtk/control.h?ds=sidebyside diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index eba1f5f4f5..ec6d0a0626 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -26,6 +26,7 @@ extern "C" { class WXDLLIMPEXP_CORE wxControl : public wxControlBase { + typedef wxControlBase base_type; public: wxControl(); wxControl(wxWindow *parent, wxWindowID id, @@ -43,8 +44,10 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxControlNameStr); - virtual wxVisualAttributes GetDefaultAttributes() const; +#ifdef __WXGTK3__ + virtual bool SetFont(const wxFont& font); +#endif protected: virtual wxSize DoGetBestSize() const;