[Motiftools-xmt-cvs] CVS: xmt Xmt.tmpl,1.6,1.7
Brought to you by:
motiftools
|
From: Grant M. <grm...@us...> - 2003-10-27 21:33:54
|
Update of /cvsroot/motiftools/xmt
In directory sc8-pr-cvs1:/tmp/cvs-serv23794
Modified Files:
Xmt.tmpl
Log Message:
Change XmtGetVisual/_XmtFetchVisual to handle case when called
with uninitialized widget. Also provide capability to handle non-standard widgets
with Visual resource
Index: Xmt.tmpl
===================================================================
RCS file: /cvsroot/motiftools/xmt/Xmt.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Xmt.tmpl 14 Aug 2003 02:25:25 -0000 1.6
--- Xmt.tmpl 27 Oct 2003 21:29:05 -0000 1.7
***************
*** 218,221 ****
--- 218,233 ----
USECOMPONENTDEFINES = /* -DUSE_XmSTRING_COMPONENT */
+ /*
+ * Define the variable below if you have some custom, non-shell
+ * widgets that have a Visual resource. This will allow
+ * XmtGetVisual to find the visual on these widgets.
+ *
+ * If this not defined, XmtGetVisual will only look at shell
+ * widgets.
+ *
+ * IF you don't understand what this is, leave it undefined.
+ */
+ USECOMPONENTDEFINES = /* -DSEARCHVISUAL */
+
/*
* If you want XmtFindFile to use something other than the default
|