From 92a3b38d5fc2e44c0fe7764e77dc350d969fe145 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 9 Nov 2008 02:21:13 +0000 Subject: [PATCH] Added a missing text_field::set_style() to the spec file. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402646 --- dlib/gui_widgets/widgets_abstract.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dlib/gui_widgets/widgets_abstract.h b/dlib/gui_widgets/widgets_abstract.h index 679bf8ad2..8ee39d898 100644 --- a/dlib/gui_widgets/widgets_abstract.h +++ b/dlib/gui_widgets/widgets_abstract.h @@ -472,6 +472,20 @@ namespace dlib - all resources associated with *this have been released !*/ + template < + typename style_type + > + void set_style ( + const style_type& style + ); + /*! + requires + - style_type == a type that inherits from text_field_style + ensures + - this text_field object will draw itself using the given + text field style + !*/ + void set_text (const std::wstring& text); void set_text (const dlib::ustring& text); void set_text (