X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fac46b97d649dd611fb189524d7ce5f66f99a89a..465de0be705e52c7f97e9bb6169af9d20a7f72a8:/include/wx/gtk/control.h 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;