Hi!
The change below against the libtool branch is needed in order to
compile DX with the 1.2 Motif API. I haven't found out whether
XmNscrolledWindowChildType appeared in Motif 2.0 or 2.1, so in order to
be on the safe side, you might want to check the version against 2001
instead.
Regards,
Daniel.
--[snip]--
Index: Notebook.C
===================================================================
RCS file: /src/master/dx/src/uipp/base/Notebook.C,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 Notebook.C
--- Notebook.C 29 Apr 2003 23:35:45 -0000 1.1.2.3
+++ Notebook.C 16 May 2003 09:15:25 -0000
@@ -60,8 +60,10 @@
// I don't think this is necessary but it does follow the doc.
XtVaSetValues (this->scrolled_window,
XmNworkWindow, this->manager,
+#if (XmVersion >= 2000)
XmNscrolledWindowChildType, XmWORK_AREA,
- NULL);
+#endif
+ NULL);
this->index_of_selection = -1;
this->setRootWidget(form);