/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 4.0.1
 *
 * This file is not intended to be easily readable and contains a number of
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG
 * interface file instead.
 * ----------------------------------------------------------------------------- */


#ifndef SWIGRUBY
#define SWIGRUBY
#endif



#ifdef __cplusplus
/* SwigValueWrapper is described in swig.swg */
template<typename T> class SwigValueWrapper {
  struct SwigMovePointer {
    T *ptr;
    SwigMovePointer(T *p) : ptr(p) { }
    ~SwigMovePointer() { delete ptr; }
    SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
  } pointer;
  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
public:
  SwigValueWrapper() : pointer(0) { }
  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
  operator T&() const { return *pointer.ptr; }
  T *operator&() { return pointer.ptr; }
};

template <typename T> T SwigValueInit() {
  return T();
}
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# else
#  define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__))
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__))
# else
#   define SWIGUNUSED
# endif
#endif

#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if defined(__GNUC__)
#  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#    ifndef GCC_HASCLASSVISIBILITY
#      define GCC_HASCLASSVISIBILITY
#    endif
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif

/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif

/* Intel's compiler complains if a variable which was never initialised is
 * cast to void, which is a common idiom which we use to indicate that we
 * are aware a variable isn't used.  So we just silence that warning.
 * See: https://github.com/swig/swig/issues/192 for more discussion.
 */
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif

/* -----------------------------------------------------------------------------
 *  This section contains generic SWIG labels for method/variable
 *  declarations/attributes, and other compiler dependent labels.
 * ----------------------------------------------------------------------------- */

/* template workaround for compilers that cannot correctly implement the C++ standard */
#ifndef SWIGTEMPLATEDISAMBIGUATOR
# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# else
#  define SWIGTEMPLATEDISAMBIGUATOR
# endif
#endif

/* inline attribute */
#ifndef SWIGINLINE
# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
#   define SWIGINLINE inline
# else
#   define SWIGINLINE
# endif
#endif

/* attribute recognised by some compilers to avoid 'unused' warnings */
#ifndef SWIGUNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define SWIGUNUSED __attribute__ ((__unused__))
#   else
#     define SWIGUNUSED
#   endif
# elif defined(__ICC)
#   define SWIGUNUSED __attribute__ ((__unused__))
# else
#   define SWIGUNUSED
# endif
#endif

#ifndef SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# endif
#endif

#ifndef SWIGUNUSEDPARM
# ifdef __cplusplus
#   define SWIGUNUSEDPARM(p)
# else
#   define SWIGUNUSEDPARM(p) p SWIGUNUSED
# endif
#endif

/* internal SWIG method */
#ifndef SWIGINTERN
# define SWIGINTERN static SWIGUNUSED
#endif

/* internal inline SWIG method */
#ifndef SWIGINTERNINLINE
# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
#endif

/* exporting methods */
#if defined(__GNUC__)
#  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
#    ifndef GCC_HASCLASSVISIBILITY
#      define GCC_HASCLASSVISIBILITY
#    endif
#  endif
#endif

#ifndef SWIGEXPORT
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   if defined(STATIC_LINKED)
#     define SWIGEXPORT
#   else
#     define SWIGEXPORT __declspec(dllexport)
#   endif
# else
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
#     define SWIGEXPORT __attribute__ ((visibility("default")))
#   else
#     define SWIGEXPORT
#   endif
# endif
#endif

/* calling conventions for Windows */
#ifndef SWIGSTDCALL
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
#   define SWIGSTDCALL __stdcall
# else
#   define SWIGSTDCALL
# endif
#endif

/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif

/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif

/* Intel's compiler complains if a variable which was never initialised is
 * cast to void, which is a common idiom which we use to indicate that we
 * are aware a variable isn't used.  So we just silence that warning.
 * See: https://github.com/swig/swig/issues/192 for more discussion.
 */
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif

/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic C API SWIG runtime support for pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

/* This should only be incremented when either the layout of swig_type_info changes,
   or for whatever reason, the runtime changes incompatibly */
#define SWIG_RUNTIME_VERSION "4"

/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
#ifdef SWIG_TYPE_TABLE
# define SWIG_QUOTE_STRING(x) #x
# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
#else
# define SWIG_TYPE_TABLE_NAME
#endif

/*
  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
  creating a static or dynamic library from the SWIG runtime code.
  In 99.9% of the cases, SWIG just needs to declare them as 'static'.

  But only do this if strictly necessary, ie, if you have problems
  with your compiler or suchlike.
*/

#ifndef SWIGRUNTIME
# define SWIGRUNTIME SWIGINTERN
#endif

#ifndef SWIGRUNTIMEINLINE
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
#endif

/*  Generic buffer size */
#ifndef SWIG_BUFFER_SIZE
# define SWIG_BUFFER_SIZE 1024
#endif

/* Flags for pointer conversions */
#define SWIG_POINTER_DISOWN        0x1
#define SWIG_CAST_NEW_MEMORY       0x2
#define SWIG_POINTER_NO_NULL       0x4

/* Flags for new pointer objects */
#define SWIG_POINTER_OWN           0x1


/*
   Flags/methods for returning states.

   The SWIG conversion methods, as ConvertPtr, return an integer
   that tells if the conversion was successful or not. And if not,
   an error code can be returned (see swigerrors.swg for the codes).

   Use the following macros/flags to set or process the returning
   states.

   In old versions of SWIG, code such as the following was usually written:

     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
       // success code
     } else {
       //fail code
     }

   Now you can be more explicit:

    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
    } else {
      // fail code
    }

   which is the same really, but now you can also do

    Type *ptr;
    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    if (SWIG_IsOK(res)) {
      // success code
      if (SWIG_IsNewObj(res) {
        ...
	delete *ptr;
      } else {
        ...
      }
    } else {
      // fail code
    }

   I.e., now SWIG_ConvertPtr can return new objects and you can
   identify the case and take care of the deallocation. Of course that
   also requires SWIG_ConvertPtr to return new result values, such as

      int SWIG_ConvertPtr(obj, ptr,...) {
        if (<obj is ok>) {
          if (<need new object>) {
            *ptr = <ptr to new allocated object>;
            return SWIG_NEWOBJ;
          } else {
            *ptr = <ptr to old object>;
            return SWIG_OLDOBJ;
          }
        } else {
          return SWIG_BADOBJ;
        }
      }

   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
   SWIG errors code.

   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
   allows to return the 'cast rank', for example, if you have this

       int food(double)
       int fooi(int);

   and you call

      food(1)   // cast rank '1'  (1 -> 1.0)
      fooi(1)   // cast rank '0'

   just use the SWIG_AddCast()/SWIG_CheckState()
*/

#define SWIG_OK                    (0)
#define SWIG_ERROR                 (-1)
#define SWIG_IsOK(r)               (r >= 0)
#define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)

/* The CastRankLimit says how many bits are used for the cast rank */
#define SWIG_CASTRANKLIMIT         (1 << 8)
/* The NewMask denotes the object was created (using new/malloc) */
#define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
/* The TmpMask is for in/out typemaps that use temporal objects */
#define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
/* Simple returning values */
#define SWIG_BADOBJ                (SWIG_ERROR)
#define SWIG_OLDOBJ                (SWIG_OK)
#define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
#define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
/* Check, add and del mask methods */
#define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
#define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
#define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
#define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
#define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))

/* Cast-Rank Mode */
#if defined(SWIG_CASTRANK_MODE)
#  ifndef SWIG_TypeRank
#    define SWIG_TypeRank             unsigned long
#  endif
#  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
#    define SWIG_MAXCASTRANK          (2)
#  endif
#  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
#  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
SWIGINTERNINLINE int SWIG_AddCast(int r) {
  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
}
SWIGINTERNINLINE int SWIG_CheckState(int r) {
  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
}
#else /* no cast-rank mode */
#  define SWIG_AddCast(r) (r)
#  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif


#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef void *(*swig_converter_func)(void *, int *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store information on one type */
typedef struct swig_type_info {
  const char             *name;			/* mangled name of this type */
  const char             *str;			/* human readable name of this type */
  swig_dycast_func        dcast;		/* dynamic cast function down a hierarchy */
  struct swig_cast_info  *cast;			/* linked list of types that can cast into this type */
  void                   *clientdata;		/* language specific type data */
  int                    owndata;		/* flag if the structure owns the clientdata */
} swig_type_info;

/* Structure to store a type and conversion function used for casting */
typedef struct swig_cast_info {
  swig_type_info         *type;			/* pointer to type that is equivalent to this type */
  swig_converter_func     converter;		/* function to cast the void pointers */
  struct swig_cast_info  *next;			/* pointer to next cast in linked list */
  struct swig_cast_info  *prev;			/* pointer to the previous cast */
} swig_cast_info;

/* Structure used to store module information
 * Each module generates one structure like this, and the runtime collects
 * all of these structures and stores them in a circularly linked list.*/
typedef struct swig_module_info {
  swig_type_info         **types;		/* Array of pointers to swig_type_info structures that are in this module */
  size_t                 size;		        /* Number of types in this module */
  struct swig_module_info *next;		/* Pointer to next element in circularly linked list */
  swig_type_info         **type_initial;	/* Array of initially generated type structures */
  swig_cast_info         **cast_initial;	/* Array of initially generated casting structures */
  void                    *clientdata;		/* Language specific module data */
} swig_module_info;

/*
  Compare two type names skipping the space characters, therefore
  "char*" == "char *" and "Class<int>" == "Class<int >", etc.

  Return 0 when the two name types are equivalent, as in
  strncmp, but skipping ' '.
*/
SWIGRUNTIME int
SWIG_TypeNameComp(const char *f1, const char *l1,
		  const char *f2, const char *l2) {
  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
    while ((*f1 == ' ') && (f1 != l1)) ++f1;
    while ((*f2 == ' ') && (f2 != l2)) ++f2;
    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
  }
  return (int)((l1 - f1) - (l2 - f2));
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
*/
SWIGRUNTIME int
SWIG_TypeCmp(const char *nb, const char *tb) {
  int equiv = 1;
  const char* te = tb + strlen(tb);
  const char* ne = nb;
  while (equiv != 0 && *ne) {
    for (nb = ne; *ne; ++ne) {
      if (*ne == '|') break;
    }
    equiv = SWIG_TypeNameComp(nb, ne, tb, te);
    if (*ne) ++ne;
  }
  return equiv;
}

/*
  Check type equivalence in a name list like <name1>|<name2>|...
  Return 0 if not equal, 1 if equal
*/
SWIGRUNTIME int
SWIG_TypeEquiv(const char *nb, const char *tb) {
  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
}

/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (strcmp(iter->type->name, c) == 0) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

/*
  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (iter->type == from) {
        if (iter == ty->cast)
          return iter;
        /* Move iter to the top of the linked list */
        iter->prev->next = iter->next;
        if (iter->next)
          iter->next->prev = iter->prev;
        iter->next = ty->cast;
        iter->prev = 0;
        if (ty->cast) ty->cast->prev = iter;
        ty->cast = iter;
        return iter;
      }
      iter = iter->next;
    }
  }
  return 0;
}

/*
  Cast a pointer up an inheritance hierarchy
*/
SWIGRUNTIMEINLINE void *
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
}

/*
   Dynamic pointer casting. Down an inheritance hierarchy
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
  swig_type_info *lastty = ty;
  if (!ty || !ty->dcast) return ty;
  while (ty && (ty->dcast)) {
    ty = (*ty->dcast)(ptr);
    if (ty) lastty = ty;
  }
  return lastty;
}

/*
  Return the name associated with this type
*/
SWIGRUNTIMEINLINE const char *
SWIG_TypeName(const swig_type_info *ty) {
  return ty->name;
}

/*
  Return the pretty name associated with this type,
  that is an unmangled type name in a form presentable to the user.
*/
SWIGRUNTIME const char *
SWIG_TypePrettyName(const swig_type_info *type) {
  /* The "str" field contains the equivalent pretty names of the
     type, separated by vertical-bar characters.  We choose
     to print the last name, as it is often (?) the most
     specific. */
  if (!type) return NULL;
  if (type->str != NULL) {
    const char *last_name = type->str;
    const char *s;
    for (s = type->str; *s; s++)
      if (*s == '|') last_name = s+1;
    return last_name;
  }
  else
    return type->name;
}

/*
   Set the clientdata field for a type
*/
SWIGRUNTIME void
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
  swig_cast_info *cast = ti->cast;
  /* if (ti->clientdata == clientdata) return; */
  ti->clientdata = clientdata;

  while (cast) {
    if (!cast->converter) {
      swig_type_info *tc = cast->type;
      if (!tc->clientdata) {
	SWIG_TypeClientData(tc, clientdata);
      }
    }
    cast = cast->next;
  }
}
SWIGRUNTIME void
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
  SWIG_TypeClientData(ti, clientdata);
  ti->owndata = 1;
}

/*
  Search for a swig_type_info structure only by mangled name
  Search is a O(log #types)

  We start searching at module start, and finish searching when start == end.
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_MangledTypeQueryModule(swig_module_info *start,
                            swig_module_info *end,
		            const char *name) {
  swig_module_info *iter = start;
  do {
    if (iter->size) {
      size_t l = 0;
      size_t r = iter->size - 1;
      do {
	/* since l+r >= 0, we can (>> 1) instead (/ 2) */
	size_t i = (l + r) >> 1;
	const char *iname = iter->types[i]->name;
	if (iname) {
	  int compare = strcmp(name, iname);
	  if (compare == 0) {
	    return iter->types[i];
	  } else if (compare < 0) {
	    if (i) {
	      r = i - 1;
	    } else {
	      break;
	    }
	  } else if (compare > 0) {
	    l = i + 1;
	  }
	} else {
	  break; /* should never happen */
	}
      } while (l <= r);
    }
    iter = iter->next;
  } while (iter != end);
  return 0;
}

/*
  Search for a swig_type_info structure for either a mangled name or a human readable name.
  It first searches the mangled names of the types, which is a O(log #types)
  If a type is not found it then searches the human readable names, which is O(#types).

  We start searching at module start, and finish searching when start == end.
  Note: if start == end at the beginning of the function, we go all the way around
  the circular list.
*/
SWIGRUNTIME swig_type_info *
SWIG_TypeQueryModule(swig_module_info *start,
                     swig_module_info *end,
		     const char *name) {
  /* STEP 1: Search the name field using binary search */
  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
  if (ret) {
    return ret;
  } else {
    /* STEP 2: If the type hasn't been found, do a complete search
       of the str field (the human readable name) */
    swig_module_info *iter = start;
    do {
      size_t i = 0;
      for (; i < iter->size; ++i) {
	if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
	  return iter->types[i];
      }
      iter = iter->next;
    } while (iter != end);
  }

  /* neither found a match */
  return 0;
}

/*
   Pack binary data into a string
*/
SWIGRUNTIME char *
SWIG_PackData(char *c, void *ptr, size_t sz) {
  static const char hex[17] = "0123456789abcdef";
  const unsigned char *u = (unsigned char *) ptr;
  const unsigned char *eu =  u + sz;
  for (; u != eu; ++u) {
    unsigned char uu = *u;
    *(c++) = hex[(uu & 0xf0) >> 4];
    *(c++) = hex[uu & 0xf];
  }
  return c;
}

/*
   Unpack binary data from a string
*/
SWIGRUNTIME const char *
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  unsigned char *u = (unsigned char *) ptr;
  const unsigned char *eu = u + sz;
  for (; u != eu; ++u) {
    char d = *(c++);
    unsigned char uu;
    if ((d >= '0') && (d <= '9'))
      uu = (unsigned char)((d - '0') << 4);
    else if ((d >= 'a') && (d <= 'f'))
      uu = (unsigned char)((d - ('a'-10)) << 4);
    else
      return (char *) 0;
    d = *(c++);
    if ((d >= '0') && (d <= '9'))
      uu |= (unsigned char)(d - '0');
    else if ((d >= 'a') && (d <= 'f'))
      uu |= (unsigned char)(d - ('a'-10));
    else
      return (char *) 0;
    *u = uu;
  }
  return c;
}

/*
   Pack 'void *' into a string buffer.
*/
SWIGRUNTIME char *
SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  char *r = buff;
  if ((2*sizeof(void *) + 2) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,&ptr,sizeof(void *));
  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
  strcpy(r,name);
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      *ptr = (void *) 0;
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sizeof(void *));
}

SWIGRUNTIME char *
SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  char *r = buff;
  size_t lname = (name ? strlen(name) : 0);
  if ((2*sz + 2 + lname) > bsz) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r,ptr,sz);
  if (lname) {
    strncpy(r,name,lname+1);
  } else {
    *r = 0;
  }
  return buff;
}

SWIGRUNTIME const char *
SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
  if (*c != '_') {
    if (strcmp(c,"NULL") == 0) {
      memset(ptr,0,sz);
      return name;
    } else {
      return 0;
    }
  }
  return SWIG_UnpackData(++c,ptr,sz);
}

#ifdef __cplusplus
}
#endif

/*  Errors in SWIG */
#define  SWIG_UnknownError    	   -1
#define  SWIG_IOError        	   -2
#define  SWIG_RuntimeError   	   -3
#define  SWIG_IndexError     	   -4
#define  SWIG_TypeError      	   -5
#define  SWIG_DivisionByZero 	   -6
#define  SWIG_OverflowError  	   -7
#define  SWIG_SyntaxError    	   -8
#define  SWIG_ValueError     	   -9
#define  SWIG_SystemError    	   -10
#define  SWIG_AttributeError 	   -11
#define  SWIG_MemoryError    	   -12
#define  SWIG_NullReferenceError   -13



      #include <ruby.h>

      #if defined(RB_METHOD_DEFINITION_DECL)
      # define RUBY_VALUE_METHOD_FUNC(func) (func)
      # define RUBY_INT_METHOD_FUNC(func) (func)
      # define RUBY_VOID_METHOD_FUNC(func) (func)
      # define RUBY_VOIDP_METHOD_FUNC(func) (func)
      #else
      # define RUBY_VALUE_METHOD_FUNC(func) ((VALUE (*)(ANYARGS))(func))
      # define RUBY_INT_METHOD_FUNC(func) ((int (*)(ANYARGS))(func))
      # define RUBY_VOID_METHOD_FUNC(func) ((void (*)(ANYARGS))(func))
      # define RUBY_VOIDP_METHOD_FUNC(func) ((void *(*)(ANYARGS))(func))
      #endif


/* Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which
 * breaks using rb_intern as an lvalue, as SWIG does.  We work around this
 * issue for now by disabling this.
 * https://sourceforge.net/tracker/?func=detail&aid=2859614&group_id=1645&atid=101645
 */
#ifdef rb_intern
# undef rb_intern
#endif

/* Remove global macros defined in Ruby's win32.h */
#ifdef write
# undef write
#endif
#ifdef read
# undef read
#endif
#ifdef bind
# undef bind
#endif
#ifdef close
# undef close
#endif
#ifdef connect
# undef connect
#endif


/* Ruby 1.7 defines NUM2LL(), LL2NUM() and ULL2NUM() macros */
#ifndef NUM2LL
#define NUM2LL(x) NUM2LONG((x))
#endif
#ifndef LL2NUM
#define LL2NUM(x) INT2NUM((long) (x))
#endif
#ifndef ULL2NUM
#define ULL2NUM(x) UINT2NUM((unsigned long) (x))
#endif

/* Ruby 1.7 doesn't (yet) define NUM2ULL() */
#ifndef NUM2ULL
#ifdef HAVE_LONG_LONG
#define NUM2ULL(x) rb_num2ull((x))
#else
#define NUM2ULL(x) NUM2ULONG(x)
#endif
#endif

/* RSTRING_LEN, etc are new in Ruby 1.9, but ->ptr and ->len no longer work */
/* Define these for older versions so we can just write code the new way */
#ifndef RSTRING_LEN
# define RSTRING_LEN(x) RSTRING(x)->len
#endif
#ifndef RSTRING_PTR
# define RSTRING_PTR(x) RSTRING(x)->ptr
#endif
#ifndef RSTRING_END
# define RSTRING_END(x) (RSTRING_PTR(x) + RSTRING_LEN(x))
#endif
#ifndef RARRAY_LEN
# define RARRAY_LEN(x) RARRAY(x)->len
#endif
#ifndef RARRAY_PTR
# define RARRAY_PTR(x) RARRAY(x)->ptr
#endif
#ifndef RFLOAT_VALUE
# define RFLOAT_VALUE(x) RFLOAT(x)->value
#endif
#ifndef DOUBLE2NUM
# define DOUBLE2NUM(x) rb_float_new(x)
#endif
#ifndef RHASH_TBL
# define RHASH_TBL(x) (RHASH(x)->tbl)
#endif
#ifndef RHASH_ITER_LEV
# define RHASH_ITER_LEV(x) (RHASH(x)->iter_lev)
#endif
#ifndef RHASH_IFNONE
# define RHASH_IFNONE(x) (RHASH(x)->ifnone)
#endif
#ifndef RHASH_SIZE
# define RHASH_SIZE(x) (RHASH(x)->tbl->num_entries)
#endif
#ifndef RHASH_EMPTY_P
# define RHASH_EMPTY_P(x) (RHASH_SIZE(x) == 0)
#endif
#ifndef RSTRUCT_LEN
# define RSTRUCT_LEN(x) RSTRUCT(x)->len
#endif
#ifndef RSTRUCT_PTR
# define RSTRUCT_PTR(x) RSTRUCT(x)->ptr
#endif
#ifndef RTYPEDDATA_P
# define RTYPEDDATA_P(x) (TYPE(x) != T_DATA)
#endif



/*
 * The following macros are used for providing the correct type of a
 * function pointer to the Ruby C API.
 * Starting with Ruby 2.7 (corresponding to RB_METHOD_DEFINITION_DECL being
 * defined) these macros act transparently due to Ruby's moving away from
 * ANYARGS and instead employing strict function signatures.
 *
 * Note: In case of C (not C++) the macros are transparent even before
 * Ruby 2.7 due to the fact that the Ruby C API used function declarators
 * with empty parentheses, which allows for an unspecified number of
 * arguments.
 *
 * PROTECTFUNC(f) is used for the function pointer argument of the Ruby
 * C API function rb_protect().
 *
 * VALUEFUNC(f) is used for the function pointer argument(s) of Ruby C API
 * functions like rb_define_method() and rb_define_singleton_method().
 *
 * VOIDFUNC(f) is used to typecast a C function that implements either
 * the "mark" or "free" stuff for a Ruby Data object, so that it can be
 * passed as an argument to Ruby C API functions like Data_Wrap_Struct()
 * and Data_Make_Struct().
 *
 * SWIG_RUBY_VOID_ANYARGS_FUNC(f) is used for the function pointer
 * argument(s) of Ruby C API functions like rb_define_virtual_variable().
 *
 * SWIG_RUBY_INT_ANYARGS_FUNC(f) is used for the function pointer
 * argument(s) of Ruby C API functions like st_foreach().
 */
#if defined(__cplusplus) && !defined(RB_METHOD_DEFINITION_DECL)
#  define PROTECTFUNC(f) ((VALUE (*)(VALUE)) f)
#  define VALUEFUNC(f) ((VALUE (*)(ANYARGS)) f)
#  define VOIDFUNC(f) ((RUBY_DATA_FUNC) f)
#  define SWIG_RUBY_VOID_ANYARGS_FUNC(f) ((void (*)(ANYARGS))(f))
#  define SWIG_RUBY_INT_ANYARGS_FUNC(f) ((int (*)(ANYARGS))(f))
#else
#  define PROTECTFUNC(f) (f)
#  define VALUEFUNC(f) (f)
#  define VOIDFUNC(f) (f)
#  define SWIG_RUBY_VOID_ANYARGS_FUNC(f) (f)
#  define SWIG_RUBY_INT_ANYARGS_FUNC(f) (f)
#endif

/* Don't use for expressions have side effect */
#ifndef RB_STRING_VALUE
#define RB_STRING_VALUE(s) (TYPE(s) == T_STRING ? (s) : (*(volatile VALUE *)&(s) = rb_str_to_str(s)))
#endif
#ifndef StringValue
#define StringValue(s) RB_STRING_VALUE(s)
#endif
#ifndef StringValuePtr
#define StringValuePtr(s) RSTRING_PTR(RB_STRING_VALUE(s))
#endif
#ifndef StringValueLen
#define StringValueLen(s) RSTRING_LEN(RB_STRING_VALUE(s))
#endif
#ifndef SafeStringValue
#define SafeStringValue(v) do {\
    StringValue(v);\
    rb_check_safe_str(v);\
} while (0)
#endif

#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
#define rb_define_alloc_func(klass, func) rb_define_singleton_method((klass), "new", VALUEFUNC((func)), -1)
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
#endif

static VALUE _mSWIG = Qnil;

/* -----------------------------------------------------------------------------
 * error manipulation
 * ----------------------------------------------------------------------------- */


/* Define some additional error types */
#define SWIG_ObjectPreviouslyDeletedError  -100


/* Define custom exceptions for errors that do not map to existing Ruby
   exceptions.  Note this only works for C++ since a global cannot be
   initialized by a function in C.  For C, fallback to rb_eRuntimeError.*/

SWIGINTERN VALUE 
getNullReferenceError(void) {
  static int init = 0;
  static VALUE rb_eNullReferenceError ;
  if (!init) {
    init = 1;
    rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
  }
  return rb_eNullReferenceError;
} 

SWIGINTERN VALUE 
getObjectPreviouslyDeletedError(void) {
  static int init = 0;
  static VALUE rb_eObjectPreviouslyDeleted ;
  if (!init) {
    init = 1;
    rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
  }
  return rb_eObjectPreviouslyDeleted;
} 


SWIGINTERN VALUE
SWIG_Ruby_ErrorType(int SWIG_code) {
  VALUE type;
  switch (SWIG_code) {
  case SWIG_MemoryError:
    type = rb_eNoMemError;
    break;
  case SWIG_IOError:
    type = rb_eIOError;
    break;
  case SWIG_RuntimeError:
    type = rb_eRuntimeError;
    break;
  case SWIG_IndexError:
    type = rb_eIndexError;
    break;
  case SWIG_TypeError:
    type = rb_eTypeError;
    break;
  case SWIG_DivisionByZero:
    type = rb_eZeroDivError;
    break;
  case SWIG_OverflowError:
    type = rb_eRangeError;
    break;
  case SWIG_SyntaxError:
    type = rb_eSyntaxError;
    break;
  case SWIG_ValueError:
    type = rb_eArgError;
    break;
  case SWIG_SystemError:
    type = rb_eFatal;
    break;
  case SWIG_AttributeError:
    type = rb_eRuntimeError;
    break;
  case SWIG_NullReferenceError:
    type = getNullReferenceError();
    break;
  case SWIG_ObjectPreviouslyDeletedError:
    type = getObjectPreviouslyDeletedError();
    break;
  case SWIG_UnknownError:
    type = rb_eRuntimeError;
    break;
  default:
    type = rb_eRuntimeError;
  }
  return type;
}


/* This function is called when a user inputs a wrong argument to
   a method.
 */
SWIGINTERN 
const char* Ruby_Format_TypeError( const char* msg,
				   const char* type, 
				   const char* name, 
				   const int argn,
				   VALUE input )
{
  char buf[128];
  VALUE str;
  VALUE asStr;
  if ( msg && *msg )
    {
      str = rb_str_new2(msg);
    }
  else
    {
      str = rb_str_new(NULL, 0);
    }

  str = rb_str_cat2( str, "Expected argument " );
  sprintf( buf, "%d of type ", argn-1 );
  str = rb_str_cat2( str, buf );
  str = rb_str_cat2( str, type );
  str = rb_str_cat2( str, ", but got " );
  str = rb_str_cat2( str, rb_obj_classname(input) );
  str = rb_str_cat2( str, " " );
  asStr = rb_inspect(input);
  if ( RSTRING_LEN(asStr) > 30 )
    {
      str = rb_str_cat( str, StringValuePtr(asStr), 30 );
      str = rb_str_cat2( str, "..." );
    }
  else
    {
      str = rb_str_append( str, asStr );
    }

  if ( name )
    {
      str = rb_str_cat2( str, "\n\tin SWIG method '" );
      str = rb_str_cat2( str, name );
      str = rb_str_cat2( str, "'" );
    }

  return StringValuePtr( str );
}

/* This function is called when an overloaded method fails */
SWIGINTERN 
void Ruby_Format_OverloadedError(
				 const int argc,
				 const int maxargs,
				 const char* method, 
				 const char* prototypes 
				 )
{
  const char* msg = "Wrong # of arguments";
  if ( argc <= maxargs ) msg = "Wrong arguments";
  rb_raise(rb_eArgError,"%s for overloaded method '%s'.\n"  
	   "Possible C/C++ prototypes are:\n%s",
	   msg, method, prototypes);
}

/* -----------------------------------------------------------------------------
 * rubytracking.swg
 *
 * This file contains support for tracking mappings from
 * Ruby objects to C++ objects.  This functionality is needed
 * to implement mark functions for Ruby's mark and sweep
 * garbage collector.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#endif

#if !defined(ST_DATA_T_DEFINED)
/* Needs to be explicitly included for Ruby 1.8 and earlier */
#include <st.h>
#endif

/* Ruby 1.8 actually assumes the first case. */
#if SIZEOF_VOIDP == SIZEOF_LONG
#  define SWIG2NUM(v) LONG2NUM((unsigned long)v)
#  define NUM2SWIG(x) (unsigned long)NUM2LONG(x)
#elif SIZEOF_VOIDP == SIZEOF_LONG_LONG
#  define SWIG2NUM(v) LL2NUM((unsigned long long)v)
#  define NUM2SWIG(x) (unsigned long long)NUM2LL(x)
#else
#  error sizeof(void*) is not the same as long or long long
#endif

/* Global hash table to store Trackings from C/C++
   structs to Ruby Objects.
*/
static st_table* swig_ruby_trackings = NULL;

static VALUE swig_ruby_trackings_count(ID id, VALUE *var) {
  return SWIG2NUM(swig_ruby_trackings->num_entries);
}


/* Setup a hash table to store Trackings */
SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
  /* Create a hash table to store Trackings from C++
     objects to Ruby objects. */

  /* Try to see if some other .so has already created a
     tracking hash table, which we keep hidden in an instance var
     in the SWIG module.
     This is done to allow multiple DSOs to share the same
     tracking table.
  */
  VALUE trackings_value = Qnil;
  /* change the variable name so that we can mix modules
     compiled with older SWIG's - this used to be called "@__trackings__" */
  ID trackings_id = rb_intern( "@__safetrackings__" );
  VALUE verbose = rb_gv_get("VERBOSE");
  rb_gv_set("VERBOSE", Qfalse);
  trackings_value = rb_ivar_get( _mSWIG, trackings_id );
  rb_gv_set("VERBOSE", verbose);

  /* The trick here is that we have to store the hash table
  pointer in a Ruby variable. We do not want Ruby's GC to
  treat this pointer as a Ruby object, so we convert it to
  a Ruby numeric value. */
  if (trackings_value == Qnil) {
    /* No, it hasn't.  Create one ourselves */
    swig_ruby_trackings = st_init_numtable();
    rb_ivar_set( _mSWIG, trackings_id, SWIG2NUM(swig_ruby_trackings) );
  } else {
    swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
  }

  rb_define_virtual_variable("SWIG_TRACKINGS_COUNT",
                             VALUEFUNC(swig_ruby_trackings_count),
                             SWIG_RUBY_VOID_ANYARGS_FUNC((rb_gvar_setter_t*)NULL));
}

/* Add a Tracking from a C/C++ struct to a Ruby object */
SWIGRUNTIME void SWIG_RubyAddTracking(void* ptr, VALUE object) {
  /* Store the mapping to the global hash table. */
  st_insert(swig_ruby_trackings, (st_data_t)ptr, object);
}

/* Get the Ruby object that owns the specified C/C++ struct */
SWIGRUNTIME VALUE SWIG_RubyInstanceFor(void* ptr) {
  /* Now lookup the value stored in the global hash table */
  VALUE value;

  if (st_lookup(swig_ruby_trackings, (st_data_t)ptr, &value)) {
    return value;
  } else {
    return Qnil;
  }
}

/* Remove a Tracking from a C/C++ struct to a Ruby object.  It
   is very important to remove objects once they are destroyed
   since the same memory address may be reused later to create
   a new object. */
SWIGRUNTIME void SWIG_RubyRemoveTracking(void* ptr) {
  /* Delete the object from the hash table */
  st_delete(swig_ruby_trackings, (st_data_t *)&ptr, NULL);
}

/* This is a helper method that unlinks a Ruby object from its
   underlying C++ object.  This is needed if the lifetime of the
   Ruby object is longer than the C++ object. */
SWIGRUNTIME void SWIG_RubyUnlinkObjects(void* ptr) {
  VALUE object = SWIG_RubyInstanceFor(ptr);

  if (object != Qnil) {
    // object might have the T_ZOMBIE type, but that's just
    // because the GC has flagged it as such for a deferred
    // destruction. Until then, it's still a T_DATA object.
    DATA_PTR(object) = 0;
  }
}

/* This is a helper method that iterates over all the trackings
   passing the C++ object pointer and its related Ruby object
   to the passed callback function. */

/* Proxy method to abstract the internal trackings datatype */
static int swig_ruby_internal_iterate_callback(st_data_t ptr, st_data_t obj, st_data_t meth) {
  ((void (*) (void *, VALUE))meth)((void *)ptr, (VALUE)obj);
  return ST_CONTINUE;
}

SWIGRUNTIME void SWIG_RubyIterateTrackings( void(*meth)(void* ptr, VALUE obj) ) {
  st_foreach(swig_ruby_trackings,
             SWIG_RUBY_INT_ANYARGS_FUNC(swig_ruby_internal_iterate_callback),
             (st_data_t)meth);
}

#ifdef __cplusplus
}
#endif

/* -----------------------------------------------------------------------------
 * Ruby API portion that goes into the runtime
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#endif

SWIGINTERN VALUE
SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
  if (NIL_P(target)) {
    target = o;
  } else {
    if (TYPE(target) != T_ARRAY) {
      VALUE o2 = target;
      target = rb_ary_new();
      rb_ary_push(target, o2);
    }
    rb_ary_push(target, o);
  }
  return target;
}

/* For ruby1.8.4 and earlier. */
#ifndef RUBY_INIT_STACK
   RUBY_EXTERN void Init_stack(VALUE* addr);
#  define RUBY_INIT_STACK \
   VALUE variable_in_this_stack_frame; \
   Init_stack(&variable_in_this_stack_frame);
#endif


#ifdef __cplusplus
}
#endif


/* -----------------------------------------------------------------------------
 * rubyrun.swg
 *
 * This file contains the runtime support for Ruby modules
 * and includes code for managing global variables and pointer
 * type checking.
 * ----------------------------------------------------------------------------- */

/* For backward compatibility only */
#define SWIG_POINTER_EXCEPTION  0

/* for raw pointers */
#define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Ruby_ConvertPtrAndOwn(obj, pptr, type, flags, own)
#define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Ruby_NewPointerObj(ptr, type, flags)
#define SWIG_AcquirePtr(ptr, own)                       SWIG_Ruby_AcquirePtr(ptr, own)
#define swig_owntype                                    swig_ruby_owntype

/* for raw packed data */
#define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
#define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Ruby_NewPackedObj(ptr, sz, type)

/* for class or struct pointers */
#define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
#define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)

/* for C or C++ function pointers */
#define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
#define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)

/* for C++ member pointers, ie, member methods */
#define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty)
#define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Ruby_NewPackedObj(ptr, sz, type)


/* Runtime API */

#define SWIG_GetModule(clientdata)                      SWIG_Ruby_GetModule(clientdata)
#define SWIG_SetModule(clientdata, pointer) 		SWIG_Ruby_SetModule(pointer)


/* Error manipulation */

#define SWIG_ErrorType(code)                            SWIG_Ruby_ErrorType(code)               
#define SWIG_Error(code, msg)            		rb_raise(SWIG_Ruby_ErrorType(code), "%s", msg)
#define SWIG_fail                        		goto fail				 


/* Ruby-specific SWIG API */

#define SWIG_InitRuntime()                              SWIG_Ruby_InitRuntime()              
#define SWIG_define_class(ty)                        	SWIG_Ruby_define_class(ty)
#define SWIG_NewClassInstance(value, ty)             	SWIG_Ruby_NewClassInstance(value, ty)
#define SWIG_MangleStr(value)                        	SWIG_Ruby_MangleStr(value)		  
#define SWIG_CheckConvert(value, ty)                 	SWIG_Ruby_CheckConvert(value, ty)	  

#include "assert.h"

/* -----------------------------------------------------------------------------
 * pointers/data manipulation
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
  VALUE klass;
  VALUE mImpl;
  void  (*mark)(void *);
  void  (*destroy)(void *);
  int trackObjects;
} swig_class;


/* Global pointer used to keep some internal SWIG stuff */
static VALUE _cSWIG_Pointer = Qnil;
static VALUE swig_runtime_data_type_pointer = Qnil;

/* Global IDs used to keep some internal SWIG stuff */
static ID swig_arity_id = 0;
static ID swig_call_id  = 0;

/*
  If your swig extension is to be run within an embedded ruby and has
  director callbacks, you should set -DRUBY_EMBEDDED during compilation.  
  This will reset ruby's stack frame on each entry point from the main 
  program the first time a virtual director function is invoked (in a 
  non-recursive way).
  If this is not done, you run the risk of Ruby trashing the stack.
*/

#ifdef RUBY_EMBEDDED

#  define SWIG_INIT_STACK                            \
      if ( !swig_virtual_calls ) { RUBY_INIT_STACK } \
      ++swig_virtual_calls;
#  define SWIG_RELEASE_STACK --swig_virtual_calls;
#  define Ruby_DirectorTypeMismatchException(x) \
          rb_raise( rb_eTypeError, "%s", x ); return c_result;

      static unsigned int swig_virtual_calls = 0;

#else  /* normal non-embedded extension */

#  define SWIG_INIT_STACK
#  define SWIG_RELEASE_STACK
#  define Ruby_DirectorTypeMismatchException(x) \
          throw Swig::DirectorTypeMismatchException( x );

#endif  /* RUBY_EMBEDDED */


SWIGRUNTIME VALUE 
getExceptionClass(void) {
  static int init = 0;
  static VALUE rubyExceptionClass ;
  if (!init) {
    init = 1;
    rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
  }
  return rubyExceptionClass;
} 

/* This code checks to see if the Ruby object being raised as part
   of an exception inherits from the Ruby class Exception.  If so,
   the object is simply returned.  If not, then a new Ruby exception
   object is created and that will be returned to Ruby.*/
SWIGRUNTIME VALUE
SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
  VALUE exceptionClass = getExceptionClass();
  if (rb_obj_is_kind_of(obj, exceptionClass)) {
    return obj;
  }  else {
    return rb_exc_new3(rb_eRuntimeError, rb_obj_as_string(obj));
  }
}

/* Initialize Ruby runtime support */
SWIGRUNTIME void
SWIG_Ruby_InitRuntime(void)
{
  if (_mSWIG == Qnil) {
    _mSWIG = rb_define_module("SWIG");
    swig_call_id  = rb_intern("call");
    swig_arity_id = rb_intern("arity");
  }
}

/* Define Ruby class for C type */
SWIGRUNTIME void
SWIG_Ruby_define_class(swig_type_info *type)
{
  char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
  sprintf(klass_name, "TYPE%s", type->name);
  if (NIL_P(_cSWIG_Pointer)) {
    _cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
    rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
  }
  rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
  free((void *) klass_name);
}

/* Create a new pointer object */
SWIGRUNTIME VALUE
SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
{
  int own =  flags & SWIG_POINTER_OWN; 
  int track;
  char *klass_name;
  swig_class *sklass;
  VALUE klass;
  VALUE obj;

  if (!ptr)
    return Qnil;

  assert(type);
  if (type->clientdata) {
    sklass = (swig_class *) type->clientdata;
		
    /* Are we tracking this class and have we already returned this Ruby object? */
    track = sklass->trackObjects;
    if (track) {
      obj = SWIG_RubyInstanceFor(ptr);

      /* Check the object's type and make sure it has the correct type.
        It might not in cases where methods do things like 
        downcast methods. */
      if (obj != Qnil) {
        VALUE value = rb_iv_get(obj, "@__swigtype__");
        const char* type_name = RSTRING_PTR(value);
				
        if (strcmp(type->name, type_name) == 0) {
          return obj;
        }
      }
    }

    /* Create a new Ruby object */
    obj = Data_Wrap_Struct(sklass->klass, VOIDFUNC(sklass->mark), 
			   ( own ? VOIDFUNC(sklass->destroy) : 
			     (track ? VOIDFUNC(SWIG_RubyRemoveTracking) : 0 )
			     ), ptr);

    /* If tracking is on for this class then track this object. */
    if (track) {
      SWIG_RubyAddTracking(ptr, obj);
    }
  } else {
    klass_name = (char *) malloc(4 + strlen(type->name) + 1);
    sprintf(klass_name, "TYPE%s", type->name);
    klass = rb_const_get(_mSWIG, rb_intern(klass_name));
    free((void *) klass_name);
    obj = Data_Wrap_Struct(klass, 0, 0, ptr);
  }
  rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));

  return obj;
}

/* Create a new class instance (always owned) */
SWIGRUNTIME VALUE
SWIG_Ruby_NewClassInstance(VALUE klass, swig_type_info *type)
{
  VALUE obj;
  swig_class *sklass = (swig_class *) type->clientdata;
  obj = Data_Wrap_Struct(klass, VOIDFUNC(sklass->mark), VOIDFUNC(sklass->destroy), 0);
  rb_iv_set(obj, "@__swigtype__", rb_str_new2(type->name));
  return obj;
}

/* Get type mangle from class name */
SWIGRUNTIMEINLINE char *
SWIG_Ruby_MangleStr(VALUE obj)
{
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
  return StringValuePtr(stype);
}

/* Acquire a pointer value */
typedef struct {
  void (*datafree)(void *);
  int own;
} swig_ruby_owntype;

SWIGRUNTIME swig_ruby_owntype
SWIG_Ruby_AcquirePtr(VALUE obj, swig_ruby_owntype own) {
  swig_ruby_owntype oldown = {0, 0};
  if (TYPE(obj) == T_DATA && !RTYPEDDATA_P(obj)) {
    oldown.datafree = RDATA(obj)->dfree;
    RDATA(obj)->dfree = own.datafree;
  }
  return oldown;
}

/* Convert a pointer value */
SWIGRUNTIME int
SWIG_Ruby_ConvertPtrAndOwn(VALUE obj, void **ptr, swig_type_info *ty, int flags, swig_ruby_owntype *own)
{
  char *c;
  swig_cast_info *tc;
  void *vptr = 0;

  /* Grab the pointer */
  if (NIL_P(obj)) {
    if (ptr)
      *ptr = 0;
    return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
  } else {
    if (TYPE(obj) != T_DATA || (TYPE(obj) == T_DATA && RTYPEDDATA_P(obj))) {
      return SWIG_ERROR;
    }
    Data_Get_Struct(obj, void, vptr);
  }
  
  if (own) {
    own->datafree = RDATA(obj)->dfree;
    own->own = 0;
  }
    
  /* Check to see if the input object is giving up ownership
     of the underlying C struct or C++ object.  If so then we
     need to reset the destructor since the Ruby object no 
     longer owns the underlying C++ object.*/ 
  if (flags & SWIG_POINTER_DISOWN) {
    /* Is tracking on for this class? */
    int track = 0;
    if (ty && ty->clientdata) {
      swig_class *sklass = (swig_class *) ty->clientdata;
      track = sklass->trackObjects;
    }
		
    if (track) {
      /* We are tracking objects for this class.  Thus we change the destructor
       * to SWIG_RubyRemoveTracking.  This allows us to
       * remove the mapping from the C++ to Ruby object
       * when the Ruby object is garbage collected.  If we don't
       * do this, then it is possible we will return a reference 
       * to a Ruby object that no longer exists thereby crashing Ruby. */
      RDATA(obj)->dfree = SWIG_RubyRemoveTracking;
    } else {    
      RDATA(obj)->dfree = 0;
    }
  }

  /* Do type-checking if type info was provided */
  if (ty) {
    if (ty->clientdata) {
      if (rb_obj_is_kind_of(obj, ((swig_class *) (ty->clientdata))->klass)) {
        if (vptr == 0) {
          /* The object has already been deleted */
          return SWIG_ObjectPreviouslyDeletedError;
        }
      }
    }
    if ((c = SWIG_MangleStr(obj)) == NULL) {
      return SWIG_ERROR;
    }
    tc = SWIG_TypeCheck(c, ty);
    if (!tc) {
      return SWIG_ERROR;
    } else {
      if (ptr) {
        if (tc->type == ty) {
          *ptr = vptr;
        } else {
          int newmemory = 0;
          *ptr = SWIG_TypeCast(tc, vptr, &newmemory);
          if (newmemory == SWIG_CAST_NEW_MEMORY) {
            assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
            if (own)
              own->own = own->own | SWIG_CAST_NEW_MEMORY;
          }
        }
      }
    }
  } else {
    if (ptr)
      *ptr = vptr;
  }
  
  return SWIG_OK;
}

/* Check convert */
SWIGRUNTIMEINLINE int
SWIG_Ruby_CheckConvert(VALUE obj, swig_type_info *ty)
{
  char *c = SWIG_MangleStr(obj);
  if (!c) return 0;
  return SWIG_TypeCheck(c,ty) != 0;
}

SWIGRUNTIME VALUE
SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
  char result[1024];
  char *r = result;
  if ((2*sz + 1 + strlen(type->name)) > 1000) return 0;
  *(r++) = '_';
  r = SWIG_PackData(r, ptr, sz);
  strcpy(r, type->name);
  return rb_str_new2(result);
}

/* Convert a packed pointer value */
SWIGRUNTIME int
SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
  swig_cast_info *tc;
  const char  *c;

  if (TYPE(obj) != T_STRING) goto type_error;
  c = StringValuePtr(obj);
  /* Pointer values must start with leading underscore */
  if (*c != '_') goto type_error;
  c++;
  c = SWIG_UnpackData(c, ptr, sz);
  if (ty) {
    tc = SWIG_TypeCheck(c, ty);
    if (!tc) goto type_error;
  }
  return SWIG_OK;

 type_error:
  return SWIG_ERROR;
}

SWIGRUNTIME swig_module_info *
SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
{
  VALUE pointer;
  swig_module_info *ret = 0;
  VALUE verbose = rb_gv_get("VERBOSE");

 /* temporarily disable warnings, since the pointer check causes warnings with 'ruby -w' */
  rb_gv_set("VERBOSE", Qfalse);
  
  /* first check if pointer already created */
  pointer = rb_gv_get("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
  if (pointer != Qnil) {
    Data_Get_Struct(pointer, swig_module_info, ret);
  }

  /* reinstate warnings */
  rb_gv_set("VERBOSE", verbose);
  return ret;
}

SWIGRUNTIME void 
SWIG_Ruby_SetModule(swig_module_info *pointer)
{
  /* register a new class */
  VALUE cl = rb_define_class("swig_runtime_data", rb_cObject);
  /* create and store the structure pointer to a global variable */
  swig_runtime_data_type_pointer = Data_Wrap_Struct(cl, 0, 0, pointer);
  rb_define_readonly_variable("$swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, &swig_runtime_data_type_pointer);
}

/* This function can be used to check whether a proc or method or similarly
   callable function has been passed.  Usually used in a %typecheck, like:

   %typecheck(c_callback_t, precedence=SWIG_TYPECHECK_POINTER) {
        $result = SWIG_Ruby_isCallable( $input );
   }
 */
SWIGINTERN
int SWIG_Ruby_isCallable( VALUE proc )
{
  if ( rb_respond_to( proc, swig_call_id ) )
    return 1;
  return 0;
}

/* This function can be used to check the arity (number of arguments)
   a proc or method can take.  Usually used in a %typecheck.
   Valid arities will be that equal to minimal or those < 0
   which indicate a variable number of parameters at the end.
 */
SWIGINTERN
int SWIG_Ruby_arity( VALUE proc, int minimal )
{
  if ( rb_respond_to( proc, swig_arity_id ) )
    {
      VALUE num = rb_funcall( proc, swig_arity_id, 0 );
      int arity = NUM2INT(num);
      if ( arity < 0 && (arity+1) < -minimal ) return 1;
      if ( arity == minimal ) return 1;
      return 1;
    }
  return 0;
}


#ifdef __cplusplus
}
#endif



#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 

#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 



  #define SWIG_exception(code, msg) do { SWIG_Error(code, msg);; } while(0) 


/* -------- TYPES TABLE (BEGIN) -------- */

#define SWIGTYPE_p_FXAccelTable swig_types[0]
#define SWIGTYPE_p_FXApp swig_types[1]
#define SWIGTYPE_p_FXArrowButton swig_types[2]
#define SWIGTYPE_p_FXBitmap swig_types[3]
#define SWIGTYPE_p_FXBitmapFrame swig_types[4]
#define SWIGTYPE_p_FXCURCursor swig_types[5]
#define SWIGTYPE_p_FXColorBar swig_types[6]
#define SWIGTYPE_p_FXColorRing swig_types[7]
#define SWIGTYPE_p_FXColorWell swig_types[8]
#define SWIGTYPE_p_FXColorWheel swig_types[9]
#define SWIGTYPE_p_FXComposite swig_types[10]
#define SWIGTYPE_p_FXCursor swig_types[11]
#define SWIGTYPE_p_FXDataTarget swig_types[12]
#define SWIGTYPE_p_FXDebugTarget swig_types[13]
#define SWIGTYPE_p_FXDelegator swig_types[14]
#define SWIGTYPE_p_FXDial swig_types[15]
#define SWIGTYPE_p_FXDict swig_types[16]
#define SWIGTYPE_p_FXDocument swig_types[17]
#define SWIGTYPE_p_FXDrawable swig_types[18]
#define SWIGTYPE_p_FXFileDict swig_types[19]
#define SWIGTYPE_p_FXFileStream swig_types[20]
#define SWIGTYPE_p_FXFont swig_types[21]
#define SWIGTYPE_p_FXFrame swig_types[22]
#define SWIGTYPE_p_FXGIFCursor swig_types[23]
#define SWIGTYPE_p_FXGradient swig_types[24]
#define SWIGTYPE_p_FXGradientBar swig_types[25]
#define SWIGTYPE_p_FXHeader swig_types[26]
#define SWIGTYPE_p_FXHeaderItem swig_types[27]
#define SWIGTYPE_p_FXHorizontalSeparator swig_types[28]
#define SWIGTYPE_p_FXIcon swig_types[29]
#define SWIGTYPE_p_FXIconDict swig_types[30]
#define SWIGTYPE_p_FXId swig_types[31]
#define SWIGTYPE_p_FXImage swig_types[32]
#define SWIGTYPE_p_FXImageFrame swig_types[33]
#define SWIGTYPE_p_FXKnob swig_types[34]
#define SWIGTYPE_p_FXMainWindow swig_types[35]
#define SWIGTYPE_p_FXMemoryStream swig_types[36]
#define SWIGTYPE_p_FXObject swig_types[37]
#define SWIGTYPE_p_FXPopup swig_types[38]
#define SWIGTYPE_p_FXProgressBar swig_types[39]
#define SWIGTYPE_p_FXRealSlider swig_types[40]
#define SWIGTYPE_p_FXRecentFiles swig_types[41]
#define SWIGTYPE_p_FXRegion swig_types[42]
#define SWIGTYPE_p_FXRegistry swig_types[43]
#define SWIGTYPE_p_FXRootWindow swig_types[44]
#define SWIGTYPE_p_FXRuler swig_types[45]
#define SWIGTYPE_p_FXSeparator swig_types[46]
#define SWIGTYPE_p_FXSettings swig_types[47]
#define SWIGTYPE_p_FXShell swig_types[48]
#define SWIGTYPE_p_FXSlider swig_types[49]
#define SWIGTYPE_p_FXSplashWindow swig_types[50]
#define SWIGTYPE_p_FXStatusLine swig_types[51]
#define SWIGTYPE_p_FXStream swig_types[52]
#define SWIGTYPE_p_FXStringDict swig_types[53]
#define SWIGTYPE_p_FXTextField swig_types[54]
#define SWIGTYPE_p_FXToolBarTab swig_types[55]
#define SWIGTYPE_p_FXTopWindow swig_types[56]
#define SWIGTYPE_p_FXTranslator swig_types[57]
#define SWIGTYPE_p_FXVerticalSeparator swig_types[58]
#define SWIGTYPE_p_FXVisual swig_types[59]
#define SWIGTYPE_p_FXWindow swig_types[60]
#define SWIGTYPE_p_char swig_types[61]
#define SWIGTYPE_p_double swig_types[62]
#define SWIGTYPE_p_float swig_types[63]
#define SWIGTYPE_p_int swig_types[64]
#define SWIGTYPE_p_long swig_types[65]
#define SWIGTYPE_p_p_FXGradient swig_types[66]
#define SWIGTYPE_p_short swig_types[67]
#define SWIGTYPE_p_unsigned_char swig_types[68]
#define SWIGTYPE_p_unsigned_int swig_types[69]
#define SWIGTYPE_p_unsigned_long swig_types[70]
#define SWIGTYPE_p_unsigned_short swig_types[71]
static swig_type_info *swig_types[73];
static swig_module_info swig_module = {swig_types, 72, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)

/* -------- TYPES TABLE (END) -------- */

#define SWIG_init    Init_frames
#define SWIG_name    "Frames"



#define SWIG_RUBY_THREAD_BEGIN_BLOCK
#define SWIG_RUBY_THREAD_END_BLOCK


#define SWIGVERSION 0x040001 
#define SWIG_VERSION SWIGVERSION


#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) 


#include <stdexcept>


#include "FXRbCommon.h"


inline FXColor to_FXColor(VALUE obj){
  if(TYPE(obj)==T_STRING){
    return fxcolorfromname(StringValuePtr(obj));
    }
  else if(TYPE(obj)==T_SYMBOL){
    return fxcolorfromname(rb_id2name(SYM2ID(obj)));
    }
  else{
    return NUM2ULONG(obj);
    }
  }


inline FXString to_FXString(VALUE obj){
  if(!NIL_P(obj)){
    Check_Type(obj,T_STRING);
    return FXString(StringValuePtr(obj));
    }
  else{
    return FXString::null;
    }
  }


inline FXbool to_FXbool(VALUE obj){
  if (obj == Qtrue || obj == Qfalse){
    return (obj == Qtrue) ? TRUE : FALSE;
    }
  else{
    return static_cast<FXbool>(NUM2UINT(obj));
    }
  }


static swig_type_info* FXEventTypeInfo=0;

inline void* to_FXEvent(VALUE obj){
  void* ptr;
  if(!FXEventTypeInfo){
    FXEventTypeInfo=SWIG_TypeQuery("FXEvent *");
    FXASSERT(FXEventTypeInfo!=0);
    }
  SWIG_ConvertPtr(obj,&ptr,FXEventTypeInfo,1);
  return ptr;
  }


#include <limits.h>
#if !defined(SWIG_NO_LLONG_MAX)
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
#   define LLONG_MAX __LONG_LONG_MAX__
#   define LLONG_MIN (-LLONG_MAX - 1LL)
#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
# endif
#endif


  #define SWIG_From_long   LONG2NUM 


SWIGINTERNINLINE VALUE
SWIG_From_int  (int value)
{    
  return SWIG_From_long  (value);
}

SWIGINTERN FXArrowButton *new_FXArrowButton(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=ARROW_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbArrowButton(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }

SWIGINTERNINLINE VALUE
SWIG_From_unsigned_SS_long  (unsigned long value)
{
  return ULONG2NUM(value); 
}


SWIGINTERNINLINE VALUE
SWIG_From_unsigned_SS_int  (unsigned int value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}


SWIGINTERNINLINE VALUE
SWIG_From_bool  (bool value)
{
  return value ? Qtrue : Qfalse;
}


SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)
{
  static int init = 0;
  static swig_type_info* info = 0;
  if (!init) {
    info = SWIG_TypeQuery("_p_char");
    init = 1;
  }
  return info;
}


SWIGINTERN int
SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
{
  if (TYPE(obj) == T_STRING) {
    char *cstr = StringValuePtr(obj); 
    size_t size = RSTRING_LEN(obj) + 1;
    if (cptr)  {
      if (alloc) {
	if (*alloc == SWIG_NEWOBJ) {
	  *cptr = reinterpret_cast< char* >(memcpy(new char[size], cstr, sizeof(char)*(size)));
	} else {
	  *cptr = cstr;
	  *alloc = SWIG_OLDOBJ;
	}
      }
    }
    if (psize) *psize = size;
    return SWIG_OK;
  } else {
    swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    if (pchar_descriptor) {
      void* vptr = 0;
      if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
	if (cptr) *cptr = (char *)vptr;
	if (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0;
	if (alloc) *alloc = SWIG_OLDOBJ;
	return SWIG_OK;
      }
    }
  }  
  return SWIG_TypeError;
}





SWIGINTERNINLINE VALUE 
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
{
  if (carray) {
    if (size > LONG_MAX) {
      swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
      return pchar_descriptor ? 
	SWIG_NewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : Qnil;
    } else {
      return rb_str_new(carray, static_cast< long >(size));
    }
  } else {
    return Qnil;
  }
}


SWIGINTERNINLINE VALUE 
SWIG_FromCharPtr(const char *cptr)
{ 
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
}

SWIGINTERN FXColorBar *new_FXColorBar(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbColorBar(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }

#include <float.h>


#include <math.h>


/* Getting isfinite working pre C99 across multiple platforms is non-trivial. Users can provide SWIG_isfinite on older platforms. */
#ifndef SWIG_isfinite
/* isfinite() is a macro for C99 */
# if defined(isfinite)
#  define SWIG_isfinite(X) (isfinite(X))
# elif defined(__cplusplus) && __cplusplus >= 201103L
/* Use a template so that this works whether isfinite() is std::isfinite() or
 * in the global namespace.  The reality seems to vary between compiler
 * versions.
 *
 * Make sure namespace std exists to avoid compiler warnings.
 *
 * extern "C++" is required as this fragment can end up inside an extern "C" { } block
 */
namespace std { }
extern "C++" template<typename T>
inline int SWIG_isfinite_func(T x) {
  using namespace std;
  return isfinite(x);
}
#  define SWIG_isfinite(X) (SWIG_isfinite_func(X))
# elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2))
#  define SWIG_isfinite(X) (__builtin_isfinite(X))
# elif defined(__clang__) && defined(__has_builtin)
#  if __has_builtin(__builtin_isfinite)
#   define SWIG_isfinite(X) (__builtin_isfinite(X))
#  endif
# elif defined(_MSC_VER)
#  define SWIG_isfinite(X) (_finite(X))
# elif defined(__sun) && defined(__SVR4)
#  include <ieeefp.h>
#  define SWIG_isfinite(X) (finite(X))
# endif
#endif


/* Accept infinite as a valid float value unless we are unable to check if a value is finite */
#ifdef SWIG_isfinite
# define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX) && SWIG_isfinite(X))
#else
# define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX))
#endif


SWIGINTERN VALUE
SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2))
{
  return Qnil;
} 


/*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg)
{
  VALUE *args = (VALUE *)arg;
  VALUE obj = args[0];
  VALUE type = TYPE(obj);
  double *res = (double *)(args[1]);
  *res = NUM2DBL(obj); (void)type;
  return obj;
}
/*@SWIG@*/

SWIGINTERN int
SWIG_AsVal_double (VALUE obj, double *val)
{
  VALUE type = TYPE(obj);
  if ((type == T_FLOAT) || (type == T_FIXNUM) || (type == T_BIGNUM)) {
    double v;
    VALUE a[2];
    a[0] = obj;
    a[1] = (VALUE)(&v);
    if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2DBL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) {
      if (val) *val = v;
      return SWIG_OK;
    }
  }
  return SWIG_TypeError;
}


SWIGINTERN int
SWIG_AsVal_float (VALUE obj, float *val)
{
  double v;
  int res = SWIG_AsVal_double (obj, &v);
  if (SWIG_IsOK(res)) {
    if (SWIG_Float_Overflow_Check(v)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = static_cast< float >(v);
    }
  }  
  return res;
}


  #define SWIG_From_double   rb_float_new 


SWIGINTERNINLINE VALUE
SWIG_From_float  (float value)
{    
  return SWIG_From_double  (value);
}

SWIGINTERN FXColorRing *new_FXColorRing(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbColorRing(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXColorWell *new_FXColorWell(FXComposite *p,FXColor clr=0,FXObject *tgt=0,FXSelector sel=0,FXuint opts=COLORWELL_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbColorWell(p,clr,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXColorWheel *new_FXColorWheel(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbColorWheel(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXDial *new_FXDial(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=DIAL_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbDial(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN void FXDial_setRange(FXDial *self,VALUE range,FXbool notify=0){
      FXint lo,hi;
      FXRbRange2LoHi(range,lo,hi);
      self->setRange(lo,hi,notify);
      }
SWIGINTERN VALUE FXDial_getRange(FXDial const *self){
      FXint lo,hi;
      self->getRange(lo,hi);
      return rb_range_new(INT2NUM(lo),INT2NUM(hi),0);
      }
SWIGINTERN FXHeaderItem *new_FXHeaderItem(FXString const &text,FXIcon *ic=0,FXint s=0,void *ITEMDATA=0){
      return new FXRbHeaderItem(text,ic,s,ITEMDATA);
      }
SWIGINTERN void FXHeaderItem_setData(FXHeaderItem *self,VALUE ptr){
      self->setData((void*) ptr);
      }
SWIGINTERN VALUE FXHeaderItem_getData(FXHeaderItem const *self){
      return self->getData() ? (VALUE) self->getData() : Qnil;
      }
SWIGINTERN FXHeader *new_FXHeader(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=HEADER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbHeader(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXint FXHeader_setItem__SWIG_0(FXHeader *self,FXint index,FXHeaderItem *item,FXbool notify=0){
      // Save pointer to the soon-to-be-destroyed item
      FXHeaderItem* oldItem=self->getItem(index);

      // Do the deed
      if(item->isMemberOf(FXMETACLASS(FXRbHeaderItem)))
	dynamic_cast<FXRbHeaderItem*>(item)->owned=1;
      FXint result=self->setItem(index,item,notify);

      // Now zero-out pointers held by still-alive Ruby objects
      FXRbUnregisterRubyObj(oldItem);

      // Done
      return result;
    }
SWIGINTERN FXint FXHeader_setItem__SWIG_1(FXHeader *self,FXint index,FXString const &text,FXIcon *icon=0,FXint size=0,void *ITEMDATA=0,FXbool notify=0){
      // Save pointer to the soon-to-be-destroyed item
      FXHeaderItem* oldItem=self->getItem(index);

      // Do the deed
      FXint result=self->setItem(index,text,icon,size,ITEMDATA,notify);

      // Now zero-out pointers held by still-alive Ruby objects
      FXRbUnregisterRubyObj(oldItem);

      // Done
      return result;
    }
SWIGINTERN FXint FXHeader_insertItem__SWIG_0(FXHeader *self,FXint index,FXHeaderItem *item,FXbool notify=0){
      if(item->isMemberOf(FXMETACLASS(FXRbHeaderItem)))
        dynamic_cast<FXRbHeaderItem*>(item)->owned=1;
      return self->insertItem(index,item,notify);
    }
SWIGINTERN FXint FXHeader_appendItem__SWIG_0(FXHeader *self,FXHeaderItem *item,FXbool notify=0){
      if(item->isMemberOf(FXMETACLASS(FXRbHeaderItem)))
        dynamic_cast<FXRbHeaderItem*>(item)->owned=1;
      return self->appendItem(item,notify);
    }
SWIGINTERN FXint FXHeader_prependItem__SWIG_0(FXHeader *self,FXHeaderItem *item,FXbool notify=0){
      if(item->isMemberOf(FXMETACLASS(FXRbHeaderItem)))
        dynamic_cast<FXRbHeaderItem*>(item)->owned=1;
      return self->prependItem(item,notify);
    }
SWIGINTERN void FXHeader_removeItem(FXHeader *self,FXint index,FXbool notify=0){
      // Save pointer to the soon-to-be-destroyed item
      FXHeaderItem* item=self->getItem(index);

      // Do the deed
      self->removeItem(index,notify);

      // Now zero-out pointers held by still-alive Ruby objects
      FXRbUnregisterRubyObj(item);
      }
SWIGINTERN void FXHeader_clearItems(FXHeader *self,FXbool notify=0){
      // Save pointers to the soon-to-be-destroyed items
      FXObjectListOf<FXHeaderItem> items;
      for (FXint i = 0; i < self->getNumItems(); i++) items.append(self->getItem(i));

      // Do the deed
      self->clearItems(notify);

      // Now zero-out pointers held by still-alive Ruby objects
      for (FXint j = 0; j < items.no(); j++) FXRbUnregisterRubyObj(items[j]);
      }
SWIGINTERN void FXHeader_setItemData(FXHeader *self,FXint index,VALUE ptr){
      self->setItemData(index, (void*) ptr);
      }
SWIGINTERN VALUE FXHeader_getItemData(FXHeader const *self,FXint index){
      return self->getItemData(index) ? (VALUE) self->getItemData(index) : Qnil;
      }
SWIGINTERN FXImageFrame *new_FXImageFrame(FXComposite *p,FXImage *img,FXuint opts=FRAME_SUNKEN|FRAME_THICK,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0){
      return new FXRbImageFrame(p,img,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXBitmapFrame *new_FXBitmapFrame(FXComposite *p,FXBitmap *bmp,FXuint opts=FRAME_SUNKEN|FRAME_THICK,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0){
      return new FXRbBitmapFrame(p,bmp,opts,x,y,w,h,pl,pr,pt,pb);
    }
SWIGINTERN FXKnob *new_FXKnob(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=KNOB_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbKnob(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN void FXKnob_setRange(FXKnob *self,VALUE range,FXbool notify=0){
      FXint lo,hi;
      FXRbRange2LoHi(range,lo,hi);
      self->setRange(lo,hi,notify);
      }
SWIGINTERN VALUE FXKnob_getRange(FXKnob const *self){
      FXint lo,hi;
      self->getRange(lo,hi);
      return rb_range_new(INT2NUM(lo),INT2NUM(hi),0);
      }
SWIGINTERN FXProgressBar *new_FXProgressBar(FXComposite *p,FXObject *target=0,FXSelector sel=0,FXuint opts=PROGRESSBAR_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbProgressBar(p,target,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXRuler *new_FXRuler(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=RULER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbRuler(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXSeparator *new_FXSeparator(FXComposite *p,FXuint opts=SEPARATOR_GROOVE|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0){
      return new FXRbSeparator(p,opts,x,y,w,h,pl,pr,pt,pb);
      }

static swig_type_info *FXSeparator_dynamic_cast(void **ptr) {
    FXSeparator **ppSeparator = reinterpret_cast<FXSeparator **>(ptr);
    FXHorizontalSeparator *pHorizontalSeparator=dynamic_cast<FXHorizontalSeparator*>(*ppSeparator);
    if(pHorizontalSeparator){
      *ptr=reinterpret_cast<void*>(pHorizontalSeparator);
      return SWIG_TypeQuery("FXHorizontalSeparator *");
      }
    FXVerticalSeparator *pVerticalSeparator=dynamic_cast<FXVerticalSeparator*>(*ppSeparator);
    if(pVerticalSeparator){
      *ptr=reinterpret_cast<void*>(pVerticalSeparator);
      return SWIG_TypeQuery("FXVerticalSeparator *");
      }
    return 0;
}

SWIGINTERN FXHorizontalSeparator *new_FXHorizontalSeparator(FXComposite *p,FXuint opts=SEPARATOR_GROOVE|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=1,FXint pr=1,FXint pt=0,FXint pb=0){
      return new FXRbHorizontalSeparator(p,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXVerticalSeparator *new_FXVerticalSeparator(FXComposite *p,FXuint opts=SEPARATOR_GROOVE|LAYOUT_FILL_Y,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=1,FXint pb=1){
      return new FXRbVerticalSeparator(p,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXSlider *new_FXSlider(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=SLIDER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0){
      return new FXRbSlider(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN void FXSlider_setRange(FXSlider *self,VALUE range,FXbool notify=0){
      FXint lo,hi;
      FXRbRange2LoHi(range,lo,hi);
      self->setRange(lo,hi,notify);
      }
SWIGINTERN VALUE FXSlider_getRange(FXSlider const *self){
      FXint lo,hi;
      self->getRange(lo,hi);
      return rb_range_new(INT2NUM(lo),INT2NUM(hi),0);
      }
SWIGINTERN FXRealSlider *new_FXRealSlider(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=REALSLIDER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=0,FXint pr=0,FXint pt=0,FXint pb=0){
      return new FXRbRealSlider(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN VALUE FXRealSlider_getRange(FXRealSlider const *self){
      FXdouble lo,hi;
      self->getRange(lo,hi);
      return rb_ary_new3(2,rb_float_new(lo),rb_float_new(hi));
      }
SWIGINTERN FXStatusLine *new_FXStatusLine(FXComposite *p,FXObject *tgt=0,FXSelector sel=0){
      return new FXRbStatusLine(p,tgt,sel);
      }
SWIGINTERN FXTextField *new_FXTextField(FXComposite *p,FXint ncols,FXObject *tgt=0,FXSelector sel=0,FXuint opts=TEXTFIELD_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbTextField(p,ncols,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXToolBarTab *new_FXToolBarTab(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_RAISED,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
     return new FXRbToolBarTab(p,tgt,sel,opts,x,y,w,h);
     }

SWIGINTERNINLINE VALUE
SWIG_From_unsigned_SS_char  (unsigned char value)
{    
  return SWIG_From_unsigned_SS_long  (value);
}

SWIGINTERN FXGradientBar *new_FXGradientBar(FXComposite *p,FXObject *tgt=0,FXSelector sel=0,FXuint opts=FRAME_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD){
      return new FXRbGradientBar(p,tgt,sel,opts,x,y,w,h,pl,pr,pt,pb);
      }
SWIGINTERN FXbool FXGradientBar_selectSegments(FXGradientBar *self,FXint fm,FXint to,FXbool notify=0){
      if(fm>to){
        rb_raise(rb_eArgError,"'from' index is greater than 'to' index");
        }
      if(fm<0 || to>=self->getNumSegments()){
        rb_raise(rb_eIndexError,"segment index out of bounds");
        }
      return self->selectSegments(fm,to,notify);
      }
SWIGINTERN VALUE FXGradientBar_gradient(FXGradientBar *self,FXint nramp){
      FXColor* ramp;
      VALUE ary;
      FXint i;
      if(nramp>0){
        if(FXMALLOC(&ramp,FXColor,nramp)){
          self->gradient(ramp,nramp);
          ary=rb_ary_new2(nramp);
          for(i=0; i<nramp; i++){
            rb_ary_store(ary,i,to_ruby(ramp[i]));
          }
          FXFREE(&ramp);
          return ary;
        }else{
          rb_raise(rb_eNoMemError,"Out of memory");
        }
      }
      else{
        return rb_ary_new();
      }
    }
static swig_class SwigClassFXArrowButton;

SWIGINTERN VALUE
_wrap_FXArrowButton_onPaint(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onUpdate(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onUpdate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdate", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdate(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onEnter(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onEnter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onEnter", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onEnter(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onLeave(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onLeave", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeave", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeave(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onRepeat(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onRepeat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRepeat", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onRepeat(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onAuto(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onAuto", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAuto", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onAuto(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onHotKeyPress(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onHotKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onHotKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onHotKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onHotKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onHotKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onHotKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onHotKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXArrowButton_allocate(VALUE self)
#else
_wrap_FXArrowButton_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXArrowButton);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXArrowButton(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) ARROW_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXArrowButton *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXArrowButton", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXArrowButton", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXArrowButton *)new_FXArrowButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setState(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXbool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setState", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = to_FXbool(argv[0]);
  (arg1)->setState(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getState(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getState", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXbool)((FXArrowButton const *)arg1)->getState();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXString *) &((FXArrowButton const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setTipText(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getTipText(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXString *) &((FXArrowButton const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setArrowStyle(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setArrowStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setArrowStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getArrowStyle(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getArrowStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXuint)((FXArrowButton const *)arg1)->getArrowStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setArrowSize(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setArrowSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setArrowSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getArrowSize(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getArrowSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXint)((FXArrowButton const *)arg1)->getArrowSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setJustify(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setJustify(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getJustify(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXuint)((FXArrowButton const *)arg1)->getJustify();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getArrowColor(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","getArrowColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXColor)((FXArrowButton const *)arg1)->getArrowColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setArrowColor(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setArrowColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setArrowColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_save(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXArrowButton_save((FXArrowButton const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_load(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXArrowButton_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_create(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_detach(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_destroy(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_resize(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXArrowButton_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXint)FXArrowButton_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (FXint)FXArrowButton_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXArrowButton_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXArrowButton_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_canFocus(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (bool)FXArrowButton_canFocus((FXArrowButton const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setFocus(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_killFocus(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXArrowButton_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setDefault(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXArrowButton_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_enable(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_disable(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_lower(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_move(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXArrowButton_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_position(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXArrowButton_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_layout(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_recalc(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_reparent(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXArrowButton_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_show(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_hide(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_isComposite(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (bool)FXArrowButton_isComposite((FXArrowButton const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_contains(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXArrowButton_contains((FXArrowButton const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  result = (bool)FXArrowButton_doesSaveUnder((FXArrowButton const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXArrowButton_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_tr(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXArrowButton_tr((FXArrowButton const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXArrowButton_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXArrowButton_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXArrowButton_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXArrowButton_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXArrowButton, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXArrowButton_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXArrowButton, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXArrowButton_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXArrowButton, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXArrowButton_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXArrowButton_clearShape(int argc, VALUE *argv, VALUE self) {
  FXArrowButton *arg1 = (FXArrowButton *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXArrowButton, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXArrowButton *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXArrowButton * >(argp1);
  FXArrowButton_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXColorBar;

SWIGINTERN VALUE
_wrap_FXColorBar_onPaint(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onMotion(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXColorBar_allocate(VALUE self)
#else
_wrap_FXColorBar_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorBar);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXColorBar(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) FRAME_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXColorBar *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXColorBar", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXColorBar", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXColorBar *)new_FXColorBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setHue(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setHue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setHue", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setHue(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getHue(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","getHue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXfloat)((FXColorBar const *)arg1)->getHue();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setSat(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setSat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setSat", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setSat(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getSat(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","getSat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXfloat)((FXColorBar const *)arg1)->getSat();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setVal(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setVal", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setVal(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getVal(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","getVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXfloat)((FXColorBar const *)arg1)->getVal();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getBarStyle(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","getBarStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXuint)((FXColorBar const *)arg1)->getBarStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setBarStyle(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setBarStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setBarStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXString *) &((FXColorBar const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setTipText(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getTipText(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXString *) &((FXColorBar const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_save(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXColorBar_save((FXColorBar const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_load(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXColorBar_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_create(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_detach(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_destroy(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_resize(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXColorBar_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXint)FXColorBar_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (FXint)FXColorBar_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXColorBar_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXColorBar_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_canFocus(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (bool)FXColorBar_canFocus((FXColorBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setFocus(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_killFocus(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXColorBar_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setDefault(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXColorBar_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_enable(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_disable(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_lower(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_move(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXColorBar_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_position(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXColorBar_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_layout(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_recalc(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_reparent(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXColorBar_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_show(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_hide(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_isComposite(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (bool)FXColorBar_isComposite((FXColorBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_contains(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXColorBar_contains((FXColorBar const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  result = (bool)FXColorBar_doesSaveUnder((FXColorBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXColorBar_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_tr(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXColorBar_tr((FXColorBar const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXColorBar_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXColorBar_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXColorBar_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXColorBar_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorBar_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorBar_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorBar_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorBar_clearShape(int argc, VALUE *argv, VALUE self) {
  FXColorBar *arg1 = (FXColorBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorBar *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorBar * >(argp1);
  FXColorBar_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXColorRing;

SWIGINTERN VALUE
_wrap_FXColorRing_onPaint(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onMotion(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onMouseWheel(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onMouseWheel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMouseWheel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXColorRing_allocate(VALUE self)
#else
_wrap_FXColorRing_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorRing);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXColorRing(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) FRAME_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXColorRing *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXColorRing", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXColorRing", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXColorRing *)new_FXColorRing(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_huee___(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setHue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setHue", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setHue(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_hue(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing const *","getHue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  result = (FXfloat)((FXColorRing const *)arg1)->getHue();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_sate___(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setSat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setSat", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setSat(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_sat(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing const *","getSat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  result = (FXfloat)((FXColorRing const *)arg1)->getSat();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_vale___(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setVal", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setVal(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_val(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing const *","getVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  result = (FXfloat)((FXColorRing const *)arg1)->getVal();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_setHueSatVal(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXfloat arg2 ;
  FXfloat arg3 ;
  FXfloat arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setHueSatVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setHueSatVal", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  ecode3 = SWIG_AsVal_float(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXfloat","setHueSatVal", 3, argv[1] ));
  } 
  arg3 = static_cast< FXfloat >(val3);
  ecode4 = SWIG_AsVal_float(argv[2], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "FXfloat","setHueSatVal", 4, argv[2] ));
  } 
  arg4 = static_cast< FXfloat >(val4);
  (arg1)->setHueSatVal(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_ringWidthe___(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setRingWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setRingWidth(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_ringWidth(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing const *","getRingWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  result = (FXint)((FXColorRing const *)arg1)->getRingWidth();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_helpTexte___(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_helpText(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  result = (FXString *) &((FXColorRing const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_tipTexte___(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorRing_tipText(int argc, VALUE *argv, VALUE self) {
  FXColorRing *arg1 = (FXColorRing *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorRing, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorRing const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorRing * >(argp1);
  result = (FXString *) &((FXColorRing const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


static swig_class SwigClassFXColorWell;

SWIGINTERN VALUE
_wrap_FXColorWell_onPaint(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onMiddleBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onMiddleBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onMotion(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onBeginDrag(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onBeginDrag", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onBeginDrag", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onBeginDrag(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onEndDrag(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onEndDrag", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onEndDrag", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onEndDrag(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDragged(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDragged", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDragged", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDragged(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onFocusIn(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onFocusIn", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusIn", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusIn(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onFocusOut(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onFocusOut", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusOut", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusOut(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDNDEnter(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDNDEnter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDEnter", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDEnter(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDNDLeave(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDNDLeave", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDLeave", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDLeave(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDNDMotion(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDNDMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDNDDrop(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDNDDrop", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDDrop", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDDrop(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDNDRequest(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDNDRequest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDRequest", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDRequest(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onSelectionLost(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onSelectionLost", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelectionLost", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onSelectionLost(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onSelectionGained(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onSelectionGained", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelectionGained", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onSelectionGained(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onSelectionRequest(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onSelectionRequest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelectionRequest", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onSelectionRequest(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onClicked(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onClicked", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onClicked", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onClicked(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onDoubleClicked(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onDoubleClicked", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDoubleClicked", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onDoubleClicked(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2UINT(argv[2]));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdColorWell(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdColorWell", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdColorWell", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2UINT(argv[2]));
  result = (long)(arg1)->onCmdColorWell(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onChgColorWell(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onChgColorWell", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onChgColorWell", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2UINT(argv[2]));
  result = (long)(arg1)->onChgColorWell(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXColorWell_allocate(VALUE self)
#else
_wrap_FXColorWell_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorWell);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXColorWell(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXColor arg2 = (FXColor) 0 ;
  FXObject *arg3 = (FXObject *) 0 ;
  FXSelector arg4 = (FXSelector) 0 ;
  FXuint arg5 = (FXuint) COLORWELL_NORMAL ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  FXint arg13 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXColorWell *result = 0 ;
  
  if ((argc < 1) || (argc > 13)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXColorWell", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    arg2 = to_FXColor(argv[1]);
  }
  if (argc > 2) {
    res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXColorWell", 3, argv[2] )); 
    }
    arg3 = reinterpret_cast< FXObject * >(argp3);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2UINT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  if (argc > 12) {
    arg13 = NUM2INT(argv[12]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXColorWell *)new_FXColorWell(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setRGBA(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXColor arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setRGBA", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = to_FXColor(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setRGBA(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getRGBA(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","getRGBA", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (FXColor)((FXColorWell const *)arg1)->getRGBA();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (FXString *) &((FXColorWell const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setTipText(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getTipText(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (FXString *) &((FXColorWell const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_isOpaqueOnly(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","isOpaqueOnly", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (FXbool)((FXColorWell const *)arg1)->isOpaqueOnly();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setOpaqueOnly(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXbool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setOpaqueOnly", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = to_FXbool(argv[0]);
  (arg1)->setOpaqueOnly(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_save(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXColorWell_save((FXColorWell const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_load(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXColorWell_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_create(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_detach(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_destroy(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_resize(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXColorWell_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (FXint)FXColorWell_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (FXint)FXColorWell_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXColorWell_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXColorWell_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_canFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (bool)FXColorWell_canFocus((FXColorWell const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_killFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXColorWell_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setDefault(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXColorWell_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_enable(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_disable(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_lower(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_move(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXColorWell_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_position(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXColorWell_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_layout(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_recalc(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_reparent(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXColorWell_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_show(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_hide(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_isComposite(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (bool)FXColorWell_isComposite((FXColorWell const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_contains(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXColorWell_contains((FXColorWell const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  result = (bool)FXColorWell_doesSaveUnder((FXColorWell const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXColorWell_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_tr(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXColorWell_tr((FXColorWell const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXColorWell_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXColorWell_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXColorWell_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXColorWell_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorWell, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorWell_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorWell, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorWell_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorWell, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorWell_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWell_clearShape(int argc, VALUE *argv, VALUE self) {
  FXColorWell *arg1 = (FXColorWell *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWell, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWell *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWell * >(argp1);
  FXColorWell_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXColorWheel;

SWIGINTERN VALUE
_wrap_FXColorWheel_onPaint(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onMotion(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onMouseWheel(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onMouseWheel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMouseWheel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXColorWheel_allocate(VALUE self)
#else
_wrap_FXColorWheel_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorWheel);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXColorWheel(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) FRAME_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXColorWheel *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXColorWheel", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXColorWheel", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXColorWheel *)new_FXColorWheel(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setHue(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setHue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setHue", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setHue(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getHue(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","getHue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXfloat)((FXColorWheel const *)arg1)->getHue();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setSat(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setSat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setSat", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setSat(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getSat(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","getSat", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXfloat)((FXColorWheel const *)arg1)->getSat();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setVal(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXfloat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setVal", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  (arg1)->setVal(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getVal(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXfloat result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","getVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXfloat)((FXColorWheel const *)arg1)->getVal();
  vresult = SWIG_From_float(static_cast< float >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setHueSatVal(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXfloat arg2 ;
  FXfloat arg3 ;
  FXfloat arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  float val2 ;
  int ecode2 = 0 ;
  float val3 ;
  int ecode3 = 0 ;
  float val4 ;
  int ecode4 = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setHueSatVal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  ecode2 = SWIG_AsVal_float(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXfloat","setHueSatVal", 2, argv[0] ));
  } 
  arg2 = static_cast< FXfloat >(val2);
  ecode3 = SWIG_AsVal_float(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXfloat","setHueSatVal", 3, argv[1] ));
  } 
  arg3 = static_cast< FXfloat >(val3);
  ecode4 = SWIG_AsVal_float(argv[2], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "FXfloat","setHueSatVal", 4, argv[2] ));
  } 
  arg4 = static_cast< FXfloat >(val4);
  (arg1)->setHueSatVal(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXString *) &((FXColorWheel const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setTipText(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getTipText(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXString *) &((FXColorWheel const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_save(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXColorWheel_save((FXColorWheel const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_load(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXColorWheel_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_create(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_detach(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_destroy(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_resize(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXColorWheel_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXint)FXColorWheel_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (FXint)FXColorWheel_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXColorWheel_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXColorWheel_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_canFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (bool)FXColorWheel_canFocus((FXColorWheel const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_killFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXColorWheel_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setDefault(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXColorWheel_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_enable(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_disable(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_lower(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_move(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXColorWheel_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_position(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXColorWheel_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_layout(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_recalc(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_reparent(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXColorWheel_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_show(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_hide(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_isComposite(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (bool)FXColorWheel_isComposite((FXColorWheel const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_contains(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXColorWheel_contains((FXColorWheel const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  result = (bool)FXColorWheel_doesSaveUnder((FXColorWheel const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXColorWheel_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_tr(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXColorWheel_tr((FXColorWheel const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXColorWheel_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXColorWheel_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXColorWheel_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXColorWheel_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorWheel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorWheel_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorWheel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorWheel_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorWheel, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXColorWheel_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXColorWheel_clearShape(int argc, VALUE *argv, VALUE self) {
  FXColorWheel *arg1 = (FXColorWheel *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorWheel, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorWheel *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXColorWheel * >(argp1);
  FXColorWheel_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXDial;

SWIGINTERN VALUE
_wrap_FXDial_onPaint(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onMotion(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onMouseWheel(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onMouseWheel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMouseWheel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2INT(argv[2]));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXint) NUM2INT(argv[2]);
    arg4 = static_cast<void*>(&value4);
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXdouble) NUM2DBL(argv[2]);
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdGetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0));
    values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1));
    arg4 = static_cast<void*>(values4);
  }
  result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdGetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetIntRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetRealRange(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 0));
    values4[1] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 1));
    arg4 = (void *) values4;
  }
  result = (long)(arg1)->onCmdSetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdGetRealRange(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdGetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetRealRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXDial_allocate(VALUE self)
#else
_wrap_FXDial_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDial);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXDial(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) DIAL_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXDial *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXDial", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXDial", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXDial *)new_FXDial(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setValue(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getValue(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXint)((FXDial const *)arg1)->getValue();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setRange(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  VALUE arg2 = (VALUE) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = argv[0];
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXDial_setRange(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getRange(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (VALUE)FXDial_getRange((FXDial const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setRevolutionIncrement(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setRevolutionIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setRevolutionIncrement(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getRevolutionIncrement(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getRevolutionIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXint)((FXDial const *)arg1)->getRevolutionIncrement();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setNotchSpacing(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setNotchSpacing", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setNotchSpacing(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getNotchSpacing(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getNotchSpacing", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXint)((FXDial const *)arg1)->getNotchSpacing();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setNotchOffset(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setNotchOffset", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setNotchOffset(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getNotchOffset(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getNotchOffset", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXint)((FXDial const *)arg1)->getNotchOffset();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setDialStyle(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setDialStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setDialStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getDialStyle(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getDialStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXuint)((FXDial const *)arg1)->getDialStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setNotchColor(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setNotchColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setNotchColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getNotchColor(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getNotchColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXColor)((FXDial const *)arg1)->getNotchColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXString *) &((FXDial const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setTipText(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getTipText(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXString *) &((FXDial const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_save(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXDial_save((FXDial const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_load(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXDial_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_create(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_detach(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_destroy(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_resize(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXDial_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXint)FXDial_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (FXint)FXDial_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXDial_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXDial_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_canFocus(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (bool)FXDial_canFocus((FXDial const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setFocus(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_killFocus(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXDial_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setDefault(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXDial_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_enable(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_disable(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_lower(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_move(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXDial_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_position(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXDial_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_layout(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_recalc(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_reparent(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXDial_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_show(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_hide(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_isComposite(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (bool)FXDial_isComposite((FXDial const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_contains(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXDial_contains((FXDial const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  result = (bool)FXDial_doesSaveUnder((FXDial const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXDial_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_tr(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXDial_tr((FXDial const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXDial_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXDial_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXDial_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXDial_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXDial_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXDial_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDial, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXDial_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXDial_clearShape(int argc, VALUE *argv, VALUE self) {
  FXDial *arg1 = (FXDial *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDial, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDial *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXDial * >(argp1);
  FXDial_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXHeaderItem;

SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXHeaderItem_allocate(VALUE self)
#else
_wrap_FXHeaderItem_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXHeaderItem);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXHeaderItem(int argc, VALUE *argv, VALUE self) {
  FXString *arg1 = 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  FXint arg3 = (FXint) 0 ;
  void *arg4 = (void *) 0 ;
  SwigValueWrapper< FXString > p1 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXHeaderItem *result = 0 ;
  
  if ((argc < 1) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  p1 = to_FXString(argv[0]); arg1 = &p1;
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","FXHeaderItem", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXIcon * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg4 = (argv[3] == Qnil) ? NULL : (void *) argv[3];
  }
  {
    result = (FXHeaderItem *)new_FXHeaderItem((FXString const &)*arg1,arg2,arg3,arg4);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getText(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXString *) &((FXHeaderItem const *)arg1)->getText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getIcon(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXIcon *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXIcon *)((FXHeaderItem const *)arg1)->getIcon();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setData(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  VALUE arg2 = (VALUE) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  arg2 = argv[0];
  FXHeaderItem_setData(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getData(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (VALUE)FXHeaderItem_getData((FXHeaderItem const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setSize(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getSize(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXint)((FXHeaderItem const *)arg1)->getSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setPos(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setPos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setPos(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getPos(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getPos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXint)((FXHeaderItem const *)arg1)->getPos();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setArrowDir(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXuint arg2 = (FXuint) 2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setArrowDir", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  (arg1)->setArrowDir(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getArrowDir(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getArrowDir", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXuint)((FXHeaderItem const *)arg1)->getArrowDir();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setJustify(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXuint arg2 = (FXuint) FXHeaderItem::LEFT|FXHeaderItem::CENTER_Y ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  (arg1)->setJustify(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getJustify(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXuint)((FXHeaderItem const *)arg1)->getJustify();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setIconPosition(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXuint arg2 = (FXuint) FXHeaderItem::BEFORE ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setIconPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  if (argc > 0) {
    arg2 = NUM2UINT(argv[0]);
  }
  (arg1)->setIconPosition(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getIconPosition(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getIconPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXuint)((FXHeaderItem const *)arg1)->getIconPosition();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setPressed(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXbool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setPressed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  arg2 = to_FXbool(argv[0]);
  (arg1)->setPressed(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_isPressed(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","isPressed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  result = (FXbool)((FXHeaderItem const *)arg1)->isPressed();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_save(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXHeaderItem_save((FXHeaderItem const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_load(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXHeaderItem_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setText(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  FXHeaderItem_setText(arg1,(FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_setIcon(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","setIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXHeaderItem_setIcon(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getWidth(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXHeader *arg2 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXHeader const *","getWidth", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXHeader * >(argp2);
  result = (FXint)FXHeaderItem_getWidth((FXHeaderItem const *)arg1,(FXHeader const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_getHeight(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  FXHeader *arg2 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem const *","getHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXHeader const *","getHeight", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXHeader * >(argp2);
  result = (FXint)FXHeaderItem_getHeight((FXHeaderItem const *)arg1,(FXHeader const *)arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_create(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  FXHeaderItem_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_detach(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  FXHeaderItem_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeaderItem_destroy(int argc, VALUE *argv, VALUE self) {
  FXHeaderItem *arg1 = (FXHeaderItem *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeaderItem *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeaderItem * >(argp1);
  FXHeaderItem_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXHeader;

SWIGINTERN VALUE
_wrap_FXHeader_onPaint(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onMotion(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onTipTimer(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onTipTimer", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onTipTimer", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onTipTimer(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXHeader_allocate(VALUE self)
#else
_wrap_FXHeader_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXHeader);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXHeader(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) HEADER_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXHeader *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXHeader", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXHeader", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXHeader *)new_FXHeader(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getNumItems(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getNumItems", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXint)((FXHeader const *)arg1)->getNumItems();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getTotalSize(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getTotalSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXint)((FXHeader const *)arg1)->getTotalSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setPosition(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setPosition(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getPosition(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXint)((FXHeader const *)arg1)->getPosition();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItem(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXHeaderItem *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXHeaderItem *)((FXHeader const *)arg1)->getItem(arg2);
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXHeaderItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemAt(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemAt", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)((FXHeader const *)arg1)->getItemAt(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXHeaderItem *arg3 = (FXHeaderItem *) 0 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXHeaderItem *","setItem", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXHeaderItem * >(argp3);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXint)FXHeader_setItem__SWIG_0(arg1,arg2,arg3,arg4);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXString *arg3 = 0 ;
  FXIcon *arg4 = (FXIcon *) 0 ;
  FXint arg5 = (FXint) 0 ;
  void *arg6 = (void *) 0 ;
  FXbool arg7 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p3 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  p3 = to_FXString(argv[1]); arg3 = &p3;
  if (argc > 2) {
    res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","setItem", 4, argv[2] )); 
    }
    arg4 = reinterpret_cast< FXIcon * >(argp4);
  }
  if (argc > 3) {
    arg5 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg6 = (argv[4] == Qnil) ? NULL : (void *) argv[4];
  }
  if (argc > 5) {
    arg7 = to_FXbool(argv[5]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXint)FXHeader_setItem__SWIG_1(arg1,arg2,(FXString const &)*arg3,arg4,arg5,arg6,arg7);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXHeader_setItem(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[8];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 8) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if ((argc >= 3) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0;
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXHeaderItem, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXHeader_setItem__SWIG_0(nargs, args, self);
          }
          {
            _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0;
          }
          if (_v) {
            return _wrap_FXHeader_setItem__SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  if ((argc >= 3) && (argc <= 7)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0;
      }
      if (_v) {
        {
          _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0;
        }
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXHeader_setItem__SWIG_1(nargs, args, self);
          }
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            if (argc <= 4) {
              return _wrap_FXHeader_setItem__SWIG_1(nargs, args, self);
            }
            {
              _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0;
            }
            if (_v) {
              if (argc <= 5) {
                return _wrap_FXHeader_setItem__SWIG_1(nargs, args, self);
              }
              {
                _v = 1;
              }
              if (_v) {
                if (argc <= 6) {
                  return _wrap_FXHeader_setItem__SWIG_1(nargs, args, self);
                }
                {
                  _v = (argv[6] == Qtrue || argv[6] == Qfalse) ? 1 : 0;
                }
                if (_v) {
                  return _wrap_FXHeader_setItem__SWIG_1(nargs, args, self);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 8, "setItem", 
    "    FXint setItem(FXint index, FXHeaderItem *item, FXbool notify)\n"
    "    FXint setItem(FXint index, FXString const &text, FXIcon *icon, FXint size, void *ITEMDATA, FXbool notify)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_fillItems(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXchar **arg2 = (FXchar **) 0 ;
  FXIcon *arg3 = (FXIcon *) 0 ;
  FXint arg4 = (FXint) 0 ;
  void *arg5 = (void *) 0 ;
  FXbool arg6 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","fillItems", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  {
    arg2 = NULL;
    if(!NIL_P(argv[0])){
      Check_Type(argv[0], T_ARRAY);
      if (FXMALLOC(&arg2, FXchar *, RARRAY_LEN(argv[0])+1)) {
        for (long i = 0; i < RARRAY_LEN(argv[0]); i++) {
          VALUE e = rb_ary_entry(argv[0], i);
          arg2[i] = (FXchar *) StringValuePtr(e);
        }
        arg2[RARRAY_LEN(argv[0])] = 0;
      }
    }
  }
  if (argc > 1) {
    res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","fillItems", 3, argv[1] )); 
    }
    arg3 = reinterpret_cast< FXIcon * >(argp3);
  }
  if (argc > 2) {
    arg4 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3];
  }
  if (argc > 4) {
    arg6 = to_FXbool(argv[4]);
  }
  result = (FXint)(arg1)->fillItems((FXchar const **)arg2,arg3,arg4,arg5,arg6);
  vresult = SWIG_From_int(static_cast< int >(result));
  FXFREE(&arg2);
  return vresult;
fail:
  FXFREE(&arg2);
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_insertItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXHeaderItem *arg3 = (FXHeaderItem *) 0 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","insertItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXHeaderItem *","insertItem", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXHeaderItem * >(argp3);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXint)FXHeader_insertItem__SWIG_0(arg1,arg2,arg3,arg4);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_insertItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXString *arg3 = 0 ;
  FXIcon *arg4 = (FXIcon *) 0 ;
  FXint arg5 = (FXint) 0 ;
  void *arg6 = (void *) 0 ;
  FXbool arg7 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p3 ;
  void *argp4 = 0 ;
  int res4 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 6)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","insertItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  p3 = to_FXString(argv[1]); arg3 = &p3;
  if (argc > 2) {
    res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","insertItem", 4, argv[2] )); 
    }
    arg4 = reinterpret_cast< FXIcon * >(argp4);
  }
  if (argc > 3) {
    arg5 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg6 = (argv[4] == Qnil) ? NULL : (void *) argv[4];
  }
  if (argc > 5) {
    arg7 = to_FXbool(argv[5]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXint)(arg1)->insertItem(arg2,(FXString const &)*arg3,arg4,arg5,arg6,arg7);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXHeader_insertItem(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[8];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 8) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if ((argc >= 3) && (argc <= 4)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0;
      }
      if (_v) {
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXHeaderItem, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXHeader_insertItem__SWIG_0(nargs, args, self);
          }
          {
            _v = (argv[3] == Qtrue || argv[3] == Qfalse) ? 1 : 0;
          }
          if (_v) {
            return _wrap_FXHeader_insertItem__SWIG_0(nargs, args, self);
          }
        }
      }
    }
  }
  if ((argc >= 3) && (argc <= 7)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0;
      }
      if (_v) {
        {
          _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0;
        }
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXHeader_insertItem__SWIG_1(nargs, args, self);
          }
          void *vptr = 0;
          int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0);
          _v = SWIG_CheckState(res);
          if (_v) {
            if (argc <= 4) {
              return _wrap_FXHeader_insertItem__SWIG_1(nargs, args, self);
            }
            {
              _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0;
            }
            if (_v) {
              if (argc <= 5) {
                return _wrap_FXHeader_insertItem__SWIG_1(nargs, args, self);
              }
              {
                _v = 1;
              }
              if (_v) {
                if (argc <= 6) {
                  return _wrap_FXHeader_insertItem__SWIG_1(nargs, args, self);
                }
                {
                  _v = (argv[6] == Qtrue || argv[6] == Qfalse) ? 1 : 0;
                }
                if (_v) {
                  return _wrap_FXHeader_insertItem__SWIG_1(nargs, args, self);
                }
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 8, "insertItem", 
    "    FXint insertItem(FXint index, FXHeaderItem *item, FXbool notify)\n"
    "    FXint insertItem(FXint index, FXString const &text, FXIcon *icon, FXint size, void *ITEMDATA, FXbool notify)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_appendItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXHeaderItem *arg2 = (FXHeaderItem *) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","appendItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXHeaderItem *","appendItem", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXHeaderItem * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  result = (FXint)FXHeader_appendItem__SWIG_0(arg1,arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_appendItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXString *arg2 = 0 ;
  FXIcon *arg3 = (FXIcon *) 0 ;
  FXint arg4 = (FXint) 0 ;
  void *arg5 = (void *) 0 ;
  FXbool arg6 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","appendItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  if (argc > 1) {
    res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","appendItem", 3, argv[1] )); 
    }
    arg3 = reinterpret_cast< FXIcon * >(argp3);
  }
  if (argc > 2) {
    arg4 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3];
  }
  if (argc > 4) {
    arg6 = to_FXbool(argv[4]);
  }
  result = (FXint)(arg1)->appendItem((FXString const &)*arg2,arg3,arg4,arg5,arg6);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXHeader_appendItem(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[7];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 7) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if ((argc >= 2) && (argc <= 3)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXHeaderItem, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        if (argc <= 2) {
          return _wrap_FXHeader_appendItem__SWIG_0(nargs, args, self);
        }
        {
          _v = (argv[2] == Qtrue || argv[2] == Qfalse) ? 1 : 0;
        }
        if (_v) {
          return _wrap_FXHeader_appendItem__SWIG_0(nargs, args, self);
        }
      }
    }
  }
  if ((argc >= 2) && (argc <= 6)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0;
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_FXHeader_appendItem__SWIG_1(nargs, args, self);
        }
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXIcon, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXHeader_appendItem__SWIG_1(nargs, args, self);
          }
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            if (argc <= 4) {
              return _wrap_FXHeader_appendItem__SWIG_1(nargs, args, self);
            }
            {
              _v = 1;
            }
            if (_v) {
              if (argc <= 5) {
                return _wrap_FXHeader_appendItem__SWIG_1(nargs, args, self);
              }
              {
                _v = (argv[5] == Qtrue || argv[5] == Qfalse) ? 1 : 0;
              }
              if (_v) {
                return _wrap_FXHeader_appendItem__SWIG_1(nargs, args, self);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 7, "appendItem", 
    "    FXint appendItem(FXHeaderItem *item, FXbool notify)\n"
    "    FXint appendItem(FXString const &text, FXIcon *icon, FXint size, void *ITEMDATA, FXbool notify)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_prependItem__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXHeaderItem *arg2 = (FXHeaderItem *) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","prependItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXHeaderItem, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXHeaderItem *","prependItem", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXHeaderItem * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  result = (FXint)FXHeader_prependItem__SWIG_0(arg1,arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_prependItem__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXString *arg2 = 0 ;
  FXIcon *arg3 = (FXIcon *) 0 ;
  FXint arg4 = (FXint) 0 ;
  void *arg5 = (void *) 0 ;
  FXbool arg6 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","prependItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  if (argc > 1) {
    res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","prependItem", 3, argv[1] )); 
    }
    arg3 = reinterpret_cast< FXIcon * >(argp3);
  }
  if (argc > 2) {
    arg4 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3];
  }
  if (argc > 4) {
    arg6 = to_FXbool(argv[4]);
  }
  result = (FXint)(arg1)->prependItem((FXString const &)*arg2,arg3,arg4,arg5,arg6);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXHeader_prependItem(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[7];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 7) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if ((argc >= 2) && (argc <= 3)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXHeaderItem, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        if (argc <= 2) {
          return _wrap_FXHeader_prependItem__SWIG_0(nargs, args, self);
        }
        {
          _v = (argv[2] == Qtrue || argv[2] == Qfalse) ? 1 : 0;
        }
        if (_v) {
          return _wrap_FXHeader_prependItem__SWIG_0(nargs, args, self);
        }
      }
    }
  }
  if ((argc >= 2) && (argc <= 6)) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      {
        _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0;
      }
      if (_v) {
        if (argc <= 2) {
          return _wrap_FXHeader_prependItem__SWIG_1(nargs, args, self);
        }
        void *vptr = 0;
        int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXIcon, 0);
        _v = SWIG_CheckState(res);
        if (_v) {
          if (argc <= 3) {
            return _wrap_FXHeader_prependItem__SWIG_1(nargs, args, self);
          }
          {
            _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0;
          }
          if (_v) {
            if (argc <= 4) {
              return _wrap_FXHeader_prependItem__SWIG_1(nargs, args, self);
            }
            {
              _v = 1;
            }
            if (_v) {
              if (argc <= 5) {
                return _wrap_FXHeader_prependItem__SWIG_1(nargs, args, self);
              }
              {
                _v = (argv[5] == Qtrue || argv[5] == Qfalse) ? 1 : 0;
              }
              if (_v) {
                return _wrap_FXHeader_prependItem__SWIG_1(nargs, args, self);
              }
            }
          }
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 7, "prependItem", 
    "    FXint prependItem(FXHeaderItem *item, FXbool notify)\n"
    "    FXint prependItem(FXString const &text, FXIcon *icon, FXint size, void *ITEMDATA, FXbool notify)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_extractItem(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXHeaderItem *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","extractItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXHeaderItem *)(arg1)->extractItem(arg2,arg3);
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXHeaderItem, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_removeItem(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","removeItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  FXHeader_removeItem(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_clearItems(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXbool arg2 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","clearItems", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXHeader_clearItems(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemText(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXString *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p3 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  p3 = to_FXString(argv[1]); arg3 = &p3;
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setItemText(arg2,(FXString const &)*arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemText(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = ((FXHeader const *)arg1)->getItemText(arg2);
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemIcon(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXIcon *arg3 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","setItemIcon", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXIcon * >(argp3);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setItemIcon(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemIcon(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXIcon *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXIcon *)((FXHeader const *)arg1)->getItemIcon(arg2);
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemSize(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setItemSize(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemSize(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXint)((FXHeader const *)arg1)->getItemSize(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemOffset(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemOffset", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXint)((FXHeader const *)arg1)->getItemOffset(arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemData(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  VALUE arg3 = (VALUE) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = argv[1];
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  FXHeader_setItemData(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemData(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemData", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (VALUE)FXHeader_getItemData((FXHeader const *)arg1,arg2);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setArrowDir(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setArrowDir", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setArrowDir(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getArrowDir(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getArrowDir", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXuint)((FXHeader const *)arg1)->getArrowDir(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemJustify(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXuint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2UINT(argv[1]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setItemJustify(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemJustify(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXuint)((FXHeader const *)arg1)->getItemJustify(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemIconPosition(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXuint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemIconPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2UINT(argv[1]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setItemIconPosition(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getItemIconPosition(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getItemIconPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXuint)((FXHeader const *)arg1)->getItemIconPosition(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setItemPressed(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setItemPressed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->setItemPressed(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_isItemPressed(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","isItemPressed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  result = (FXbool)((FXHeader const *)arg1)->isItemPressed(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_makeItemVisible(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","makeItemVisible", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  (arg1)->makeItemVisible(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_updateItem(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","updateItem", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumItems()) {
      rb_raise(rb_eIndexError, "header item index out of bounds");
    }
  }
  ((FXHeader const *)arg1)->updateItem(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setFont(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  (arg1)->setFont(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getFont(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFont *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXFont *)((FXHeader const *)arg1)->getFont();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getTextColor(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXColor)((FXHeader const *)arg1)->getTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setTextColor(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setHeaderStyle(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setHeaderStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setHeaderStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getHeaderStyle(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getHeaderStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXuint)((FXHeader const *)arg1)->getHeaderStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXString *) &((FXHeader const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_save(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXHeader_save((FXHeader const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_load(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXHeader_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_create(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_detach(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_destroy(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_resize(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXHeader_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXint)FXHeader_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (FXint)FXHeader_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXHeader_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXHeader_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_canFocus(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (bool)FXHeader_canFocus((FXHeader const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setFocus(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_killFocus(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXHeader_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setDefault(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXHeader_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_enable(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_disable(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_lower(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_move(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXHeader_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_position(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXHeader_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_layout(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_recalc(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_reparent(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXHeader_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_show(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_hide(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_isComposite(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (bool)FXHeader_isComposite((FXHeader const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_contains(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXHeader_contains((FXHeader const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  result = (bool)FXHeader_doesSaveUnder((FXHeader const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXHeader_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_tr(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXHeader_tr((FXHeader const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXHeader_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXHeader_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXHeader_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXHeader_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXHeader_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXHeader_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHeader, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXHeader_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHeader_clearShape(int argc, VALUE *argv, VALUE self) {
  FXHeader *arg1 = (FXHeader *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHeader, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHeader *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHeader * >(argp1);
  FXHeader_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXImageFrame;

SWIGINTERN VALUE
_wrap_FXImageFrame_onPaint(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXImageFrame_allocate(VALUE self)
#else
_wrap_FXImageFrame_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXImageFrame);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXImageFrame(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXImage *arg2 = (FXImage *) 0 ;
  FXuint arg3 = (FXuint) FRAME_SUNKEN|FRAME_THICK ;
  FXint arg4 = (FXint) 0 ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) 0 ;
  FXint arg11 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXImageFrame *result = 0 ;
  
  if ((argc < 2) || (argc > 11)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXImageFrame", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage *","FXImageFrame", 2, argv[1] )); 
  }
  arg2 = reinterpret_cast< FXImage * >(argp2);
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXImageFrame *)new_FXImageFrame(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setImage(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXImage *arg2 = (FXImage *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setImage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXImage, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage *","setImage", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXImage * >(argp2);
  (arg1)->setImage(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_getImage(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXImage *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","getImage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (FXImage *)((FXImageFrame const *)arg1)->getImage();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXImage, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setJustify(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setJustify(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_getJustify(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","getJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (FXuint)((FXImageFrame const *)arg1)->getJustify();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_save(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXImageFrame_save((FXImageFrame const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_load(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXImageFrame_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_create(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_detach(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_destroy(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_resize(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXImageFrame_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (FXint)FXImageFrame_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (FXint)FXImageFrame_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXImageFrame_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXImageFrame_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_canFocus(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (bool)FXImageFrame_canFocus((FXImageFrame const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setFocus(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_killFocus(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXImageFrame_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setDefault(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXImageFrame_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_enable(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_disable(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_lower(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_move(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXImageFrame_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_position(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXImageFrame_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_layout(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_recalc(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_reparent(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXImageFrame_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_show(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_hide(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_isComposite(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (bool)FXImageFrame_isComposite((FXImageFrame const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_contains(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXImageFrame_contains((FXImageFrame const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  result = (bool)FXImageFrame_doesSaveUnder((FXImageFrame const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXImageFrame_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_tr(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXImageFrame_tr((FXImageFrame const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXImageFrame_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXImageFrame_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXImageFrame_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXImageFrame_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXImageFrame_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXImageFrame_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXImageFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXImageFrame_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXImageFrame_clearShape(int argc, VALUE *argv, VALUE self) {
  FXImageFrame *arg1 = (FXImageFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXImageFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXImageFrame *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXImageFrame * >(argp1);
  FXImageFrame_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXBitmapFrame;

SWIGINTERN VALUE
_wrap_FXBitmapFrame_onPaint(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXBitmapFrame_allocate(VALUE self)
#else
_wrap_FXBitmapFrame_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXBitmapFrame);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXBitmapFrame(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  FXuint arg3 = (FXuint) FRAME_SUNKEN|FRAME_THICK ;
  FXint arg4 = (FXint) 0 ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) 0 ;
  FXint arg11 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXBitmapFrame *result = 0 ;
  
  if ((argc < 2) || (argc > 11)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXBitmapFrame", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","FXBitmapFrame", 2, argv[1] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXBitmapFrame *)new_FXBitmapFrame(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setBitmap(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setBitmap", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setBitmap", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  (arg1)->setBitmap(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getBitmap(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXBitmap *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","getBitmap", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (FXBitmap *)((FXBitmapFrame const *)arg1)->getBitmap();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXBitmap, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setOnColor(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setOnColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setOnColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getOnColor(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","getOnColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (FXColor)((FXBitmapFrame const *)arg1)->getOnColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setOffColor(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setOffColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setOffColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getOffColor(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","getOffColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (FXColor)((FXBitmapFrame const *)arg1)->getOffColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setJustify(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setJustify(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getJustify(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","getJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (FXuint)((FXBitmapFrame const *)arg1)->getJustify();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_save(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXBitmapFrame_save((FXBitmapFrame const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_load(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXBitmapFrame_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_create(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_detach(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_destroy(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_resize(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXBitmapFrame_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (FXint)FXBitmapFrame_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (FXint)FXBitmapFrame_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXBitmapFrame_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXBitmapFrame_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_canFocus(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (bool)FXBitmapFrame_canFocus((FXBitmapFrame const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setFocus(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_killFocus(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXBitmapFrame_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setDefault(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXBitmapFrame_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_enable(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_disable(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_lower(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_move(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXBitmapFrame_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_position(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXBitmapFrame_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_layout(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_recalc(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_reparent(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXBitmapFrame_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_show(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_hide(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_isComposite(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (bool)FXBitmapFrame_isComposite((FXBitmapFrame const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_contains(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXBitmapFrame_contains((FXBitmapFrame const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  result = (bool)FXBitmapFrame_doesSaveUnder((FXBitmapFrame const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXBitmapFrame_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_tr(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXBitmapFrame_tr((FXBitmapFrame const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXBitmapFrame_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXBitmapFrame_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXBitmapFrame_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXBitmapFrame_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXBitmapFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXBitmapFrame_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXBitmapFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXBitmapFrame_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXBitmapFrame, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXBitmapFrame_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXBitmapFrame_clearShape(int argc, VALUE *argv, VALUE self) {
  FXBitmapFrame *arg1 = (FXBitmapFrame *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXBitmapFrame, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXBitmapFrame *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXBitmapFrame * >(argp1);
  FXBitmapFrame_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXKnob;

SWIGINTERN VALUE
_wrap_FXKnob_onPaint(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onMiddleBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onMiddleBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onMouseWheel(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onMouseWheel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMouseWheel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onMotion(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onFocusIn(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onFocusIn", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusIn", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusIn(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onFocusOut(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onFocusOut", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusOut", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusOut(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onAutoSlide(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onAutoSlide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAutoSlide", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(static_cast<FXival>(NUM2LONG(argv[2])));
  result = (long)(arg1)->onAutoSlide(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(static_cast<FXival>(NUM2LONG(argv[2])));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXint) NUM2INT(argv[2]);
    arg4 = static_cast<void*>(&value4);
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXdouble) NUM2DBL(argv[2]);
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdGetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0));
    values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1));
    arg4 = static_cast<void*>(values4);
  }
  result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdGetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetIntRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetRealRange(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 0));
    values4[1] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 1));
    arg4 = (void *) values4;
  }
  result = (long)(arg1)->onCmdSetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdGetRealRange(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdGetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetRealRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXKnob_allocate(VALUE self)
#else
_wrap_FXKnob_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXKnob);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXKnob(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) KNOB_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXKnob *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXKnob", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXKnob", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXKnob *)new_FXKnob(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_valuee___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setValue(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setRange(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  VALUE arg2 = (VALUE) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = argv[0];
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXKnob_setRange(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_getRange(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (VALUE)FXKnob_getRange((FXKnob const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setLimits(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setLimits", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  (arg1)->setLimits(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_getLimits(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint *arg2 = 0 ;
  FXint *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","getLimits", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXint &","getLimits", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXint &","getLimits", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXint * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXint &","getLimits", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXint &","getLimits", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXint * >(argp3);
  (arg1)->getLimits(*arg2,*arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_knobStyle(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getKnobStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXuint)((FXKnob const *)arg1)->getKnobStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_knobStylee___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setKnobStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setKnobStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_increment(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXint)((FXKnob const *)arg1)->getIncrement();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_incremente___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setIncrement(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_tickDeltae___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setTickDelta", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setTickDelta(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_tickDelta(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getTickDelta", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXint)((FXKnob const *)arg1)->getTickDelta();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_lineColore___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setLineColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setLineColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_lineColor(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getLineColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXColor)((FXKnob const *)arg1)->getLineColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_helpTexte___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_helpText(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXString *) &((FXKnob const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_tipTexte___(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_tipText(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXString *) &((FXKnob const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_save(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXKnob_save((FXKnob const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_load(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXKnob_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_create(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_detach(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_destroy(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_resize(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXKnob_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXint)FXKnob_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (FXint)FXKnob_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXKnob_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXKnob_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_canFocus(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (bool)FXKnob_canFocus((FXKnob const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setFocus(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_killFocus(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXKnob_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setDefault(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXKnob_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_enable(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_disable(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_lower(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_move(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXKnob_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_position(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXKnob_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_layout(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_recalc(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_reparent(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXKnob_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_show(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_hide(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_isComposite(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (bool)FXKnob_isComposite((FXKnob const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_contains(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXKnob_contains((FXKnob const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  result = (bool)FXKnob_doesSaveUnder((FXKnob const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXKnob_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_tr(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXKnob_tr((FXKnob const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXKnob_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXKnob_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXKnob_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXKnob_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXKnob, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXKnob_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXKnob, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXKnob_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXKnob, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXKnob_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXKnob_clearShape(int argc, VALUE *argv, VALUE self) {
  FXKnob *arg1 = (FXKnob *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXKnob, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXKnob *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXKnob * >(argp1);
  FXKnob_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXProgressBar;

SWIGINTERN VALUE
_wrap_FXProgressBar_onPaint(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2UINT(argv[2]));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXint) NUM2INT(argv[2]);
    arg4 = static_cast<void*>(&value4);
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXProgressBar_allocate(VALUE self)
#else
_wrap_FXProgressBar_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXProgressBar);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXProgressBar(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) PROGRESSBAR_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXProgressBar *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXProgressBar", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXProgressBar", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXProgressBar *)new_FXProgressBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setProgress(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setProgress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setProgress(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getProgress(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getProgress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXuint)((FXProgressBar const *)arg1)->getProgress();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setTotal(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setTotal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setTotal(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getTotal(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getTotal", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXuint)((FXProgressBar const *)arg1)->getTotal();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_increment(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","increment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->increment(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_hideNumber(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","hideNumber", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  (arg1)->hideNumber();
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_showNumber(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","showNumber", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  (arg1)->showNumber();
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setBarSize(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setBarSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setBarSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getBarSize(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getBarSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXint)((FXProgressBar const *)arg1)->getBarSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setBarBGColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setBarBGColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setBarBGColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getBarBGColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getBarBGColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXColor)((FXProgressBar const *)arg1)->getBarBGColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setBarColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setBarColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setBarColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getBarColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getBarColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXColor)((FXProgressBar const *)arg1)->getBarColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setTextColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getTextColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXColor)((FXProgressBar const *)arg1)->getTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setTextAltColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setTextAltColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextAltColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getTextAltColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getTextAltColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXColor)((FXProgressBar const *)arg1)->getTextAltColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setFont(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  (arg1)->setFont(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getFont(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFont *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXFont *)((FXProgressBar const *)arg1)->getFont();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setBarStyle(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setBarStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setBarStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getBarStyle(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","getBarStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXuint)((FXProgressBar const *)arg1)->getBarStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_save(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXProgressBar_save((FXProgressBar const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_load(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXProgressBar_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_create(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_detach(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_destroy(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_resize(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXProgressBar_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXint)FXProgressBar_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (FXint)FXProgressBar_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXProgressBar_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXProgressBar_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_canFocus(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (bool)FXProgressBar_canFocus((FXProgressBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setFocus(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_killFocus(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXProgressBar_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setDefault(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXProgressBar_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_enable(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_disable(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_lower(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_move(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXProgressBar_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_position(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXProgressBar_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_layout(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_recalc(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_reparent(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXProgressBar_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_show(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_hide(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_isComposite(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (bool)FXProgressBar_isComposite((FXProgressBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_contains(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXProgressBar_contains((FXProgressBar const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  result = (bool)FXProgressBar_doesSaveUnder((FXProgressBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXProgressBar_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_tr(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXProgressBar_tr((FXProgressBar const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXProgressBar_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXProgressBar_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXProgressBar_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXProgressBar_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXProgressBar_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXProgressBar_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXProgressBar_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXProgressBar_clearShape(int argc, VALUE *argv, VALUE self) {
  FXProgressBar *arg1 = (FXProgressBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressBar *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXProgressBar * >(argp1);
  FXProgressBar_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXRuler;

SWIGINTERN VALUE
_wrap_FXRuler_onPaint(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onMotion(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdSetValue", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdSetIntValue", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetIntValue", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXRuler_allocate(VALUE self)
#else
_wrap_FXRuler_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRuler);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXRuler(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) RULER_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXRuler *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXRuler", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXRuler", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXRuler *)new_FXRuler(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setPosition(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setPosition(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getPosition(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getPosition", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getPosition();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setContentSize(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setContentSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setContentSize(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getContentSize(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getContentSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getContentSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_documentLower(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getDocumentLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getDocumentLower();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_documentUpper(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getDocumentUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getDocumentUpper();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setDocumentSize(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setDocumentSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setDocumentSize(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getDocumentSize(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getDocumentSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getDocumentSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setEdgeSpacing(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setEdgeSpacing", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setEdgeSpacing(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getEdgeSpacing(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getEdgeSpacing", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getEdgeSpacing();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setMarginLower(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setMarginLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setMarginLower(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getMarginLower(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getMarginLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getMarginLower();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setMarginUpper(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setMarginUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setMarginUpper(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getMarginUpper(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getMarginUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getMarginUpper();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setIndentFirst(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setIndentFirst", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setIndentFirst(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getIndentFirst(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getIndentFirst", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getIndentFirst();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setIndentLower(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setIndentLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setIndentLower(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getIndentLower(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getIndentLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getIndentLower();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setIndentUpper(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setIndentUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setIndentUpper(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getIndentUpper(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getIndentUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getIndentUpper();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setNumberTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setNumberTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setNumberTicks(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getNumberTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getNumberTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getNumberTicks();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setMajorTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setMajorTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setMajorTicks(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getMajorTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getMajorTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getMajorTicks();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setMediumTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setMediumTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setMediumTicks(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getMediumTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getMediumTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getMediumTicks();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setTinyTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setTinyTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setTinyTicks(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getTinyTicks(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getTinyTicks", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getTinyTicks();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setPixelPerTick(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXdouble arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setPixelPerTick", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setPixelPerTick", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setPixelPerTick(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getPixelPerTick(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getPixelPerTick", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXdouble)((FXRuler const *)arg1)->getPixelPerTick();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setFont(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setFont(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getFont(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFont *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXFont *)((FXRuler const *)arg1)->getFont();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setValue(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setValue(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getValue(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)((FXRuler const *)arg1)->getValue();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setRulerStyle(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setRulerStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setRulerStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getRulerStyle(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getRulerStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXuint)((FXRuler const *)arg1)->getRulerStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setRulerAlignment(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXuint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setRulerAlignment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setRulerAlignment(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getRulerAlignment(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getRulerAlignment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXuint)((FXRuler const *)arg1)->getRulerAlignment();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getTextColor(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXColor)((FXRuler const *)arg1)->getTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setTextColor(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXString *) &((FXRuler const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setTipText(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getTipText(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXString *) &((FXRuler const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_save(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXRuler_save((FXRuler const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_load(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXRuler_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_create(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_detach(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_destroy(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_resize(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXRuler_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)FXRuler_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (FXint)FXRuler_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXRuler_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXRuler_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_canFocus(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (bool)FXRuler_canFocus((FXRuler const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setFocus(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_killFocus(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXRuler_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setDefault(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXRuler_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_enable(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_disable(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_lower(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_move(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXRuler_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_position(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXRuler_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_layout(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_recalc(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_reparent(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXRuler_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_show(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_hide(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_isComposite(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (bool)FXRuler_isComposite((FXRuler const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_contains(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXRuler_contains((FXRuler const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  result = (bool)FXRuler_doesSaveUnder((FXRuler const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXRuler_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_tr(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXRuler_tr((FXRuler const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXRuler_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXRuler_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXRuler_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXRuler_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRuler, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRuler_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRuler, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRuler_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRuler, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRuler_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRuler_clearShape(int argc, VALUE *argv, VALUE self) {
  FXRuler *arg1 = (FXRuler *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRuler, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRuler *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRuler * >(argp1);
  FXRuler_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXSeparator;

SWIGINTERN VALUE
_wrap_FXSeparator_onPaint(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXSeparator_allocate(VALUE self)
#else
_wrap_FXSeparator_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXSeparator);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXSeparator(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXuint arg2 = (FXuint) SEPARATOR_GROOVE|LAYOUT_FILL_X ;
  FXint arg3 = (FXint) 0 ;
  FXint arg4 = (FXint) 0 ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXSeparator *result = 0 ;
  
  if ((argc < 1) || (argc > 10)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXSeparator", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    arg2 = NUM2UINT(argv[1]);
  }
  if (argc > 2) {
    arg3 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXSeparator *)new_FXSeparator(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setSeparatorStyle(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setSeparatorStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setSeparatorStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_getSeparatorStyle(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","getSeparatorStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  result = (FXuint)((FXSeparator const *)arg1)->getSeparatorStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_save(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXSeparator_save((FXSeparator const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_load(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXSeparator_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_create(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_detach(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_destroy(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_resize(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXSeparator_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  result = (FXint)FXSeparator_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  result = (FXint)FXSeparator_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXSeparator_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXSeparator_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_canFocus(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  result = (bool)FXSeparator_canFocus((FXSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setFocus(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_killFocus(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXSeparator_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setDefault(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXSeparator_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_enable(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_disable(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_lower(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_move(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXSeparator_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_position(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXSeparator_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_layout(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_recalc(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_reparent(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXSeparator_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_show(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_hide(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_isComposite(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  result = (bool)FXSeparator_isComposite((FXSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_contains(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXSeparator_contains((FXSeparator const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  result = (bool)FXSeparator_doesSaveUnder((FXSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXSeparator_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_tr(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXSeparator_tr((FXSeparator const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXSeparator_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXSeparator_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXSeparator_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXSeparator_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXSeparator_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXSeparator_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXSeparator_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSeparator_clearShape(int argc, VALUE *argv, VALUE self) {
  FXSeparator *arg1 = (FXSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSeparator *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSeparator * >(argp1);
  FXSeparator_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXHorizontalSeparator;

SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXHorizontalSeparator_allocate(VALUE self)
#else
_wrap_FXHorizontalSeparator_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXHorizontalSeparator);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXHorizontalSeparator(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXuint arg2 = (FXuint) SEPARATOR_GROOVE|LAYOUT_FILL_X ;
  FXint arg3 = (FXint) 0 ;
  FXint arg4 = (FXint) 0 ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 1 ;
  FXint arg8 = (FXint) 1 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXHorizontalSeparator *result = 0 ;
  
  if ((argc < 1) || (argc > 10)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXHorizontalSeparator", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    arg2 = NUM2UINT(argv[1]);
  }
  if (argc > 2) {
    arg3 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXHorizontalSeparator *)new_FXHorizontalSeparator(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_save(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXHorizontalSeparator_save((FXHorizontalSeparator const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_load(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXHorizontalSeparator_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_create(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_detach(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_destroy(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_resize(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXHorizontalSeparator_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  result = (FXint)FXHorizontalSeparator_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  result = (FXint)FXHorizontalSeparator_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXHorizontalSeparator_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXHorizontalSeparator_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_canFocus(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  result = (bool)FXHorizontalSeparator_canFocus((FXHorizontalSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_setFocus(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_killFocus(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXHorizontalSeparator_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_setDefault(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXHorizontalSeparator_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_enable(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_disable(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_lower(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_move(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXHorizontalSeparator_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_position(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXHorizontalSeparator_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_layout(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_recalc(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_reparent(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXHorizontalSeparator_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_show(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_hide(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_isComposite(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  result = (bool)FXHorizontalSeparator_isComposite((FXHorizontalSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_contains(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXHorizontalSeparator_contains((FXHorizontalSeparator const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  result = (bool)FXHorizontalSeparator_doesSaveUnder((FXHorizontalSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXHorizontalSeparator_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_tr(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXHorizontalSeparator_tr((FXHorizontalSeparator const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXHorizontalSeparator_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXHorizontalSeparator_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXHorizontalSeparator_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXHorizontalSeparator_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHorizontalSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXHorizontalSeparator_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHorizontalSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXHorizontalSeparator_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXHorizontalSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXHorizontalSeparator_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXHorizontalSeparator_clearShape(int argc, VALUE *argv, VALUE self) {
  FXHorizontalSeparator *arg1 = (FXHorizontalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXHorizontalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXHorizontalSeparator *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXHorizontalSeparator * >(argp1);
  FXHorizontalSeparator_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXVerticalSeparator;

SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXVerticalSeparator_allocate(VALUE self)
#else
_wrap_FXVerticalSeparator_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXVerticalSeparator);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXVerticalSeparator(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXuint arg2 = (FXuint) SEPARATOR_GROOVE|LAYOUT_FILL_Y ;
  FXint arg3 = (FXint) 0 ;
  FXint arg4 = (FXint) 0 ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 1 ;
  FXint arg10 = (FXint) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXVerticalSeparator *result = 0 ;
  
  if ((argc < 1) || (argc > 10)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXVerticalSeparator", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    arg2 = NUM2UINT(argv[1]);
  }
  if (argc > 2) {
    arg3 = NUM2INT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2INT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXVerticalSeparator *)new_FXVerticalSeparator(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_save(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXVerticalSeparator_save((FXVerticalSeparator const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_load(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXVerticalSeparator_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_create(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_detach(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_destroy(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_resize(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXVerticalSeparator_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  result = (FXint)FXVerticalSeparator_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  result = (FXint)FXVerticalSeparator_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXVerticalSeparator_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXVerticalSeparator_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_canFocus(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  result = (bool)FXVerticalSeparator_canFocus((FXVerticalSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_setFocus(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_killFocus(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXVerticalSeparator_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_setDefault(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXVerticalSeparator_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_enable(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_disable(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_lower(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_move(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXVerticalSeparator_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_position(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXVerticalSeparator_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_layout(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_recalc(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_reparent(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXVerticalSeparator_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_show(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_hide(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_isComposite(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  result = (bool)FXVerticalSeparator_isComposite((FXVerticalSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_contains(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXVerticalSeparator_contains((FXVerticalSeparator const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  result = (bool)FXVerticalSeparator_doesSaveUnder((FXVerticalSeparator const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXVerticalSeparator_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_tr(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXVerticalSeparator_tr((FXVerticalSeparator const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXVerticalSeparator_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXVerticalSeparator_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXVerticalSeparator_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXVerticalSeparator_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXVerticalSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXVerticalSeparator_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXVerticalSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXVerticalSeparator_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXVerticalSeparator, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXVerticalSeparator_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXVerticalSeparator_clearShape(int argc, VALUE *argv, VALUE self) {
  FXVerticalSeparator *arg1 = (FXVerticalSeparator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXVerticalSeparator, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXVerticalSeparator *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXVerticalSeparator * >(argp1);
  FXVerticalSeparator_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXSlider;

SWIGINTERN VALUE
_wrap_FXSlider_onPaint(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onMotion(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onMouseWheel(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onMouseWheel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMouseWheel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onMiddleBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onMiddleBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onAutoSlide(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onAutoSlide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAutoSlide", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2INT(argv[2]));
  result = (long)(arg1)->onAutoSlide(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2INT(argv[2]));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXint) NUM2INT(argv[2]);
    arg4 = static_cast<void*>(&value4);
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXdouble) NUM2DBL(argv[2]);
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdGetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0));
    values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1));
    arg4 = static_cast<void*>(values4);
  }
  result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdGetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetIntRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetRealRange(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 0));
    values4[1] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 1));
    arg4 = (void *) values4;
  }
  result = (long)(arg1)->onCmdSetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdGetRealRange(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdGetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetRealRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXSlider_allocate(VALUE self)
#else
_wrap_FXSlider_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXSlider);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXSlider(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) SLIDER_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) 0 ;
  FXint arg11 = (FXint) 0 ;
  FXint arg12 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXSlider *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXSlider", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXSlider", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXSlider *)new_FXSlider(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setValue(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getValue(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)((FXSlider const *)arg1)->getValue();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setRange(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  VALUE arg2 = (VALUE) 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = argv[0];
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  FXSlider_setRange(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getRange(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (VALUE)FXSlider_getRange((FXSlider const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getSliderStyle(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getSliderStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXuint)((FXSlider const *)arg1)->getSliderStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setSliderStyle(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setSliderStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setSliderStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getHeadSize(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getHeadSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)((FXSlider const *)arg1)->getHeadSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setHeadSize(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setHeadSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setHeadSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getSlotSize(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getSlotSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)((FXSlider const *)arg1)->getSlotSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setSlotSize(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setSlotSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setSlotSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getIncrement(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)((FXSlider const *)arg1)->getIncrement();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setIncrement(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setIncrement(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setTickDelta(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setTickDelta", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setTickDelta(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getTickDelta(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getTickDelta", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)((FXSlider const *)arg1)->getTickDelta();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setSlotColor(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setSlotColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSlotColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getSlotColor(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getSlotColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXColor)((FXSlider const *)arg1)->getSlotColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXString *) &((FXSlider const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setTipText(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getTipText(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXString *) &((FXSlider const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_save(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXSlider_save((FXSlider const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_load(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXSlider_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_create(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_detach(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_destroy(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_resize(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXSlider_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)FXSlider_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (FXint)FXSlider_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXSlider_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXSlider_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_canFocus(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (bool)FXSlider_canFocus((FXSlider const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setFocus(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_killFocus(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXSlider_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setDefault(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXSlider_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_enable(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_disable(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_lower(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_move(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXSlider_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_position(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXSlider_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_layout(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_recalc(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_reparent(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXSlider_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_show(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_hide(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_isComposite(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (bool)FXSlider_isComposite((FXSlider const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_contains(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXSlider_contains((FXSlider const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  result = (bool)FXSlider_doesSaveUnder((FXSlider const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXSlider_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_tr(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXSlider_tr((FXSlider const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXSlider_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXSlider_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXSlider_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXSlider_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSlider, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXSlider_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSlider, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXSlider_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSlider, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXSlider_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXSlider_clearShape(int argc, VALUE *argv, VALUE self) {
  FXSlider *arg1 = (FXSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSlider *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXSlider * >(argp1);
  FXSlider_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXRealSlider;

SWIGINTERN VALUE
_wrap_FXRealSlider_onPaint(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onMotion(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onMouseWheel(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onMouseWheel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMouseWheel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMouseWheel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onMiddleBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onMiddleBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onAutoSlide(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onAutoSlide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAutoSlide", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2INT(argv[2]));
  result = (long)(arg1)->onAutoSlide(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = reinterpret_cast<void*>(NUM2INT(argv[2]));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXint) NUM2INT(argv[2]);
    arg4 = static_cast<void*>(&value4);
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXdouble) NUM2DBL(argv[2]);
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdGetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetIntRange(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXint) NUM2INT(rb_ary_entry(argv[2], 0));
    values4[1] = (FXint) NUM2INT(rb_ary_entry(argv[2], 1));
    arg4 = static_cast<void*>(values4);
  }
  result = (long)(arg1)->onCmdSetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdGetIntRange(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdGetIntRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetIntRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetIntRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetRealRange(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble values4[2] ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    Check_Type(argv[2], T_ARRAY);
    values4[0] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 0));
    values4[1] = (FXdouble) NUM2DBL(rb_ary_entry(argv[2], 1));
    arg4 = (void *) values4;
  }
  result = (long)(arg1)->onCmdSetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdGetRealRange(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdGetRealRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealRange", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdGetRealRange", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdGetRealRange(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXRealSlider_allocate(VALUE self)
#else
_wrap_FXRealSlider_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRealSlider);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXRealSlider(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) REALSLIDER_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) 0 ;
  FXint arg11 = (FXint) 0 ;
  FXint arg12 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXRealSlider *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXRealSlider", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXRealSlider", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXRealSlider *)new_FXRealSlider(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXdouble arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setValue", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setValue(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getValue(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXdouble)((FXRealSlider const *)arg1)->getValue();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setRange(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXdouble arg2 ;
  FXdouble arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setRange", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","setRange", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  (arg1)->setRange(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getRange(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getRange", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (VALUE)FXRealSlider_getRange((FXRealSlider const *)arg1);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getSliderStyle(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getSliderStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXuint)((FXRealSlider const *)arg1)->getSliderStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setSliderStyle(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setSliderStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setSliderStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getHeadSize(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getHeadSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXint)((FXRealSlider const *)arg1)->getHeadSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setHeadSize(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setHeadSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setHeadSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getSlotSize(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getSlotSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXint)((FXRealSlider const *)arg1)->getSlotSize();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setSlotSize(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setSlotSize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setSlotSize(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getIncrement(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXdouble)((FXRealSlider const *)arg1)->getIncrement();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setIncrement(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setIncrement", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setIncrement", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  (arg1)->setIncrement(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setTickDelta(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setTickDelta", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setTickDelta", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  (arg1)->setTickDelta(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getTickDelta(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getTickDelta", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXdouble)((FXRealSlider const *)arg1)->getTickDelta();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setSlotColor(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setSlotColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSlotColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getSlotColor(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getSlotColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXColor)((FXRealSlider const *)arg1)->getSlotColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXString *) &((FXRealSlider const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setTipText(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getTipText(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXString *) &((FXRealSlider const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_save(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXRealSlider_save((FXRealSlider const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_load(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXRealSlider_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_create(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_detach(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_destroy(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_resize(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXRealSlider_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXint)FXRealSlider_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (FXint)FXRealSlider_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXRealSlider_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXRealSlider_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_canFocus(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (bool)FXRealSlider_canFocus((FXRealSlider const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setFocus(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_killFocus(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXRealSlider_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setDefault(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXRealSlider_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_enable(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_disable(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_lower(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_move(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXRealSlider_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_position(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXRealSlider_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_layout(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_recalc(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_reparent(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXRealSlider_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_show(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_hide(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_isComposite(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (bool)FXRealSlider_isComposite((FXRealSlider const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_contains(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXRealSlider_contains((FXRealSlider const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  result = (bool)FXRealSlider_doesSaveUnder((FXRealSlider const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXRealSlider_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_tr(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXRealSlider_tr((FXRealSlider const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXRealSlider_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXRealSlider_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXRealSlider_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXRealSlider_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRealSlider, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRealSlider_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRealSlider, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRealSlider_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXRealSlider, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXRealSlider_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXRealSlider_clearShape(int argc, VALUE *argv, VALUE self) {
  FXRealSlider *arg1 = (FXRealSlider *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXRealSlider, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXRealSlider *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXRealSlider * >(argp1);
  FXRealSlider_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXStatusLine;

SWIGINTERN VALUE
_wrap_FXStatusLine_onPaint(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_onUpdate(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","onUpdate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdate", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdate(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","onCmdGetStringValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetStringValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","onCmdSetStringValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetStringValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXStatusLine_allocate(VALUE self)
#else
_wrap_FXStatusLine_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXStatusLine);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXStatusLine(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXStatusLine *result = 0 ;
  
  if ((argc < 1) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXStatusLine", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXStatusLine", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXStatusLine *)new_FXStatusLine(arg1,arg2,arg3);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setText(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getText(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = ((FXStatusLine const *)arg1)->getText();
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setNormalText(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setNormalText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setNormalText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getNormalText(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","getNormalText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = ((FXStatusLine const *)arg1)->getNormalText();
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setFont(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  (arg1)->setFont(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getFont(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFont *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","getFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (FXFont *)((FXStatusLine const *)arg1)->getFont();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getTextColor(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","getTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (FXColor)((FXStatusLine const *)arg1)->getTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setTextColor(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getTextHighlightColor(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","getTextHighlightColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (FXColor)((FXStatusLine const *)arg1)->getTextHighlightColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setTextHighlightColor(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setTextHighlightColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextHighlightColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_save(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXStatusLine_save((FXStatusLine const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_load(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXStatusLine_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_create(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_detach(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_destroy(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_resize(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXStatusLine_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (FXint)FXStatusLine_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (FXint)FXStatusLine_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXStatusLine_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXStatusLine_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_canFocus(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (bool)FXStatusLine_canFocus((FXStatusLine const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setFocus(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_killFocus(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXStatusLine_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setDefault(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXStatusLine_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_enable(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_disable(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_lower(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_move(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXStatusLine_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_position(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXStatusLine_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_layout(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_recalc(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_reparent(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXStatusLine_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_show(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_hide(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_isComposite(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (bool)FXStatusLine_isComposite((FXStatusLine const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_contains(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXStatusLine_contains((FXStatusLine const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  result = (bool)FXStatusLine_doesSaveUnder((FXStatusLine const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXStatusLine_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_tr(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXStatusLine_tr((FXStatusLine const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXStatusLine_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXStatusLine_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXStatusLine_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXStatusLine_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXStatusLine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXStatusLine_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXStatusLine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXStatusLine_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXStatusLine, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXStatusLine_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXStatusLine_clearShape(int argc, VALUE *argv, VALUE self) {
  FXStatusLine *arg1 = (FXStatusLine *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXStatusLine, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXStatusLine *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXStatusLine * >(argp1);
  FXStatusLine_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXTextField;

SWIGINTERN VALUE
_wrap_FXTextField_onPaint(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onUpdate(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onUpdate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdate", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdate(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onMiddleBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onMiddleBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMiddleBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMiddleBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onVerify(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onVerify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onVerify", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = static_cast<void*>(StringValuePtr(argv[2]));
  result = (long)(arg1)->onVerify(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onMotion(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onSelectionLost(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onSelectionLost", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelectionLost", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onSelectionLost(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onSelectionGained(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onSelectionGained", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelectionGained", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onSelectionGained(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onSelectionRequest(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onSelectionRequest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelectionRequest", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onSelectionRequest", 4, argv[2] )); 
  }
  result = (long)(arg1)->onSelectionRequest(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onClipboardLost(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onClipboardLost", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onClipboardLost", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onClipboardLost(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onClipboardGained(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onClipboardGained", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onClipboardGained", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onClipboardGained(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onClipboardRequest(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onClipboardRequest", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onClipboardRequest", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onClipboardRequest(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onFocusSelf(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onFocusSelf", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusSelf", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusSelf(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onFocusIn(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onFocusIn", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusIn", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusIn(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onFocusOut(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onFocusOut", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onFocusOut", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onFocusOut(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onBlink(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onBlink", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onBlink", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onBlink(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onAutoScroll(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onAutoScroll", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onAutoScroll", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onAutoScroll(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSetValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSetValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = static_cast<void*>(StringValuePtr(argv[2]));
  result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXint value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXint) NUM2INT(argv[2]);
    arg4 = static_cast<void*>(&value4);
  }
  result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSetRealValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXdouble value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = (FXdouble) NUM2DBL(argv[2]);
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSetStringValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetStringValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdGetIntValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdGetRealValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdGetRealValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetRealValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetRealValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdGetStringValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetStringValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorHome(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorHome", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorHome", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorHome(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorEnd(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorEnd", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorEnd", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorEnd(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorRight(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorRight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorRight", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorRight(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorLeft(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorLeft", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorLeft", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorLeft(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorWordLeft(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorWordLeft", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorWordLeft", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorWordLeft(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorWordRight(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorWordRight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorWordRight", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorWordRight(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorWordStart(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorWordStart", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorWordStart", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorWordStart(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCursorWordEnd(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCursorWordEnd", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCursorWordEnd", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCursorWordEnd(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdMark(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdMark", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMark", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdMark(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdExtend(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdExtend", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdExtend", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdExtend(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSelectAll(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSelectAll", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSelectAll", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdSelectAll(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdDeselectAll(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdDeselectAll", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDeselectAll", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdDeselectAll(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCutSel(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCutSel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCutSel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCutSel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdCopySel(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdCopySel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCopySel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCopySel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdPasteSel(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdPasteSel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdPasteSel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdPasteSel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdPasteMiddle(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdPasteMiddle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdPasteMiddle", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdPasteMiddle(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdDeleteSel(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdDeleteSel", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDeleteSel", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdDeleteSel(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdDeleteAll(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdDeleteAll", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDeleteAll", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdDeleteAll(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdOverstString(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdOverstString", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdOverstString", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  res4 = SWIG_ConvertPtr(argv[2],SWIG_as_voidptrptr(&arg4), 0, 0);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "void *","onCmdOverstString", 4, argv[2] )); 
  }
  result = (long)(arg1)->onCmdOverstString(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdInsertString(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdInsertString", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdInsertString", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = static_cast<void*>(StringValuePtr(argv[2]));
  result = (long)(arg1)->onCmdInsertString(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdBackspace(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdBackspace", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdBackspace", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdBackspace(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdDelete(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdDelete", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDelete", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdDelete(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdToggleEditable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdToggleEditable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdToggleEditable", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdToggleEditable(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onUpdToggleEditable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onUpdToggleEditable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdToggleEditable", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdToggleEditable(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdToggleOverstrike(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdToggleOverstrike", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdToggleOverstrike", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdToggleOverstrike(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onUpdToggleOverstrike(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onUpdToggleOverstrike", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdToggleOverstrike", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdToggleOverstrike(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onUpdHaveSelection(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onUpdHaveSelection", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdHaveSelection", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdHaveSelection(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onUpdSelectAll(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onUpdSelectAll", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdSelectAll", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdSelectAll(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_textDelimiters_get(VALUE self) {
  VALUE _val;
  
  _val = SWIG_FromCharPtr(FXTextField::textDelimiters);
  return _val;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXTextField_allocate(VALUE self)
#else
_wrap_FXTextField_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXTextField);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXTextField(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXint arg2 ;
  FXObject *arg3 = (FXObject *) 0 ;
  FXSelector arg4 = (FXSelector) 0 ;
  FXuint arg5 = (FXuint) TEXTFIELD_NORMAL ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) 0 ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  FXint arg13 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXTextField *result = 0 ;
  
  if ((argc < 2) || (argc > 13)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXTextField", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  arg2 = NUM2INT(argv[1]);
  if (argc > 2) {
    res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","FXTextField", 3, argv[2] )); 
    }
    arg3 = reinterpret_cast< FXObject * >(argp3);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2UINT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  if (argc > 12) {
    arg13 = NUM2INT(argv[12]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXTextField *)new_FXTextField(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setEditable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setEditable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  (arg1)->setEditable(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_isEditable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","isEditable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXbool)((FXTextField const *)arg1)->isEditable();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_overstrikee___(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setOverstrike", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  (arg1)->setOverstrike(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_overstrikeq___(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","isOverstrike", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXbool)((FXTextField const *)arg1)->isOverstrike();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setCursorPos(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setCursorPos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setCursorPos(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getCursorPos(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getCursorPos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXint)((FXTextField const *)arg1)->getCursorPos();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setAnchorPos(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setAnchorPos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setAnchorPos(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getAnchorPos(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getAnchorPos", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXint)((FXTextField const *)arg1)->getAnchorPos();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setText(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXString *arg2 = 0 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->setText((FXString const &)*arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getText(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = ((FXTextField const *)arg1)->getText();
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setFont(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  (arg1)->setFont(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getFont(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFont *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXFont *)((FXTextField const *)arg1)->getFont();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setTextColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getTextColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXColor)((FXTextField const *)arg1)->getTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setSelBackColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setSelBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSelBackColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getSelBackColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getSelBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXColor)((FXTextField const *)arg1)->getSelBackColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setSelTextColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setSelTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSelTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getSelTextColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getSelTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXColor)((FXTextField const *)arg1)->getSelTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setCursorColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setCursorColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setCursorColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getCursorColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getCursorColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXColor)((FXTextField const *)arg1)->getCursorColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setNumColumns(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setNumColumns", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->setNumColumns(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getNumColumns(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getNumColumns", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXint)((FXTextField const *)arg1)->getNumColumns();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setJustify(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setJustify(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getJustify(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getJustify", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXuint)((FXTextField const *)arg1)->getJustify();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setDelimiters(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXchar *arg2 = (FXchar *) FXTextField::textDelimiters ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setDelimiters", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  if (argc > 0) {
    arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  }
  (arg1)->setDelimiters((FXchar const *)arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getDelimiters(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getDelimiters", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXchar *)((FXTextField const *)arg1)->getDelimiters();
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXString *) &((FXTextField const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setTipText(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getTipText(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXString *) &((FXTextField const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setTextStyle(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setTextStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setTextStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getTextStyle(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","getTextStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXuint)((FXTextField const *)arg1)->getTextStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_selectAll(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","selectAll", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXbool)(arg1)->selectAll();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setSelection(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setSelection", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (FXbool)(arg1)->setSelection(arg2,arg3);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_extendSelection(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","extendSelection", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXbool)(arg1)->extendSelection(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_killSelection(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","killSelection", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXbool)(arg1)->killSelection();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_isPosSelected(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","isPosSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXbool)((FXTextField const *)arg1)->isPosSelected(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_isPosVisible(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","isPosVisible", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXbool)((FXTextField const *)arg1)->isPosVisible(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_makePositionVisible(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","makePositionVisible", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  (arg1)->makePositionVisible(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_save(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXTextField_save((FXTextField const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_load(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXTextField_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_create(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_detach(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_destroy(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_resize(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXTextField_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXint)FXTextField_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (FXint)FXTextField_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXTextField_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXTextField_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_canFocus(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (bool)FXTextField_canFocus((FXTextField const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setFocus(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_killFocus(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXTextField_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setDefault(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXTextField_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_enable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_disable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_lower(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_move(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXTextField_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_position(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXTextField_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_layout(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_recalc(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_reparent(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXTextField_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_show(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_hide(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_isComposite(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (bool)FXTextField_isComposite((FXTextField const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_contains(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXTextField_contains((FXTextField const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  result = (bool)FXTextField_doesSaveUnder((FXTextField const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXTextField_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_tr(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXTextField_tr((FXTextField const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXTextField_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXTextField_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXTextField_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXTextField_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTextField, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXTextField_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTextField, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXTextField_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXTextField, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXTextField_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXTextField_clearShape(int argc, VALUE *argv, VALUE self) {
  FXTextField *arg1 = (FXTextField *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXTextField, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXTextField *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXTextField * >(argp1);
  FXTextField_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXToolBarTab;

SWIGINTERN VALUE
_wrap_FXToolBarTab_onPaint(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onUpdate(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onUpdate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdate", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdate(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onEnter(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onEnter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onEnter", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onEnter(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onLeave(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onLeave", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeave", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeave(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onUngrabbed(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onUngrabbed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUngrabbed", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onUngrabbed(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onKeyPress(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onKeyPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onKeyRelease(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onKeyRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onCmdCollapse(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onCmdCollapse", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCollapse", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdCollapse(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onUpdCollapse(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onUpdCollapse", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdCollapse", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdCollapse(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onCmdUncollapse(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onCmdUncollapse", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdUncollapse", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdUncollapse(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onUpdUncollapse(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onUpdUncollapse", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdUncollapse", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdUncollapse(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXToolBarTab_allocate(VALUE self)
#else
_wrap_FXToolBarTab_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXToolBarTab);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXToolBarTab(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) FRAME_RAISED ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXToolBarTab *result = 0 ;
  
  if ((argc < 1) || (argc > 8)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXToolBarTab", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXToolBarTab", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXToolBarTab *)new_FXToolBarTab(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_collapse(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXbool arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","collapse", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = to_FXbool(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  (arg1)->collapse(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_isCollapsed(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","isCollapsed", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (FXbool)((FXToolBarTab const *)arg1)->isCollapsed();
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setTabStyle(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setTabStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setTabStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getTabStyle(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","getTabStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (FXuint)((FXToolBarTab const *)arg1)->getTabStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getActiveColor(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","getActiveColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (FXColor)((FXToolBarTab const *)arg1)->getActiveColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setActiveColor(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setActiveColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setActiveColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setTipText(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getTipText(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (FXString *) &((FXToolBarTab const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_save(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXToolBarTab_save((FXToolBarTab const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_load(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXToolBarTab_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_create(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_detach(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_destroy(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_resize(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXToolBarTab_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (FXint)FXToolBarTab_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (FXint)FXToolBarTab_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXToolBarTab_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXToolBarTab_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_canFocus(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (bool)FXToolBarTab_canFocus((FXToolBarTab const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setFocus(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_killFocus(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXToolBarTab_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setDefault(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXToolBarTab_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_enable(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_disable(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_lower(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_move(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXToolBarTab_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_position(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXToolBarTab_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_layout(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_recalc(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_reparent(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXToolBarTab_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_show(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_hide(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_isComposite(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (bool)FXToolBarTab_isComposite((FXToolBarTab const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_contains(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXToolBarTab_contains((FXToolBarTab const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  result = (bool)FXToolBarTab_doesSaveUnder((FXToolBarTab const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXToolBarTab_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_tr(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXToolBarTab_tr((FXToolBarTab const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXToolBarTab_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXToolBarTab_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXToolBarTab_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXToolBarTab_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarTab, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXToolBarTab_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarTab, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXToolBarTab_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXToolBarTab, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXToolBarTab_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXToolBarTab_clearShape(int argc, VALUE *argv, VALUE self) {
  FXToolBarTab *arg1 = (FXToolBarTab *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXToolBarTab, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXToolBarTab *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXToolBarTab * >(argp1);
  FXToolBarTab_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}


static swig_class SwigClassFXGradient;

SWIGINTERN VALUE
_wrap_FXGradient_lower_set(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","lower", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->lower = arg2;
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_lower_get(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  result = (FXdouble) ((arg1)->lower);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_middle_set(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","middle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","middle", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->middle = arg2;
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_middle_get(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","middle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  result = (FXdouble) ((arg1)->middle);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_upper_set(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","upper", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->upper = arg2;
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_upper_get(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","upper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  result = (FXdouble) ((arg1)->upper);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_lowerColor_set(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","lowerColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  arg2 = to_FXColor(argv[0]);
  if (arg1) (arg1)->lowerColor = arg2;
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_lowerColor_get(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","lowerColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  result = (FXColor) ((arg1)->lowerColor);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_upperColor_set(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","upperColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  arg2 = to_FXColor(argv[0]);
  if (arg1) (arg1)->upperColor = arg2;
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_upperColor_get(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","upperColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  result = (FXColor) ((arg1)->upperColor);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_blend_set(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  FXuchar arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","blend", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->blend = arg2;
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradient_blend_get(int argc, VALUE *argv, VALUE self) {
  FXGradient *arg1 = (FXGradient *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuchar result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradient *","blend", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradient * >(argp1);
  result = (FXuchar) ((arg1)->blend);
  vresult = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
  return vresult;
fail:
  return Qnil;
}


static swig_class SwigClassFXGradientBar;

SWIGINTERN VALUE
_wrap_FXGradientBar_onPaint(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onLeftBtnPress(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onLeftBtnPress", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnPress", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnPress(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onLeftBtnRelease", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onLeftBtnRelease", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onLeftBtnRelease(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onMotion(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onDNDEnter(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onDNDEnter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDEnter", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDEnter(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onDNDLeave(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onDNDLeave", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDLeave", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDLeave(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onDNDMotion(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onDNDMotion", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDMotion", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDMotion(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onDNDDrop(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onDNDDrop", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDNDDrop", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onDNDDrop(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdBlending(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdBlending", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdBlending", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdBlending(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onUpdBlending(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onUpdBlending", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdBlending", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdBlending(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onUpdSegColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onUpdSegColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdSegColor", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdSegColor(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdSegColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdSegColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSegColor", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdSegColor(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onUpdRecenter(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onUpdRecenter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdRecenter", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdRecenter(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdRecenter(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdRecenter", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdRecenter", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdRecenter(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onUpdSplit(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onUpdSplit", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdSplit", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdSplit(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdSplit(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdSplit", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSplit", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdSplit(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onUpdMerge(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onUpdMerge", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMerge", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdMerge(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdMerge(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdMerge", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMerge", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdMerge(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onUpdUniform(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onUpdUniform", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdUniform", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdUniform(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdUniform(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdUniform", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdUniform", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdUniform(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
_wrap_FXGradientBar_allocate(VALUE self)
#else
_wrap_FXGradientBar_allocate(int argc, VALUE *argv, VALUE self)
#endif
{
  VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXGradientBar);
#ifndef HAVE_RB_DEFINE_ALLOC_FUNC
  rb_obj_call_init(vresult, argc, argv);
#endif
  return vresult;
}


SWIGINTERN VALUE
_wrap_new_FXGradientBar(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 = (FXSelector) 0 ;
  FXuint arg4 = (FXuint) FRAME_NORMAL ;
  FXint arg5 = (FXint) 0 ;
  FXint arg6 = (FXint) 0 ;
  FXint arg7 = (FXint) 0 ;
  FXint arg8 = (FXint) 0 ;
  FXint arg9 = (FXint) DEFAULT_PAD ;
  FXint arg10 = (FXint) DEFAULT_PAD ;
  FXint arg11 = (FXint) DEFAULT_PAD ;
  FXint arg12 = (FXint) DEFAULT_PAD ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXGradientBar *result = 0 ;
  
  if ((argc < 1) || (argc > 12)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXGradientBar", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  if (argc > 1) {
    res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","FXGradientBar", 2, argv[1] )); 
    }
    arg2 = reinterpret_cast< FXObject * >(argp2);
  }
  if (argc > 2) {
    arg3 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  if (argc > 4) {
    arg5 = NUM2INT(argv[4]);
  }
  if (argc > 5) {
    arg6 = NUM2INT(argv[5]);
  }
  if (argc > 6) {
    arg7 = NUM2INT(argv[6]);
  }
  if (argc > 7) {
    arg8 = NUM2INT(argv[7]);
  }
  if (argc > 8) {
    arg9 = NUM2INT(argv[8]);
  }
  if (argc > 9) {
    arg10 = NUM2INT(argv[9]);
  }
  if (argc > 10) {
    arg11 = NUM2INT(argv[10]);
  }
  if (argc > 11) {
    arg12 = NUM2INT(argv[11]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXGradientBar *)new_FXGradientBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegment(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (FXint)((FXGradientBar const *)arg1)->getSegment(arg2,arg3);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getGrip(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getGrip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  result = (FXint)((FXGradientBar const *)arg1)->getGrip(arg2,arg3,arg4);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getNumSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getNumSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXint)((FXGradientBar const *)arg1)->getNumSegments();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setGradients(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXGradient *arg2 = (FXGradient *) 0 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setGradients", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXGradient, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXGradient const *","setGradients", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXGradient * >(argp2);
  arg3 = NUM2INT(argv[1]);
  (arg1)->setGradients((FXGradient const *)arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getGradients(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXGradient **arg2 = 0 ;
  FXint *arg3 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getGradients", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_p_FXGradient,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXGradient *&","getGradients", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXGradient *&","getGradients", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXGradient ** >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_int,  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXint &","getGradients", 3, argv[1] )); 
  }
  if (!argp3) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXint &","getGradients", 3, argv[1])); 
  }
  arg3 = reinterpret_cast< FXint * >(argp3);
  ((FXGradientBar const *)arg1)->getGradients(*arg2,*arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setCurrentSegment(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXbool arg3 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setCurrentSegment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  if (argc > 1) {
    arg3 = to_FXbool(argv[1]);
  }
  {
    if (arg2 < -1 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->setCurrentSegment(arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getCurrentSegment(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getCurrentSegment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXint)((FXGradientBar const *)arg1)->getCurrentSegment();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setAnchorSegment(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setAnchorSegment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < -1 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->setAnchorSegment(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getAnchorSegment(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getAnchorSegment", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXint)((FXGradientBar const *)arg1)->getAnchorSegment();
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_selectSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","selectSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  result = (FXbool)FXGradientBar_selectSegments(arg1,arg2,arg3,arg4);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_deselectSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXbool arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","deselectSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = to_FXbool(argv[0]);
  result = (FXbool)(arg1)->deselectSegments(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_isSegmentSelected(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXbool result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","isSegmentSelected", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXbool)((FXGradientBar const *)arg1)->isSegmentSelected(arg2);
  vresult = result ? Qtrue : Qfalse;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setSegmentLowerColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXColor arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setSegmentLowerColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = to_FXColor(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->setSegmentLowerColor(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setSegmentUpperColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXColor arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setSegmentUpperColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = to_FXColor(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->setSegmentUpperColor(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegmentLowerColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegmentLowerColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXColor)((FXGradientBar const *)arg1)->getSegmentLowerColor(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegmentUpperColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegmentUpperColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXColor)((FXGradientBar const *)arg1)->getSegmentUpperColor(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_moveSegmentLower(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXdouble arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","moveSegmentLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","moveSegmentLower", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 1 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->moveSegmentLower(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_moveSegmentMiddle(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXdouble arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","moveSegmentMiddle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","moveSegmentMiddle", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->moveSegmentMiddle(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_moveSegmentUpper(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXdouble arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","moveSegmentUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  ecode3 = SWIG_AsVal_double(argv[1], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","moveSegmentUpper", 3, argv[1] ));
  } 
  arg3 = static_cast< FXdouble >(val3);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()-1) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  (arg1)->moveSegmentUpper(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_moveSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXdouble arg4 ;
  FXbool arg5 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val4 ;
  int ecode4 = 0 ;
  
  if ((argc < 3) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","moveSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  ecode4 = SWIG_AsVal_double(argv[2], &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "FXdouble","moveSegments", 4, argv[2] ));
  } 
  arg4 = static_cast< FXdouble >(val4);
  if (argc > 3) {
    arg5 = to_FXbool(argv[3]);
  }
  (arg1)->moveSegments(arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegmentLower(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegmentLower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXdouble)((FXGradientBar const *)arg1)->getSegmentLower(arg2);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegmentMiddle(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegmentMiddle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXdouble)((FXGradientBar const *)arg1)->getSegmentMiddle(arg2);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegmentUpper(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegmentUpper", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXdouble)((FXGradientBar const *)arg1)->getSegmentUpper(arg2);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_gradient(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  VALUE result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","gradient", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (VALUE)FXGradientBar_gradient(arg1,arg2);
  vresult = result;
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSegmentBlend(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSegmentBlend", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  {
    if (arg2 < 0 || arg2 >= arg1->getNumSegments()) {
      rb_raise(rb_eIndexError, "segment index %d out of bounds",arg2);
    }
  }
  result = (FXuint)((FXGradientBar const *)arg1)->getSegmentBlend(arg2);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_splitSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","splitSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  (arg1)->splitSegments(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_mergeSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","mergeSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  (arg1)->mergeSegments(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_uniformSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXbool arg4 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","uniformSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  if (argc > 2) {
    arg4 = to_FXbool(argv[2]);
  }
  (arg1)->uniformSegments(arg2,arg3,arg4);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_blendSegments(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXuint arg4 = (FXuint) GRADIENT_BLEND_LINEAR ;
  FXbool arg5 = (FXbool) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","blendSegments", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  if (argc > 2) {
    arg4 = NUM2UINT(argv[2]);
  }
  if (argc > 3) {
    arg5 = to_FXbool(argv[3]);
  }
  (arg1)->blendSegments(arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getBarStyle(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getBarStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXuint)((FXGradientBar const *)arg1)->getBarStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setBarStyle(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setBarStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setBarStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setSelectColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setSelectColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSelectColor(arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getSelectColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getSelectColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXColor)((FXGradientBar const *)arg1)->getSelectColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXString *) &((FXGradientBar const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setTipText(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getTipText(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXString *) &((FXGradientBar const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_save(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXGradientBar_save((FXGradientBar const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_load(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXGradientBar_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_create(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_create(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_detach(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_destroy(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_resize(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXGradientBar_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXint)FXGradientBar_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (FXint)FXGradientBar_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXGradientBar_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXGradientBar_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_canFocus(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (bool)FXGradientBar_canFocus((FXGradientBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setFocus(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_killFocus(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXGradientBar_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setDefault(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXGradientBar_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_enable(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_disable(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_lower(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_move(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXGradientBar_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_position(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXGradientBar_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_layout(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_recalc(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_reparent(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXGradientBar_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_show(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_show(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_hide(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_isComposite(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (bool)FXGradientBar_isComposite((FXGradientBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_contains(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXGradientBar_contains((FXGradientBar const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  result = (bool)FXGradientBar_doesSaveUnder((FXGradientBar const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXGradientBar_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_tr(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXGradientBar_tr((FXGradientBar const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXRegion *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXRegion,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXRegion const &","setShape", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXRegion const &","setShape", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXRegion * >(argp2);
  FXGradientBar_setShape(arg1,(FXRegion const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXBitmap *arg2 = (FXBitmap *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXBitmap, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXBitmap *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXBitmap * >(argp2);
  FXGradientBar_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","setShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setShape", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  FXGradientBar_setShape(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}


SWIGINTERN VALUE _wrap_FXGradientBar_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXGradientBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, SWIG_POINTER_NO_NULL);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXGradientBar_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXGradientBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXGradientBar_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXGradientBar, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXGradientBar_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}


SWIGINTERN VALUE
_wrap_FXGradientBar_clearShape(int argc, VALUE *argv, VALUE self) {
  FXGradientBar *arg1 = (FXGradientBar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXGradientBar, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXGradientBar *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXGradientBar * >(argp1);
  FXGradientBar_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}



/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static void *_p_FXShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXComposite *)  ((FXShell *) x));
}
static void *_p_FXRootWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXComposite *)  ((FXRootWindow *) x));
}
static void *_p_FXPopupTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXComposite *) (FXShell *) ((FXPopup *) x));
}
static void *_p_FXTopWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXComposite *) (FXShell *) ((FXTopWindow *) x));
}
static void *_p_FXMainWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
}
static void *_p_FXSplashWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
}
static void *_p_FXFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *)  ((FXFrame *) x));
}
static void *_p_FXToolBarTabTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXToolBarTab *) x));
}
static void *_p_FXColorRingTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXColorRing *) x));
}
static void *_p_FXColorBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXColorBar *) x));
}
static void *_p_FXPopupTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXPopup *) x));
}
static void *_p_FXBitmapFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXBitmapFrame *) x));
}
static void *_p_FXDialTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXDial *) x));
}
static void *_p_FXRulerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXRuler *) x));
}
static void *_p_FXArrowButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXArrowButton *) x));
}
static void *_p_FXSplashWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
}
static void *_p_FXMainWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
}
static void *_p_FXTopWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXTopWindow *) x));
}
static void *_p_FXRootWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXComposite *) ((FXRootWindow *) x));
}
static void *_p_FXCompositeTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *)  ((FXComposite *) x));
}
static void *_p_FXColorWheelTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXColorWheel *) x));
}
static void *_p_FXColorWellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXColorWell *) x));
}
static void *_p_FXProgressBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXProgressBar *) x));
}
static void *_p_FXGradientBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXGradientBar *) x));
}
static void *_p_FXShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXComposite *) ((FXShell *) x));
}
static void *_p_FXStatusLineTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXStatusLine *) x));
}
static void *_p_FXSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXSeparator *) x));
}
static void *_p_FXHorizontalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
}
static void *_p_FXVerticalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
}
static void *_p_FXTextFieldTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXTextField *) x));
}
static void *_p_FXHeaderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXHeader *) x));
}
static void *_p_FXImageFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXImageFrame *) x));
}
static void *_p_FXKnobTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXKnob *) x));
}
static void *_p_FXSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXSlider *) x));
}
static void *_p_FXRealSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXWindow *) (FXFrame *) ((FXRealSlider *) x));
}
static void *_p_FXHorizontalSeparatorTo_p_FXSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXSeparator *)  ((FXHorizontalSeparator *) x));
}
static void *_p_FXVerticalSeparatorTo_p_FXSeparator(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXSeparator *)  ((FXVerticalSeparator *) x));
}
static void *_p_FXSettingsTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXDict *) ((FXSettings *) x));
}
static void *_p_FXAccelTableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXAccelTable *) x));
}
static void *_p_FXCompositeTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXComposite *) x));
}
static void *_p_FXRegistryTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x));
}
static void *_p_FXTextFieldTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x));
}
static void *_p_FXArrowButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x));
}
static void *_p_FXIconDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXDict *) ((FXIconDict *) x));
}
static void *_p_FXShellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x));
}
static void *_p_FXPopupTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
}
static void *_p_FXRecentFilesTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXRecentFiles *) x));
}
static void *_p_FXDocumentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXDocument *) x));
}
static void *_p_FXSplashWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
}
static void *_p_FXMainWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
}
static void *_p_FXTopWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
}
static void *_p_FXRootWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x));
}
static void *_p_FXWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXWindow *) x));
}
static void *_p_FXRulerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x));
}
static void *_p_FXSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x));
}
static void *_p_FXHorizontalSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
}
static void *_p_FXVerticalSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
}
static void *_p_FXStatusLineTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x));
}
static void *_p_FXKnobTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x));
}
static void *_p_FXStringDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXDict *) ((FXStringDict *) x));
}
static void *_p_FXColorWheelTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x));
}
static void *_p_FXBitmapFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
}
static void *_p_FXGradientBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x));
}
static void *_p_FXFontTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *) ((FXFont *) x));
}
static void *_p_FXFileDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXDict *) ((FXFileDict *) x));
}
static void *_p_FXImageFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x));
}
static void *_p_FXDataTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXDataTarget *) x));
}
static void *_p_FXDebugTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXDebugTarget *) x));
}
static void *_p_FXDelegatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXDelegator *) x));
}
static void *_p_FXDrawableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *) ((FXDrawable *) x));
}
static void *_p_FXGIFCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXGIFCursor *) x));
}
static void *_p_FXCURCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXCURCursor *) x));
}
static void *_p_FXCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *) ((FXCursor *) x));
}
static void *_p_FXProgressBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x));
}
static void *_p_FXTranslatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXTranslator *) x));
}
static void *_p_FXDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXDict *) x));
}
static void *_p_FXHeaderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x));
}
static void *_p_FXColorWellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x));
}
static void *_p_FXHeaderItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXHeaderItem *) x));
}
static void *_p_FXDialTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x));
}
static void *_p_FXToolBarTabTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x));
}
static void *_p_FXIdTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXId *) x));
}
static void *_p_FXFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x));
}
static void *_p_FXSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x));
}
static void *_p_FXRealSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x));
}
static void *_p_FXVisualTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *) ((FXVisual *) x));
}
static void *_p_FXColorRingTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x));
}
static void *_p_FXColorBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x));
}
static void *_p_FXAppTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXObject *)  ((FXApp *) x));
}
static void *_p_FXFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x));
}
static void *_p_FXToolBarTabTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXToolBarTab *) x));
}
static void *_p_FXColorRingTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorRing *) x));
}
static void *_p_FXColorBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorBar *) x));
}
static void *_p_FXPopupTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
}
static void *_p_FXBitmapFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
}
static void *_p_FXDialTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDial *) x));
}
static void *_p_FXRulerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRuler *) x));
}
static void *_p_FXArrowButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXArrowButton *) x));
}
static void *_p_FXSplashWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
}
static void *_p_FXMainWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
}
static void *_p_FXTopWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
}
static void *_p_FXRootWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x));
}
static void *_p_FXWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *)  ((FXWindow *) x));
}
static void *_p_FXCompositeTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x));
}
static void *_p_FXColorWheelTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWheel *) x));
}
static void *_p_FXColorWellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWell *) x));
}
static void *_p_FXProgressBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXProgressBar *) x));
}
static void *_p_FXGradientBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXGradientBar *) x));
}
static void *_p_FXShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x));
}
static void *_p_FXStatusLineTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXStatusLine *) x));
}
static void *_p_FXSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSeparator *) x));
}
static void *_p_FXHorizontalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
}
static void *_p_FXVerticalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
}
static void *_p_FXTextFieldTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXTextField *) x));
}
static void *_p_FXHeaderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXHeader *) x));
}
static void *_p_FXImageFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXImageFrame *) x));
}
static void *_p_FXKnobTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXKnob *) x));
}
static void *_p_FXSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSlider *) x));
}
static void *_p_FXRealSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRealSlider *) x));
}
static void *_p_FXFileStreamTo_p_FXStream(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXStream *)  ((FXFileStream *) x));
}
static void *_p_FXMemoryStreamTo_p_FXStream(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXStream *)  ((FXMemoryStream *) x));
}
static void *_p_FXCompositeTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXComposite *) x));
}
static void *_p_FXTextFieldTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x));
}
static void *_p_FXArrowButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x));
}
static void *_p_FXShellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x));
}
static void *_p_FXPopupTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x));
}
static void *_p_FXSplashWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x));
}
static void *_p_FXWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *) ((FXWindow *) x));
}
static void *_p_FXRootWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x));
}
static void *_p_FXTopWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x));
}
static void *_p_FXMainWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x));
}
static void *_p_FXRulerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x));
}
static void *_p_FXVerticalSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x));
}
static void *_p_FXHorizontalSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x));
}
static void *_p_FXSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x));
}
static void *_p_FXStatusLineTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x));
}
static void *_p_FXKnobTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x));
}
static void *_p_FXColorWheelTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x));
}
static void *_p_FXBitmapFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x));
}
static void *_p_FXGradientBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x));
}
static void *_p_FXFontTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *)  ((FXFont *) x));
}
static void *_p_FXImageFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x));
}
static void *_p_FXDrawableTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *)  ((FXDrawable *) x));
}
static void *_p_FXCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *)  ((FXCursor *) x));
}
static void *_p_FXCURCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXCursor *) ((FXCURCursor *) x));
}
static void *_p_FXGIFCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXCursor *) ((FXGIFCursor *) x));
}
static void *_p_FXProgressBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x));
}
static void *_p_FXHeaderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x));
}
static void *_p_FXColorWellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x));
}
static void *_p_FXDialTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x));
}
static void *_p_FXToolBarTabTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x));
}
static void *_p_FXFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXFrame *) x));
}
static void *_p_FXRealSliderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x));
}
static void *_p_FXSliderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x));
}
static void *_p_FXVisualTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *)  ((FXVisual *) x));
}
static void *_p_FXColorRingTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x));
}
static void *_p_FXColorBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x));
}
static void *_p_FXToolBarTabTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXToolBarTab *) x));
}
static void *_p_FXColorRingTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXColorRing *) x));
}
static void *_p_FXColorBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXColorBar *) x));
}
static void *_p_FXBitmapFrameTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXBitmapFrame *) x));
}
static void *_p_FXDialTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXDial *) x));
}
static void *_p_FXRulerTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXRuler *) x));
}
static void *_p_FXArrowButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXArrowButton *) x));
}
static void *_p_FXColorWheelTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXColorWheel *) x));
}
static void *_p_FXProgressBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXProgressBar *) x));
}
static void *_p_FXColorWellTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXColorWell *) x));
}
static void *_p_FXGradientBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXGradientBar *) x));
}
static void *_p_FXStatusLineTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXStatusLine *) x));
}
static void *_p_FXHorizontalSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *) (FXSeparator *) ((FXHorizontalSeparator *) x));
}
static void *_p_FXSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXSeparator *) x));
}
static void *_p_FXVerticalSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *) (FXSeparator *) ((FXVerticalSeparator *) x));
}
static void *_p_FXTextFieldTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXTextField *) x));
}
static void *_p_FXHeaderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXHeader *) x));
}
static void *_p_FXImageFrameTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXImageFrame *) x));
}
static void *_p_FXKnobTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXKnob *) x));
}
static void *_p_FXSliderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXSlider *) x));
}
static void *_p_FXRealSliderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) {
    return (void *)((FXFrame *)  ((FXRealSlider *) x));
}
static swig_type_info _swigt__p_FXArrowButton = {"_p_FXArrowButton", "FXArrowButton *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXBitmap = {"_p_FXBitmap", "FXBitmap *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXBitmapFrame = {"_p_FXBitmapFrame", "FXBitmapFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXColorBar = {"_p_FXColorBar", "FXColorBar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXColorRing = {"_p_FXColorRing", "FXColorRing *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXColorWell = {"_p_FXColorWell", "FXColorWell *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXColorWheel = {"_p_FXColorWheel", "FXColorWheel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXComposite = {"_p_FXComposite", "FXComposite *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXShell = {"_p_FXShell", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXRootWindow = {"_p_FXRootWindow", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXPopup = {"_p_FXPopup", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXTopWindow = {"_p_FXTopWindow", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXMainWindow = {"_p_FXMainWindow", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXSplashWindow = {"_p_FXSplashWindow", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXDial = {"_p_FXDial", "FXDial *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXDrawable = {"_p_FXDrawable", "FXDrawable *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXFont = {"_p_FXFont", "FXFont *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXFrame = {"_p_FXFrame", "FXFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXGradient = {"_p_FXGradient", "FXGradient *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXGradientBar = {"_p_FXGradientBar", "FXGradientBar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXHeader = {"_p_FXHeader", "FXHeader *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXHeaderItem = {"_p_FXHeaderItem", "FXHeaderItem *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXHorizontalSeparator = {"_p_FXHorizontalSeparator", "FXHorizontalSeparator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXIcon = {"_p_FXIcon", "FXIcon *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXId = {"_p_FXId", "FXId *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXCursor = {"_p_FXCursor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXCURCursor = {"_p_FXCURCursor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXGIFCursor = {"_p_FXGIFCursor", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXVisual = {"_p_FXVisual", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXImage = {"_p_FXImage", "FXImage *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXImageFrame = {"_p_FXImageFrame", "FXImageFrame *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXKnob = {"_p_FXKnob", "FXKnob *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXObject = {"_p_FXObject", "FXObject *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXDict = {"_p_FXDict", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXSettings = {"_p_FXSettings", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXAccelTable = {"_p_FXAccelTable", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXRegistry = {"_p_FXRegistry", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXIconDict = {"_p_FXIconDict", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXRecentFiles = {"_p_FXRecentFiles", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXDocument = {"_p_FXDocument", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXStringDict = {"_p_FXStringDict", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXFileDict = {"_p_FXFileDict", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXDebugTarget = {"_p_FXDebugTarget", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXDataTarget = {"_p_FXDataTarget", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXDelegator = {"_p_FXDelegator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXTranslator = {"_p_FXTranslator", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXApp = {"_p_FXApp", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXProgressBar = {"_p_FXProgressBar", "FXProgressBar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXRealSlider = {"_p_FXRealSlider", "FXRealSlider *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXRegion = {"_p_FXRegion", "FXRegion *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXRuler = {"_p_FXRuler", "FXRuler *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXSeparator = {"_p_FXSeparator", "FXSeparator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXSlider = {"_p_FXSlider", "FXSlider *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXStatusLine = {"_p_FXStatusLine", "FXStatusLine *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXStream = {"_p_FXStream", "FXStream *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXFileStream = {"_p_FXFileStream", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXMemoryStream = {"_p_FXMemoryStream", 0, 0, 0, 0, 0};
static swig_type_info _swigt__p_FXTextField = {"_p_FXTextField", "FXTextField *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXToolBarTab = {"_p_FXToolBarTab", "FXToolBarTab *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXVerticalSeparator = {"_p_FXVerticalSeparator", "FXVerticalSeparator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_FXWindow = {"_p_FXWindow", "FXWindow *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_char = {"_p_char", "char *|FXchar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_double = {"_p_double", "double *|FXdouble *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_float = {"_p_float", "float *|FXfloat *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "FXint *|int *|FXInputHandle *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_long = {"_p_long", "long *|FXTime *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_p_FXGradient = {"_p_p_FXGradient", "FXGradient **", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_short = {"_p_short", "short *|FXshort *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "FXuchar *|unsigned char *|FXbool *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "FXwchar *|FXDragType *|unsigned int *|FXuint *|FXColor *|FXSelector *|FXHotKey *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|FXuval *|FXPixel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|FXushort *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_FXAccelTable,
  &_swigt__p_FXApp,
  &_swigt__p_FXArrowButton,
  &_swigt__p_FXBitmap,
  &_swigt__p_FXBitmapFrame,
  &_swigt__p_FXCURCursor,
  &_swigt__p_FXColorBar,
  &_swigt__p_FXColorRing,
  &_swigt__p_FXColorWell,
  &_swigt__p_FXColorWheel,
  &_swigt__p_FXComposite,
  &_swigt__p_FXCursor,
  &_swigt__p_FXDataTarget,
  &_swigt__p_FXDebugTarget,
  &_swigt__p_FXDelegator,
  &_swigt__p_FXDial,
  &_swigt__p_FXDict,
  &_swigt__p_FXDocument,
  &_swigt__p_FXDrawable,
  &_swigt__p_FXFileDict,
  &_swigt__p_FXFileStream,
  &_swigt__p_FXFont,
  &_swigt__p_FXFrame,
  &_swigt__p_FXGIFCursor,
  &_swigt__p_FXGradient,
  &_swigt__p_FXGradientBar,
  &_swigt__p_FXHeader,
  &_swigt__p_FXHeaderItem,
  &_swigt__p_FXHorizontalSeparator,
  &_swigt__p_FXIcon,
  &_swigt__p_FXIconDict,
  &_swigt__p_FXId,
  &_swigt__p_FXImage,
  &_swigt__p_FXImageFrame,
  &_swigt__p_FXKnob,
  &_swigt__p_FXMainWindow,
  &_swigt__p_FXMemoryStream,
  &_swigt__p_FXObject,
  &_swigt__p_FXPopup,
  &_swigt__p_FXProgressBar,
  &_swigt__p_FXRealSlider,
  &_swigt__p_FXRecentFiles,
  &_swigt__p_FXRegion,
  &_swigt__p_FXRegistry,
  &_swigt__p_FXRootWindow,
  &_swigt__p_FXRuler,
  &_swigt__p_FXSeparator,
  &_swigt__p_FXSettings,
  &_swigt__p_FXShell,
  &_swigt__p_FXSlider,
  &_swigt__p_FXSplashWindow,
  &_swigt__p_FXStatusLine,
  &_swigt__p_FXStream,
  &_swigt__p_FXStringDict,
  &_swigt__p_FXTextField,
  &_swigt__p_FXToolBarTab,
  &_swigt__p_FXTopWindow,
  &_swigt__p_FXTranslator,
  &_swigt__p_FXVerticalSeparator,
  &_swigt__p_FXVisual,
  &_swigt__p_FXWindow,
  &_swigt__p_char,
  &_swigt__p_double,
  &_swigt__p_float,
  &_swigt__p_int,
  &_swigt__p_long,
  &_swigt__p_p_FXGradient,
  &_swigt__p_short,
  &_swigt__p_unsigned_char,
  &_swigt__p_unsigned_int,
  &_swigt__p_unsigned_long,
  &_swigt__p_unsigned_short,
};

static swig_cast_info _swigc__p_FXArrowButton[] = {  {&_swigt__p_FXArrowButton, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXBitmap[] = {  {&_swigt__p_FXBitmap, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXBitmapFrame[] = {  {&_swigt__p_FXBitmapFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXColorBar[] = {  {&_swigt__p_FXColorBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXColorRing[] = {  {&_swigt__p_FXColorRing, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXColorWell[] = {  {&_swigt__p_FXColorWell, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXColorWheel[] = {  {&_swigt__p_FXColorWheel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXShell[] = {{&_swigt__p_FXShell, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXRootWindow[] = {{&_swigt__p_FXRootWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXPopup[] = {{&_swigt__p_FXPopup, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXTopWindow[] = {{&_swigt__p_FXTopWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXMainWindow[] = {{&_swigt__p_FXMainWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXSplashWindow[] = {{&_swigt__p_FXSplashWindow, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXComposite[] = {  {&_swigt__p_FXComposite, 0, 0, 0},  {&_swigt__p_FXShell, _p_FXShellTo_p_FXComposite, 0, 0},  {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXComposite, 0, 0},  {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXComposite, 0, 0},  {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXComposite, 0, 0},  {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXComposite, 0, 0},  {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXComposite, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDial[] = {  {&_swigt__p_FXDial, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDrawable[] = {  {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXShell, _p_FXShellTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXDrawable, 0, 0, 0},  {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXDrawable, 0, 0},  {&_swigt__p_FXDial, _p_FXDialTo_p_FXDrawable, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXFont[] = {  {&_swigt__p_FXFont, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXFrame[] = {  {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXFrame, 0, 0},  {&_swigt__p_FXFrame, 0, 0, 0},  {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXFrame, 0, 0},  {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXFrame, 0, 0},  {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXFrame, 0, 0},  {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXFrame, 0, 0},  {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXFrame, 0, 0},  {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXFrame, 0, 0},  {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXFrame, 0, 0},  {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXFrame, 0, 0},  {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXFrame, 0, 0},  {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXFrame, 0, 0},  {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXFrame, 0, 0},  {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXFrame, 0, 0},  {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXFrame, 0, 0},  {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXFrame, 0, 0},  {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXFrame, 0, 0},  {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXFrame, 0, 0},  {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXFrame, 0, 0},  {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXFrame, 0, 0},  {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXFrame, 0, 0},  {&_swigt__p_FXDial, _p_FXDialTo_p_FXFrame, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXGradient[] = {  {&_swigt__p_FXGradient, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXGradientBar[] = {  {&_swigt__p_FXGradientBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXHeader[] = {  {&_swigt__p_FXHeader, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXHeaderItem[] = {  {&_swigt__p_FXHeaderItem, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXHorizontalSeparator[] = {  {&_swigt__p_FXHorizontalSeparator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXIcon[] = {  {&_swigt__p_FXIcon, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXCursor[] = {{&_swigt__p_FXCursor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXCURCursor[] = {{&_swigt__p_FXCURCursor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXGIFCursor[] = {{&_swigt__p_FXGIFCursor, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXVisual[] = {{&_swigt__p_FXVisual, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXId[] = {  {&_swigt__p_FXDial, _p_FXDialTo_p_FXId, 0, 0},  {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXId, 0, 0},  {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXId, 0, 0},  {&_swigt__p_FXId, 0, 0, 0},  {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXId, 0, 0},  {&_swigt__p_FXShell, _p_FXShellTo_p_FXId, 0, 0},  {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXId, 0, 0},  {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXId, 0, 0},  {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXId, 0, 0},  {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXId, 0, 0},  {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXId, 0, 0},  {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXId, 0, 0},  {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXId, 0, 0},  {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXId, 0, 0},  {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXId, 0, 0},  {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXId, 0, 0},  {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXId, 0, 0},  {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXId, 0, 0},  {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXId, 0, 0},  {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXId, 0, 0},  {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXId, 0, 0},  {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXId, 0, 0},  {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXId, 0, 0},  {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXId, 0, 0},  {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXId, 0, 0},  {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXId, 0, 0},  {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXId, 0, 0},  {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXId, 0, 0},  {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXId, 0, 0},  {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXId, 0, 0},  {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXId, 0, 0},  {&_swigt__p_FXFont, _p_FXFontTo_p_FXId, 0, 0},  {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXId, 0, 0},  {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXId, 0, 0},  {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXId, 0, 0},  {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXId, 0, 0},  {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXId, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXImage[] = {  {&_swigt__p_FXImage, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXImageFrame[] = {  {&_swigt__p_FXImageFrame, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXKnob[] = {  {&_swigt__p_FXKnob, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDict[] = {{&_swigt__p_FXDict, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXSettings[] = {{&_swigt__p_FXSettings, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXAccelTable[] = {{&_swigt__p_FXAccelTable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXRegistry[] = {{&_swigt__p_FXRegistry, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXIconDict[] = {{&_swigt__p_FXIconDict, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXRecentFiles[] = {{&_swigt__p_FXRecentFiles, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDocument[] = {{&_swigt__p_FXDocument, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXStringDict[] = {{&_swigt__p_FXStringDict, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXFileDict[] = {{&_swigt__p_FXFileDict, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDebugTarget[] = {{&_swigt__p_FXDebugTarget, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDataTarget[] = {{&_swigt__p_FXDataTarget, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXDelegator[] = {{&_swigt__p_FXDelegator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXTranslator[] = {{&_swigt__p_FXTranslator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXApp[] = {{&_swigt__p_FXApp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXObject[] = {  {&_swigt__p_FXDict, _p_FXDictTo_p_FXObject, 0, 0},  {&_swigt__p_FXDial, _p_FXDialTo_p_FXObject, 0, 0},  {&_swigt__p_FXSettings, _p_FXSettingsTo_p_FXObject, 0, 0},  {&_swigt__p_FXAccelTable, _p_FXAccelTableTo_p_FXObject, 0, 0},  {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXObject, 0, 0},  {&_swigt__p_FXRegistry, _p_FXRegistryTo_p_FXObject, 0, 0},  {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXObject, 0, 0},  {&_swigt__p_FXId, _p_FXIdTo_p_FXObject, 0, 0},  {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXObject, 0, 0},  {&_swigt__p_FXIconDict, _p_FXIconDictTo_p_FXObject, 0, 0},  {&_swigt__p_FXShell, _p_FXShellTo_p_FXObject, 0, 0},  {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXObject, 0, 0},  {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXObject, 0, 0},  {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXObject, 0, 0},  {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXObject, 0, 0},  {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXObject, 0, 0},  {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXObject, 0, 0},  {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXObject, 0, 0},  {&_swigt__p_FXRecentFiles, _p_FXRecentFilesTo_p_FXObject, 0, 0},  {&_swigt__p_FXDocument, _p_FXDocumentTo_p_FXObject, 0, 0},  {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXObject, 0, 0},  {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXObject, 0, 0},  {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXObject, 0, 0},  {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXObject, 0, 0},  {&_swigt__p_FXObject, 0, 0, 0},  {&_swigt__p_FXStringDict, _p_FXStringDictTo_p_FXObject, 0, 0},  {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXObject, 0, 0},  {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXObject, 0, 0},  {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXObject, 0, 0},  {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXObject, 0, 0},  {&_swigt__p_FXFileDict, _p_FXFileDictTo_p_FXObject, 0, 0},  {&_swigt__p_FXDebugTarget, _p_FXDebugTargetTo_p_FXObject, 0, 0},  {&_swigt__p_FXDataTarget, _p_FXDataTargetTo_p_FXObject, 0, 0},  {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXObject, 0, 0},  {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXObject, 0, 0},  {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXObject, 0, 0},  {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXObject, 0, 0},  {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXObject, 0, 0},  {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXObject, 0, 0},  {&_swigt__p_FXDelegator, _p_FXDelegatorTo_p_FXObject, 0, 0},  {&_swigt__p_FXTranslator, _p_FXTranslatorTo_p_FXObject, 0, 0},  {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXObject, 0, 0},  {&_swigt__p_FXApp, _p_FXAppTo_p_FXObject, 0, 0},  {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXObject, 0, 0},  {&_swigt__p_FXHeaderItem, _p_FXHeaderItemTo_p_FXObject, 0, 0},  {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXObject, 0, 0},  {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXObject, 0, 0},  {&_swigt__p_FXFont, _p_FXFontTo_p_FXObject, 0, 0},  {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXObject, 0, 0},  {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXObject, 0, 0},  {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXObject, 0, 0},  {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXObject, 0, 0},  {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXObject, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXProgressBar[] = {  {&_swigt__p_FXProgressBar, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXRealSlider[] = {  {&_swigt__p_FXRealSlider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXRegion[] = {  {&_swigt__p_FXRegion, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXRuler[] = {  {&_swigt__p_FXRuler, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXSeparator[] = {  {&_swigt__p_FXSeparator, 0, 0, 0},  {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXSeparator, 0, 0},  {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXSeparator, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXSlider[] = {  {&_swigt__p_FXSlider, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXStatusLine[] = {  {&_swigt__p_FXStatusLine, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXFileStream[] = {{&_swigt__p_FXFileStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXMemoryStream[] = {{&_swigt__p_FXMemoryStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXStream[] = {  {&_swigt__p_FXFileStream, _p_FXFileStreamTo_p_FXStream, 0, 0},  {&_swigt__p_FXMemoryStream, _p_FXMemoryStreamTo_p_FXStream, 0, 0},  {&_swigt__p_FXStream, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXTextField[] = {  {&_swigt__p_FXTextField, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXToolBarTab[] = {  {&_swigt__p_FXToolBarTab, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXVerticalSeparator[] = {  {&_swigt__p_FXVerticalSeparator, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_FXWindow[] = {  {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXWindow, 0, 0},  {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXWindow, 0, 0},  {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXWindow, 0, 0},  {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXWindow, 0, 0},  {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXWindow, 0, 0},  {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXWindow, 0, 0},  {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXWindow, 0, 0},  {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXWindow, 0, 0},  {&_swigt__p_FXWindow, 0, 0, 0},  {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXWindow, 0, 0},  {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXWindow, 0, 0},  {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXWindow, 0, 0},  {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXWindow, 0, 0},  {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXWindow, 0, 0},  {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXWindow, 0, 0},  {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXWindow, 0, 0},  {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXWindow, 0, 0},  {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXWindow, 0, 0},  {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXWindow, 0, 0},  {&_swigt__p_FXShell, _p_FXShellTo_p_FXWindow, 0, 0},  {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXWindow, 0, 0},  {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXWindow, 0, 0},  {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXWindow, 0, 0},  {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXWindow, 0, 0},  {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXWindow, 0, 0},  {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXWindow, 0, 0},  {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXWindow, 0, 0},  {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXWindow, 0, 0},  {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXWindow, 0, 0},  {&_swigt__p_FXDial, _p_FXDialTo_p_FXWindow, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_float[] = {  {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_p_FXGradient[] = {  {&_swigt__p_p_FXGradient, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_short[] = {  {&_swigt__p_short, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_unsigned_short[] = {  {&_swigt__p_unsigned_short, 0, 0, 0},{0, 0, 0, 0}};

static swig_cast_info *swig_cast_initial[] = {
  _swigc__p_FXAccelTable,
  _swigc__p_FXApp,
  _swigc__p_FXArrowButton,
  _swigc__p_FXBitmap,
  _swigc__p_FXBitmapFrame,
  _swigc__p_FXCURCursor,
  _swigc__p_FXColorBar,
  _swigc__p_FXColorRing,
  _swigc__p_FXColorWell,
  _swigc__p_FXColorWheel,
  _swigc__p_FXComposite,
  _swigc__p_FXCursor,
  _swigc__p_FXDataTarget,
  _swigc__p_FXDebugTarget,
  _swigc__p_FXDelegator,
  _swigc__p_FXDial,
  _swigc__p_FXDict,
  _swigc__p_FXDocument,
  _swigc__p_FXDrawable,
  _swigc__p_FXFileDict,
  _swigc__p_FXFileStream,
  _swigc__p_FXFont,
  _swigc__p_FXFrame,
  _swigc__p_FXGIFCursor,
  _swigc__p_FXGradient,
  _swigc__p_FXGradientBar,
  _swigc__p_FXHeader,
  _swigc__p_FXHeaderItem,
  _swigc__p_FXHorizontalSeparator,
  _swigc__p_FXIcon,
  _swigc__p_FXIconDict,
  _swigc__p_FXId,
  _swigc__p_FXImage,
  _swigc__p_FXImageFrame,
  _swigc__p_FXKnob,
  _swigc__p_FXMainWindow,
  _swigc__p_FXMemoryStream,
  _swigc__p_FXObject,
  _swigc__p_FXPopup,
  _swigc__p_FXProgressBar,
  _swigc__p_FXRealSlider,
  _swigc__p_FXRecentFiles,
  _swigc__p_FXRegion,
  _swigc__p_FXRegistry,
  _swigc__p_FXRootWindow,
  _swigc__p_FXRuler,
  _swigc__p_FXSeparator,
  _swigc__p_FXSettings,
  _swigc__p_FXShell,
  _swigc__p_FXSlider,
  _swigc__p_FXSplashWindow,
  _swigc__p_FXStatusLine,
  _swigc__p_FXStream,
  _swigc__p_FXStringDict,
  _swigc__p_FXTextField,
  _swigc__p_FXToolBarTab,
  _swigc__p_FXTopWindow,
  _swigc__p_FXTranslator,
  _swigc__p_FXVerticalSeparator,
  _swigc__p_FXVisual,
  _swigc__p_FXWindow,
  _swigc__p_char,
  _swigc__p_double,
  _swigc__p_float,
  _swigc__p_int,
  _swigc__p_long,
  _swigc__p_p_FXGradient,
  _swigc__p_short,
  _swigc__p_unsigned_char,
  _swigc__p_unsigned_int,
  _swigc__p_unsigned_long,
  _swigc__p_unsigned_short,
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */

/* -----------------------------------------------------------------------------
 * Type initialization:
 * This problem is tough by the requirement that no dynamic
 * memory is used. Also, since swig_type_info structures store pointers to
 * swig_cast_info structures and swig_cast_info structures store pointers back
 * to swig_type_info structures, we need some lookup code at initialization.
 * The idea is that swig generates all the structures that are needed.
 * The runtime then collects these partially filled structures.
 * The SWIG_InitializeModule function takes these initial arrays out of
 * swig_module, and does all the lookup, filling in the swig_module.types
 * array with the correct data and linking the correct swig_cast_info
 * structures together.
 *
 * The generated swig_type_info structures are assigned statically to an initial
 * array. We just loop through that array, and handle each type individually.
 * First we lookup if this type has been already loaded, and if so, use the
 * loaded structure instead of the generated one. Then we have to fill in the
 * cast linked list. The cast data is initially stored in something like a
 * two-dimensional array. Each row corresponds to a type (there are the same
 * number of rows as there are in the swig_type_initial array). Each entry in
 * a column is one of the swig_cast_info structures for that type.
 * The cast_initial array is actually an array of arrays, because each row has
 * a variable number of columns. So to actually build the cast linked list,
 * we find the array of casts associated with the type, and loop through it
 * adding the casts to the list. The one last trick we need to do is making
 * sure the type pointer in the swig_cast_info struct is correct.
 *
 * First off, we lookup the cast->type name to see if it is already loaded.
 * There are three cases to handle:
 *  1) If the cast->type has already been loaded AND the type we are adding
 *     casting info to has not been loaded (it is in this module), THEN we
 *     replace the cast->type pointer with the type pointer that has already
 *     been loaded.
 *  2) If BOTH types (the one we are adding casting info to, and the
 *     cast->type) are loaded, THEN the cast info has already been loaded by
 *     the previous module so we just ignore it.
 *  3) Finally, if cast->type has not already been loaded, then we add that
 *     swig_cast_info to the linked list (because the cast->type) pointer will
 *     be correct.
 * ----------------------------------------------------------------------------- */

#ifdef __cplusplus
extern "C" {
#if 0
} /* c-mode */
#endif
#endif

#if 0
#define SWIGRUNTIME_DEBUG
#endif


SWIGRUNTIME void
SWIG_InitializeModule(void *clientdata) {
  size_t i;
  swig_module_info *module_head, *iter;
  int init;

  /* check to see if the circular list has been setup, if not, set it up */
  if (swig_module.next==0) {
    /* Initialize the swig_module */
    swig_module.type_initial = swig_type_initial;
    swig_module.cast_initial = swig_cast_initial;
    swig_module.next = &swig_module;
    init = 1;
  } else {
    init = 0;
  }

  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (!module_head) {
    /* This is the first module loaded for this interpreter */
    /* so set the swig module into the interpreter */
    SWIG_SetModule(clientdata, &swig_module);
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    iter=module_head;
    do {
      if (iter==&swig_module) {
        /* Our module is already in the list, so there's nothing more to do. */
        return;
      }
      iter=iter->next;
    } while (iter!= module_head);

    /* otherwise we must add our module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }

  /* When multiple interpreters are used, a module could have already been initialized in
     a different interpreter, but not yet have a pointer in this interpreter.
     In this case, we do not want to continue adding types... everything should be
     set up already */
  if (init == 0) return;

  /* Now work on filling in swig_module.types */
#ifdef SWIGRUNTIME_DEBUG
  printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
#endif
  for (i = 0; i < swig_module.size; ++i) {
    swig_type_info *type = 0;
    swig_type_info *ret;
    swig_cast_info *cast;

#ifdef SWIGRUNTIME_DEBUG
    printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
#endif

    /* if there is another module already loaded */
    if (swig_module.next != &swig_module) {
      type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
    }
    if (type) {
      /* Overwrite clientdata field */
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found type %s\n", type->name);
#endif
      if (swig_module.type_initial[i]->clientdata) {
	type->clientdata = swig_module.type_initial[i]->clientdata;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
#endif
      }
    } else {
      type = swig_module.type_initial[i];
    }

    /* Insert casting types */
    cast = swig_module.cast_initial[i];
    while (cast->type) {

      /* Don't need to add information already in the list */
      ret = 0;
#ifdef SWIGRUNTIME_DEBUG
      printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
#endif
      if (swig_module.next != &swig_module) {
        ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
#ifdef SWIGRUNTIME_DEBUG
	if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
#endif
      }
      if (ret) {
	if (type == swig_module.type_initial[i]) {
#ifdef SWIGRUNTIME_DEBUG
	  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
#endif
	  cast->type = ret;
	  ret = 0;
	} else {
	  /* Check for casting already in the list */
	  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
#ifdef SWIGRUNTIME_DEBUG
	  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
#endif
	  if (!ocast) ret = 0;
	}
      }

      if (!ret) {
#ifdef SWIGRUNTIME_DEBUG
	printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
#endif
        if (type->cast) {
          type->cast->prev = cast;
          cast->next = type->cast;
        }
        type->cast = cast;
      }
      cast++;
    }
    /* Set entry in modules->types array equal to the type */
    swig_module.types[i] = type;
  }
  swig_module.types[i] = 0;

#ifdef SWIGRUNTIME_DEBUG
  printf("**** SWIG_InitializeModule: Cast List ******\n");
  for (i = 0; i < swig_module.size; ++i) {
    int j = 0;
    swig_cast_info *cast = swig_module.cast_initial[i];
    printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
    while (cast->type) {
      printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
      cast++;
      ++j;
    }
  printf("---- Total casts: %d\n",j);
  }
  printf("**** SWIG_InitializeModule: Cast List ******\n");
#endif
}

/* This function will propagate the clientdata field of type to
* any new swig_type_info structures that have been added into the list
* of equivalent types.  It is like calling
* SWIG_TypeClientData(type, clientdata) a second time.
*/
SWIGRUNTIME void
SWIG_PropagateClientData(void) {
  size_t i;
  swig_cast_info *equiv;
  static int init_run = 0;

  if (init_run) return;
  init_run = 1;

  for (i = 0; i < swig_module.size; i++) {
    if (swig_module.types[i]->clientdata) {
      equiv = swig_module.types[i]->cast;
      while (equiv) {
        if (!equiv->converter) {
          if (equiv->type && !equiv->type->clientdata)
            SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
        }
        equiv = equiv->next;
      }
    }
  }
}

#ifdef __cplusplus
#if 0
{ /* c-mode */
#endif
}
#endif

/*

*/
#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT void Init_frames(void) {
  size_t i;
  
  SWIG_InitRuntime();
  
  
  SWIG_InitializeModule(0);
  for (i = 0; i < swig_module.size; i++) {
    SWIG_define_class(swig_module.types[i]);
  }
  
  SWIG_RubyInitializeTrackings();
  
  rb_define_const(mFox, "ARROW_NONE", SWIG_From_int(static_cast< int >(ARROW_NONE)));
  rb_define_const(mFox, "ARROW_UP", SWIG_From_int(static_cast< int >(ARROW_UP)));
  rb_define_const(mFox, "ARROW_DOWN", SWIG_From_int(static_cast< int >(ARROW_DOWN)));
  rb_define_const(mFox, "ARROW_LEFT", SWIG_From_int(static_cast< int >(ARROW_LEFT)));
  rb_define_const(mFox, "ARROW_RIGHT", SWIG_From_int(static_cast< int >(ARROW_RIGHT)));
  rb_define_const(mFox, "ARROW_AUTO", SWIG_From_int(static_cast< int >(ARROW_AUTO)));
  rb_define_const(mFox, "ARROW_REPEAT", SWIG_From_int(static_cast< int >(ARROW_REPEAT)));
  rb_define_const(mFox, "ARROW_AUTOGRAY", SWIG_From_int(static_cast< int >(ARROW_AUTOGRAY)));
  rb_define_const(mFox, "ARROW_AUTOHIDE", SWIG_From_int(static_cast< int >(ARROW_AUTOHIDE)));
  rb_define_const(mFox, "ARROW_TOOLBAR", SWIG_From_int(static_cast< int >(ARROW_TOOLBAR)));
  rb_define_const(mFox, "ARROW_NORMAL", SWIG_From_int(static_cast< int >(ARROW_NORMAL)));
  
  SwigClassFXArrowButton.klass = rb_define_class_under(mFox, "FXArrowButton", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXArrowButton, (void *) &SwigClassFXArrowButton);
  rb_define_alloc_func(SwigClassFXArrowButton.klass, _wrap_FXArrowButton_allocate);
  rb_define_method(SwigClassFXArrowButton.klass, "initialize", VALUEFUNC(_wrap_new_FXArrowButton), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onPaint", VALUEFUNC(_wrap_FXArrowButton_onPaint), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onUpdate", VALUEFUNC(_wrap_FXArrowButton_onUpdate), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onEnter", VALUEFUNC(_wrap_FXArrowButton_onEnter), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onLeave", VALUEFUNC(_wrap_FXArrowButton_onLeave), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXArrowButton_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXArrowButton_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onUngrabbed", VALUEFUNC(_wrap_FXArrowButton_onUngrabbed), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onRepeat", VALUEFUNC(_wrap_FXArrowButton_onRepeat), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onAuto", VALUEFUNC(_wrap_FXArrowButton_onAuto), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onKeyPress", VALUEFUNC(_wrap_FXArrowButton_onKeyPress), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onKeyRelease", VALUEFUNC(_wrap_FXArrowButton_onKeyRelease), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onHotKeyPress", VALUEFUNC(_wrap_FXArrowButton_onHotKeyPress), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onHotKeyRelease", VALUEFUNC(_wrap_FXArrowButton_onHotKeyRelease), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXArrowButton_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXArrowButton_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXArrowButton_onCmdSetTip), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXArrowButton_onCmdGetTip), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onQueryHelp", VALUEFUNC(_wrap_FXArrowButton_onQueryHelp), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "onQueryTip", VALUEFUNC(_wrap_FXArrowButton_onQueryTip), -1);
  rb_define_const(SwigClassFXArrowButton.klass, "ID_REPEAT", SWIG_From_int(static_cast< int >(FXArrowButton::ID_REPEAT)));
  rb_define_const(SwigClassFXArrowButton.klass, "ID_AUTO", SWIG_From_int(static_cast< int >(FXArrowButton::ID_AUTO)));
  rb_define_const(SwigClassFXArrowButton.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXArrowButton::ID_LAST)));
  rb_define_method(SwigClassFXArrowButton.klass, "setState", VALUEFUNC(_wrap_FXArrowButton_setState), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getState", VALUEFUNC(_wrap_FXArrowButton_getState), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setHelpText", VALUEFUNC(_wrap_FXArrowButton_setHelpText), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getHelpText", VALUEFUNC(_wrap_FXArrowButton_getHelpText), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setTipText", VALUEFUNC(_wrap_FXArrowButton_setTipText), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getTipText", VALUEFUNC(_wrap_FXArrowButton_getTipText), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setArrowStyle", VALUEFUNC(_wrap_FXArrowButton_setArrowStyle), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getArrowStyle", VALUEFUNC(_wrap_FXArrowButton_getArrowStyle), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setArrowSize", VALUEFUNC(_wrap_FXArrowButton_setArrowSize), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getArrowSize", VALUEFUNC(_wrap_FXArrowButton_getArrowSize), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setJustify", VALUEFUNC(_wrap_FXArrowButton_setJustify), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getJustify", VALUEFUNC(_wrap_FXArrowButton_getJustify), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getArrowColor", VALUEFUNC(_wrap_FXArrowButton_getArrowColor), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setArrowColor", VALUEFUNC(_wrap_FXArrowButton_setArrowColor), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "save", VALUEFUNC(_wrap_FXArrowButton_save), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "load", VALUEFUNC(_wrap_FXArrowButton_load), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "create", VALUEFUNC(_wrap_FXArrowButton_create), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "detach", VALUEFUNC(_wrap_FXArrowButton_detach), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "destroy", VALUEFUNC(_wrap_FXArrowButton_destroy), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "resize", VALUEFUNC(_wrap_FXArrowButton_resize), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXArrowButton_getDefaultWidth), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXArrowButton_getDefaultHeight), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXArrowButton_getWidthForHeight), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXArrowButton_getHeightForWidth), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "canFocus", VALUEFUNC(_wrap_FXArrowButton_canFocus), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setFocus", VALUEFUNC(_wrap_FXArrowButton_setFocus), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "killFocus", VALUEFUNC(_wrap_FXArrowButton_killFocus), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "changeFocus", VALUEFUNC(_wrap_FXArrowButton_changeFocus), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setDefault", VALUEFUNC(_wrap_FXArrowButton_setDefault), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "enable", VALUEFUNC(_wrap_FXArrowButton_enable), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "disable", VALUEFUNC(_wrap_FXArrowButton_disable), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "raiseWindow", VALUEFUNC(_wrap_FXArrowButton_raiseWindow), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "lower", VALUEFUNC(_wrap_FXArrowButton_lower), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "move", VALUEFUNC(_wrap_FXArrowButton_move), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "position", VALUEFUNC(_wrap_FXArrowButton_position), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "layout", VALUEFUNC(_wrap_FXArrowButton_layout), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "recalc", VALUEFUNC(_wrap_FXArrowButton_recalc), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "reparent", VALUEFUNC(_wrap_FXArrowButton_reparent), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "show", VALUEFUNC(_wrap_FXArrowButton_show), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "hide", VALUEFUNC(_wrap_FXArrowButton_hide), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "isComposite", VALUEFUNC(_wrap_FXArrowButton_isComposite), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "contains", VALUEFUNC(_wrap_FXArrowButton_contains), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXArrowButton_doesSaveUnder), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setBackColor", VALUEFUNC(_wrap_FXArrowButton_setBackColor), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "tr", VALUEFUNC(_wrap_FXArrowButton_tr), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "dropEnable", VALUEFUNC(_wrap_FXArrowButton_dropEnable), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "dropDisable", VALUEFUNC(_wrap_FXArrowButton_dropDisable), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "setShape", VALUEFUNC(_wrap_FXArrowButton_setShape), -1);
  rb_define_method(SwigClassFXArrowButton.klass, "clearShape", VALUEFUNC(_wrap_FXArrowButton_clearShape), -1);
  SwigClassFXArrowButton.mark = (void (*)(void *)) FXRbArrowButton::markfunc;
  SwigClassFXArrowButton.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXArrowButton.trackObjects = 0;
  rb_define_const(mFox, "COLORBAR_HORIZONTAL", SWIG_From_int(static_cast< int >(COLORBAR_HORIZONTAL)));
  rb_define_const(mFox, "COLORBAR_VERTICAL", SWIG_From_int(static_cast< int >(COLORBAR_VERTICAL)));
  
  SwigClassFXColorBar.klass = rb_define_class_under(mFox, "FXColorBar", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXColorBar, (void *) &SwigClassFXColorBar);
  rb_define_alloc_func(SwigClassFXColorBar.klass, _wrap_FXColorBar_allocate);
  rb_define_method(SwigClassFXColorBar.klass, "initialize", VALUEFUNC(_wrap_new_FXColorBar), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onPaint", VALUEFUNC(_wrap_FXColorBar_onPaint), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXColorBar_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXColorBar_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onMotion", VALUEFUNC(_wrap_FXColorBar_onMotion), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXColorBar_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXColorBar_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXColorBar_onCmdSetTip), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXColorBar_onCmdGetTip), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onQueryHelp", VALUEFUNC(_wrap_FXColorBar_onQueryHelp), -1);
  rb_define_method(SwigClassFXColorBar.klass, "onQueryTip", VALUEFUNC(_wrap_FXColorBar_onQueryTip), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setHue", VALUEFUNC(_wrap_FXColorBar_setHue), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getHue", VALUEFUNC(_wrap_FXColorBar_getHue), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setSat", VALUEFUNC(_wrap_FXColorBar_setSat), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getSat", VALUEFUNC(_wrap_FXColorBar_getSat), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setVal", VALUEFUNC(_wrap_FXColorBar_setVal), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getVal", VALUEFUNC(_wrap_FXColorBar_getVal), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getBarStyle", VALUEFUNC(_wrap_FXColorBar_getBarStyle), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setBarStyle", VALUEFUNC(_wrap_FXColorBar_setBarStyle), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setHelpText", VALUEFUNC(_wrap_FXColorBar_setHelpText), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getHelpText", VALUEFUNC(_wrap_FXColorBar_getHelpText), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setTipText", VALUEFUNC(_wrap_FXColorBar_setTipText), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getTipText", VALUEFUNC(_wrap_FXColorBar_getTipText), -1);
  rb_define_method(SwigClassFXColorBar.klass, "save", VALUEFUNC(_wrap_FXColorBar_save), -1);
  rb_define_method(SwigClassFXColorBar.klass, "load", VALUEFUNC(_wrap_FXColorBar_load), -1);
  rb_define_method(SwigClassFXColorBar.klass, "create", VALUEFUNC(_wrap_FXColorBar_create), -1);
  rb_define_method(SwigClassFXColorBar.klass, "detach", VALUEFUNC(_wrap_FXColorBar_detach), -1);
  rb_define_method(SwigClassFXColorBar.klass, "destroy", VALUEFUNC(_wrap_FXColorBar_destroy), -1);
  rb_define_method(SwigClassFXColorBar.klass, "resize", VALUEFUNC(_wrap_FXColorBar_resize), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXColorBar_getDefaultWidth), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXColorBar_getDefaultHeight), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXColorBar_getWidthForHeight), -1);
  rb_define_method(SwigClassFXColorBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXColorBar_getHeightForWidth), -1);
  rb_define_method(SwigClassFXColorBar.klass, "canFocus", VALUEFUNC(_wrap_FXColorBar_canFocus), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setFocus", VALUEFUNC(_wrap_FXColorBar_setFocus), -1);
  rb_define_method(SwigClassFXColorBar.klass, "killFocus", VALUEFUNC(_wrap_FXColorBar_killFocus), -1);
  rb_define_method(SwigClassFXColorBar.klass, "changeFocus", VALUEFUNC(_wrap_FXColorBar_changeFocus), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setDefault", VALUEFUNC(_wrap_FXColorBar_setDefault), -1);
  rb_define_method(SwigClassFXColorBar.klass, "enable", VALUEFUNC(_wrap_FXColorBar_enable), -1);
  rb_define_method(SwigClassFXColorBar.klass, "disable", VALUEFUNC(_wrap_FXColorBar_disable), -1);
  rb_define_method(SwigClassFXColorBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXColorBar_raiseWindow), -1);
  rb_define_method(SwigClassFXColorBar.klass, "lower", VALUEFUNC(_wrap_FXColorBar_lower), -1);
  rb_define_method(SwigClassFXColorBar.klass, "move", VALUEFUNC(_wrap_FXColorBar_move), -1);
  rb_define_method(SwigClassFXColorBar.klass, "position", VALUEFUNC(_wrap_FXColorBar_position), -1);
  rb_define_method(SwigClassFXColorBar.klass, "layout", VALUEFUNC(_wrap_FXColorBar_layout), -1);
  rb_define_method(SwigClassFXColorBar.klass, "recalc", VALUEFUNC(_wrap_FXColorBar_recalc), -1);
  rb_define_method(SwigClassFXColorBar.klass, "reparent", VALUEFUNC(_wrap_FXColorBar_reparent), -1);
  rb_define_method(SwigClassFXColorBar.klass, "show", VALUEFUNC(_wrap_FXColorBar_show), -1);
  rb_define_method(SwigClassFXColorBar.klass, "hide", VALUEFUNC(_wrap_FXColorBar_hide), -1);
  rb_define_method(SwigClassFXColorBar.klass, "isComposite", VALUEFUNC(_wrap_FXColorBar_isComposite), -1);
  rb_define_method(SwigClassFXColorBar.klass, "contains", VALUEFUNC(_wrap_FXColorBar_contains), -1);
  rb_define_method(SwigClassFXColorBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXColorBar_doesSaveUnder), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setBackColor", VALUEFUNC(_wrap_FXColorBar_setBackColor), -1);
  rb_define_method(SwigClassFXColorBar.klass, "tr", VALUEFUNC(_wrap_FXColorBar_tr), -1);
  rb_define_method(SwigClassFXColorBar.klass, "dropEnable", VALUEFUNC(_wrap_FXColorBar_dropEnable), -1);
  rb_define_method(SwigClassFXColorBar.klass, "dropDisable", VALUEFUNC(_wrap_FXColorBar_dropDisable), -1);
  rb_define_method(SwigClassFXColorBar.klass, "setShape", VALUEFUNC(_wrap_FXColorBar_setShape), -1);
  rb_define_method(SwigClassFXColorBar.klass, "clearShape", VALUEFUNC(_wrap_FXColorBar_clearShape), -1);
  SwigClassFXColorBar.mark = (void (*)(void *)) FXRbColorBar::markfunc;
  SwigClassFXColorBar.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXColorBar.trackObjects = 0;
  
  SwigClassFXColorRing.klass = rb_define_class_under(mFox, "FXColorRing", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXColorRing, (void *) &SwigClassFXColorRing);
  rb_define_alloc_func(SwigClassFXColorRing.klass, _wrap_FXColorRing_allocate);
  rb_define_method(SwigClassFXColorRing.klass, "initialize", VALUEFUNC(_wrap_new_FXColorRing), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onPaint", VALUEFUNC(_wrap_FXColorRing_onPaint), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXColorRing_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXColorRing_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onMotion", VALUEFUNC(_wrap_FXColorRing_onMotion), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onMouseWheel", VALUEFUNC(_wrap_FXColorRing_onMouseWheel), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXColorRing_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXColorRing_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXColorRing_onCmdSetTip), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXColorRing_onCmdGetTip), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onQueryHelp", VALUEFUNC(_wrap_FXColorRing_onQueryHelp), -1);
  rb_define_method(SwigClassFXColorRing.klass, "onQueryTip", VALUEFUNC(_wrap_FXColorRing_onQueryTip), -1);
  rb_define_method(SwigClassFXColorRing.klass, "hue=", VALUEFUNC(_wrap_FXColorRing_huee___), -1);
  rb_define_method(SwigClassFXColorRing.klass, "hue", VALUEFUNC(_wrap_FXColorRing_hue), -1);
  rb_define_method(SwigClassFXColorRing.klass, "sat=", VALUEFUNC(_wrap_FXColorRing_sate___), -1);
  rb_define_method(SwigClassFXColorRing.klass, "sat", VALUEFUNC(_wrap_FXColorRing_sat), -1);
  rb_define_method(SwigClassFXColorRing.klass, "val=", VALUEFUNC(_wrap_FXColorRing_vale___), -1);
  rb_define_method(SwigClassFXColorRing.klass, "val", VALUEFUNC(_wrap_FXColorRing_val), -1);
  rb_define_method(SwigClassFXColorRing.klass, "setHueSatVal", VALUEFUNC(_wrap_FXColorRing_setHueSatVal), -1);
  rb_define_method(SwigClassFXColorRing.klass, "ringWidth=", VALUEFUNC(_wrap_FXColorRing_ringWidthe___), -1);
  rb_define_method(SwigClassFXColorRing.klass, "ringWidth", VALUEFUNC(_wrap_FXColorRing_ringWidth), -1);
  rb_define_method(SwigClassFXColorRing.klass, "helpText=", VALUEFUNC(_wrap_FXColorRing_helpTexte___), -1);
  rb_define_method(SwigClassFXColorRing.klass, "helpText", VALUEFUNC(_wrap_FXColorRing_helpText), -1);
  rb_define_method(SwigClassFXColorRing.klass, "tipText=", VALUEFUNC(_wrap_FXColorRing_tipTexte___), -1);
  rb_define_method(SwigClassFXColorRing.klass, "tipText", VALUEFUNC(_wrap_FXColorRing_tipText), -1);
  SwigClassFXColorRing.mark = 0;
  SwigClassFXColorRing.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXColorRing.trackObjects = 0;
  rb_define_const(mFox, "COLORWELL_OPAQUEONLY", SWIG_From_int(static_cast< int >(COLORWELL_OPAQUEONLY)));
  rb_define_const(mFox, "COLORWELL_SOURCEONLY", SWIG_From_int(static_cast< int >(COLORWELL_SOURCEONLY)));
  rb_define_const(mFox, "COLORWELL_NORMAL", SWIG_From_int(static_cast< int >(COLORWELL_NORMAL)));
  
  SwigClassFXColorWell.klass = rb_define_class_under(mFox, "FXColorWell", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXColorWell, (void *) &SwigClassFXColorWell);
  rb_define_alloc_func(SwigClassFXColorWell.klass, _wrap_FXColorWell_allocate);
  rb_define_method(SwigClassFXColorWell.klass, "initialize", VALUEFUNC(_wrap_new_FXColorWell), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onPaint", VALUEFUNC(_wrap_FXColorWell_onPaint), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXColorWell_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXColorWell_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXColorWell_onMiddleBtnPress), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXColorWell_onMiddleBtnRelease), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onKeyPress", VALUEFUNC(_wrap_FXColorWell_onKeyPress), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onKeyRelease", VALUEFUNC(_wrap_FXColorWell_onKeyRelease), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onUngrabbed", VALUEFUNC(_wrap_FXColorWell_onUngrabbed), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onMotion", VALUEFUNC(_wrap_FXColorWell_onMotion), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onBeginDrag", VALUEFUNC(_wrap_FXColorWell_onBeginDrag), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onEndDrag", VALUEFUNC(_wrap_FXColorWell_onEndDrag), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDragged", VALUEFUNC(_wrap_FXColorWell_onDragged), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onFocusIn", VALUEFUNC(_wrap_FXColorWell_onFocusIn), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onFocusOut", VALUEFUNC(_wrap_FXColorWell_onFocusOut), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDNDEnter", VALUEFUNC(_wrap_FXColorWell_onDNDEnter), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDNDLeave", VALUEFUNC(_wrap_FXColorWell_onDNDLeave), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDNDMotion", VALUEFUNC(_wrap_FXColorWell_onDNDMotion), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDNDDrop", VALUEFUNC(_wrap_FXColorWell_onDNDDrop), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDNDRequest", VALUEFUNC(_wrap_FXColorWell_onDNDRequest), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onSelectionLost", VALUEFUNC(_wrap_FXColorWell_onSelectionLost), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onSelectionGained", VALUEFUNC(_wrap_FXColorWell_onSelectionGained), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onSelectionRequest", VALUEFUNC(_wrap_FXColorWell_onSelectionRequest), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onClicked", VALUEFUNC(_wrap_FXColorWell_onClicked), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onDoubleClicked", VALUEFUNC(_wrap_FXColorWell_onDoubleClicked), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXColorWell_onCmdSetValue), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXColorWell_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXColorWell_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdColorWell", VALUEFUNC(_wrap_FXColorWell_onCmdColorWell), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onChgColorWell", VALUEFUNC(_wrap_FXColorWell_onChgColorWell), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXColorWell_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXColorWell_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXColorWell_onCmdSetTip), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXColorWell_onCmdGetTip), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onQueryHelp", VALUEFUNC(_wrap_FXColorWell_onQueryHelp), -1);
  rb_define_method(SwigClassFXColorWell.klass, "onQueryTip", VALUEFUNC(_wrap_FXColorWell_onQueryTip), -1);
  rb_define_const(SwigClassFXColorWell.klass, "ID_COLORDIALOG", SWIG_From_int(static_cast< int >(FXColorWell::ID_COLORDIALOG)));
  rb_define_const(SwigClassFXColorWell.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXColorWell::ID_LAST)));
  rb_define_method(SwigClassFXColorWell.klass, "setRGBA", VALUEFUNC(_wrap_FXColorWell_setRGBA), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getRGBA", VALUEFUNC(_wrap_FXColorWell_getRGBA), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setHelpText", VALUEFUNC(_wrap_FXColorWell_setHelpText), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getHelpText", VALUEFUNC(_wrap_FXColorWell_getHelpText), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setTipText", VALUEFUNC(_wrap_FXColorWell_setTipText), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getTipText", VALUEFUNC(_wrap_FXColorWell_getTipText), -1);
  rb_define_method(SwigClassFXColorWell.klass, "isOpaqueOnly", VALUEFUNC(_wrap_FXColorWell_isOpaqueOnly), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setOpaqueOnly", VALUEFUNC(_wrap_FXColorWell_setOpaqueOnly), -1);
  rb_define_method(SwigClassFXColorWell.klass, "save", VALUEFUNC(_wrap_FXColorWell_save), -1);
  rb_define_method(SwigClassFXColorWell.klass, "load", VALUEFUNC(_wrap_FXColorWell_load), -1);
  rb_define_method(SwigClassFXColorWell.klass, "create", VALUEFUNC(_wrap_FXColorWell_create), -1);
  rb_define_method(SwigClassFXColorWell.klass, "detach", VALUEFUNC(_wrap_FXColorWell_detach), -1);
  rb_define_method(SwigClassFXColorWell.klass, "destroy", VALUEFUNC(_wrap_FXColorWell_destroy), -1);
  rb_define_method(SwigClassFXColorWell.klass, "resize", VALUEFUNC(_wrap_FXColorWell_resize), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXColorWell_getDefaultWidth), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXColorWell_getDefaultHeight), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXColorWell_getWidthForHeight), -1);
  rb_define_method(SwigClassFXColorWell.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXColorWell_getHeightForWidth), -1);
  rb_define_method(SwigClassFXColorWell.klass, "canFocus", VALUEFUNC(_wrap_FXColorWell_canFocus), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setFocus", VALUEFUNC(_wrap_FXColorWell_setFocus), -1);
  rb_define_method(SwigClassFXColorWell.klass, "killFocus", VALUEFUNC(_wrap_FXColorWell_killFocus), -1);
  rb_define_method(SwigClassFXColorWell.klass, "changeFocus", VALUEFUNC(_wrap_FXColorWell_changeFocus), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setDefault", VALUEFUNC(_wrap_FXColorWell_setDefault), -1);
  rb_define_method(SwigClassFXColorWell.klass, "enable", VALUEFUNC(_wrap_FXColorWell_enable), -1);
  rb_define_method(SwigClassFXColorWell.klass, "disable", VALUEFUNC(_wrap_FXColorWell_disable), -1);
  rb_define_method(SwigClassFXColorWell.klass, "raiseWindow", VALUEFUNC(_wrap_FXColorWell_raiseWindow), -1);
  rb_define_method(SwigClassFXColorWell.klass, "lower", VALUEFUNC(_wrap_FXColorWell_lower), -1);
  rb_define_method(SwigClassFXColorWell.klass, "move", VALUEFUNC(_wrap_FXColorWell_move), -1);
  rb_define_method(SwigClassFXColorWell.klass, "position", VALUEFUNC(_wrap_FXColorWell_position), -1);
  rb_define_method(SwigClassFXColorWell.klass, "layout", VALUEFUNC(_wrap_FXColorWell_layout), -1);
  rb_define_method(SwigClassFXColorWell.klass, "recalc", VALUEFUNC(_wrap_FXColorWell_recalc), -1);
  rb_define_method(SwigClassFXColorWell.klass, "reparent", VALUEFUNC(_wrap_FXColorWell_reparent), -1);
  rb_define_method(SwigClassFXColorWell.klass, "show", VALUEFUNC(_wrap_FXColorWell_show), -1);
  rb_define_method(SwigClassFXColorWell.klass, "hide", VALUEFUNC(_wrap_FXColorWell_hide), -1);
  rb_define_method(SwigClassFXColorWell.klass, "isComposite", VALUEFUNC(_wrap_FXColorWell_isComposite), -1);
  rb_define_method(SwigClassFXColorWell.klass, "contains", VALUEFUNC(_wrap_FXColorWell_contains), -1);
  rb_define_method(SwigClassFXColorWell.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXColorWell_doesSaveUnder), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setBackColor", VALUEFUNC(_wrap_FXColorWell_setBackColor), -1);
  rb_define_method(SwigClassFXColorWell.klass, "tr", VALUEFUNC(_wrap_FXColorWell_tr), -1);
  rb_define_method(SwigClassFXColorWell.klass, "dropEnable", VALUEFUNC(_wrap_FXColorWell_dropEnable), -1);
  rb_define_method(SwigClassFXColorWell.klass, "dropDisable", VALUEFUNC(_wrap_FXColorWell_dropDisable), -1);
  rb_define_method(SwigClassFXColorWell.klass, "setShape", VALUEFUNC(_wrap_FXColorWell_setShape), -1);
  rb_define_method(SwigClassFXColorWell.klass, "clearShape", VALUEFUNC(_wrap_FXColorWell_clearShape), -1);
  SwigClassFXColorWell.mark = (void (*)(void *)) FXRbColorWell::markfunc;
  SwigClassFXColorWell.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXColorWell.trackObjects = 0;
  
  SwigClassFXColorWheel.klass = rb_define_class_under(mFox, "FXColorWheel", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXColorWheel, (void *) &SwigClassFXColorWheel);
  rb_define_alloc_func(SwigClassFXColorWheel.klass, _wrap_FXColorWheel_allocate);
  rb_define_method(SwigClassFXColorWheel.klass, "initialize", VALUEFUNC(_wrap_new_FXColorWheel), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onPaint", VALUEFUNC(_wrap_FXColorWheel_onPaint), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXColorWheel_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXColorWheel_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onMotion", VALUEFUNC(_wrap_FXColorWheel_onMotion), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onMouseWheel", VALUEFUNC(_wrap_FXColorWheel_onMouseWheel), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXColorWheel_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXColorWheel_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXColorWheel_onCmdSetTip), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXColorWheel_onCmdGetTip), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onQueryHelp", VALUEFUNC(_wrap_FXColorWheel_onQueryHelp), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "onQueryTip", VALUEFUNC(_wrap_FXColorWheel_onQueryTip), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setHue", VALUEFUNC(_wrap_FXColorWheel_setHue), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getHue", VALUEFUNC(_wrap_FXColorWheel_getHue), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setSat", VALUEFUNC(_wrap_FXColorWheel_setSat), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getSat", VALUEFUNC(_wrap_FXColorWheel_getSat), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setVal", VALUEFUNC(_wrap_FXColorWheel_setVal), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getVal", VALUEFUNC(_wrap_FXColorWheel_getVal), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setHueSatVal", VALUEFUNC(_wrap_FXColorWheel_setHueSatVal), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setHelpText", VALUEFUNC(_wrap_FXColorWheel_setHelpText), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getHelpText", VALUEFUNC(_wrap_FXColorWheel_getHelpText), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setTipText", VALUEFUNC(_wrap_FXColorWheel_setTipText), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getTipText", VALUEFUNC(_wrap_FXColorWheel_getTipText), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "save", VALUEFUNC(_wrap_FXColorWheel_save), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "load", VALUEFUNC(_wrap_FXColorWheel_load), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "create", VALUEFUNC(_wrap_FXColorWheel_create), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "detach", VALUEFUNC(_wrap_FXColorWheel_detach), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "destroy", VALUEFUNC(_wrap_FXColorWheel_destroy), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "resize", VALUEFUNC(_wrap_FXColorWheel_resize), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXColorWheel_getDefaultWidth), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXColorWheel_getDefaultHeight), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXColorWheel_getWidthForHeight), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXColorWheel_getHeightForWidth), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "canFocus", VALUEFUNC(_wrap_FXColorWheel_canFocus), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setFocus", VALUEFUNC(_wrap_FXColorWheel_setFocus), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "killFocus", VALUEFUNC(_wrap_FXColorWheel_killFocus), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "changeFocus", VALUEFUNC(_wrap_FXColorWheel_changeFocus), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setDefault", VALUEFUNC(_wrap_FXColorWheel_setDefault), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "enable", VALUEFUNC(_wrap_FXColorWheel_enable), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "disable", VALUEFUNC(_wrap_FXColorWheel_disable), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "raiseWindow", VALUEFUNC(_wrap_FXColorWheel_raiseWindow), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "lower", VALUEFUNC(_wrap_FXColorWheel_lower), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "move", VALUEFUNC(_wrap_FXColorWheel_move), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "position", VALUEFUNC(_wrap_FXColorWheel_position), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "layout", VALUEFUNC(_wrap_FXColorWheel_layout), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "recalc", VALUEFUNC(_wrap_FXColorWheel_recalc), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "reparent", VALUEFUNC(_wrap_FXColorWheel_reparent), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "show", VALUEFUNC(_wrap_FXColorWheel_show), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "hide", VALUEFUNC(_wrap_FXColorWheel_hide), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "isComposite", VALUEFUNC(_wrap_FXColorWheel_isComposite), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "contains", VALUEFUNC(_wrap_FXColorWheel_contains), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXColorWheel_doesSaveUnder), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setBackColor", VALUEFUNC(_wrap_FXColorWheel_setBackColor), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "tr", VALUEFUNC(_wrap_FXColorWheel_tr), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "dropEnable", VALUEFUNC(_wrap_FXColorWheel_dropEnable), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "dropDisable", VALUEFUNC(_wrap_FXColorWheel_dropDisable), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "setShape", VALUEFUNC(_wrap_FXColorWheel_setShape), -1);
  rb_define_method(SwigClassFXColorWheel.klass, "clearShape", VALUEFUNC(_wrap_FXColorWheel_clearShape), -1);
  SwigClassFXColorWheel.mark = (void (*)(void *)) FXRbColorWheel::markfunc;
  SwigClassFXColorWheel.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXColorWheel.trackObjects = 0;
  rb_define_const(mFox, "DIAL_VERTICAL", SWIG_From_int(static_cast< int >(DIAL_VERTICAL)));
  rb_define_const(mFox, "DIAL_HORIZONTAL", SWIG_From_int(static_cast< int >(DIAL_HORIZONTAL)));
  rb_define_const(mFox, "DIAL_CYCLIC", SWIG_From_int(static_cast< int >(DIAL_CYCLIC)));
  rb_define_const(mFox, "DIAL_HAS_NOTCH", SWIG_From_int(static_cast< int >(DIAL_HAS_NOTCH)));
  rb_define_const(mFox, "DIAL_NORMAL", SWIG_From_int(static_cast< int >(DIAL_NORMAL)));
  
  SwigClassFXDial.klass = rb_define_class_under(mFox, "FXDial", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXDial, (void *) &SwigClassFXDial);
  rb_define_alloc_func(SwigClassFXDial.klass, _wrap_FXDial_allocate);
  rb_define_method(SwigClassFXDial.klass, "initialize", VALUEFUNC(_wrap_new_FXDial), -1);
  rb_define_method(SwigClassFXDial.klass, "onPaint", VALUEFUNC(_wrap_FXDial_onPaint), -1);
  rb_define_method(SwigClassFXDial.klass, "onMotion", VALUEFUNC(_wrap_FXDial_onMotion), -1);
  rb_define_method(SwigClassFXDial.klass, "onMouseWheel", VALUEFUNC(_wrap_FXDial_onMouseWheel), -1);
  rb_define_method(SwigClassFXDial.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXDial_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXDial.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXDial_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXDial.klass, "onKeyPress", VALUEFUNC(_wrap_FXDial_onKeyPress), -1);
  rb_define_method(SwigClassFXDial.klass, "onKeyRelease", VALUEFUNC(_wrap_FXDial_onKeyRelease), -1);
  rb_define_method(SwigClassFXDial.klass, "onUngrabbed", VALUEFUNC(_wrap_FXDial_onUngrabbed), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXDial_onCmdSetValue), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXDial_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXDial_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FXDial_onCmdSetRealValue), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FXDial_onCmdGetRealValue), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXDial_onCmdSetIntRange), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXDial_onCmdGetIntRange), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetRealRange", VALUEFUNC(_wrap_FXDial_onCmdSetRealRange), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdGetRealRange", VALUEFUNC(_wrap_FXDial_onCmdGetRealRange), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXDial_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXDial_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXDial_onCmdSetTip), -1);
  rb_define_method(SwigClassFXDial.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXDial_onCmdGetTip), -1);
  rb_define_method(SwigClassFXDial.klass, "onQueryHelp", VALUEFUNC(_wrap_FXDial_onQueryHelp), -1);
  rb_define_method(SwigClassFXDial.klass, "onQueryTip", VALUEFUNC(_wrap_FXDial_onQueryTip), -1);
  rb_define_method(SwigClassFXDial.klass, "setValue", VALUEFUNC(_wrap_FXDial_setValue), -1);
  rb_define_method(SwigClassFXDial.klass, "getValue", VALUEFUNC(_wrap_FXDial_getValue), -1);
  rb_define_method(SwigClassFXDial.klass, "setRange", VALUEFUNC(_wrap_FXDial_setRange), -1);
  rb_define_method(SwigClassFXDial.klass, "getRange", VALUEFUNC(_wrap_FXDial_getRange), -1);
  rb_define_method(SwigClassFXDial.klass, "setRevolutionIncrement", VALUEFUNC(_wrap_FXDial_setRevolutionIncrement), -1);
  rb_define_method(SwigClassFXDial.klass, "getRevolutionIncrement", VALUEFUNC(_wrap_FXDial_getRevolutionIncrement), -1);
  rb_define_method(SwigClassFXDial.klass, "setNotchSpacing", VALUEFUNC(_wrap_FXDial_setNotchSpacing), -1);
  rb_define_method(SwigClassFXDial.klass, "getNotchSpacing", VALUEFUNC(_wrap_FXDial_getNotchSpacing), -1);
  rb_define_method(SwigClassFXDial.klass, "setNotchOffset", VALUEFUNC(_wrap_FXDial_setNotchOffset), -1);
  rb_define_method(SwigClassFXDial.klass, "getNotchOffset", VALUEFUNC(_wrap_FXDial_getNotchOffset), -1);
  rb_define_method(SwigClassFXDial.klass, "setDialStyle", VALUEFUNC(_wrap_FXDial_setDialStyle), -1);
  rb_define_method(SwigClassFXDial.klass, "getDialStyle", VALUEFUNC(_wrap_FXDial_getDialStyle), -1);
  rb_define_method(SwigClassFXDial.klass, "setNotchColor", VALUEFUNC(_wrap_FXDial_setNotchColor), -1);
  rb_define_method(SwigClassFXDial.klass, "getNotchColor", VALUEFUNC(_wrap_FXDial_getNotchColor), -1);
  rb_define_method(SwigClassFXDial.klass, "setHelpText", VALUEFUNC(_wrap_FXDial_setHelpText), -1);
  rb_define_method(SwigClassFXDial.klass, "getHelpText", VALUEFUNC(_wrap_FXDial_getHelpText), -1);
  rb_define_method(SwigClassFXDial.klass, "setTipText", VALUEFUNC(_wrap_FXDial_setTipText), -1);
  rb_define_method(SwigClassFXDial.klass, "getTipText", VALUEFUNC(_wrap_FXDial_getTipText), -1);
  rb_define_method(SwigClassFXDial.klass, "save", VALUEFUNC(_wrap_FXDial_save), -1);
  rb_define_method(SwigClassFXDial.klass, "load", VALUEFUNC(_wrap_FXDial_load), -1);
  rb_define_method(SwigClassFXDial.klass, "create", VALUEFUNC(_wrap_FXDial_create), -1);
  rb_define_method(SwigClassFXDial.klass, "detach", VALUEFUNC(_wrap_FXDial_detach), -1);
  rb_define_method(SwigClassFXDial.klass, "destroy", VALUEFUNC(_wrap_FXDial_destroy), -1);
  rb_define_method(SwigClassFXDial.klass, "resize", VALUEFUNC(_wrap_FXDial_resize), -1);
  rb_define_method(SwigClassFXDial.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDial_getDefaultWidth), -1);
  rb_define_method(SwigClassFXDial.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDial_getDefaultHeight), -1);
  rb_define_method(SwigClassFXDial.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDial_getWidthForHeight), -1);
  rb_define_method(SwigClassFXDial.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDial_getHeightForWidth), -1);
  rb_define_method(SwigClassFXDial.klass, "canFocus", VALUEFUNC(_wrap_FXDial_canFocus), -1);
  rb_define_method(SwigClassFXDial.klass, "setFocus", VALUEFUNC(_wrap_FXDial_setFocus), -1);
  rb_define_method(SwigClassFXDial.klass, "killFocus", VALUEFUNC(_wrap_FXDial_killFocus), -1);
  rb_define_method(SwigClassFXDial.klass, "changeFocus", VALUEFUNC(_wrap_FXDial_changeFocus), -1);
  rb_define_method(SwigClassFXDial.klass, "setDefault", VALUEFUNC(_wrap_FXDial_setDefault), -1);
  rb_define_method(SwigClassFXDial.klass, "enable", VALUEFUNC(_wrap_FXDial_enable), -1);
  rb_define_method(SwigClassFXDial.klass, "disable", VALUEFUNC(_wrap_FXDial_disable), -1);
  rb_define_method(SwigClassFXDial.klass, "raiseWindow", VALUEFUNC(_wrap_FXDial_raiseWindow), -1);
  rb_define_method(SwigClassFXDial.klass, "lower", VALUEFUNC(_wrap_FXDial_lower), -1);
  rb_define_method(SwigClassFXDial.klass, "move", VALUEFUNC(_wrap_FXDial_move), -1);
  rb_define_method(SwigClassFXDial.klass, "position", VALUEFUNC(_wrap_FXDial_position), -1);
  rb_define_method(SwigClassFXDial.klass, "layout", VALUEFUNC(_wrap_FXDial_layout), -1);
  rb_define_method(SwigClassFXDial.klass, "recalc", VALUEFUNC(_wrap_FXDial_recalc), -1);
  rb_define_method(SwigClassFXDial.klass, "reparent", VALUEFUNC(_wrap_FXDial_reparent), -1);
  rb_define_method(SwigClassFXDial.klass, "show", VALUEFUNC(_wrap_FXDial_show), -1);
  rb_define_method(SwigClassFXDial.klass, "hide", VALUEFUNC(_wrap_FXDial_hide), -1);
  rb_define_method(SwigClassFXDial.klass, "isComposite", VALUEFUNC(_wrap_FXDial_isComposite), -1);
  rb_define_method(SwigClassFXDial.klass, "contains", VALUEFUNC(_wrap_FXDial_contains), -1);
  rb_define_method(SwigClassFXDial.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDial_doesSaveUnder), -1);
  rb_define_method(SwigClassFXDial.klass, "setBackColor", VALUEFUNC(_wrap_FXDial_setBackColor), -1);
  rb_define_method(SwigClassFXDial.klass, "tr", VALUEFUNC(_wrap_FXDial_tr), -1);
  rb_define_method(SwigClassFXDial.klass, "dropEnable", VALUEFUNC(_wrap_FXDial_dropEnable), -1);
  rb_define_method(SwigClassFXDial.klass, "dropDisable", VALUEFUNC(_wrap_FXDial_dropDisable), -1);
  rb_define_method(SwigClassFXDial.klass, "setShape", VALUEFUNC(_wrap_FXDial_setShape), -1);
  rb_define_method(SwigClassFXDial.klass, "clearShape", VALUEFUNC(_wrap_FXDial_clearShape), -1);
  SwigClassFXDial.mark = (void (*)(void *)) FXRbDial::markfunc;
  SwigClassFXDial.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXDial.trackObjects = 0;
  rb_define_const(mFox, "HEADER_BUTTON", SWIG_From_int(static_cast< int >(HEADER_BUTTON)));
  rb_define_const(mFox, "HEADER_HORIZONTAL", SWIG_From_int(static_cast< int >(HEADER_HORIZONTAL)));
  rb_define_const(mFox, "HEADER_VERTICAL", SWIG_From_int(static_cast< int >(HEADER_VERTICAL)));
  rb_define_const(mFox, "HEADER_TRACKING", SWIG_From_int(static_cast< int >(HEADER_TRACKING)));
  rb_define_const(mFox, "HEADER_RESIZE", SWIG_From_int(static_cast< int >(HEADER_RESIZE)));
  rb_define_const(mFox, "HEADER_NORMAL", SWIG_From_int(static_cast< int >(HEADER_NORMAL)));
  
  SwigClassFXHeaderItem.klass = rb_define_class_under(mFox, "FXHeaderItem", ((swig_class *) SWIGTYPE_p_FXObject->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXHeaderItem, (void *) &SwigClassFXHeaderItem);
  rb_define_alloc_func(SwigClassFXHeaderItem.klass, _wrap_FXHeaderItem_allocate);
  rb_define_method(SwigClassFXHeaderItem.klass, "initialize", VALUEFUNC(_wrap_new_FXHeaderItem), -1);
  rb_define_const(SwigClassFXHeaderItem.klass, "ARROW_NONE", SWIG_From_int(static_cast< int >(FXHeaderItem::ARROW_NONE)));
  rb_define_const(SwigClassFXHeaderItem.klass, "ARROW_UP", SWIG_From_int(static_cast< int >(FXHeaderItem::ARROW_UP)));
  rb_define_const(SwigClassFXHeaderItem.klass, "ARROW_DOWN", SWIG_From_int(static_cast< int >(FXHeaderItem::ARROW_DOWN)));
  rb_define_const(SwigClassFXHeaderItem.klass, "PRESSED", SWIG_From_int(static_cast< int >(FXHeaderItem::PRESSED)));
  rb_define_const(SwigClassFXHeaderItem.klass, "RIGHT", SWIG_From_int(static_cast< int >(FXHeaderItem::RIGHT)));
  rb_define_const(SwigClassFXHeaderItem.klass, "LEFT", SWIG_From_int(static_cast< int >(FXHeaderItem::LEFT)));
  rb_define_const(SwigClassFXHeaderItem.klass, "CENTER_X", SWIG_From_int(static_cast< int >(FXHeaderItem::CENTER_X)));
  rb_define_const(SwigClassFXHeaderItem.klass, "TOP", SWIG_From_int(static_cast< int >(FXHeaderItem::TOP)));
  rb_define_const(SwigClassFXHeaderItem.klass, "BOTTOM", SWIG_From_int(static_cast< int >(FXHeaderItem::BOTTOM)));
  rb_define_const(SwigClassFXHeaderItem.klass, "CENTER_Y", SWIG_From_int(static_cast< int >(FXHeaderItem::CENTER_Y)));
  rb_define_const(SwigClassFXHeaderItem.klass, "BEFORE", SWIG_From_int(static_cast< int >(FXHeaderItem::BEFORE)));
  rb_define_const(SwigClassFXHeaderItem.klass, "AFTER", SWIG_From_int(static_cast< int >(FXHeaderItem::AFTER)));
  rb_define_const(SwigClassFXHeaderItem.klass, "ABOVE", SWIG_From_int(static_cast< int >(FXHeaderItem::ABOVE)));
  rb_define_const(SwigClassFXHeaderItem.klass, "BELOW", SWIG_From_int(static_cast< int >(FXHeaderItem::BELOW)));
  rb_define_method(SwigClassFXHeaderItem.klass, "getText", VALUEFUNC(_wrap_FXHeaderItem_getText), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getIcon", VALUEFUNC(_wrap_FXHeaderItem_getIcon), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setData", VALUEFUNC(_wrap_FXHeaderItem_setData), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getData", VALUEFUNC(_wrap_FXHeaderItem_getData), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setSize", VALUEFUNC(_wrap_FXHeaderItem_setSize), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getSize", VALUEFUNC(_wrap_FXHeaderItem_getSize), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setPos", VALUEFUNC(_wrap_FXHeaderItem_setPos), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getPos", VALUEFUNC(_wrap_FXHeaderItem_getPos), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setArrowDir", VALUEFUNC(_wrap_FXHeaderItem_setArrowDir), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getArrowDir", VALUEFUNC(_wrap_FXHeaderItem_getArrowDir), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setJustify", VALUEFUNC(_wrap_FXHeaderItem_setJustify), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getJustify", VALUEFUNC(_wrap_FXHeaderItem_getJustify), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setIconPosition", VALUEFUNC(_wrap_FXHeaderItem_setIconPosition), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getIconPosition", VALUEFUNC(_wrap_FXHeaderItem_getIconPosition), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setPressed", VALUEFUNC(_wrap_FXHeaderItem_setPressed), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "isPressed", VALUEFUNC(_wrap_FXHeaderItem_isPressed), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "save", VALUEFUNC(_wrap_FXHeaderItem_save), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "load", VALUEFUNC(_wrap_FXHeaderItem_load), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setText", VALUEFUNC(_wrap_FXHeaderItem_setText), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "setIcon", VALUEFUNC(_wrap_FXHeaderItem_setIcon), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getWidth", VALUEFUNC(_wrap_FXHeaderItem_getWidth), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "getHeight", VALUEFUNC(_wrap_FXHeaderItem_getHeight), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "create", VALUEFUNC(_wrap_FXHeaderItem_create), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "detach", VALUEFUNC(_wrap_FXHeaderItem_detach), -1);
  rb_define_method(SwigClassFXHeaderItem.klass, "destroy", VALUEFUNC(_wrap_FXHeaderItem_destroy), -1);
  SwigClassFXHeaderItem.mark = (void (*)(void *)) FXRbHeaderItem::markfunc;
  SwigClassFXHeaderItem.destroy = (void (*)(void *)) FXRbHeaderItem::freefunc;
  SwigClassFXHeaderItem.trackObjects = 0;
  
  SwigClassFXHeader.klass = rb_define_class_under(mFox, "FXHeader", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXHeader, (void *) &SwigClassFXHeader);
  rb_define_alloc_func(SwigClassFXHeader.klass, _wrap_FXHeader_allocate);
  rb_define_method(SwigClassFXHeader.klass, "initialize", VALUEFUNC(_wrap_new_FXHeader), -1);
  rb_define_method(SwigClassFXHeader.klass, "onPaint", VALUEFUNC(_wrap_FXHeader_onPaint), -1);
  rb_define_method(SwigClassFXHeader.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXHeader_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXHeader.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXHeader_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXHeader.klass, "onUngrabbed", VALUEFUNC(_wrap_FXHeader_onUngrabbed), -1);
  rb_define_method(SwigClassFXHeader.klass, "onMotion", VALUEFUNC(_wrap_FXHeader_onMotion), -1);
  rb_define_method(SwigClassFXHeader.klass, "onTipTimer", VALUEFUNC(_wrap_FXHeader_onTipTimer), -1);
  rb_define_method(SwigClassFXHeader.klass, "onQueryTip", VALUEFUNC(_wrap_FXHeader_onQueryTip), -1);
  rb_define_method(SwigClassFXHeader.klass, "onQueryHelp", VALUEFUNC(_wrap_FXHeader_onQueryHelp), -1);
  rb_define_method(SwigClassFXHeader.klass, "getNumItems", VALUEFUNC(_wrap_FXHeader_getNumItems), -1);
  rb_define_method(SwigClassFXHeader.klass, "getTotalSize", VALUEFUNC(_wrap_FXHeader_getTotalSize), -1);
  rb_define_method(SwigClassFXHeader.klass, "setPosition", VALUEFUNC(_wrap_FXHeader_setPosition), -1);
  rb_define_method(SwigClassFXHeader.klass, "getPosition", VALUEFUNC(_wrap_FXHeader_getPosition), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItem", VALUEFUNC(_wrap_FXHeader_getItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemAt", VALUEFUNC(_wrap_FXHeader_getItemAt), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItem", VALUEFUNC(_wrap_FXHeader_setItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "fillItems", VALUEFUNC(_wrap_FXHeader_fillItems), -1);
  rb_define_method(SwigClassFXHeader.klass, "insertItem", VALUEFUNC(_wrap_FXHeader_insertItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "appendItem", VALUEFUNC(_wrap_FXHeader_appendItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "prependItem", VALUEFUNC(_wrap_FXHeader_prependItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "extractItem", VALUEFUNC(_wrap_FXHeader_extractItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "removeItem", VALUEFUNC(_wrap_FXHeader_removeItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "clearItems", VALUEFUNC(_wrap_FXHeader_clearItems), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemText", VALUEFUNC(_wrap_FXHeader_setItemText), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemText", VALUEFUNC(_wrap_FXHeader_getItemText), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemIcon", VALUEFUNC(_wrap_FXHeader_setItemIcon), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemIcon", VALUEFUNC(_wrap_FXHeader_getItemIcon), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemSize", VALUEFUNC(_wrap_FXHeader_setItemSize), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemSize", VALUEFUNC(_wrap_FXHeader_getItemSize), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemOffset", VALUEFUNC(_wrap_FXHeader_getItemOffset), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemData", VALUEFUNC(_wrap_FXHeader_setItemData), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemData", VALUEFUNC(_wrap_FXHeader_getItemData), -1);
  rb_define_method(SwigClassFXHeader.klass, "setArrowDir", VALUEFUNC(_wrap_FXHeader_setArrowDir), -1);
  rb_define_method(SwigClassFXHeader.klass, "getArrowDir", VALUEFUNC(_wrap_FXHeader_getArrowDir), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemJustify", VALUEFUNC(_wrap_FXHeader_setItemJustify), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemJustify", VALUEFUNC(_wrap_FXHeader_getItemJustify), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemIconPosition", VALUEFUNC(_wrap_FXHeader_setItemIconPosition), -1);
  rb_define_method(SwigClassFXHeader.klass, "getItemIconPosition", VALUEFUNC(_wrap_FXHeader_getItemIconPosition), -1);
  rb_define_method(SwigClassFXHeader.klass, "setItemPressed", VALUEFUNC(_wrap_FXHeader_setItemPressed), -1);
  rb_define_method(SwigClassFXHeader.klass, "isItemPressed", VALUEFUNC(_wrap_FXHeader_isItemPressed), -1);
  rb_define_method(SwigClassFXHeader.klass, "makeItemVisible", VALUEFUNC(_wrap_FXHeader_makeItemVisible), -1);
  rb_define_method(SwigClassFXHeader.klass, "updateItem", VALUEFUNC(_wrap_FXHeader_updateItem), -1);
  rb_define_method(SwigClassFXHeader.klass, "setFont", VALUEFUNC(_wrap_FXHeader_setFont), -1);
  rb_define_method(SwigClassFXHeader.klass, "getFont", VALUEFUNC(_wrap_FXHeader_getFont), -1);
  rb_define_method(SwigClassFXHeader.klass, "getTextColor", VALUEFUNC(_wrap_FXHeader_getTextColor), -1);
  rb_define_method(SwigClassFXHeader.klass, "setTextColor", VALUEFUNC(_wrap_FXHeader_setTextColor), -1);
  rb_define_method(SwigClassFXHeader.klass, "setHeaderStyle", VALUEFUNC(_wrap_FXHeader_setHeaderStyle), -1);
  rb_define_method(SwigClassFXHeader.klass, "getHeaderStyle", VALUEFUNC(_wrap_FXHeader_getHeaderStyle), -1);
  rb_define_method(SwigClassFXHeader.klass, "setHelpText", VALUEFUNC(_wrap_FXHeader_setHelpText), -1);
  rb_define_method(SwigClassFXHeader.klass, "getHelpText", VALUEFUNC(_wrap_FXHeader_getHelpText), -1);
  rb_define_method(SwigClassFXHeader.klass, "save", VALUEFUNC(_wrap_FXHeader_save), -1);
  rb_define_method(SwigClassFXHeader.klass, "load", VALUEFUNC(_wrap_FXHeader_load), -1);
  rb_define_method(SwigClassFXHeader.klass, "create", VALUEFUNC(_wrap_FXHeader_create), -1);
  rb_define_method(SwigClassFXHeader.klass, "detach", VALUEFUNC(_wrap_FXHeader_detach), -1);
  rb_define_method(SwigClassFXHeader.klass, "destroy", VALUEFUNC(_wrap_FXHeader_destroy), -1);
  rb_define_method(SwigClassFXHeader.klass, "resize", VALUEFUNC(_wrap_FXHeader_resize), -1);
  rb_define_method(SwigClassFXHeader.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXHeader_getDefaultWidth), -1);
  rb_define_method(SwigClassFXHeader.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXHeader_getDefaultHeight), -1);
  rb_define_method(SwigClassFXHeader.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXHeader_getWidthForHeight), -1);
  rb_define_method(SwigClassFXHeader.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXHeader_getHeightForWidth), -1);
  rb_define_method(SwigClassFXHeader.klass, "canFocus", VALUEFUNC(_wrap_FXHeader_canFocus), -1);
  rb_define_method(SwigClassFXHeader.klass, "setFocus", VALUEFUNC(_wrap_FXHeader_setFocus), -1);
  rb_define_method(SwigClassFXHeader.klass, "killFocus", VALUEFUNC(_wrap_FXHeader_killFocus), -1);
  rb_define_method(SwigClassFXHeader.klass, "changeFocus", VALUEFUNC(_wrap_FXHeader_changeFocus), -1);
  rb_define_method(SwigClassFXHeader.klass, "setDefault", VALUEFUNC(_wrap_FXHeader_setDefault), -1);
  rb_define_method(SwigClassFXHeader.klass, "enable", VALUEFUNC(_wrap_FXHeader_enable), -1);
  rb_define_method(SwigClassFXHeader.klass, "disable", VALUEFUNC(_wrap_FXHeader_disable), -1);
  rb_define_method(SwigClassFXHeader.klass, "raiseWindow", VALUEFUNC(_wrap_FXHeader_raiseWindow), -1);
  rb_define_method(SwigClassFXHeader.klass, "lower", VALUEFUNC(_wrap_FXHeader_lower), -1);
  rb_define_method(SwigClassFXHeader.klass, "move", VALUEFUNC(_wrap_FXHeader_move), -1);
  rb_define_method(SwigClassFXHeader.klass, "position", VALUEFUNC(_wrap_FXHeader_position), -1);
  rb_define_method(SwigClassFXHeader.klass, "layout", VALUEFUNC(_wrap_FXHeader_layout), -1);
  rb_define_method(SwigClassFXHeader.klass, "recalc", VALUEFUNC(_wrap_FXHeader_recalc), -1);
  rb_define_method(SwigClassFXHeader.klass, "reparent", VALUEFUNC(_wrap_FXHeader_reparent), -1);
  rb_define_method(SwigClassFXHeader.klass, "show", VALUEFUNC(_wrap_FXHeader_show), -1);
  rb_define_method(SwigClassFXHeader.klass, "hide", VALUEFUNC(_wrap_FXHeader_hide), -1);
  rb_define_method(SwigClassFXHeader.klass, "isComposite", VALUEFUNC(_wrap_FXHeader_isComposite), -1);
  rb_define_method(SwigClassFXHeader.klass, "contains", VALUEFUNC(_wrap_FXHeader_contains), -1);
  rb_define_method(SwigClassFXHeader.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXHeader_doesSaveUnder), -1);
  rb_define_method(SwigClassFXHeader.klass, "setBackColor", VALUEFUNC(_wrap_FXHeader_setBackColor), -1);
  rb_define_method(SwigClassFXHeader.klass, "tr", VALUEFUNC(_wrap_FXHeader_tr), -1);
  rb_define_method(SwigClassFXHeader.klass, "dropEnable", VALUEFUNC(_wrap_FXHeader_dropEnable), -1);
  rb_define_method(SwigClassFXHeader.klass, "dropDisable", VALUEFUNC(_wrap_FXHeader_dropDisable), -1);
  rb_define_method(SwigClassFXHeader.klass, "setShape", VALUEFUNC(_wrap_FXHeader_setShape), -1);
  rb_define_method(SwigClassFXHeader.klass, "clearShape", VALUEFUNC(_wrap_FXHeader_clearShape), -1);
  SwigClassFXHeader.mark = (void (*)(void *)) FXRbHeader::markfunc;
  SwigClassFXHeader.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXHeader.trackObjects = 0;
  
  SwigClassFXImageFrame.klass = rb_define_class_under(mFox, "FXImageFrame", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXImageFrame, (void *) &SwigClassFXImageFrame);
  rb_define_alloc_func(SwigClassFXImageFrame.klass, _wrap_FXImageFrame_allocate);
  rb_define_method(SwigClassFXImageFrame.klass, "initialize", VALUEFUNC(_wrap_new_FXImageFrame), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "onPaint", VALUEFUNC(_wrap_FXImageFrame_onPaint), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "setImage", VALUEFUNC(_wrap_FXImageFrame_setImage), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "getImage", VALUEFUNC(_wrap_FXImageFrame_getImage), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "setJustify", VALUEFUNC(_wrap_FXImageFrame_setJustify), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "getJustify", VALUEFUNC(_wrap_FXImageFrame_getJustify), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "save", VALUEFUNC(_wrap_FXImageFrame_save), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "load", VALUEFUNC(_wrap_FXImageFrame_load), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "create", VALUEFUNC(_wrap_FXImageFrame_create), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "detach", VALUEFUNC(_wrap_FXImageFrame_detach), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "destroy", VALUEFUNC(_wrap_FXImageFrame_destroy), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "resize", VALUEFUNC(_wrap_FXImageFrame_resize), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXImageFrame_getDefaultWidth), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXImageFrame_getDefaultHeight), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXImageFrame_getWidthForHeight), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXImageFrame_getHeightForWidth), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "canFocus", VALUEFUNC(_wrap_FXImageFrame_canFocus), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "setFocus", VALUEFUNC(_wrap_FXImageFrame_setFocus), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "killFocus", VALUEFUNC(_wrap_FXImageFrame_killFocus), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "changeFocus", VALUEFUNC(_wrap_FXImageFrame_changeFocus), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "setDefault", VALUEFUNC(_wrap_FXImageFrame_setDefault), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "enable", VALUEFUNC(_wrap_FXImageFrame_enable), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "disable", VALUEFUNC(_wrap_FXImageFrame_disable), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "raiseWindow", VALUEFUNC(_wrap_FXImageFrame_raiseWindow), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "lower", VALUEFUNC(_wrap_FXImageFrame_lower), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "move", VALUEFUNC(_wrap_FXImageFrame_move), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "position", VALUEFUNC(_wrap_FXImageFrame_position), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "layout", VALUEFUNC(_wrap_FXImageFrame_layout), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "recalc", VALUEFUNC(_wrap_FXImageFrame_recalc), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "reparent", VALUEFUNC(_wrap_FXImageFrame_reparent), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "show", VALUEFUNC(_wrap_FXImageFrame_show), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "hide", VALUEFUNC(_wrap_FXImageFrame_hide), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "isComposite", VALUEFUNC(_wrap_FXImageFrame_isComposite), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "contains", VALUEFUNC(_wrap_FXImageFrame_contains), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXImageFrame_doesSaveUnder), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "setBackColor", VALUEFUNC(_wrap_FXImageFrame_setBackColor), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "tr", VALUEFUNC(_wrap_FXImageFrame_tr), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "dropEnable", VALUEFUNC(_wrap_FXImageFrame_dropEnable), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "dropDisable", VALUEFUNC(_wrap_FXImageFrame_dropDisable), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "setShape", VALUEFUNC(_wrap_FXImageFrame_setShape), -1);
  rb_define_method(SwigClassFXImageFrame.klass, "clearShape", VALUEFUNC(_wrap_FXImageFrame_clearShape), -1);
  SwigClassFXImageFrame.mark = (void (*)(void *)) FXRbImageFrame::markfunc;
  SwigClassFXImageFrame.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXImageFrame.trackObjects = 0;
  
  SwigClassFXBitmapFrame.klass = rb_define_class_under(mFox, "FXBitmapFrame", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXBitmapFrame, (void *) &SwigClassFXBitmapFrame);
  rb_define_alloc_func(SwigClassFXBitmapFrame.klass, _wrap_FXBitmapFrame_allocate);
  rb_define_method(SwigClassFXBitmapFrame.klass, "initialize", VALUEFUNC(_wrap_new_FXBitmapFrame), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "onPaint", VALUEFUNC(_wrap_FXBitmapFrame_onPaint), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setBitmap", VALUEFUNC(_wrap_FXBitmapFrame_setBitmap), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getBitmap", VALUEFUNC(_wrap_FXBitmapFrame_getBitmap), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setOnColor", VALUEFUNC(_wrap_FXBitmapFrame_setOnColor), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getOnColor", VALUEFUNC(_wrap_FXBitmapFrame_getOnColor), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setOffColor", VALUEFUNC(_wrap_FXBitmapFrame_setOffColor), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getOffColor", VALUEFUNC(_wrap_FXBitmapFrame_getOffColor), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setJustify", VALUEFUNC(_wrap_FXBitmapFrame_setJustify), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getJustify", VALUEFUNC(_wrap_FXBitmapFrame_getJustify), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "save", VALUEFUNC(_wrap_FXBitmapFrame_save), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "load", VALUEFUNC(_wrap_FXBitmapFrame_load), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "create", VALUEFUNC(_wrap_FXBitmapFrame_create), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "detach", VALUEFUNC(_wrap_FXBitmapFrame_detach), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "destroy", VALUEFUNC(_wrap_FXBitmapFrame_destroy), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "resize", VALUEFUNC(_wrap_FXBitmapFrame_resize), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXBitmapFrame_getDefaultWidth), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXBitmapFrame_getDefaultHeight), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXBitmapFrame_getWidthForHeight), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXBitmapFrame_getHeightForWidth), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "canFocus", VALUEFUNC(_wrap_FXBitmapFrame_canFocus), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setFocus", VALUEFUNC(_wrap_FXBitmapFrame_setFocus), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "killFocus", VALUEFUNC(_wrap_FXBitmapFrame_killFocus), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "changeFocus", VALUEFUNC(_wrap_FXBitmapFrame_changeFocus), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setDefault", VALUEFUNC(_wrap_FXBitmapFrame_setDefault), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "enable", VALUEFUNC(_wrap_FXBitmapFrame_enable), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "disable", VALUEFUNC(_wrap_FXBitmapFrame_disable), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "raiseWindow", VALUEFUNC(_wrap_FXBitmapFrame_raiseWindow), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "lower", VALUEFUNC(_wrap_FXBitmapFrame_lower), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "move", VALUEFUNC(_wrap_FXBitmapFrame_move), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "position", VALUEFUNC(_wrap_FXBitmapFrame_position), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "layout", VALUEFUNC(_wrap_FXBitmapFrame_layout), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "recalc", VALUEFUNC(_wrap_FXBitmapFrame_recalc), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "reparent", VALUEFUNC(_wrap_FXBitmapFrame_reparent), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "show", VALUEFUNC(_wrap_FXBitmapFrame_show), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "hide", VALUEFUNC(_wrap_FXBitmapFrame_hide), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "isComposite", VALUEFUNC(_wrap_FXBitmapFrame_isComposite), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "contains", VALUEFUNC(_wrap_FXBitmapFrame_contains), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXBitmapFrame_doesSaveUnder), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setBackColor", VALUEFUNC(_wrap_FXBitmapFrame_setBackColor), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "tr", VALUEFUNC(_wrap_FXBitmapFrame_tr), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "dropEnable", VALUEFUNC(_wrap_FXBitmapFrame_dropEnable), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "dropDisable", VALUEFUNC(_wrap_FXBitmapFrame_dropDisable), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "setShape", VALUEFUNC(_wrap_FXBitmapFrame_setShape), -1);
  rb_define_method(SwigClassFXBitmapFrame.klass, "clearShape", VALUEFUNC(_wrap_FXBitmapFrame_clearShape), -1);
  SwigClassFXBitmapFrame.mark = (void (*)(void *)) FXRbBitmapFrame::markfunc;
  SwigClassFXBitmapFrame.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXBitmapFrame.trackObjects = 0;
  rb_define_const(mFox, "KNOB_NEEDLE", SWIG_From_int(static_cast< int >(KNOB_NEEDLE)));
  rb_define_const(mFox, "KNOB_DOT", SWIG_From_int(static_cast< int >(KNOB_DOT)));
  rb_define_const(mFox, "KNOB_TICKS", SWIG_From_int(static_cast< int >(KNOB_TICKS)));
  rb_define_const(mFox, "KNOB_INDICATOR", SWIG_From_int(static_cast< int >(KNOB_INDICATOR)));
  rb_define_const(mFox, "KNOB_NORMAL", SWIG_From_int(static_cast< int >(KNOB_NORMAL)));
  
  SwigClassFXKnob.klass = rb_define_class_under(mFox, "FXKnob", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXKnob, (void *) &SwigClassFXKnob);
  rb_define_alloc_func(SwigClassFXKnob.klass, _wrap_FXKnob_allocate);
  rb_define_method(SwigClassFXKnob.klass, "initialize", VALUEFUNC(_wrap_new_FXKnob), -1);
  rb_define_method(SwigClassFXKnob.klass, "onPaint", VALUEFUNC(_wrap_FXKnob_onPaint), -1);
  rb_define_method(SwigClassFXKnob.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXKnob_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXKnob.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXKnob_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXKnob.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXKnob_onMiddleBtnPress), -1);
  rb_define_method(SwigClassFXKnob.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXKnob_onMiddleBtnRelease), -1);
  rb_define_method(SwigClassFXKnob.klass, "onMouseWheel", VALUEFUNC(_wrap_FXKnob_onMouseWheel), -1);
  rb_define_method(SwigClassFXKnob.klass, "onUngrabbed", VALUEFUNC(_wrap_FXKnob_onUngrabbed), -1);
  rb_define_method(SwigClassFXKnob.klass, "onMotion", VALUEFUNC(_wrap_FXKnob_onMotion), -1);
  rb_define_method(SwigClassFXKnob.klass, "onFocusIn", VALUEFUNC(_wrap_FXKnob_onFocusIn), -1);
  rb_define_method(SwigClassFXKnob.klass, "onFocusOut", VALUEFUNC(_wrap_FXKnob_onFocusOut), -1);
  rb_define_method(SwigClassFXKnob.klass, "onKeyPress", VALUEFUNC(_wrap_FXKnob_onKeyPress), -1);
  rb_define_method(SwigClassFXKnob.klass, "onKeyRelease", VALUEFUNC(_wrap_FXKnob_onKeyRelease), -1);
  rb_define_method(SwigClassFXKnob.klass, "onAutoSlide", VALUEFUNC(_wrap_FXKnob_onAutoSlide), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXKnob_onCmdSetValue), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXKnob_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXKnob_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FXKnob_onCmdSetRealValue), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FXKnob_onCmdGetRealValue), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXKnob_onCmdSetIntRange), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXKnob_onCmdGetIntRange), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetRealRange", VALUEFUNC(_wrap_FXKnob_onCmdSetRealRange), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdGetRealRange", VALUEFUNC(_wrap_FXKnob_onCmdGetRealRange), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXKnob_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXKnob_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXKnob_onCmdSetTip), -1);
  rb_define_method(SwigClassFXKnob.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXKnob_onCmdGetTip), -1);
  rb_define_method(SwigClassFXKnob.klass, "onQueryHelp", VALUEFUNC(_wrap_FXKnob_onQueryHelp), -1);
  rb_define_method(SwigClassFXKnob.klass, "onQueryTip", VALUEFUNC(_wrap_FXKnob_onQueryTip), -1);
  rb_define_const(SwigClassFXKnob.klass, "ID_AUTOSLIDE", SWIG_From_int(static_cast< int >(FXKnob::ID_AUTOSLIDE)));
  rb_define_const(SwigClassFXKnob.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXKnob::ID_LAST)));
  rb_define_method(SwigClassFXKnob.klass, "value=", VALUEFUNC(_wrap_FXKnob_valuee___), -1);
  rb_define_method(SwigClassFXKnob.klass, "setRange", VALUEFUNC(_wrap_FXKnob_setRange), -1);
  rb_define_method(SwigClassFXKnob.klass, "getRange", VALUEFUNC(_wrap_FXKnob_getRange), -1);
  rb_define_method(SwigClassFXKnob.klass, "setLimits", VALUEFUNC(_wrap_FXKnob_setLimits), -1);
  rb_define_method(SwigClassFXKnob.klass, "getLimits", VALUEFUNC(_wrap_FXKnob_getLimits), -1);
  rb_define_method(SwigClassFXKnob.klass, "knobStyle", VALUEFUNC(_wrap_FXKnob_knobStyle), -1);
  rb_define_method(SwigClassFXKnob.klass, "knobStyle=", VALUEFUNC(_wrap_FXKnob_knobStylee___), -1);
  rb_define_method(SwigClassFXKnob.klass, "increment", VALUEFUNC(_wrap_FXKnob_increment), -1);
  rb_define_method(SwigClassFXKnob.klass, "increment=", VALUEFUNC(_wrap_FXKnob_incremente___), -1);
  rb_define_method(SwigClassFXKnob.klass, "tickDelta=", VALUEFUNC(_wrap_FXKnob_tickDeltae___), -1);
  rb_define_method(SwigClassFXKnob.klass, "tickDelta", VALUEFUNC(_wrap_FXKnob_tickDelta), -1);
  rb_define_method(SwigClassFXKnob.klass, "lineColor=", VALUEFUNC(_wrap_FXKnob_lineColore___), -1);
  rb_define_method(SwigClassFXKnob.klass, "lineColor", VALUEFUNC(_wrap_FXKnob_lineColor), -1);
  rb_define_method(SwigClassFXKnob.klass, "helpText=", VALUEFUNC(_wrap_FXKnob_helpTexte___), -1);
  rb_define_method(SwigClassFXKnob.klass, "helpText", VALUEFUNC(_wrap_FXKnob_helpText), -1);
  rb_define_method(SwigClassFXKnob.klass, "tipText=", VALUEFUNC(_wrap_FXKnob_tipTexte___), -1);
  rb_define_method(SwigClassFXKnob.klass, "tipText", VALUEFUNC(_wrap_FXKnob_tipText), -1);
  rb_define_method(SwigClassFXKnob.klass, "save", VALUEFUNC(_wrap_FXKnob_save), -1);
  rb_define_method(SwigClassFXKnob.klass, "load", VALUEFUNC(_wrap_FXKnob_load), -1);
  rb_define_method(SwigClassFXKnob.klass, "create", VALUEFUNC(_wrap_FXKnob_create), -1);
  rb_define_method(SwigClassFXKnob.klass, "detach", VALUEFUNC(_wrap_FXKnob_detach), -1);
  rb_define_method(SwigClassFXKnob.klass, "destroy", VALUEFUNC(_wrap_FXKnob_destroy), -1);
  rb_define_method(SwigClassFXKnob.klass, "resize", VALUEFUNC(_wrap_FXKnob_resize), -1);
  rb_define_method(SwigClassFXKnob.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXKnob_getDefaultWidth), -1);
  rb_define_method(SwigClassFXKnob.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXKnob_getDefaultHeight), -1);
  rb_define_method(SwigClassFXKnob.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXKnob_getWidthForHeight), -1);
  rb_define_method(SwigClassFXKnob.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXKnob_getHeightForWidth), -1);
  rb_define_method(SwigClassFXKnob.klass, "canFocus", VALUEFUNC(_wrap_FXKnob_canFocus), -1);
  rb_define_method(SwigClassFXKnob.klass, "setFocus", VALUEFUNC(_wrap_FXKnob_setFocus), -1);
  rb_define_method(SwigClassFXKnob.klass, "killFocus", VALUEFUNC(_wrap_FXKnob_killFocus), -1);
  rb_define_method(SwigClassFXKnob.klass, "changeFocus", VALUEFUNC(_wrap_FXKnob_changeFocus), -1);
  rb_define_method(SwigClassFXKnob.klass, "setDefault", VALUEFUNC(_wrap_FXKnob_setDefault), -1);
  rb_define_method(SwigClassFXKnob.klass, "enable", VALUEFUNC(_wrap_FXKnob_enable), -1);
  rb_define_method(SwigClassFXKnob.klass, "disable", VALUEFUNC(_wrap_FXKnob_disable), -1);
  rb_define_method(SwigClassFXKnob.klass, "raiseWindow", VALUEFUNC(_wrap_FXKnob_raiseWindow), -1);
  rb_define_method(SwigClassFXKnob.klass, "lower", VALUEFUNC(_wrap_FXKnob_lower), -1);
  rb_define_method(SwigClassFXKnob.klass, "move", VALUEFUNC(_wrap_FXKnob_move), -1);
  rb_define_method(SwigClassFXKnob.klass, "position", VALUEFUNC(_wrap_FXKnob_position), -1);
  rb_define_method(SwigClassFXKnob.klass, "layout", VALUEFUNC(_wrap_FXKnob_layout), -1);
  rb_define_method(SwigClassFXKnob.klass, "recalc", VALUEFUNC(_wrap_FXKnob_recalc), -1);
  rb_define_method(SwigClassFXKnob.klass, "reparent", VALUEFUNC(_wrap_FXKnob_reparent), -1);
  rb_define_method(SwigClassFXKnob.klass, "show", VALUEFUNC(_wrap_FXKnob_show), -1);
  rb_define_method(SwigClassFXKnob.klass, "hide", VALUEFUNC(_wrap_FXKnob_hide), -1);
  rb_define_method(SwigClassFXKnob.klass, "isComposite", VALUEFUNC(_wrap_FXKnob_isComposite), -1);
  rb_define_method(SwigClassFXKnob.klass, "contains", VALUEFUNC(_wrap_FXKnob_contains), -1);
  rb_define_method(SwigClassFXKnob.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXKnob_doesSaveUnder), -1);
  rb_define_method(SwigClassFXKnob.klass, "setBackColor", VALUEFUNC(_wrap_FXKnob_setBackColor), -1);
  rb_define_method(SwigClassFXKnob.klass, "tr", VALUEFUNC(_wrap_FXKnob_tr), -1);
  rb_define_method(SwigClassFXKnob.klass, "dropEnable", VALUEFUNC(_wrap_FXKnob_dropEnable), -1);
  rb_define_method(SwigClassFXKnob.klass, "dropDisable", VALUEFUNC(_wrap_FXKnob_dropDisable), -1);
  rb_define_method(SwigClassFXKnob.klass, "setShape", VALUEFUNC(_wrap_FXKnob_setShape), -1);
  rb_define_method(SwigClassFXKnob.klass, "clearShape", VALUEFUNC(_wrap_FXKnob_clearShape), -1);
  SwigClassFXKnob.mark = 0;
  SwigClassFXKnob.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXKnob.trackObjects = 0;
  rb_define_const(mFox, "PROGRESSBAR_HORIZONTAL", SWIG_From_int(static_cast< int >(PROGRESSBAR_HORIZONTAL)));
  rb_define_const(mFox, "PROGRESSBAR_VERTICAL", SWIG_From_int(static_cast< int >(PROGRESSBAR_VERTICAL)));
  rb_define_const(mFox, "PROGRESSBAR_PERCENTAGE", SWIG_From_int(static_cast< int >(PROGRESSBAR_PERCENTAGE)));
  rb_define_const(mFox, "PROGRESSBAR_DIAL", SWIG_From_int(static_cast< int >(PROGRESSBAR_DIAL)));
  rb_define_const(mFox, "PROGRESSBAR_NORMAL", SWIG_From_int(static_cast< int >(PROGRESSBAR_NORMAL)));
  
  SwigClassFXProgressBar.klass = rb_define_class_under(mFox, "FXProgressBar", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXProgressBar, (void *) &SwigClassFXProgressBar);
  rb_define_alloc_func(SwigClassFXProgressBar.klass, _wrap_FXProgressBar_allocate);
  rb_define_method(SwigClassFXProgressBar.klass, "initialize", VALUEFUNC(_wrap_new_FXProgressBar), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "onPaint", VALUEFUNC(_wrap_FXProgressBar_onPaint), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXProgressBar_onCmdSetValue), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXProgressBar_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXProgressBar_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setProgress", VALUEFUNC(_wrap_FXProgressBar_setProgress), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getProgress", VALUEFUNC(_wrap_FXProgressBar_getProgress), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setTotal", VALUEFUNC(_wrap_FXProgressBar_setTotal), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getTotal", VALUEFUNC(_wrap_FXProgressBar_getTotal), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "increment", VALUEFUNC(_wrap_FXProgressBar_increment), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "hideNumber", VALUEFUNC(_wrap_FXProgressBar_hideNumber), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "showNumber", VALUEFUNC(_wrap_FXProgressBar_showNumber), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setBarSize", VALUEFUNC(_wrap_FXProgressBar_setBarSize), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getBarSize", VALUEFUNC(_wrap_FXProgressBar_getBarSize), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setBarBGColor", VALUEFUNC(_wrap_FXProgressBar_setBarBGColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getBarBGColor", VALUEFUNC(_wrap_FXProgressBar_getBarBGColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setBarColor", VALUEFUNC(_wrap_FXProgressBar_setBarColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getBarColor", VALUEFUNC(_wrap_FXProgressBar_getBarColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setTextColor", VALUEFUNC(_wrap_FXProgressBar_setTextColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getTextColor", VALUEFUNC(_wrap_FXProgressBar_getTextColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setTextAltColor", VALUEFUNC(_wrap_FXProgressBar_setTextAltColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getTextAltColor", VALUEFUNC(_wrap_FXProgressBar_getTextAltColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setFont", VALUEFUNC(_wrap_FXProgressBar_setFont), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getFont", VALUEFUNC(_wrap_FXProgressBar_getFont), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setBarStyle", VALUEFUNC(_wrap_FXProgressBar_setBarStyle), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getBarStyle", VALUEFUNC(_wrap_FXProgressBar_getBarStyle), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "save", VALUEFUNC(_wrap_FXProgressBar_save), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "load", VALUEFUNC(_wrap_FXProgressBar_load), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "create", VALUEFUNC(_wrap_FXProgressBar_create), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "detach", VALUEFUNC(_wrap_FXProgressBar_detach), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "destroy", VALUEFUNC(_wrap_FXProgressBar_destroy), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "resize", VALUEFUNC(_wrap_FXProgressBar_resize), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXProgressBar_getDefaultWidth), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXProgressBar_getDefaultHeight), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXProgressBar_getWidthForHeight), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXProgressBar_getHeightForWidth), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "canFocus", VALUEFUNC(_wrap_FXProgressBar_canFocus), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setFocus", VALUEFUNC(_wrap_FXProgressBar_setFocus), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "killFocus", VALUEFUNC(_wrap_FXProgressBar_killFocus), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "changeFocus", VALUEFUNC(_wrap_FXProgressBar_changeFocus), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setDefault", VALUEFUNC(_wrap_FXProgressBar_setDefault), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "enable", VALUEFUNC(_wrap_FXProgressBar_enable), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "disable", VALUEFUNC(_wrap_FXProgressBar_disable), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXProgressBar_raiseWindow), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "lower", VALUEFUNC(_wrap_FXProgressBar_lower), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "move", VALUEFUNC(_wrap_FXProgressBar_move), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "position", VALUEFUNC(_wrap_FXProgressBar_position), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "layout", VALUEFUNC(_wrap_FXProgressBar_layout), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "recalc", VALUEFUNC(_wrap_FXProgressBar_recalc), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "reparent", VALUEFUNC(_wrap_FXProgressBar_reparent), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "show", VALUEFUNC(_wrap_FXProgressBar_show), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "hide", VALUEFUNC(_wrap_FXProgressBar_hide), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "isComposite", VALUEFUNC(_wrap_FXProgressBar_isComposite), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "contains", VALUEFUNC(_wrap_FXProgressBar_contains), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXProgressBar_doesSaveUnder), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setBackColor", VALUEFUNC(_wrap_FXProgressBar_setBackColor), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "tr", VALUEFUNC(_wrap_FXProgressBar_tr), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "dropEnable", VALUEFUNC(_wrap_FXProgressBar_dropEnable), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "dropDisable", VALUEFUNC(_wrap_FXProgressBar_dropDisable), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "setShape", VALUEFUNC(_wrap_FXProgressBar_setShape), -1);
  rb_define_method(SwigClassFXProgressBar.klass, "clearShape", VALUEFUNC(_wrap_FXProgressBar_clearShape), -1);
  SwigClassFXProgressBar.mark = (void (*)(void *)) FXRbProgressBar::markfunc;
  SwigClassFXProgressBar.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXProgressBar.trackObjects = 0;
  rb_define_const(mFox, "RULER_NORMAL", SWIG_From_int(static_cast< int >(RULER_NORMAL)));
  rb_define_const(mFox, "RULER_HORIZONTAL", SWIG_From_int(static_cast< int >(RULER_HORIZONTAL)));
  rb_define_const(mFox, "RULER_VERTICAL", SWIG_From_int(static_cast< int >(RULER_VERTICAL)));
  rb_define_const(mFox, "RULER_TICKS_OFF", SWIG_From_int(static_cast< int >(RULER_TICKS_OFF)));
  rb_define_const(mFox, "RULER_TICKS_TOP", SWIG_From_int(static_cast< int >(RULER_TICKS_TOP)));
  rb_define_const(mFox, "RULER_TICKS_BOTTOM", SWIG_From_int(static_cast< int >(RULER_TICKS_BOTTOM)));
  rb_define_const(mFox, "RULER_TICKS_LEFT", SWIG_From_int(static_cast< int >(RULER_TICKS_LEFT)));
  rb_define_const(mFox, "RULER_TICKS_RIGHT", SWIG_From_int(static_cast< int >(RULER_TICKS_RIGHT)));
  rb_define_const(mFox, "RULER_TICKS_CENTER", SWIG_From_int(static_cast< int >(RULER_TICKS_CENTER)));
  rb_define_const(mFox, "RULER_NUMBERS", SWIG_From_int(static_cast< int >(RULER_NUMBERS)));
  rb_define_const(mFox, "RULER_ARROW", SWIG_From_int(static_cast< int >(RULER_ARROW)));
  rb_define_const(mFox, "RULER_MARKERS", SWIG_From_int(static_cast< int >(RULER_MARKERS)));
  rb_define_const(mFox, "RULER_METRIC", SWIG_From_int(static_cast< int >(RULER_METRIC)));
  rb_define_const(mFox, "RULER_ENGLISH", SWIG_From_int(static_cast< int >(RULER_ENGLISH)));
  rb_define_const(mFox, "RULER_MARGIN_ADJUST", SWIG_From_int(static_cast< int >(RULER_MARGIN_ADJUST)));
  rb_define_const(mFox, "RULER_ALIGN_CENTER", SWIG_From_int(static_cast< int >(RULER_ALIGN_CENTER)));
  rb_define_const(mFox, "RULER_ALIGN_LEFT", SWIG_From_int(static_cast< int >(RULER_ALIGN_LEFT)));
  rb_define_const(mFox, "RULER_ALIGN_RIGHT", SWIG_From_int(static_cast< int >(RULER_ALIGN_RIGHT)));
  rb_define_const(mFox, "RULER_ALIGN_TOP", SWIG_From_int(static_cast< int >(RULER_ALIGN_TOP)));
  rb_define_const(mFox, "RULER_ALIGN_BOTTOM", SWIG_From_int(static_cast< int >(RULER_ALIGN_BOTTOM)));
  rb_define_const(mFox, "RULER_ALIGN_STRETCH", SWIG_From_int(static_cast< int >(RULER_ALIGN_STRETCH)));
  rb_define_const(mFox, "RULER_ALIGN_NORMAL", SWIG_From_int(static_cast< int >(RULER_ALIGN_NORMAL)));
  
  SwigClassFXRuler.klass = rb_define_class_under(mFox, "FXRuler", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXRuler, (void *) &SwigClassFXRuler);
  rb_define_alloc_func(SwigClassFXRuler.klass, _wrap_FXRuler_allocate);
  rb_define_method(SwigClassFXRuler.klass, "initialize", VALUEFUNC(_wrap_new_FXRuler), -1);
  rb_define_method(SwigClassFXRuler.klass, "onPaint", VALUEFUNC(_wrap_FXRuler_onPaint), -1);
  rb_define_method(SwigClassFXRuler.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXRuler_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXRuler.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXRuler_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXRuler.klass, "onMotion", VALUEFUNC(_wrap_FXRuler_onMotion), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXRuler_onCmdSetValue), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXRuler_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXRuler_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXRuler_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXRuler_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXRuler_onCmdSetTip), -1);
  rb_define_method(SwigClassFXRuler.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXRuler_onCmdGetTip), -1);
  rb_define_method(SwigClassFXRuler.klass, "onQueryHelp", VALUEFUNC(_wrap_FXRuler_onQueryHelp), -1);
  rb_define_method(SwigClassFXRuler.klass, "onQueryTip", VALUEFUNC(_wrap_FXRuler_onQueryTip), -1);
  rb_define_const(SwigClassFXRuler.klass, "ID_ARROW", SWIG_From_int(static_cast< int >(FXRuler::ID_ARROW)));
  rb_define_const(SwigClassFXRuler.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXRuler::ID_LAST)));
  rb_define_method(SwigClassFXRuler.klass, "setPosition", VALUEFUNC(_wrap_FXRuler_setPosition), -1);
  rb_define_method(SwigClassFXRuler.klass, "getPosition", VALUEFUNC(_wrap_FXRuler_getPosition), -1);
  rb_define_method(SwigClassFXRuler.klass, "setContentSize", VALUEFUNC(_wrap_FXRuler_setContentSize), -1);
  rb_define_method(SwigClassFXRuler.klass, "getContentSize", VALUEFUNC(_wrap_FXRuler_getContentSize), -1);
  rb_define_method(SwigClassFXRuler.klass, "documentLower", VALUEFUNC(_wrap_FXRuler_documentLower), -1);
  rb_define_method(SwigClassFXRuler.klass, "documentUpper", VALUEFUNC(_wrap_FXRuler_documentUpper), -1);
  rb_define_method(SwigClassFXRuler.klass, "setDocumentSize", VALUEFUNC(_wrap_FXRuler_setDocumentSize), -1);
  rb_define_method(SwigClassFXRuler.klass, "getDocumentSize", VALUEFUNC(_wrap_FXRuler_getDocumentSize), -1);
  rb_define_method(SwigClassFXRuler.klass, "setEdgeSpacing", VALUEFUNC(_wrap_FXRuler_setEdgeSpacing), -1);
  rb_define_method(SwigClassFXRuler.klass, "getEdgeSpacing", VALUEFUNC(_wrap_FXRuler_getEdgeSpacing), -1);
  rb_define_method(SwigClassFXRuler.klass, "setMarginLower", VALUEFUNC(_wrap_FXRuler_setMarginLower), -1);
  rb_define_method(SwigClassFXRuler.klass, "getMarginLower", VALUEFUNC(_wrap_FXRuler_getMarginLower), -1);
  rb_define_method(SwigClassFXRuler.klass, "setMarginUpper", VALUEFUNC(_wrap_FXRuler_setMarginUpper), -1);
  rb_define_method(SwigClassFXRuler.klass, "getMarginUpper", VALUEFUNC(_wrap_FXRuler_getMarginUpper), -1);
  rb_define_method(SwigClassFXRuler.klass, "setIndentFirst", VALUEFUNC(_wrap_FXRuler_setIndentFirst), -1);
  rb_define_method(SwigClassFXRuler.klass, "getIndentFirst", VALUEFUNC(_wrap_FXRuler_getIndentFirst), -1);
  rb_define_method(SwigClassFXRuler.klass, "setIndentLower", VALUEFUNC(_wrap_FXRuler_setIndentLower), -1);
  rb_define_method(SwigClassFXRuler.klass, "getIndentLower", VALUEFUNC(_wrap_FXRuler_getIndentLower), -1);
  rb_define_method(SwigClassFXRuler.klass, "setIndentUpper", VALUEFUNC(_wrap_FXRuler_setIndentUpper), -1);
  rb_define_method(SwigClassFXRuler.klass, "getIndentUpper", VALUEFUNC(_wrap_FXRuler_getIndentUpper), -1);
  rb_define_method(SwigClassFXRuler.klass, "setNumberTicks", VALUEFUNC(_wrap_FXRuler_setNumberTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "getNumberTicks", VALUEFUNC(_wrap_FXRuler_getNumberTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "setMajorTicks", VALUEFUNC(_wrap_FXRuler_setMajorTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "getMajorTicks", VALUEFUNC(_wrap_FXRuler_getMajorTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "setMediumTicks", VALUEFUNC(_wrap_FXRuler_setMediumTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "getMediumTicks", VALUEFUNC(_wrap_FXRuler_getMediumTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "setTinyTicks", VALUEFUNC(_wrap_FXRuler_setTinyTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "getTinyTicks", VALUEFUNC(_wrap_FXRuler_getTinyTicks), -1);
  rb_define_method(SwigClassFXRuler.klass, "setPixelPerTick", VALUEFUNC(_wrap_FXRuler_setPixelPerTick), -1);
  rb_define_method(SwigClassFXRuler.klass, "getPixelPerTick", VALUEFUNC(_wrap_FXRuler_getPixelPerTick), -1);
  rb_define_method(SwigClassFXRuler.klass, "setFont", VALUEFUNC(_wrap_FXRuler_setFont), -1);
  rb_define_method(SwigClassFXRuler.klass, "getFont", VALUEFUNC(_wrap_FXRuler_getFont), -1);
  rb_define_method(SwigClassFXRuler.klass, "setValue", VALUEFUNC(_wrap_FXRuler_setValue), -1);
  rb_define_method(SwigClassFXRuler.klass, "getValue", VALUEFUNC(_wrap_FXRuler_getValue), -1);
  rb_define_method(SwigClassFXRuler.klass, "setRulerStyle", VALUEFUNC(_wrap_FXRuler_setRulerStyle), -1);
  rb_define_method(SwigClassFXRuler.klass, "getRulerStyle", VALUEFUNC(_wrap_FXRuler_getRulerStyle), -1);
  rb_define_method(SwigClassFXRuler.klass, "setRulerAlignment", VALUEFUNC(_wrap_FXRuler_setRulerAlignment), -1);
  rb_define_method(SwigClassFXRuler.klass, "getRulerAlignment", VALUEFUNC(_wrap_FXRuler_getRulerAlignment), -1);
  rb_define_method(SwigClassFXRuler.klass, "getTextColor", VALUEFUNC(_wrap_FXRuler_getTextColor), -1);
  rb_define_method(SwigClassFXRuler.klass, "setTextColor", VALUEFUNC(_wrap_FXRuler_setTextColor), -1);
  rb_define_method(SwigClassFXRuler.klass, "setHelpText", VALUEFUNC(_wrap_FXRuler_setHelpText), -1);
  rb_define_method(SwigClassFXRuler.klass, "getHelpText", VALUEFUNC(_wrap_FXRuler_getHelpText), -1);
  rb_define_method(SwigClassFXRuler.klass, "setTipText", VALUEFUNC(_wrap_FXRuler_setTipText), -1);
  rb_define_method(SwigClassFXRuler.klass, "getTipText", VALUEFUNC(_wrap_FXRuler_getTipText), -1);
  rb_define_method(SwigClassFXRuler.klass, "save", VALUEFUNC(_wrap_FXRuler_save), -1);
  rb_define_method(SwigClassFXRuler.klass, "load", VALUEFUNC(_wrap_FXRuler_load), -1);
  rb_define_method(SwigClassFXRuler.klass, "create", VALUEFUNC(_wrap_FXRuler_create), -1);
  rb_define_method(SwigClassFXRuler.klass, "detach", VALUEFUNC(_wrap_FXRuler_detach), -1);
  rb_define_method(SwigClassFXRuler.klass, "destroy", VALUEFUNC(_wrap_FXRuler_destroy), -1);
  rb_define_method(SwigClassFXRuler.klass, "resize", VALUEFUNC(_wrap_FXRuler_resize), -1);
  rb_define_method(SwigClassFXRuler.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXRuler_getDefaultWidth), -1);
  rb_define_method(SwigClassFXRuler.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXRuler_getDefaultHeight), -1);
  rb_define_method(SwigClassFXRuler.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXRuler_getWidthForHeight), -1);
  rb_define_method(SwigClassFXRuler.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXRuler_getHeightForWidth), -1);
  rb_define_method(SwigClassFXRuler.klass, "canFocus", VALUEFUNC(_wrap_FXRuler_canFocus), -1);
  rb_define_method(SwigClassFXRuler.klass, "setFocus", VALUEFUNC(_wrap_FXRuler_setFocus), -1);
  rb_define_method(SwigClassFXRuler.klass, "killFocus", VALUEFUNC(_wrap_FXRuler_killFocus), -1);
  rb_define_method(SwigClassFXRuler.klass, "changeFocus", VALUEFUNC(_wrap_FXRuler_changeFocus), -1);
  rb_define_method(SwigClassFXRuler.klass, "setDefault", VALUEFUNC(_wrap_FXRuler_setDefault), -1);
  rb_define_method(SwigClassFXRuler.klass, "enable", VALUEFUNC(_wrap_FXRuler_enable), -1);
  rb_define_method(SwigClassFXRuler.klass, "disable", VALUEFUNC(_wrap_FXRuler_disable), -1);
  rb_define_method(SwigClassFXRuler.klass, "raiseWindow", VALUEFUNC(_wrap_FXRuler_raiseWindow), -1);
  rb_define_method(SwigClassFXRuler.klass, "lower", VALUEFUNC(_wrap_FXRuler_lower), -1);
  rb_define_method(SwigClassFXRuler.klass, "move", VALUEFUNC(_wrap_FXRuler_move), -1);
  rb_define_method(SwigClassFXRuler.klass, "position", VALUEFUNC(_wrap_FXRuler_position), -1);
  rb_define_method(SwigClassFXRuler.klass, "layout", VALUEFUNC(_wrap_FXRuler_layout), -1);
  rb_define_method(SwigClassFXRuler.klass, "recalc", VALUEFUNC(_wrap_FXRuler_recalc), -1);
  rb_define_method(SwigClassFXRuler.klass, "reparent", VALUEFUNC(_wrap_FXRuler_reparent), -1);
  rb_define_method(SwigClassFXRuler.klass, "show", VALUEFUNC(_wrap_FXRuler_show), -1);
  rb_define_method(SwigClassFXRuler.klass, "hide", VALUEFUNC(_wrap_FXRuler_hide), -1);
  rb_define_method(SwigClassFXRuler.klass, "isComposite", VALUEFUNC(_wrap_FXRuler_isComposite), -1);
  rb_define_method(SwigClassFXRuler.klass, "contains", VALUEFUNC(_wrap_FXRuler_contains), -1);
  rb_define_method(SwigClassFXRuler.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXRuler_doesSaveUnder), -1);
  rb_define_method(SwigClassFXRuler.klass, "setBackColor", VALUEFUNC(_wrap_FXRuler_setBackColor), -1);
  rb_define_method(SwigClassFXRuler.klass, "tr", VALUEFUNC(_wrap_FXRuler_tr), -1);
  rb_define_method(SwigClassFXRuler.klass, "dropEnable", VALUEFUNC(_wrap_FXRuler_dropEnable), -1);
  rb_define_method(SwigClassFXRuler.klass, "dropDisable", VALUEFUNC(_wrap_FXRuler_dropDisable), -1);
  rb_define_method(SwigClassFXRuler.klass, "setShape", VALUEFUNC(_wrap_FXRuler_setShape), -1);
  rb_define_method(SwigClassFXRuler.klass, "clearShape", VALUEFUNC(_wrap_FXRuler_clearShape), -1);
  SwigClassFXRuler.mark = (void (*)(void *)) FXRbRuler::markfunc;
  SwigClassFXRuler.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXRuler.trackObjects = 0;
  rb_define_const(mFox, "SEPARATOR_NONE", SWIG_From_int(static_cast< int >(SEPARATOR_NONE)));
  rb_define_const(mFox, "SEPARATOR_GROOVE", SWIG_From_int(static_cast< int >(SEPARATOR_GROOVE)));
  rb_define_const(mFox, "SEPARATOR_RIDGE", SWIG_From_int(static_cast< int >(SEPARATOR_RIDGE)));
  rb_define_const(mFox, "SEPARATOR_LINE", SWIG_From_int(static_cast< int >(SEPARATOR_LINE)));
  
  SwigClassFXSeparator.klass = rb_define_class_under(mFox, "FXSeparator", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXSeparator, (void *) &SwigClassFXSeparator);
  rb_define_alloc_func(SwigClassFXSeparator.klass, _wrap_FXSeparator_allocate);
  rb_define_method(SwigClassFXSeparator.klass, "initialize", VALUEFUNC(_wrap_new_FXSeparator), -1);
  rb_define_method(SwigClassFXSeparator.klass, "onPaint", VALUEFUNC(_wrap_FXSeparator_onPaint), -1);
  rb_define_method(SwigClassFXSeparator.klass, "setSeparatorStyle", VALUEFUNC(_wrap_FXSeparator_setSeparatorStyle), -1);
  rb_define_method(SwigClassFXSeparator.klass, "getSeparatorStyle", VALUEFUNC(_wrap_FXSeparator_getSeparatorStyle), -1);
  rb_define_method(SwigClassFXSeparator.klass, "save", VALUEFUNC(_wrap_FXSeparator_save), -1);
  rb_define_method(SwigClassFXSeparator.klass, "load", VALUEFUNC(_wrap_FXSeparator_load), -1);
  rb_define_method(SwigClassFXSeparator.klass, "create", VALUEFUNC(_wrap_FXSeparator_create), -1);
  rb_define_method(SwigClassFXSeparator.klass, "detach", VALUEFUNC(_wrap_FXSeparator_detach), -1);
  rb_define_method(SwigClassFXSeparator.klass, "destroy", VALUEFUNC(_wrap_FXSeparator_destroy), -1);
  rb_define_method(SwigClassFXSeparator.klass, "resize", VALUEFUNC(_wrap_FXSeparator_resize), -1);
  rb_define_method(SwigClassFXSeparator.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXSeparator_getDefaultWidth), -1);
  rb_define_method(SwigClassFXSeparator.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXSeparator_getDefaultHeight), -1);
  rb_define_method(SwigClassFXSeparator.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXSeparator_getWidthForHeight), -1);
  rb_define_method(SwigClassFXSeparator.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXSeparator_getHeightForWidth), -1);
  rb_define_method(SwigClassFXSeparator.klass, "canFocus", VALUEFUNC(_wrap_FXSeparator_canFocus), -1);
  rb_define_method(SwigClassFXSeparator.klass, "setFocus", VALUEFUNC(_wrap_FXSeparator_setFocus), -1);
  rb_define_method(SwigClassFXSeparator.klass, "killFocus", VALUEFUNC(_wrap_FXSeparator_killFocus), -1);
  rb_define_method(SwigClassFXSeparator.klass, "changeFocus", VALUEFUNC(_wrap_FXSeparator_changeFocus), -1);
  rb_define_method(SwigClassFXSeparator.klass, "setDefault", VALUEFUNC(_wrap_FXSeparator_setDefault), -1);
  rb_define_method(SwigClassFXSeparator.klass, "enable", VALUEFUNC(_wrap_FXSeparator_enable), -1);
  rb_define_method(SwigClassFXSeparator.klass, "disable", VALUEFUNC(_wrap_FXSeparator_disable), -1);
  rb_define_method(SwigClassFXSeparator.klass, "raiseWindow", VALUEFUNC(_wrap_FXSeparator_raiseWindow), -1);
  rb_define_method(SwigClassFXSeparator.klass, "lower", VALUEFUNC(_wrap_FXSeparator_lower), -1);
  rb_define_method(SwigClassFXSeparator.klass, "move", VALUEFUNC(_wrap_FXSeparator_move), -1);
  rb_define_method(SwigClassFXSeparator.klass, "position", VALUEFUNC(_wrap_FXSeparator_position), -1);
  rb_define_method(SwigClassFXSeparator.klass, "layout", VALUEFUNC(_wrap_FXSeparator_layout), -1);
  rb_define_method(SwigClassFXSeparator.klass, "recalc", VALUEFUNC(_wrap_FXSeparator_recalc), -1);
  rb_define_method(SwigClassFXSeparator.klass, "reparent", VALUEFUNC(_wrap_FXSeparator_reparent), -1);
  rb_define_method(SwigClassFXSeparator.klass, "show", VALUEFUNC(_wrap_FXSeparator_show), -1);
  rb_define_method(SwigClassFXSeparator.klass, "hide", VALUEFUNC(_wrap_FXSeparator_hide), -1);
  rb_define_method(SwigClassFXSeparator.klass, "isComposite", VALUEFUNC(_wrap_FXSeparator_isComposite), -1);
  rb_define_method(SwigClassFXSeparator.klass, "contains", VALUEFUNC(_wrap_FXSeparator_contains), -1);
  rb_define_method(SwigClassFXSeparator.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXSeparator_doesSaveUnder), -1);
  rb_define_method(SwigClassFXSeparator.klass, "setBackColor", VALUEFUNC(_wrap_FXSeparator_setBackColor), -1);
  rb_define_method(SwigClassFXSeparator.klass, "tr", VALUEFUNC(_wrap_FXSeparator_tr), -1);
  rb_define_method(SwigClassFXSeparator.klass, "dropEnable", VALUEFUNC(_wrap_FXSeparator_dropEnable), -1);
  rb_define_method(SwigClassFXSeparator.klass, "dropDisable", VALUEFUNC(_wrap_FXSeparator_dropDisable), -1);
  rb_define_method(SwigClassFXSeparator.klass, "setShape", VALUEFUNC(_wrap_FXSeparator_setShape), -1);
  rb_define_method(SwigClassFXSeparator.klass, "clearShape", VALUEFUNC(_wrap_FXSeparator_clearShape), -1);
  SwigClassFXSeparator.mark = (void (*)(void *)) FXRbSeparator::markfunc;
  SwigClassFXSeparator.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXSeparator.trackObjects = 0;
  
  SWIGTYPE_p_FXSeparator->dcast = (swig_dycast_func) FXSeparator_dynamic_cast;
  
  
  SwigClassFXHorizontalSeparator.klass = rb_define_class_under(mFox, "FXHorizontalSeparator", ((swig_class *) SWIGTYPE_p_FXSeparator->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXHorizontalSeparator, (void *) &SwigClassFXHorizontalSeparator);
  rb_define_alloc_func(SwigClassFXHorizontalSeparator.klass, _wrap_FXHorizontalSeparator_allocate);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "initialize", VALUEFUNC(_wrap_new_FXHorizontalSeparator), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "save", VALUEFUNC(_wrap_FXHorizontalSeparator_save), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "load", VALUEFUNC(_wrap_FXHorizontalSeparator_load), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "create", VALUEFUNC(_wrap_FXHorizontalSeparator_create), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "detach", VALUEFUNC(_wrap_FXHorizontalSeparator_detach), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "destroy", VALUEFUNC(_wrap_FXHorizontalSeparator_destroy), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "resize", VALUEFUNC(_wrap_FXHorizontalSeparator_resize), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXHorizontalSeparator_getDefaultWidth), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXHorizontalSeparator_getDefaultHeight), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXHorizontalSeparator_getWidthForHeight), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXHorizontalSeparator_getHeightForWidth), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "canFocus", VALUEFUNC(_wrap_FXHorizontalSeparator_canFocus), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "setFocus", VALUEFUNC(_wrap_FXHorizontalSeparator_setFocus), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "killFocus", VALUEFUNC(_wrap_FXHorizontalSeparator_killFocus), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "changeFocus", VALUEFUNC(_wrap_FXHorizontalSeparator_changeFocus), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "setDefault", VALUEFUNC(_wrap_FXHorizontalSeparator_setDefault), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "enable", VALUEFUNC(_wrap_FXHorizontalSeparator_enable), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "disable", VALUEFUNC(_wrap_FXHorizontalSeparator_disable), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "raiseWindow", VALUEFUNC(_wrap_FXHorizontalSeparator_raiseWindow), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "lower", VALUEFUNC(_wrap_FXHorizontalSeparator_lower), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "move", VALUEFUNC(_wrap_FXHorizontalSeparator_move), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "position", VALUEFUNC(_wrap_FXHorizontalSeparator_position), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "layout", VALUEFUNC(_wrap_FXHorizontalSeparator_layout), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "recalc", VALUEFUNC(_wrap_FXHorizontalSeparator_recalc), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "reparent", VALUEFUNC(_wrap_FXHorizontalSeparator_reparent), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "show", VALUEFUNC(_wrap_FXHorizontalSeparator_show), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "hide", VALUEFUNC(_wrap_FXHorizontalSeparator_hide), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "isComposite", VALUEFUNC(_wrap_FXHorizontalSeparator_isComposite), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "contains", VALUEFUNC(_wrap_FXHorizontalSeparator_contains), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXHorizontalSeparator_doesSaveUnder), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "setBackColor", VALUEFUNC(_wrap_FXHorizontalSeparator_setBackColor), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "tr", VALUEFUNC(_wrap_FXHorizontalSeparator_tr), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "dropEnable", VALUEFUNC(_wrap_FXHorizontalSeparator_dropEnable), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "dropDisable", VALUEFUNC(_wrap_FXHorizontalSeparator_dropDisable), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "setShape", VALUEFUNC(_wrap_FXHorizontalSeparator_setShape), -1);
  rb_define_method(SwigClassFXHorizontalSeparator.klass, "clearShape", VALUEFUNC(_wrap_FXHorizontalSeparator_clearShape), -1);
  SwigClassFXHorizontalSeparator.mark = (void (*)(void *)) FXRbHorizontalSeparator::markfunc;
  SwigClassFXHorizontalSeparator.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXHorizontalSeparator.trackObjects = 0;
  
  SwigClassFXVerticalSeparator.klass = rb_define_class_under(mFox, "FXVerticalSeparator", ((swig_class *) SWIGTYPE_p_FXSeparator->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXVerticalSeparator, (void *) &SwigClassFXVerticalSeparator);
  rb_define_alloc_func(SwigClassFXVerticalSeparator.klass, _wrap_FXVerticalSeparator_allocate);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "initialize", VALUEFUNC(_wrap_new_FXVerticalSeparator), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "save", VALUEFUNC(_wrap_FXVerticalSeparator_save), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "load", VALUEFUNC(_wrap_FXVerticalSeparator_load), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "create", VALUEFUNC(_wrap_FXVerticalSeparator_create), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "detach", VALUEFUNC(_wrap_FXVerticalSeparator_detach), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "destroy", VALUEFUNC(_wrap_FXVerticalSeparator_destroy), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "resize", VALUEFUNC(_wrap_FXVerticalSeparator_resize), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXVerticalSeparator_getDefaultWidth), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXVerticalSeparator_getDefaultHeight), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXVerticalSeparator_getWidthForHeight), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXVerticalSeparator_getHeightForWidth), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "canFocus", VALUEFUNC(_wrap_FXVerticalSeparator_canFocus), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "setFocus", VALUEFUNC(_wrap_FXVerticalSeparator_setFocus), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "killFocus", VALUEFUNC(_wrap_FXVerticalSeparator_killFocus), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "changeFocus", VALUEFUNC(_wrap_FXVerticalSeparator_changeFocus), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "setDefault", VALUEFUNC(_wrap_FXVerticalSeparator_setDefault), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "enable", VALUEFUNC(_wrap_FXVerticalSeparator_enable), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "disable", VALUEFUNC(_wrap_FXVerticalSeparator_disable), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "raiseWindow", VALUEFUNC(_wrap_FXVerticalSeparator_raiseWindow), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "lower", VALUEFUNC(_wrap_FXVerticalSeparator_lower), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "move", VALUEFUNC(_wrap_FXVerticalSeparator_move), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "position", VALUEFUNC(_wrap_FXVerticalSeparator_position), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "layout", VALUEFUNC(_wrap_FXVerticalSeparator_layout), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "recalc", VALUEFUNC(_wrap_FXVerticalSeparator_recalc), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "reparent", VALUEFUNC(_wrap_FXVerticalSeparator_reparent), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "show", VALUEFUNC(_wrap_FXVerticalSeparator_show), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "hide", VALUEFUNC(_wrap_FXVerticalSeparator_hide), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "isComposite", VALUEFUNC(_wrap_FXVerticalSeparator_isComposite), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "contains", VALUEFUNC(_wrap_FXVerticalSeparator_contains), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXVerticalSeparator_doesSaveUnder), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "setBackColor", VALUEFUNC(_wrap_FXVerticalSeparator_setBackColor), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "tr", VALUEFUNC(_wrap_FXVerticalSeparator_tr), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "dropEnable", VALUEFUNC(_wrap_FXVerticalSeparator_dropEnable), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "dropDisable", VALUEFUNC(_wrap_FXVerticalSeparator_dropDisable), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "setShape", VALUEFUNC(_wrap_FXVerticalSeparator_setShape), -1);
  rb_define_method(SwigClassFXVerticalSeparator.klass, "clearShape", VALUEFUNC(_wrap_FXVerticalSeparator_clearShape), -1);
  SwigClassFXVerticalSeparator.mark = (void (*)(void *)) FXRbVerticalSeparator::markfunc;
  SwigClassFXVerticalSeparator.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXVerticalSeparator.trackObjects = 0;
  rb_define_const(mFox, "SLIDER_HORIZONTAL", SWIG_From_int(static_cast< int >(SLIDER_HORIZONTAL)));
  rb_define_const(mFox, "SLIDER_VERTICAL", SWIG_From_int(static_cast< int >(SLIDER_VERTICAL)));
  rb_define_const(mFox, "SLIDER_ARROW_UP", SWIG_From_int(static_cast< int >(SLIDER_ARROW_UP)));
  rb_define_const(mFox, "SLIDER_ARROW_DOWN", SWIG_From_int(static_cast< int >(SLIDER_ARROW_DOWN)));
  rb_define_const(mFox, "SLIDER_ARROW_LEFT", SWIG_From_int(static_cast< int >(SLIDER_ARROW_LEFT)));
  rb_define_const(mFox, "SLIDER_ARROW_RIGHT", SWIG_From_int(static_cast< int >(SLIDER_ARROW_RIGHT)));
  rb_define_const(mFox, "SLIDER_INSIDE_BAR", SWIG_From_int(static_cast< int >(SLIDER_INSIDE_BAR)));
  rb_define_const(mFox, "SLIDER_TICKS_TOP", SWIG_From_int(static_cast< int >(SLIDER_TICKS_TOP)));
  rb_define_const(mFox, "SLIDER_TICKS_BOTTOM", SWIG_From_int(static_cast< int >(SLIDER_TICKS_BOTTOM)));
  rb_define_const(mFox, "SLIDER_TICKS_LEFT", SWIG_From_int(static_cast< int >(SLIDER_TICKS_LEFT)));
  rb_define_const(mFox, "SLIDER_TICKS_RIGHT", SWIG_From_int(static_cast< int >(SLIDER_TICKS_RIGHT)));
  rb_define_const(mFox, "SLIDER_NORMAL", SWIG_From_int(static_cast< int >(SLIDER_NORMAL)));
  
  SwigClassFXSlider.klass = rb_define_class_under(mFox, "FXSlider", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXSlider, (void *) &SwigClassFXSlider);
  rb_define_alloc_func(SwigClassFXSlider.klass, _wrap_FXSlider_allocate);
  rb_define_method(SwigClassFXSlider.klass, "initialize", VALUEFUNC(_wrap_new_FXSlider), -1);
  rb_define_method(SwigClassFXSlider.klass, "onPaint", VALUEFUNC(_wrap_FXSlider_onPaint), -1);
  rb_define_method(SwigClassFXSlider.klass, "onMotion", VALUEFUNC(_wrap_FXSlider_onMotion), -1);
  rb_define_method(SwigClassFXSlider.klass, "onMouseWheel", VALUEFUNC(_wrap_FXSlider_onMouseWheel), -1);
  rb_define_method(SwigClassFXSlider.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXSlider_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXSlider.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXSlider_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXSlider.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXSlider_onMiddleBtnPress), -1);
  rb_define_method(SwigClassFXSlider.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXSlider_onMiddleBtnRelease), -1);
  rb_define_method(SwigClassFXSlider.klass, "onKeyPress", VALUEFUNC(_wrap_FXSlider_onKeyPress), -1);
  rb_define_method(SwigClassFXSlider.klass, "onKeyRelease", VALUEFUNC(_wrap_FXSlider_onKeyRelease), -1);
  rb_define_method(SwigClassFXSlider.klass, "onUngrabbed", VALUEFUNC(_wrap_FXSlider_onUngrabbed), -1);
  rb_define_method(SwigClassFXSlider.klass, "onAutoSlide", VALUEFUNC(_wrap_FXSlider_onAutoSlide), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXSlider_onCmdSetValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXSlider_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXSlider_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FXSlider_onCmdSetRealValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FXSlider_onCmdGetRealValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXSlider_onCmdSetIntRange), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXSlider_onCmdGetIntRange), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetRealRange", VALUEFUNC(_wrap_FXSlider_onCmdSetRealRange), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdGetRealRange", VALUEFUNC(_wrap_FXSlider_onCmdGetRealRange), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXSlider_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXSlider_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXSlider_onCmdSetTip), -1);
  rb_define_method(SwigClassFXSlider.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXSlider_onCmdGetTip), -1);
  rb_define_method(SwigClassFXSlider.klass, "onQueryHelp", VALUEFUNC(_wrap_FXSlider_onQueryHelp), -1);
  rb_define_method(SwigClassFXSlider.klass, "onQueryTip", VALUEFUNC(_wrap_FXSlider_onQueryTip), -1);
  rb_define_const(SwigClassFXSlider.klass, "ID_AUTOSLIDE", SWIG_From_int(static_cast< int >(FXSlider::ID_AUTOSLIDE)));
  rb_define_const(SwigClassFXSlider.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXSlider::ID_LAST)));
  rb_define_method(SwigClassFXSlider.klass, "setValue", VALUEFUNC(_wrap_FXSlider_setValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "getValue", VALUEFUNC(_wrap_FXSlider_getValue), -1);
  rb_define_method(SwigClassFXSlider.klass, "setRange", VALUEFUNC(_wrap_FXSlider_setRange), -1);
  rb_define_method(SwigClassFXSlider.klass, "getRange", VALUEFUNC(_wrap_FXSlider_getRange), -1);
  rb_define_method(SwigClassFXSlider.klass, "getSliderStyle", VALUEFUNC(_wrap_FXSlider_getSliderStyle), -1);
  rb_define_method(SwigClassFXSlider.klass, "setSliderStyle", VALUEFUNC(_wrap_FXSlider_setSliderStyle), -1);
  rb_define_method(SwigClassFXSlider.klass, "getHeadSize", VALUEFUNC(_wrap_FXSlider_getHeadSize), -1);
  rb_define_method(SwigClassFXSlider.klass, "setHeadSize", VALUEFUNC(_wrap_FXSlider_setHeadSize), -1);
  rb_define_method(SwigClassFXSlider.klass, "getSlotSize", VALUEFUNC(_wrap_FXSlider_getSlotSize), -1);
  rb_define_method(SwigClassFXSlider.klass, "setSlotSize", VALUEFUNC(_wrap_FXSlider_setSlotSize), -1);
  rb_define_method(SwigClassFXSlider.klass, "getIncrement", VALUEFUNC(_wrap_FXSlider_getIncrement), -1);
  rb_define_method(SwigClassFXSlider.klass, "setIncrement", VALUEFUNC(_wrap_FXSlider_setIncrement), -1);
  rb_define_method(SwigClassFXSlider.klass, "setTickDelta", VALUEFUNC(_wrap_FXSlider_setTickDelta), -1);
  rb_define_method(SwigClassFXSlider.klass, "getTickDelta", VALUEFUNC(_wrap_FXSlider_getTickDelta), -1);
  rb_define_method(SwigClassFXSlider.klass, "setSlotColor", VALUEFUNC(_wrap_FXSlider_setSlotColor), -1);
  rb_define_method(SwigClassFXSlider.klass, "getSlotColor", VALUEFUNC(_wrap_FXSlider_getSlotColor), -1);
  rb_define_method(SwigClassFXSlider.klass, "setHelpText", VALUEFUNC(_wrap_FXSlider_setHelpText), -1);
  rb_define_method(SwigClassFXSlider.klass, "getHelpText", VALUEFUNC(_wrap_FXSlider_getHelpText), -1);
  rb_define_method(SwigClassFXSlider.klass, "setTipText", VALUEFUNC(_wrap_FXSlider_setTipText), -1);
  rb_define_method(SwigClassFXSlider.klass, "getTipText", VALUEFUNC(_wrap_FXSlider_getTipText), -1);
  rb_define_method(SwigClassFXSlider.klass, "save", VALUEFUNC(_wrap_FXSlider_save), -1);
  rb_define_method(SwigClassFXSlider.klass, "load", VALUEFUNC(_wrap_FXSlider_load), -1);
  rb_define_method(SwigClassFXSlider.klass, "create", VALUEFUNC(_wrap_FXSlider_create), -1);
  rb_define_method(SwigClassFXSlider.klass, "detach", VALUEFUNC(_wrap_FXSlider_detach), -1);
  rb_define_method(SwigClassFXSlider.klass, "destroy", VALUEFUNC(_wrap_FXSlider_destroy), -1);
  rb_define_method(SwigClassFXSlider.klass, "resize", VALUEFUNC(_wrap_FXSlider_resize), -1);
  rb_define_method(SwigClassFXSlider.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXSlider_getDefaultWidth), -1);
  rb_define_method(SwigClassFXSlider.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXSlider_getDefaultHeight), -1);
  rb_define_method(SwigClassFXSlider.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXSlider_getWidthForHeight), -1);
  rb_define_method(SwigClassFXSlider.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXSlider_getHeightForWidth), -1);
  rb_define_method(SwigClassFXSlider.klass, "canFocus", VALUEFUNC(_wrap_FXSlider_canFocus), -1);
  rb_define_method(SwigClassFXSlider.klass, "setFocus", VALUEFUNC(_wrap_FXSlider_setFocus), -1);
  rb_define_method(SwigClassFXSlider.klass, "killFocus", VALUEFUNC(_wrap_FXSlider_killFocus), -1);
  rb_define_method(SwigClassFXSlider.klass, "changeFocus", VALUEFUNC(_wrap_FXSlider_changeFocus), -1);
  rb_define_method(SwigClassFXSlider.klass, "setDefault", VALUEFUNC(_wrap_FXSlider_setDefault), -1);
  rb_define_method(SwigClassFXSlider.klass, "enable", VALUEFUNC(_wrap_FXSlider_enable), -1);
  rb_define_method(SwigClassFXSlider.klass, "disable", VALUEFUNC(_wrap_FXSlider_disable), -1);
  rb_define_method(SwigClassFXSlider.klass, "raiseWindow", VALUEFUNC(_wrap_FXSlider_raiseWindow), -1);
  rb_define_method(SwigClassFXSlider.klass, "lower", VALUEFUNC(_wrap_FXSlider_lower), -1);
  rb_define_method(SwigClassFXSlider.klass, "move", VALUEFUNC(_wrap_FXSlider_move), -1);
  rb_define_method(SwigClassFXSlider.klass, "position", VALUEFUNC(_wrap_FXSlider_position), -1);
  rb_define_method(SwigClassFXSlider.klass, "layout", VALUEFUNC(_wrap_FXSlider_layout), -1);
  rb_define_method(SwigClassFXSlider.klass, "recalc", VALUEFUNC(_wrap_FXSlider_recalc), -1);
  rb_define_method(SwigClassFXSlider.klass, "reparent", VALUEFUNC(_wrap_FXSlider_reparent), -1);
  rb_define_method(SwigClassFXSlider.klass, "show", VALUEFUNC(_wrap_FXSlider_show), -1);
  rb_define_method(SwigClassFXSlider.klass, "hide", VALUEFUNC(_wrap_FXSlider_hide), -1);
  rb_define_method(SwigClassFXSlider.klass, "isComposite", VALUEFUNC(_wrap_FXSlider_isComposite), -1);
  rb_define_method(SwigClassFXSlider.klass, "contains", VALUEFUNC(_wrap_FXSlider_contains), -1);
  rb_define_method(SwigClassFXSlider.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXSlider_doesSaveUnder), -1);
  rb_define_method(SwigClassFXSlider.klass, "setBackColor", VALUEFUNC(_wrap_FXSlider_setBackColor), -1);
  rb_define_method(SwigClassFXSlider.klass, "tr", VALUEFUNC(_wrap_FXSlider_tr), -1);
  rb_define_method(SwigClassFXSlider.klass, "dropEnable", VALUEFUNC(_wrap_FXSlider_dropEnable), -1);
  rb_define_method(SwigClassFXSlider.klass, "dropDisable", VALUEFUNC(_wrap_FXSlider_dropDisable), -1);
  rb_define_method(SwigClassFXSlider.klass, "setShape", VALUEFUNC(_wrap_FXSlider_setShape), -1);
  rb_define_method(SwigClassFXSlider.klass, "clearShape", VALUEFUNC(_wrap_FXSlider_clearShape), -1);
  SwigClassFXSlider.mark = (void (*)(void *)) FXRbSlider::markfunc;
  SwigClassFXSlider.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXSlider.trackObjects = 0;
  rb_define_const(mFox, "REALSLIDER_HORIZONTAL", SWIG_From_int(static_cast< int >(REALSLIDER_HORIZONTAL)));
  rb_define_const(mFox, "REALSLIDER_VERTICAL", SWIG_From_int(static_cast< int >(REALSLIDER_VERTICAL)));
  rb_define_const(mFox, "REALSLIDER_ARROW_UP", SWIG_From_int(static_cast< int >(REALSLIDER_ARROW_UP)));
  rb_define_const(mFox, "REALSLIDER_ARROW_DOWN", SWIG_From_int(static_cast< int >(REALSLIDER_ARROW_DOWN)));
  rb_define_const(mFox, "REALSLIDER_ARROW_LEFT", SWIG_From_int(static_cast< int >(REALSLIDER_ARROW_LEFT)));
  rb_define_const(mFox, "REALSLIDER_ARROW_RIGHT", SWIG_From_int(static_cast< int >(REALSLIDER_ARROW_RIGHT)));
  rb_define_const(mFox, "REALSLIDER_INSIDE_BAR", SWIG_From_int(static_cast< int >(REALSLIDER_INSIDE_BAR)));
  rb_define_const(mFox, "REALSLIDER_TICKS_TOP", SWIG_From_int(static_cast< int >(REALSLIDER_TICKS_TOP)));
  rb_define_const(mFox, "REALSLIDER_TICKS_BOTTOM", SWIG_From_int(static_cast< int >(REALSLIDER_TICKS_BOTTOM)));
  rb_define_const(mFox, "REALSLIDER_TICKS_LEFT", SWIG_From_int(static_cast< int >(REALSLIDER_TICKS_LEFT)));
  rb_define_const(mFox, "REALSLIDER_TICKS_RIGHT", SWIG_From_int(static_cast< int >(REALSLIDER_TICKS_RIGHT)));
  rb_define_const(mFox, "REALSLIDER_NORMAL", SWIG_From_int(static_cast< int >(REALSLIDER_NORMAL)));
  
  SwigClassFXRealSlider.klass = rb_define_class_under(mFox, "FXRealSlider", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXRealSlider, (void *) &SwigClassFXRealSlider);
  rb_define_alloc_func(SwigClassFXRealSlider.klass, _wrap_FXRealSlider_allocate);
  rb_define_method(SwigClassFXRealSlider.klass, "initialize", VALUEFUNC(_wrap_new_FXRealSlider), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onPaint", VALUEFUNC(_wrap_FXRealSlider_onPaint), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onMotion", VALUEFUNC(_wrap_FXRealSlider_onMotion), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onMouseWheel", VALUEFUNC(_wrap_FXRealSlider_onMouseWheel), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXRealSlider_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXRealSlider_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXRealSlider_onMiddleBtnPress), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXRealSlider_onMiddleBtnRelease), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onKeyPress", VALUEFUNC(_wrap_FXRealSlider_onKeyPress), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onKeyRelease", VALUEFUNC(_wrap_FXRealSlider_onKeyRelease), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onUngrabbed", VALUEFUNC(_wrap_FXRealSlider_onUngrabbed), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onAutoSlide", VALUEFUNC(_wrap_FXRealSlider_onAutoSlide), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXRealSlider_onCmdSetValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXRealSlider_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXRealSlider_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FXRealSlider_onCmdSetRealValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FXRealSlider_onCmdGetRealValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetIntRange", VALUEFUNC(_wrap_FXRealSlider_onCmdSetIntRange), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdGetIntRange", VALUEFUNC(_wrap_FXRealSlider_onCmdGetIntRange), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetRealRange", VALUEFUNC(_wrap_FXRealSlider_onCmdSetRealRange), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdGetRealRange", VALUEFUNC(_wrap_FXRealSlider_onCmdGetRealRange), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXRealSlider_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXRealSlider_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXRealSlider_onCmdSetTip), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXRealSlider_onCmdGetTip), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onQueryHelp", VALUEFUNC(_wrap_FXRealSlider_onQueryHelp), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "onQueryTip", VALUEFUNC(_wrap_FXRealSlider_onQueryTip), -1);
  rb_define_const(SwigClassFXRealSlider.klass, "ID_AUTOSLIDE", SWIG_From_int(static_cast< int >(FXRealSlider::ID_AUTOSLIDE)));
  rb_define_const(SwigClassFXRealSlider.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXRealSlider::ID_LAST)));
  rb_define_method(SwigClassFXRealSlider.klass, "setValue", VALUEFUNC(_wrap_FXRealSlider_setValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getValue", VALUEFUNC(_wrap_FXRealSlider_getValue), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setRange", VALUEFUNC(_wrap_FXRealSlider_setRange), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getRange", VALUEFUNC(_wrap_FXRealSlider_getRange), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getSliderStyle", VALUEFUNC(_wrap_FXRealSlider_getSliderStyle), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setSliderStyle", VALUEFUNC(_wrap_FXRealSlider_setSliderStyle), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getHeadSize", VALUEFUNC(_wrap_FXRealSlider_getHeadSize), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setHeadSize", VALUEFUNC(_wrap_FXRealSlider_setHeadSize), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getSlotSize", VALUEFUNC(_wrap_FXRealSlider_getSlotSize), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setSlotSize", VALUEFUNC(_wrap_FXRealSlider_setSlotSize), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getIncrement", VALUEFUNC(_wrap_FXRealSlider_getIncrement), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setIncrement", VALUEFUNC(_wrap_FXRealSlider_setIncrement), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setTickDelta", VALUEFUNC(_wrap_FXRealSlider_setTickDelta), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getTickDelta", VALUEFUNC(_wrap_FXRealSlider_getTickDelta), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setSlotColor", VALUEFUNC(_wrap_FXRealSlider_setSlotColor), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getSlotColor", VALUEFUNC(_wrap_FXRealSlider_getSlotColor), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setHelpText", VALUEFUNC(_wrap_FXRealSlider_setHelpText), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getHelpText", VALUEFUNC(_wrap_FXRealSlider_getHelpText), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setTipText", VALUEFUNC(_wrap_FXRealSlider_setTipText), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getTipText", VALUEFUNC(_wrap_FXRealSlider_getTipText), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "save", VALUEFUNC(_wrap_FXRealSlider_save), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "load", VALUEFUNC(_wrap_FXRealSlider_load), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "create", VALUEFUNC(_wrap_FXRealSlider_create), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "detach", VALUEFUNC(_wrap_FXRealSlider_detach), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "destroy", VALUEFUNC(_wrap_FXRealSlider_destroy), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "resize", VALUEFUNC(_wrap_FXRealSlider_resize), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXRealSlider_getDefaultWidth), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXRealSlider_getDefaultHeight), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXRealSlider_getWidthForHeight), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXRealSlider_getHeightForWidth), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "canFocus", VALUEFUNC(_wrap_FXRealSlider_canFocus), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setFocus", VALUEFUNC(_wrap_FXRealSlider_setFocus), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "killFocus", VALUEFUNC(_wrap_FXRealSlider_killFocus), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "changeFocus", VALUEFUNC(_wrap_FXRealSlider_changeFocus), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setDefault", VALUEFUNC(_wrap_FXRealSlider_setDefault), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "enable", VALUEFUNC(_wrap_FXRealSlider_enable), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "disable", VALUEFUNC(_wrap_FXRealSlider_disable), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "raiseWindow", VALUEFUNC(_wrap_FXRealSlider_raiseWindow), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "lower", VALUEFUNC(_wrap_FXRealSlider_lower), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "move", VALUEFUNC(_wrap_FXRealSlider_move), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "position", VALUEFUNC(_wrap_FXRealSlider_position), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "layout", VALUEFUNC(_wrap_FXRealSlider_layout), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "recalc", VALUEFUNC(_wrap_FXRealSlider_recalc), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "reparent", VALUEFUNC(_wrap_FXRealSlider_reparent), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "show", VALUEFUNC(_wrap_FXRealSlider_show), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "hide", VALUEFUNC(_wrap_FXRealSlider_hide), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "isComposite", VALUEFUNC(_wrap_FXRealSlider_isComposite), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "contains", VALUEFUNC(_wrap_FXRealSlider_contains), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXRealSlider_doesSaveUnder), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setBackColor", VALUEFUNC(_wrap_FXRealSlider_setBackColor), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "tr", VALUEFUNC(_wrap_FXRealSlider_tr), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "dropEnable", VALUEFUNC(_wrap_FXRealSlider_dropEnable), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "dropDisable", VALUEFUNC(_wrap_FXRealSlider_dropDisable), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "setShape", VALUEFUNC(_wrap_FXRealSlider_setShape), -1);
  rb_define_method(SwigClassFXRealSlider.klass, "clearShape", VALUEFUNC(_wrap_FXRealSlider_clearShape), -1);
  SwigClassFXRealSlider.mark = (void (*)(void *)) FXRbRealSlider::markfunc;
  SwigClassFXRealSlider.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXRealSlider.trackObjects = 0;
  
  SwigClassFXStatusLine.klass = rb_define_class_under(mFox, "FXStatusLine", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXStatusLine, (void *) &SwigClassFXStatusLine);
  rb_define_alloc_func(SwigClassFXStatusLine.klass, _wrap_FXStatusLine_allocate);
  rb_define_method(SwigClassFXStatusLine.klass, "initialize", VALUEFUNC(_wrap_new_FXStatusLine), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "onPaint", VALUEFUNC(_wrap_FXStatusLine_onPaint), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "onUpdate", VALUEFUNC(_wrap_FXStatusLine_onUpdate), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXStatusLine_onCmdGetStringValue), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXStatusLine_onCmdSetStringValue), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setText", VALUEFUNC(_wrap_FXStatusLine_setText), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getText", VALUEFUNC(_wrap_FXStatusLine_getText), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setNormalText", VALUEFUNC(_wrap_FXStatusLine_setNormalText), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getNormalText", VALUEFUNC(_wrap_FXStatusLine_getNormalText), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setFont", VALUEFUNC(_wrap_FXStatusLine_setFont), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getFont", VALUEFUNC(_wrap_FXStatusLine_getFont), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getTextColor", VALUEFUNC(_wrap_FXStatusLine_getTextColor), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setTextColor", VALUEFUNC(_wrap_FXStatusLine_setTextColor), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getTextHighlightColor", VALUEFUNC(_wrap_FXStatusLine_getTextHighlightColor), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setTextHighlightColor", VALUEFUNC(_wrap_FXStatusLine_setTextHighlightColor), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "save", VALUEFUNC(_wrap_FXStatusLine_save), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "load", VALUEFUNC(_wrap_FXStatusLine_load), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "create", VALUEFUNC(_wrap_FXStatusLine_create), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "detach", VALUEFUNC(_wrap_FXStatusLine_detach), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "destroy", VALUEFUNC(_wrap_FXStatusLine_destroy), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "resize", VALUEFUNC(_wrap_FXStatusLine_resize), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXStatusLine_getDefaultWidth), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXStatusLine_getDefaultHeight), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXStatusLine_getWidthForHeight), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXStatusLine_getHeightForWidth), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "canFocus", VALUEFUNC(_wrap_FXStatusLine_canFocus), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setFocus", VALUEFUNC(_wrap_FXStatusLine_setFocus), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "killFocus", VALUEFUNC(_wrap_FXStatusLine_killFocus), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "changeFocus", VALUEFUNC(_wrap_FXStatusLine_changeFocus), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setDefault", VALUEFUNC(_wrap_FXStatusLine_setDefault), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "enable", VALUEFUNC(_wrap_FXStatusLine_enable), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "disable", VALUEFUNC(_wrap_FXStatusLine_disable), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "raiseWindow", VALUEFUNC(_wrap_FXStatusLine_raiseWindow), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "lower", VALUEFUNC(_wrap_FXStatusLine_lower), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "move", VALUEFUNC(_wrap_FXStatusLine_move), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "position", VALUEFUNC(_wrap_FXStatusLine_position), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "layout", VALUEFUNC(_wrap_FXStatusLine_layout), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "recalc", VALUEFUNC(_wrap_FXStatusLine_recalc), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "reparent", VALUEFUNC(_wrap_FXStatusLine_reparent), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "show", VALUEFUNC(_wrap_FXStatusLine_show), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "hide", VALUEFUNC(_wrap_FXStatusLine_hide), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "isComposite", VALUEFUNC(_wrap_FXStatusLine_isComposite), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "contains", VALUEFUNC(_wrap_FXStatusLine_contains), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXStatusLine_doesSaveUnder), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setBackColor", VALUEFUNC(_wrap_FXStatusLine_setBackColor), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "tr", VALUEFUNC(_wrap_FXStatusLine_tr), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "dropEnable", VALUEFUNC(_wrap_FXStatusLine_dropEnable), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "dropDisable", VALUEFUNC(_wrap_FXStatusLine_dropDisable), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "setShape", VALUEFUNC(_wrap_FXStatusLine_setShape), -1);
  rb_define_method(SwigClassFXStatusLine.klass, "clearShape", VALUEFUNC(_wrap_FXStatusLine_clearShape), -1);
  SwigClassFXStatusLine.mark = (void (*)(void *)) FXRbStatusLine::markfunc;
  SwigClassFXStatusLine.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXStatusLine.trackObjects = 0;
  rb_define_const(mFox, "TEXTFIELD_PASSWD", SWIG_From_int(static_cast< int >(TEXTFIELD_PASSWD)));
  rb_define_const(mFox, "TEXTFIELD_INTEGER", SWIG_From_int(static_cast< int >(TEXTFIELD_INTEGER)));
  rb_define_const(mFox, "TEXTFIELD_REAL", SWIG_From_int(static_cast< int >(TEXTFIELD_REAL)));
  rb_define_const(mFox, "TEXTFIELD_READONLY", SWIG_From_int(static_cast< int >(TEXTFIELD_READONLY)));
  rb_define_const(mFox, "TEXTFIELD_ENTER_ONLY", SWIG_From_int(static_cast< int >(TEXTFIELD_ENTER_ONLY)));
  rb_define_const(mFox, "TEXTFIELD_LIMITED", SWIG_From_int(static_cast< int >(TEXTFIELD_LIMITED)));
  rb_define_const(mFox, "TEXTFIELD_OVERSTRIKE", SWIG_From_int(static_cast< int >(TEXTFIELD_OVERSTRIKE)));
  rb_define_const(mFox, "TEXTFIELD_AUTOGRAY", SWIG_From_int(static_cast< int >(TEXTFIELD_AUTOGRAY)));
  rb_define_const(mFox, "TEXTFIELD_AUTOHIDE", SWIG_From_int(static_cast< int >(TEXTFIELD_AUTOHIDE)));
  rb_define_const(mFox, "TEXTFIELD_NORMAL", SWIG_From_int(static_cast< int >(TEXTFIELD_NORMAL)));
  
  SwigClassFXTextField.klass = rb_define_class_under(mFox, "FXTextField", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXTextField, (void *) &SwigClassFXTextField);
  rb_define_alloc_func(SwigClassFXTextField.klass, _wrap_FXTextField_allocate);
  rb_define_method(SwigClassFXTextField.klass, "initialize", VALUEFUNC(_wrap_new_FXTextField), -1);
  rb_define_method(SwigClassFXTextField.klass, "onPaint", VALUEFUNC(_wrap_FXTextField_onPaint), -1);
  rb_define_method(SwigClassFXTextField.klass, "onUpdate", VALUEFUNC(_wrap_FXTextField_onUpdate), -1);
  rb_define_method(SwigClassFXTextField.klass, "onKeyPress", VALUEFUNC(_wrap_FXTextField_onKeyPress), -1);
  rb_define_method(SwigClassFXTextField.klass, "onKeyRelease", VALUEFUNC(_wrap_FXTextField_onKeyRelease), -1);
  rb_define_method(SwigClassFXTextField.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXTextField_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXTextField.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXTextField_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXTextField.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXTextField_onMiddleBtnPress), -1);
  rb_define_method(SwigClassFXTextField.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXTextField_onMiddleBtnRelease), -1);
  rb_define_method(SwigClassFXTextField.klass, "onVerify", VALUEFUNC(_wrap_FXTextField_onVerify), -1);
  rb_define_method(SwigClassFXTextField.klass, "onMotion", VALUEFUNC(_wrap_FXTextField_onMotion), -1);
  rb_define_method(SwigClassFXTextField.klass, "onSelectionLost", VALUEFUNC(_wrap_FXTextField_onSelectionLost), -1);
  rb_define_method(SwigClassFXTextField.klass, "onSelectionGained", VALUEFUNC(_wrap_FXTextField_onSelectionGained), -1);
  rb_define_method(SwigClassFXTextField.klass, "onSelectionRequest", VALUEFUNC(_wrap_FXTextField_onSelectionRequest), -1);
  rb_define_method(SwigClassFXTextField.klass, "onClipboardLost", VALUEFUNC(_wrap_FXTextField_onClipboardLost), -1);
  rb_define_method(SwigClassFXTextField.klass, "onClipboardGained", VALUEFUNC(_wrap_FXTextField_onClipboardGained), -1);
  rb_define_method(SwigClassFXTextField.klass, "onClipboardRequest", VALUEFUNC(_wrap_FXTextField_onClipboardRequest), -1);
  rb_define_method(SwigClassFXTextField.klass, "onFocusSelf", VALUEFUNC(_wrap_FXTextField_onFocusSelf), -1);
  rb_define_method(SwigClassFXTextField.klass, "onFocusIn", VALUEFUNC(_wrap_FXTextField_onFocusIn), -1);
  rb_define_method(SwigClassFXTextField.klass, "onFocusOut", VALUEFUNC(_wrap_FXTextField_onFocusOut), -1);
  rb_define_method(SwigClassFXTextField.klass, "onBlink", VALUEFUNC(_wrap_FXTextField_onBlink), -1);
  rb_define_method(SwigClassFXTextField.klass, "onAutoScroll", VALUEFUNC(_wrap_FXTextField_onAutoScroll), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXTextField_onCmdSetValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXTextField_onCmdSetIntValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSetRealValue", VALUEFUNC(_wrap_FXTextField_onCmdSetRealValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXTextField_onCmdSetStringValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXTextField_onCmdGetIntValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdGetRealValue", VALUEFUNC(_wrap_FXTextField_onCmdGetRealValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXTextField_onCmdGetStringValue), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorHome", VALUEFUNC(_wrap_FXTextField_onCmdCursorHome), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorEnd", VALUEFUNC(_wrap_FXTextField_onCmdCursorEnd), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorRight", VALUEFUNC(_wrap_FXTextField_onCmdCursorRight), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorLeft", VALUEFUNC(_wrap_FXTextField_onCmdCursorLeft), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorWordLeft", VALUEFUNC(_wrap_FXTextField_onCmdCursorWordLeft), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorWordRight", VALUEFUNC(_wrap_FXTextField_onCmdCursorWordRight), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorWordStart", VALUEFUNC(_wrap_FXTextField_onCmdCursorWordStart), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCursorWordEnd", VALUEFUNC(_wrap_FXTextField_onCmdCursorWordEnd), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdMark", VALUEFUNC(_wrap_FXTextField_onCmdMark), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdExtend", VALUEFUNC(_wrap_FXTextField_onCmdExtend), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSelectAll", VALUEFUNC(_wrap_FXTextField_onCmdSelectAll), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdDeselectAll", VALUEFUNC(_wrap_FXTextField_onCmdDeselectAll), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCutSel", VALUEFUNC(_wrap_FXTextField_onCmdCutSel), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdCopySel", VALUEFUNC(_wrap_FXTextField_onCmdCopySel), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdPasteSel", VALUEFUNC(_wrap_FXTextField_onCmdPasteSel), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdPasteMiddle", VALUEFUNC(_wrap_FXTextField_onCmdPasteMiddle), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdDeleteSel", VALUEFUNC(_wrap_FXTextField_onCmdDeleteSel), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdDeleteAll", VALUEFUNC(_wrap_FXTextField_onCmdDeleteAll), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdOverstString", VALUEFUNC(_wrap_FXTextField_onCmdOverstString), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdInsertString", VALUEFUNC(_wrap_FXTextField_onCmdInsertString), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdBackspace", VALUEFUNC(_wrap_FXTextField_onCmdBackspace), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdDelete", VALUEFUNC(_wrap_FXTextField_onCmdDelete), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdToggleEditable", VALUEFUNC(_wrap_FXTextField_onCmdToggleEditable), -1);
  rb_define_method(SwigClassFXTextField.klass, "onUpdToggleEditable", VALUEFUNC(_wrap_FXTextField_onUpdToggleEditable), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdToggleOverstrike", VALUEFUNC(_wrap_FXTextField_onCmdToggleOverstrike), -1);
  rb_define_method(SwigClassFXTextField.klass, "onUpdToggleOverstrike", VALUEFUNC(_wrap_FXTextField_onUpdToggleOverstrike), -1);
  rb_define_method(SwigClassFXTextField.klass, "onUpdHaveSelection", VALUEFUNC(_wrap_FXTextField_onUpdHaveSelection), -1);
  rb_define_method(SwigClassFXTextField.klass, "onUpdSelectAll", VALUEFUNC(_wrap_FXTextField_onUpdSelectAll), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXTextField_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXTextField_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXTextField_onCmdSetTip), -1);
  rb_define_method(SwigClassFXTextField.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXTextField_onCmdGetTip), -1);
  rb_define_method(SwigClassFXTextField.klass, "onQueryHelp", VALUEFUNC(_wrap_FXTextField_onQueryHelp), -1);
  rb_define_method(SwigClassFXTextField.klass, "onQueryTip", VALUEFUNC(_wrap_FXTextField_onQueryTip), -1);
  rb_define_singleton_method(SwigClassFXTextField.klass, "textDelimiters", VALUEFUNC(_wrap_FXTextField_textDelimiters_get), 0);
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_HOME", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_HOME)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_END", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_END)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_RIGHT", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_RIGHT)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_LEFT", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_LEFT)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_WORD_LEFT", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_WORD_LEFT)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_WORD_RIGHT", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_WORD_RIGHT)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_WORD_START", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_WORD_START)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CURSOR_WORD_END", SWIG_From_int(static_cast< int >(FXTextField::ID_CURSOR_WORD_END)));
  rb_define_const(SwigClassFXTextField.klass, "ID_MARK", SWIG_From_int(static_cast< int >(FXTextField::ID_MARK)));
  rb_define_const(SwigClassFXTextField.klass, "ID_EXTEND", SWIG_From_int(static_cast< int >(FXTextField::ID_EXTEND)));
  rb_define_const(SwigClassFXTextField.klass, "ID_SELECT_ALL", SWIG_From_int(static_cast< int >(FXTextField::ID_SELECT_ALL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_DESELECT_ALL", SWIG_From_int(static_cast< int >(FXTextField::ID_DESELECT_ALL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_CUT_SEL", SWIG_From_int(static_cast< int >(FXTextField::ID_CUT_SEL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_COPY_SEL", SWIG_From_int(static_cast< int >(FXTextField::ID_COPY_SEL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_PASTE_SEL", SWIG_From_int(static_cast< int >(FXTextField::ID_PASTE_SEL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_DELETE_SEL", SWIG_From_int(static_cast< int >(FXTextField::ID_DELETE_SEL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_DELETE_ALL", SWIG_From_int(static_cast< int >(FXTextField::ID_DELETE_ALL)));
  rb_define_const(SwigClassFXTextField.klass, "ID_OVERST_STRING", SWIG_From_int(static_cast< int >(FXTextField::ID_OVERST_STRING)));
  rb_define_const(SwigClassFXTextField.klass, "ID_INSERT_STRING", SWIG_From_int(static_cast< int >(FXTextField::ID_INSERT_STRING)));
  rb_define_const(SwigClassFXTextField.klass, "ID_BACKSPACE", SWIG_From_int(static_cast< int >(FXTextField::ID_BACKSPACE)));
  rb_define_const(SwigClassFXTextField.klass, "ID_DELETE", SWIG_From_int(static_cast< int >(FXTextField::ID_DELETE)));
  rb_define_const(SwigClassFXTextField.klass, "ID_TOGGLE_EDITABLE", SWIG_From_int(static_cast< int >(FXTextField::ID_TOGGLE_EDITABLE)));
  rb_define_const(SwigClassFXTextField.klass, "ID_TOGGLE_OVERSTRIKE", SWIG_From_int(static_cast< int >(FXTextField::ID_TOGGLE_OVERSTRIKE)));
  rb_define_const(SwigClassFXTextField.klass, "ID_BLINK", SWIG_From_int(static_cast< int >(FXTextField::ID_BLINK)));
  rb_define_const(SwigClassFXTextField.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXTextField::ID_LAST)));
  rb_define_method(SwigClassFXTextField.klass, "setEditable", VALUEFUNC(_wrap_FXTextField_setEditable), -1);
  rb_define_method(SwigClassFXTextField.klass, "isEditable", VALUEFUNC(_wrap_FXTextField_isEditable), -1);
  rb_define_method(SwigClassFXTextField.klass, "overstrike=", VALUEFUNC(_wrap_FXTextField_overstrikee___), -1);
  rb_define_method(SwigClassFXTextField.klass, "overstrike?", VALUEFUNC(_wrap_FXTextField_overstrikeq___), -1);
  rb_define_method(SwigClassFXTextField.klass, "setCursorPos", VALUEFUNC(_wrap_FXTextField_setCursorPos), -1);
  rb_define_method(SwigClassFXTextField.klass, "getCursorPos", VALUEFUNC(_wrap_FXTextField_getCursorPos), -1);
  rb_define_method(SwigClassFXTextField.klass, "setAnchorPos", VALUEFUNC(_wrap_FXTextField_setAnchorPos), -1);
  rb_define_method(SwigClassFXTextField.klass, "getAnchorPos", VALUEFUNC(_wrap_FXTextField_getAnchorPos), -1);
  rb_define_method(SwigClassFXTextField.klass, "setText", VALUEFUNC(_wrap_FXTextField_setText), -1);
  rb_define_method(SwigClassFXTextField.klass, "getText", VALUEFUNC(_wrap_FXTextField_getText), -1);
  rb_define_method(SwigClassFXTextField.klass, "setFont", VALUEFUNC(_wrap_FXTextField_setFont), -1);
  rb_define_method(SwigClassFXTextField.klass, "getFont", VALUEFUNC(_wrap_FXTextField_getFont), -1);
  rb_define_method(SwigClassFXTextField.klass, "setTextColor", VALUEFUNC(_wrap_FXTextField_setTextColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "getTextColor", VALUEFUNC(_wrap_FXTextField_getTextColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "setSelBackColor", VALUEFUNC(_wrap_FXTextField_setSelBackColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "getSelBackColor", VALUEFUNC(_wrap_FXTextField_getSelBackColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "setSelTextColor", VALUEFUNC(_wrap_FXTextField_setSelTextColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "getSelTextColor", VALUEFUNC(_wrap_FXTextField_getSelTextColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "setCursorColor", VALUEFUNC(_wrap_FXTextField_setCursorColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "getCursorColor", VALUEFUNC(_wrap_FXTextField_getCursorColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "setNumColumns", VALUEFUNC(_wrap_FXTextField_setNumColumns), -1);
  rb_define_method(SwigClassFXTextField.klass, "getNumColumns", VALUEFUNC(_wrap_FXTextField_getNumColumns), -1);
  rb_define_method(SwigClassFXTextField.klass, "setJustify", VALUEFUNC(_wrap_FXTextField_setJustify), -1);
  rb_define_method(SwigClassFXTextField.klass, "getJustify", VALUEFUNC(_wrap_FXTextField_getJustify), -1);
  rb_define_method(SwigClassFXTextField.klass, "setDelimiters", VALUEFUNC(_wrap_FXTextField_setDelimiters), -1);
  rb_define_method(SwigClassFXTextField.klass, "getDelimiters", VALUEFUNC(_wrap_FXTextField_getDelimiters), -1);
  rb_define_method(SwigClassFXTextField.klass, "setHelpText", VALUEFUNC(_wrap_FXTextField_setHelpText), -1);
  rb_define_method(SwigClassFXTextField.klass, "getHelpText", VALUEFUNC(_wrap_FXTextField_getHelpText), -1);
  rb_define_method(SwigClassFXTextField.klass, "setTipText", VALUEFUNC(_wrap_FXTextField_setTipText), -1);
  rb_define_method(SwigClassFXTextField.klass, "getTipText", VALUEFUNC(_wrap_FXTextField_getTipText), -1);
  rb_define_method(SwigClassFXTextField.klass, "setTextStyle", VALUEFUNC(_wrap_FXTextField_setTextStyle), -1);
  rb_define_method(SwigClassFXTextField.klass, "getTextStyle", VALUEFUNC(_wrap_FXTextField_getTextStyle), -1);
  rb_define_method(SwigClassFXTextField.klass, "selectAll", VALUEFUNC(_wrap_FXTextField_selectAll), -1);
  rb_define_method(SwigClassFXTextField.klass, "setSelection", VALUEFUNC(_wrap_FXTextField_setSelection), -1);
  rb_define_method(SwigClassFXTextField.klass, "extendSelection", VALUEFUNC(_wrap_FXTextField_extendSelection), -1);
  rb_define_method(SwigClassFXTextField.klass, "killSelection", VALUEFUNC(_wrap_FXTextField_killSelection), -1);
  rb_define_method(SwigClassFXTextField.klass, "isPosSelected", VALUEFUNC(_wrap_FXTextField_isPosSelected), -1);
  rb_define_method(SwigClassFXTextField.klass, "isPosVisible", VALUEFUNC(_wrap_FXTextField_isPosVisible), -1);
  rb_define_method(SwigClassFXTextField.klass, "makePositionVisible", VALUEFUNC(_wrap_FXTextField_makePositionVisible), -1);
  rb_define_method(SwigClassFXTextField.klass, "save", VALUEFUNC(_wrap_FXTextField_save), -1);
  rb_define_method(SwigClassFXTextField.klass, "load", VALUEFUNC(_wrap_FXTextField_load), -1);
  rb_define_method(SwigClassFXTextField.klass, "create", VALUEFUNC(_wrap_FXTextField_create), -1);
  rb_define_method(SwigClassFXTextField.klass, "detach", VALUEFUNC(_wrap_FXTextField_detach), -1);
  rb_define_method(SwigClassFXTextField.klass, "destroy", VALUEFUNC(_wrap_FXTextField_destroy), -1);
  rb_define_method(SwigClassFXTextField.klass, "resize", VALUEFUNC(_wrap_FXTextField_resize), -1);
  rb_define_method(SwigClassFXTextField.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXTextField_getDefaultWidth), -1);
  rb_define_method(SwigClassFXTextField.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXTextField_getDefaultHeight), -1);
  rb_define_method(SwigClassFXTextField.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXTextField_getWidthForHeight), -1);
  rb_define_method(SwigClassFXTextField.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXTextField_getHeightForWidth), -1);
  rb_define_method(SwigClassFXTextField.klass, "canFocus", VALUEFUNC(_wrap_FXTextField_canFocus), -1);
  rb_define_method(SwigClassFXTextField.klass, "setFocus", VALUEFUNC(_wrap_FXTextField_setFocus), -1);
  rb_define_method(SwigClassFXTextField.klass, "killFocus", VALUEFUNC(_wrap_FXTextField_killFocus), -1);
  rb_define_method(SwigClassFXTextField.klass, "changeFocus", VALUEFUNC(_wrap_FXTextField_changeFocus), -1);
  rb_define_method(SwigClassFXTextField.klass, "setDefault", VALUEFUNC(_wrap_FXTextField_setDefault), -1);
  rb_define_method(SwigClassFXTextField.klass, "enable", VALUEFUNC(_wrap_FXTextField_enable), -1);
  rb_define_method(SwigClassFXTextField.klass, "disable", VALUEFUNC(_wrap_FXTextField_disable), -1);
  rb_define_method(SwigClassFXTextField.klass, "raiseWindow", VALUEFUNC(_wrap_FXTextField_raiseWindow), -1);
  rb_define_method(SwigClassFXTextField.klass, "lower", VALUEFUNC(_wrap_FXTextField_lower), -1);
  rb_define_method(SwigClassFXTextField.klass, "move", VALUEFUNC(_wrap_FXTextField_move), -1);
  rb_define_method(SwigClassFXTextField.klass, "position", VALUEFUNC(_wrap_FXTextField_position), -1);
  rb_define_method(SwigClassFXTextField.klass, "layout", VALUEFUNC(_wrap_FXTextField_layout), -1);
  rb_define_method(SwigClassFXTextField.klass, "recalc", VALUEFUNC(_wrap_FXTextField_recalc), -1);
  rb_define_method(SwigClassFXTextField.klass, "reparent", VALUEFUNC(_wrap_FXTextField_reparent), -1);
  rb_define_method(SwigClassFXTextField.klass, "show", VALUEFUNC(_wrap_FXTextField_show), -1);
  rb_define_method(SwigClassFXTextField.klass, "hide", VALUEFUNC(_wrap_FXTextField_hide), -1);
  rb_define_method(SwigClassFXTextField.klass, "isComposite", VALUEFUNC(_wrap_FXTextField_isComposite), -1);
  rb_define_method(SwigClassFXTextField.klass, "contains", VALUEFUNC(_wrap_FXTextField_contains), -1);
  rb_define_method(SwigClassFXTextField.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXTextField_doesSaveUnder), -1);
  rb_define_method(SwigClassFXTextField.klass, "setBackColor", VALUEFUNC(_wrap_FXTextField_setBackColor), -1);
  rb_define_method(SwigClassFXTextField.klass, "tr", VALUEFUNC(_wrap_FXTextField_tr), -1);
  rb_define_method(SwigClassFXTextField.klass, "dropEnable", VALUEFUNC(_wrap_FXTextField_dropEnable), -1);
  rb_define_method(SwigClassFXTextField.klass, "dropDisable", VALUEFUNC(_wrap_FXTextField_dropDisable), -1);
  rb_define_method(SwigClassFXTextField.klass, "setShape", VALUEFUNC(_wrap_FXTextField_setShape), -1);
  rb_define_method(SwigClassFXTextField.klass, "clearShape", VALUEFUNC(_wrap_FXTextField_clearShape), -1);
  SwigClassFXTextField.mark = (void (*)(void *)) FXRbTextField::markfunc;
  SwigClassFXTextField.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXTextField.trackObjects = 0;
  rb_define_const(mFox, "TOOLBARTAB_HORIZONTAL", SWIG_From_int(static_cast< int >(TOOLBARTAB_HORIZONTAL)));
  rb_define_const(mFox, "TOOLBARTAB_VERTICAL", SWIG_From_int(static_cast< int >(TOOLBARTAB_VERTICAL)));
  
  SwigClassFXToolBarTab.klass = rb_define_class_under(mFox, "FXToolBarTab", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXToolBarTab, (void *) &SwigClassFXToolBarTab);
  rb_define_alloc_func(SwigClassFXToolBarTab.klass, _wrap_FXToolBarTab_allocate);
  rb_define_method(SwigClassFXToolBarTab.klass, "initialize", VALUEFUNC(_wrap_new_FXToolBarTab), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onPaint", VALUEFUNC(_wrap_FXToolBarTab_onPaint), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onUpdate", VALUEFUNC(_wrap_FXToolBarTab_onUpdate), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onEnter", VALUEFUNC(_wrap_FXToolBarTab_onEnter), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onLeave", VALUEFUNC(_wrap_FXToolBarTab_onLeave), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onUngrabbed", VALUEFUNC(_wrap_FXToolBarTab_onUngrabbed), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXToolBarTab_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXToolBarTab_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onKeyPress", VALUEFUNC(_wrap_FXToolBarTab_onKeyPress), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onKeyRelease", VALUEFUNC(_wrap_FXToolBarTab_onKeyRelease), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onCmdCollapse", VALUEFUNC(_wrap_FXToolBarTab_onCmdCollapse), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onUpdCollapse", VALUEFUNC(_wrap_FXToolBarTab_onUpdCollapse), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onCmdUncollapse", VALUEFUNC(_wrap_FXToolBarTab_onCmdUncollapse), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onUpdUncollapse", VALUEFUNC(_wrap_FXToolBarTab_onUpdUncollapse), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXToolBarTab_onCmdSetTip), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXToolBarTab_onCmdGetTip), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "onQueryTip", VALUEFUNC(_wrap_FXToolBarTab_onQueryTip), -1);
  rb_define_const(SwigClassFXToolBarTab.klass, "ID_COLLAPSE", SWIG_From_int(static_cast< int >(FXToolBarTab::ID_COLLAPSE)));
  rb_define_const(SwigClassFXToolBarTab.klass, "ID_UNCOLLAPSE", SWIG_From_int(static_cast< int >(FXToolBarTab::ID_UNCOLLAPSE)));
  rb_define_const(SwigClassFXToolBarTab.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXToolBarTab::ID_LAST)));
  rb_define_method(SwigClassFXToolBarTab.klass, "collapse", VALUEFUNC(_wrap_FXToolBarTab_collapse), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "isCollapsed", VALUEFUNC(_wrap_FXToolBarTab_isCollapsed), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setTabStyle", VALUEFUNC(_wrap_FXToolBarTab_setTabStyle), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getTabStyle", VALUEFUNC(_wrap_FXToolBarTab_getTabStyle), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getActiveColor", VALUEFUNC(_wrap_FXToolBarTab_getActiveColor), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setActiveColor", VALUEFUNC(_wrap_FXToolBarTab_setActiveColor), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setTipText", VALUEFUNC(_wrap_FXToolBarTab_setTipText), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getTipText", VALUEFUNC(_wrap_FXToolBarTab_getTipText), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "save", VALUEFUNC(_wrap_FXToolBarTab_save), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "load", VALUEFUNC(_wrap_FXToolBarTab_load), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "create", VALUEFUNC(_wrap_FXToolBarTab_create), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "detach", VALUEFUNC(_wrap_FXToolBarTab_detach), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "destroy", VALUEFUNC(_wrap_FXToolBarTab_destroy), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "resize", VALUEFUNC(_wrap_FXToolBarTab_resize), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXToolBarTab_getDefaultWidth), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXToolBarTab_getDefaultHeight), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXToolBarTab_getWidthForHeight), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXToolBarTab_getHeightForWidth), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "canFocus", VALUEFUNC(_wrap_FXToolBarTab_canFocus), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setFocus", VALUEFUNC(_wrap_FXToolBarTab_setFocus), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "killFocus", VALUEFUNC(_wrap_FXToolBarTab_killFocus), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "changeFocus", VALUEFUNC(_wrap_FXToolBarTab_changeFocus), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setDefault", VALUEFUNC(_wrap_FXToolBarTab_setDefault), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "enable", VALUEFUNC(_wrap_FXToolBarTab_enable), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "disable", VALUEFUNC(_wrap_FXToolBarTab_disable), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "raiseWindow", VALUEFUNC(_wrap_FXToolBarTab_raiseWindow), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "lower", VALUEFUNC(_wrap_FXToolBarTab_lower), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "move", VALUEFUNC(_wrap_FXToolBarTab_move), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "position", VALUEFUNC(_wrap_FXToolBarTab_position), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "layout", VALUEFUNC(_wrap_FXToolBarTab_layout), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "recalc", VALUEFUNC(_wrap_FXToolBarTab_recalc), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "reparent", VALUEFUNC(_wrap_FXToolBarTab_reparent), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "show", VALUEFUNC(_wrap_FXToolBarTab_show), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "hide", VALUEFUNC(_wrap_FXToolBarTab_hide), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "isComposite", VALUEFUNC(_wrap_FXToolBarTab_isComposite), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "contains", VALUEFUNC(_wrap_FXToolBarTab_contains), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXToolBarTab_doesSaveUnder), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setBackColor", VALUEFUNC(_wrap_FXToolBarTab_setBackColor), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "tr", VALUEFUNC(_wrap_FXToolBarTab_tr), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "dropEnable", VALUEFUNC(_wrap_FXToolBarTab_dropEnable), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "dropDisable", VALUEFUNC(_wrap_FXToolBarTab_dropDisable), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "setShape", VALUEFUNC(_wrap_FXToolBarTab_setShape), -1);
  rb_define_method(SwigClassFXToolBarTab.klass, "clearShape", VALUEFUNC(_wrap_FXToolBarTab_clearShape), -1);
  SwigClassFXToolBarTab.mark = (void (*)(void *)) FXRbToolBarTab::markfunc;
  SwigClassFXToolBarTab.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXToolBarTab.trackObjects = 0;
  rb_define_const(mFox, "GRADIENTBAR_HORIZONTAL", SWIG_From_int(static_cast< int >(GRADIENTBAR_HORIZONTAL)));
  rb_define_const(mFox, "GRADIENTBAR_VERTICAL", SWIG_From_int(static_cast< int >(GRADIENTBAR_VERTICAL)));
  rb_define_const(mFox, "GRADIENTBAR_NO_CONTROLS", SWIG_From_int(static_cast< int >(GRADIENTBAR_NO_CONTROLS)));
  rb_define_const(mFox, "GRADIENTBAR_CONTROLS_TOP", SWIG_From_int(static_cast< int >(GRADIENTBAR_CONTROLS_TOP)));
  rb_define_const(mFox, "GRADIENTBAR_CONTROLS_BOTTOM", SWIG_From_int(static_cast< int >(GRADIENTBAR_CONTROLS_BOTTOM)));
  rb_define_const(mFox, "GRADIENTBAR_CONTROLS_LEFT", SWIG_From_int(static_cast< int >(GRADIENTBAR_CONTROLS_LEFT)));
  rb_define_const(mFox, "GRADIENTBAR_CONTROLS_RIGHT", SWIG_From_int(static_cast< int >(GRADIENTBAR_CONTROLS_RIGHT)));
  rb_define_const(mFox, "GRADIENT_BLEND_LINEAR", SWIG_From_int(static_cast< int >(GRADIENT_BLEND_LINEAR)));
  rb_define_const(mFox, "GRADIENT_BLEND_POWER", SWIG_From_int(static_cast< int >(GRADIENT_BLEND_POWER)));
  rb_define_const(mFox, "GRADIENT_BLEND_SINE", SWIG_From_int(static_cast< int >(GRADIENT_BLEND_SINE)));
  rb_define_const(mFox, "GRADIENT_BLEND_INCREASING", SWIG_From_int(static_cast< int >(GRADIENT_BLEND_INCREASING)));
  rb_define_const(mFox, "GRADIENT_BLEND_DECREASING", SWIG_From_int(static_cast< int >(GRADIENT_BLEND_DECREASING)));
  
  SwigClassFXGradient.klass = rb_define_class_under(mFox, "FXGradient", rb_cObject);
  SWIG_TypeClientData(SWIGTYPE_p_FXGradient, (void *) &SwigClassFXGradient);
  rb_undef_alloc_func(SwigClassFXGradient.klass);
  rb_define_method(SwigClassFXGradient.klass, "lower=", VALUEFUNC(_wrap_FXGradient_lower_set), -1);
  rb_define_method(SwigClassFXGradient.klass, "lower", VALUEFUNC(_wrap_FXGradient_lower_get), -1);
  rb_define_method(SwigClassFXGradient.klass, "middle=", VALUEFUNC(_wrap_FXGradient_middle_set), -1);
  rb_define_method(SwigClassFXGradient.klass, "middle", VALUEFUNC(_wrap_FXGradient_middle_get), -1);
  rb_define_method(SwigClassFXGradient.klass, "upper=", VALUEFUNC(_wrap_FXGradient_upper_set), -1);
  rb_define_method(SwigClassFXGradient.klass, "upper", VALUEFUNC(_wrap_FXGradient_upper_get), -1);
  rb_define_method(SwigClassFXGradient.klass, "lowerColor=", VALUEFUNC(_wrap_FXGradient_lowerColor_set), -1);
  rb_define_method(SwigClassFXGradient.klass, "lowerColor", VALUEFUNC(_wrap_FXGradient_lowerColor_get), -1);
  rb_define_method(SwigClassFXGradient.klass, "upperColor=", VALUEFUNC(_wrap_FXGradient_upperColor_set), -1);
  rb_define_method(SwigClassFXGradient.klass, "upperColor", VALUEFUNC(_wrap_FXGradient_upperColor_get), -1);
  rb_define_method(SwigClassFXGradient.klass, "blend=", VALUEFUNC(_wrap_FXGradient_blend_set), -1);
  rb_define_method(SwigClassFXGradient.klass, "blend", VALUEFUNC(_wrap_FXGradient_blend_get), -1);
  SwigClassFXGradient.mark = 0;
  SwigClassFXGradient.trackObjects = 0;
  
  SwigClassFXGradientBar.klass = rb_define_class_under(mFox, "FXGradientBar", ((swig_class *) SWIGTYPE_p_FXFrame->clientdata)->klass);
  SWIG_TypeClientData(SWIGTYPE_p_FXGradientBar, (void *) &SwigClassFXGradientBar);
  rb_define_alloc_func(SwigClassFXGradientBar.klass, _wrap_FXGradientBar_allocate);
  rb_define_method(SwigClassFXGradientBar.klass, "initialize", VALUEFUNC(_wrap_new_FXGradientBar), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onPaint", VALUEFUNC(_wrap_FXGradientBar_onPaint), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXGradientBar_onLeftBtnPress), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXGradientBar_onLeftBtnRelease), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onMotion", VALUEFUNC(_wrap_FXGradientBar_onMotion), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onDNDEnter", VALUEFUNC(_wrap_FXGradientBar_onDNDEnter), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onDNDLeave", VALUEFUNC(_wrap_FXGradientBar_onDNDLeave), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onDNDMotion", VALUEFUNC(_wrap_FXGradientBar_onDNDMotion), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onDNDDrop", VALUEFUNC(_wrap_FXGradientBar_onDNDDrop), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdBlending", VALUEFUNC(_wrap_FXGradientBar_onCmdBlending), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onUpdBlending", VALUEFUNC(_wrap_FXGradientBar_onUpdBlending), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onUpdSegColor", VALUEFUNC(_wrap_FXGradientBar_onUpdSegColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdSegColor", VALUEFUNC(_wrap_FXGradientBar_onCmdSegColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onUpdRecenter", VALUEFUNC(_wrap_FXGradientBar_onUpdRecenter), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdRecenter", VALUEFUNC(_wrap_FXGradientBar_onCmdRecenter), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onUpdSplit", VALUEFUNC(_wrap_FXGradientBar_onUpdSplit), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdSplit", VALUEFUNC(_wrap_FXGradientBar_onCmdSplit), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onUpdMerge", VALUEFUNC(_wrap_FXGradientBar_onUpdMerge), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdMerge", VALUEFUNC(_wrap_FXGradientBar_onCmdMerge), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onUpdUniform", VALUEFUNC(_wrap_FXGradientBar_onUpdUniform), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdUniform", VALUEFUNC(_wrap_FXGradientBar_onCmdUniform), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdSetHelp", VALUEFUNC(_wrap_FXGradientBar_onCmdSetHelp), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdGetHelp", VALUEFUNC(_wrap_FXGradientBar_onCmdGetHelp), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdSetTip", VALUEFUNC(_wrap_FXGradientBar_onCmdSetTip), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onCmdGetTip", VALUEFUNC(_wrap_FXGradientBar_onCmdGetTip), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onQueryHelp", VALUEFUNC(_wrap_FXGradientBar_onQueryHelp), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "onQueryTip", VALUEFUNC(_wrap_FXGradientBar_onQueryTip), -1);
  rb_define_const(SwigClassFXGradientBar.klass, "ID_LOWER_COLOR", SWIG_From_int(static_cast< int >(FXGradientBar::ID_LOWER_COLOR)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_UPPER_COLOR", SWIG_From_int(static_cast< int >(FXGradientBar::ID_UPPER_COLOR)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_BLEND_LINEAR", SWIG_From_int(static_cast< int >(FXGradientBar::ID_BLEND_LINEAR)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_BLEND_POWER", SWIG_From_int(static_cast< int >(FXGradientBar::ID_BLEND_POWER)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_BLEND_SINE", SWIG_From_int(static_cast< int >(FXGradientBar::ID_BLEND_SINE)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_BLEND_INCREASING", SWIG_From_int(static_cast< int >(FXGradientBar::ID_BLEND_INCREASING)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_BLEND_DECREASING", SWIG_From_int(static_cast< int >(FXGradientBar::ID_BLEND_DECREASING)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_RECENTER", SWIG_From_int(static_cast< int >(FXGradientBar::ID_RECENTER)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_SPLIT", SWIG_From_int(static_cast< int >(FXGradientBar::ID_SPLIT)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_MERGE", SWIG_From_int(static_cast< int >(FXGradientBar::ID_MERGE)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_UNIFORM", SWIG_From_int(static_cast< int >(FXGradientBar::ID_UNIFORM)));
  rb_define_const(SwigClassFXGradientBar.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXGradientBar::ID_LAST)));
  rb_define_method(SwigClassFXGradientBar.klass, "getSegment", VALUEFUNC(_wrap_FXGradientBar_getSegment), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getGrip", VALUEFUNC(_wrap_FXGradientBar_getGrip), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getNumSegments", VALUEFUNC(_wrap_FXGradientBar_getNumSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setGradients", VALUEFUNC(_wrap_FXGradientBar_setGradients), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getGradients", VALUEFUNC(_wrap_FXGradientBar_getGradients), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setCurrentSegment", VALUEFUNC(_wrap_FXGradientBar_setCurrentSegment), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getCurrentSegment", VALUEFUNC(_wrap_FXGradientBar_getCurrentSegment), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setAnchorSegment", VALUEFUNC(_wrap_FXGradientBar_setAnchorSegment), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getAnchorSegment", VALUEFUNC(_wrap_FXGradientBar_getAnchorSegment), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "selectSegments", VALUEFUNC(_wrap_FXGradientBar_selectSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "deselectSegments", VALUEFUNC(_wrap_FXGradientBar_deselectSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "isSegmentSelected", VALUEFUNC(_wrap_FXGradientBar_isSegmentSelected), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setSegmentLowerColor", VALUEFUNC(_wrap_FXGradientBar_setSegmentLowerColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setSegmentUpperColor", VALUEFUNC(_wrap_FXGradientBar_setSegmentUpperColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSegmentLowerColor", VALUEFUNC(_wrap_FXGradientBar_getSegmentLowerColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSegmentUpperColor", VALUEFUNC(_wrap_FXGradientBar_getSegmentUpperColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "moveSegmentLower", VALUEFUNC(_wrap_FXGradientBar_moveSegmentLower), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "moveSegmentMiddle", VALUEFUNC(_wrap_FXGradientBar_moveSegmentMiddle), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "moveSegmentUpper", VALUEFUNC(_wrap_FXGradientBar_moveSegmentUpper), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "moveSegments", VALUEFUNC(_wrap_FXGradientBar_moveSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSegmentLower", VALUEFUNC(_wrap_FXGradientBar_getSegmentLower), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSegmentMiddle", VALUEFUNC(_wrap_FXGradientBar_getSegmentMiddle), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSegmentUpper", VALUEFUNC(_wrap_FXGradientBar_getSegmentUpper), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "gradient", VALUEFUNC(_wrap_FXGradientBar_gradient), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSegmentBlend", VALUEFUNC(_wrap_FXGradientBar_getSegmentBlend), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "splitSegments", VALUEFUNC(_wrap_FXGradientBar_splitSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "mergeSegments", VALUEFUNC(_wrap_FXGradientBar_mergeSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "uniformSegments", VALUEFUNC(_wrap_FXGradientBar_uniformSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "blendSegments", VALUEFUNC(_wrap_FXGradientBar_blendSegments), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getBarStyle", VALUEFUNC(_wrap_FXGradientBar_getBarStyle), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setBarStyle", VALUEFUNC(_wrap_FXGradientBar_setBarStyle), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setSelectColor", VALUEFUNC(_wrap_FXGradientBar_setSelectColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getSelectColor", VALUEFUNC(_wrap_FXGradientBar_getSelectColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setHelpText", VALUEFUNC(_wrap_FXGradientBar_setHelpText), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getHelpText", VALUEFUNC(_wrap_FXGradientBar_getHelpText), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setTipText", VALUEFUNC(_wrap_FXGradientBar_setTipText), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getTipText", VALUEFUNC(_wrap_FXGradientBar_getTipText), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "save", VALUEFUNC(_wrap_FXGradientBar_save), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "load", VALUEFUNC(_wrap_FXGradientBar_load), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "create", VALUEFUNC(_wrap_FXGradientBar_create), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "detach", VALUEFUNC(_wrap_FXGradientBar_detach), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "destroy", VALUEFUNC(_wrap_FXGradientBar_destroy), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "resize", VALUEFUNC(_wrap_FXGradientBar_resize), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXGradientBar_getDefaultWidth), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXGradientBar_getDefaultHeight), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXGradientBar_getWidthForHeight), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXGradientBar_getHeightForWidth), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "canFocus", VALUEFUNC(_wrap_FXGradientBar_canFocus), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setFocus", VALUEFUNC(_wrap_FXGradientBar_setFocus), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "killFocus", VALUEFUNC(_wrap_FXGradientBar_killFocus), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "changeFocus", VALUEFUNC(_wrap_FXGradientBar_changeFocus), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setDefault", VALUEFUNC(_wrap_FXGradientBar_setDefault), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "enable", VALUEFUNC(_wrap_FXGradientBar_enable), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "disable", VALUEFUNC(_wrap_FXGradientBar_disable), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "raiseWindow", VALUEFUNC(_wrap_FXGradientBar_raiseWindow), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "lower", VALUEFUNC(_wrap_FXGradientBar_lower), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "move", VALUEFUNC(_wrap_FXGradientBar_move), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "position", VALUEFUNC(_wrap_FXGradientBar_position), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "layout", VALUEFUNC(_wrap_FXGradientBar_layout), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "recalc", VALUEFUNC(_wrap_FXGradientBar_recalc), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "reparent", VALUEFUNC(_wrap_FXGradientBar_reparent), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "show", VALUEFUNC(_wrap_FXGradientBar_show), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "hide", VALUEFUNC(_wrap_FXGradientBar_hide), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "isComposite", VALUEFUNC(_wrap_FXGradientBar_isComposite), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "contains", VALUEFUNC(_wrap_FXGradientBar_contains), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXGradientBar_doesSaveUnder), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setBackColor", VALUEFUNC(_wrap_FXGradientBar_setBackColor), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "tr", VALUEFUNC(_wrap_FXGradientBar_tr), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "dropEnable", VALUEFUNC(_wrap_FXGradientBar_dropEnable), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "dropDisable", VALUEFUNC(_wrap_FXGradientBar_dropDisable), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "setShape", VALUEFUNC(_wrap_FXGradientBar_setShape), -1);
  rb_define_method(SwigClassFXGradientBar.klass, "clearShape", VALUEFUNC(_wrap_FXGradientBar_clearShape), -1);
  SwigClassFXGradientBar.mark = (void (*)(void *)) FXRbGradientBar::markfunc;
  SwigClassFXGradientBar.destroy = (void (*)(void *)) FXRbObject::freefunc;
  SwigClassFXGradientBar.trackObjects = 0;
}

