[Cppcms-users] undefined reference to `cppcms::widgets::text::size(int)'
Brought to you by:
artyom-beilis
From: augustin <aug...@ov...> - 2010-08-19 06:03:26
|
Hello, In the example: cppcms/examples/forms/ in info_form::info_form(), calling name.size(int n); does not work. I get the compile error: undefined reference to `cppcms::widgets::text::size(int)' yet the function is defined here: http://art-blog.no- ip.info/cppcms_ref_v0_99/classcppcms_1_1widgets_1_1text.html#cdd6d081d3f17291ba374e75cf812e7b void cppcms::widgets::text::size ( int n ) Set html attribute size of the widget The following works, however: name.attributes_string("size='20'") See the attached patch. I am not sure if it's a bug in cppcms, or me who does things wrong. Cheers, Augustin. -- Friends: http://www.reuniting.info/ http://activistsolutions.org/ My projects: http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http://www.wechange.org/ http://searching911.info/ . |