XmStringGenerate is available in Motif 2.0 and later.
Does anything run an earlier Motif these days? If not, we
can switch. If so, we'll have to leave it as-is or check
for the availability of the XmStringGenerate function in
configure and do #ifdef's in the code based on that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
then decide which to use in the code, or we could just
leave the code as-is until/unless XmStringCreateLtoR is
removed from Motif, at which point we can switch to
XmStringGenerate completely.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
wx_gui.c has an implementation of XmStringGenerate that was introduced in revision 1.53 in 2007. As no one has complained, it would suggest that we could convert everyone over if the need arises. A macro could be added to make the change immediately if XmStringCreateLtoR disappeared.
define XmCreateLtoR(a, b) XmStringGenerate(a, b, XmCHARSET_TEXT, NULL)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=448632
XmStringGenerate is available in Motif 2.0 and later.
Does anything run an earlier Motif these days? If not, we
can switch. If so, we'll have to leave it as-is or check
for the availability of the XmStringGenerate function in
configure and do #ifdef's in the code based on that.
Logged In: YES
user_id=1158379
google finds:
http://www.softlab.ntua.gr/miscellaneous/faq/motif/part3/faq-doc-10.html
Logged In: YES
user_id=448632
We could change configure.ac to add:
AC_CHECK_LIB([Xm], [XmStringGenerate])
then decide which to use in the code, or we could just
leave the code as-is until/unless XmStringCreateLtoR is
removed from Motif, at which point we can switch to
XmStringGenerate completely.
Logged In: YES
user_id=15729
Originator: NO
wx_gui.c has an implementation of XmStringGenerate that was introduced in revision 1.53 in 2007. As no one has complained, it would suggest that we could convert everyone over if the need arises. A macro could be added to make the change immediately if XmStringCreateLtoR disappeared.
define XmCreateLtoR(a, b) XmStringGenerate(a, b, XmCHARSET_TEXT, NULL)
The Xastir project no longer uses sourceforge for issue tracking and I am closing all open issues (all of which are very old).
If this issue is still important, please open a new one on https://github.com/Xastir/Xastir.