libInit.cc
changeset 3255 129b6ef244d1
parent 3168 28fb3b933e4c
child 3376 fefe401577c3
--- a/libInit.cc	Fri Oct 19 16:24:08 2007 +0200
+++ b/libInit.cc	Fri Oct 19 16:24:10 2007 +0200
@@ -1,25 +1,20 @@
 /*
- * $Header: /cvs/stx/stx/libwidg2/libInit.cc,v 1.51 2007-01-12 19:17:30 stefan Exp $
+ * $Header: /cvs/stx/stx/libwidg2/libInit.cc,v 1.52 2007-10-19 14:24:10 cg Exp $
  *
  * DO NOT EDIT 
  * automagically generated from the projectDefinition: stx_libwidg2.
  */
 #define __INDIRECTVMINITCALLS__
 #include <stc.h>
-#define INIT_TEXT_SECT /* as nothing */
+
 #ifdef WIN32
 # pragma codeseg INITCODE "INITCODE"
-#else /* not WIN32 */
-# if defined(__GNUC__) && !defined(NO_SECTION_ATTRIBUTES)
-#  if (__GNUC__  == 2 && __GNUC_MINOR__ >= 7) || __GNUC__ > 2
-#   undef INIT_TEXT_SECT
-#   define INIT_TEXT_SECT __attribute__((section(".stxitext")))
-#  endif
-# endif /* not GNUC */
-#endif /* not WIN32 */
-#ifdef INIT_TEXT_SECT
-DLL_EXPORT extern void _libstx_libwidg2_Init() INIT_TEXT_SECT;
+#endif 
+
+#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
+DLL_EXPORT void _libstx_libwidg2_Init() INIT_TEXT_SECTION;
 #endif
+
 void _libstx_libwidg2_Init(pass, __pRT__, snd)
 OBJ snd; struct __vmData__ *__pRT__; {
 __BEGIN_PACKAGE2__("libstx_libwidg2", _libstx_libwidg2_Init, "stx:libwidg2");
@@ -37,6 +32,7 @@
 _ExtendedComboBox_Init(pass,__pRT__,snd);
 _FilenameEditField_Init(pass,__pRT__,snd);
 _FilenameEnterBox_Init(pass,__pRT__,snd);
+_FilenameWidgetWithHistory_Init(pass,__pRT__,snd);
 _GridBagConstraints_Init(pass,__pRT__,snd);
 _GridBagLayoutInfo_Init(pass,__pRT__,snd);
 _GridBagLayoutView_Init(pass,__pRT__,snd);