/* ---------------------------------------------------------------------------- * 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 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& rhs); SwigValueWrapper(const SwigValueWrapper& 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 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 () { if () { *ptr = ; return SWIG_NEWOBJ; } else { *ptr = ; 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 #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" == "Class", 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 ||... 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 ||... 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 #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 #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_FX4Splitter swig_types[0] #define SWIGTYPE_p_FX7Segment swig_types[1] #define SWIGTYPE_p_FXAccelTable swig_types[2] #define SWIGTYPE_p_FXApp swig_types[3] #define SWIGTYPE_p_FXArrowButton swig_types[4] #define SWIGTYPE_p_FXBitmap swig_types[5] #define SWIGTYPE_p_FXBitmapFrame swig_types[6] #define SWIGTYPE_p_FXButton swig_types[7] #define SWIGTYPE_p_FXCURCursor swig_types[8] #define SWIGTYPE_p_FXCanvas swig_types[9] #define SWIGTYPE_p_FXCheckButton swig_types[10] #define SWIGTYPE_p_FXColorBar swig_types[11] #define SWIGTYPE_p_FXColorRing swig_types[12] #define SWIGTYPE_p_FXColorSelector swig_types[13] #define SWIGTYPE_p_FXColorWell swig_types[14] #define SWIGTYPE_p_FXColorWheel swig_types[15] #define SWIGTYPE_p_FXComboBox swig_types[16] #define SWIGTYPE_p_FXComposite swig_types[17] #define SWIGTYPE_p_FXCursor swig_types[18] #define SWIGTYPE_p_FXDataTarget swig_types[19] #define SWIGTYPE_p_FXDebugTarget swig_types[20] #define SWIGTYPE_p_FXDelegator swig_types[21] #define SWIGTYPE_p_FXDial swig_types[22] #define SWIGTYPE_p_FXDict swig_types[23] #define SWIGTYPE_p_FXDirBox swig_types[24] #define SWIGTYPE_p_FXDirSelector swig_types[25] #define SWIGTYPE_p_FXDockBar swig_types[26] #define SWIGTYPE_p_FXDockHandler swig_types[27] #define SWIGTYPE_p_FXDockSite swig_types[28] #define SWIGTYPE_p_FXDockTitle swig_types[29] #define SWIGTYPE_p_FXDocument swig_types[30] #define SWIGTYPE_p_FXDragCorner swig_types[31] #define SWIGTYPE_p_FXDrawable swig_types[32] #define SWIGTYPE_p_FXDriveBox swig_types[33] #define SWIGTYPE_p_FXFileDict swig_types[34] #define SWIGTYPE_p_FXFileSelector swig_types[35] #define SWIGTYPE_p_FXFileStream swig_types[36] #define SWIGTYPE_p_FXFont swig_types[37] #define SWIGTYPE_p_FXFontSelector swig_types[38] #define SWIGTYPE_p_FXFrame swig_types[39] #define SWIGTYPE_p_FXGIFCursor swig_types[40] #define SWIGTYPE_p_FXGradientBar swig_types[41] #define SWIGTYPE_p_FXGroupBox swig_types[42] #define SWIGTYPE_p_FXHeader swig_types[43] #define SWIGTYPE_p_FXHeaderItem swig_types[44] #define SWIGTYPE_p_FXHorizontalFrame swig_types[45] #define SWIGTYPE_p_FXHorizontalSeparator swig_types[46] #define SWIGTYPE_p_FXIcon swig_types[47] #define SWIGTYPE_p_FXIconDict swig_types[48] #define SWIGTYPE_p_FXId swig_types[49] #define SWIGTYPE_p_FXImageFrame swig_types[50] #define SWIGTYPE_p_FXImageView swig_types[51] #define SWIGTYPE_p_FXKnob swig_types[52] #define SWIGTYPE_p_FXLabel swig_types[53] #define SWIGTYPE_p_FXListBox swig_types[54] #define SWIGTYPE_p_FXMDIChild swig_types[55] #define SWIGTYPE_p_FXMDIClient swig_types[56] #define SWIGTYPE_p_FXMDIDeleteButton swig_types[57] #define SWIGTYPE_p_FXMDIMaximizeButton swig_types[58] #define SWIGTYPE_p_FXMDIMenu swig_types[59] #define SWIGTYPE_p_FXMDIMinimizeButton swig_types[60] #define SWIGTYPE_p_FXMDIRestoreButton swig_types[61] #define SWIGTYPE_p_FXMDIWindowButton swig_types[62] #define SWIGTYPE_p_FXMainWindow swig_types[63] #define SWIGTYPE_p_FXMatrix swig_types[64] #define SWIGTYPE_p_FXMemoryStream swig_types[65] #define SWIGTYPE_p_FXMenuBar swig_types[66] #define SWIGTYPE_p_FXMenuButton swig_types[67] #define SWIGTYPE_p_FXMenuCaption swig_types[68] #define SWIGTYPE_p_FXMenuCascade swig_types[69] #define SWIGTYPE_p_FXMenuCheck swig_types[70] #define SWIGTYPE_p_FXMenuCommand swig_types[71] #define SWIGTYPE_p_FXMenuPane swig_types[72] #define SWIGTYPE_p_FXMenuRadio swig_types[73] #define SWIGTYPE_p_FXMenuSeparator swig_types[74] #define SWIGTYPE_p_FXMenuTitle swig_types[75] #define SWIGTYPE_p_FXObject swig_types[76] #define SWIGTYPE_p_FXOption swig_types[77] #define SWIGTYPE_p_FXOptionMenu swig_types[78] #define SWIGTYPE_p_FXPacker swig_types[79] #define SWIGTYPE_p_FXPicker swig_types[80] #define SWIGTYPE_p_FXPopup swig_types[81] #define SWIGTYPE_p_FXProgressBar swig_types[82] #define SWIGTYPE_p_FXRadioButton swig_types[83] #define SWIGTYPE_p_FXRealSlider swig_types[84] #define SWIGTYPE_p_FXRealSpinner swig_types[85] #define SWIGTYPE_p_FXRecentFiles swig_types[86] #define SWIGTYPE_p_FXRegion swig_types[87] #define SWIGTYPE_p_FXRegistry swig_types[88] #define SWIGTYPE_p_FXRootWindow swig_types[89] #define SWIGTYPE_p_FXRuler swig_types[90] #define SWIGTYPE_p_FXRulerView swig_types[91] #define SWIGTYPE_p_FXScrollArea swig_types[92] #define SWIGTYPE_p_FXScrollBar swig_types[93] #define SWIGTYPE_p_FXScrollCorner swig_types[94] #define SWIGTYPE_p_FXScrollPane swig_types[95] #define SWIGTYPE_p_FXScrollWindow swig_types[96] #define SWIGTYPE_p_FXSeparator swig_types[97] #define SWIGTYPE_p_FXSettings swig_types[98] #define SWIGTYPE_p_FXShell swig_types[99] #define SWIGTYPE_p_FXShutter swig_types[100] #define SWIGTYPE_p_FXShutterItem swig_types[101] #define SWIGTYPE_p_FXSlider swig_types[102] #define SWIGTYPE_p_FXSpinner swig_types[103] #define SWIGTYPE_p_FXSplashWindow swig_types[104] #define SWIGTYPE_p_FXSplitter swig_types[105] #define SWIGTYPE_p_FXSpring swig_types[106] #define SWIGTYPE_p_FXStatusBar swig_types[107] #define SWIGTYPE_p_FXStatusLine swig_types[108] #define SWIGTYPE_p_FXStream swig_types[109] #define SWIGTYPE_p_FXStringDict swig_types[110] #define SWIGTYPE_p_FXSwitcher swig_types[111] #define SWIGTYPE_p_FXTabBar swig_types[112] #define SWIGTYPE_p_FXTabBook swig_types[113] #define SWIGTYPE_p_FXTabItem swig_types[114] #define SWIGTYPE_p_FXTextField swig_types[115] #define SWIGTYPE_p_FXToggleButton swig_types[116] #define SWIGTYPE_p_FXToolBar swig_types[117] #define SWIGTYPE_p_FXToolBarGrip swig_types[118] #define SWIGTYPE_p_FXToolBarShell swig_types[119] #define SWIGTYPE_p_FXToolBarTab swig_types[120] #define SWIGTYPE_p_FXToolTip swig_types[121] #define SWIGTYPE_p_FXTopWindow swig_types[122] #define SWIGTYPE_p_FXTranslator swig_types[123] #define SWIGTYPE_p_FXTreeListBox swig_types[124] #define SWIGTYPE_p_FXTriStateButton swig_types[125] #define SWIGTYPE_p_FXVerticalFrame swig_types[126] #define SWIGTYPE_p_FXVerticalSeparator swig_types[127] #define SWIGTYPE_p_FXVisual swig_types[128] #define SWIGTYPE_p_FXWindow swig_types[129] #define SWIGTYPE_p_char swig_types[130] #define SWIGTYPE_p_double swig_types[131] #define SWIGTYPE_p_float swig_types[132] #define SWIGTYPE_p_int swig_types[133] #define SWIGTYPE_p_long swig_types[134] #define SWIGTYPE_p_short swig_types[135] #define SWIGTYPE_p_unsigned_char swig_types[136] #define SWIGTYPE_p_unsigned_int swig_types[137] #define SWIGTYPE_p_unsigned_long swig_types[138] #define SWIGTYPE_p_unsigned_short swig_types[139] static swig_type_info *swig_types[141]; static swig_module_info swig_module = {swig_types, 140, 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_mdi #define SWIG_name "Mdi" #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 #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(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 #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 SWIGINTERN FXMDIDeleteButton *new_FXMDIDeleteButton(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 FXRbMDIDeleteButton(p,tgt,sel,opts,x,y,w,h); } SWIGINTERNINLINE VALUE SWIG_From_int (int value) { return SWIG_From_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 FXMDIRestoreButton *new_FXMDIRestoreButton(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 FXRbMDIRestoreButton(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXMDIMaximizeButton *new_FXMDIMaximizeButton(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 FXRbMDIMaximizeButton(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXMDIMinimizeButton *new_FXMDIMinimizeButton(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 FXRbMDIMinimizeButton(p,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXMDIWindowButton *new_FXMDIWindowButton(FXComposite *p,FXPopup *pup,FXObject *tgt=0,FXSelector sel=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbMDIWindowButton(p,pup,tgt,sel,opts,x,y,w,h); } SWIGINTERN FXMDIMenu *new_FXMDIMenu(FXWindow *owner,FXObject *tgt=0){ return new FXRbMDIMenu(owner,tgt); } SWIGINTERN FXMDIClient *new_FXMDIClient(FXComposite *p,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbMDIClient(p,opts,x,y,w,h); } SWIGINTERN FXMDIChild *new_FXMDIChild(FXMDIClient *p,FXString const &name,FXIcon *ic=0,FXPopup *pup=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbMDIChild(p,name,ic,pup,opts,x,y,w,h); } 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); } static swig_class SwigClassFXMDIDeleteButton; SWIGINTERN VALUE _wrap_FXMDIDeleteButton_onPaint(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); res2 = 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_FXMDIDeleteButton_allocate(VALUE self) #else _wrap_FXMDIDeleteButton_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIDeleteButton); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIDeleteButton(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 ; FXMDIDeleteButton *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 *","FXMDIDeleteButton", 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 *","FXMDIDeleteButton", 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 = (FXMDIDeleteButton *)new_FXMDIDeleteButton(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_FXMDIDeleteButton_save(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_save((FXMDIDeleteButton const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_load(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_create(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_detach(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_destroy(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_resize(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIDeleteButton_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); result = (FXint)FXMDIDeleteButton_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); result = (FXint)FXMDIDeleteButton_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIDeleteButton_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIDeleteButton_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); result = (bool)FXMDIDeleteButton_canFocus((FXMDIDeleteButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIDeleteButton_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_enable(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_disable(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_lower(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_move(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIDeleteButton_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_position(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIDeleteButton_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_layout(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_recalc(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_reparent(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_show(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_hide(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); result = (bool)FXMDIDeleteButton_isComposite((FXMDIDeleteButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_contains(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIDeleteButton_contains((FXMDIDeleteButton const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); result = (bool)FXMDIDeleteButton_doesSaveUnder((FXMDIDeleteButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIDeleteButton_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_tr(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIDeleteButton_tr((FXMDIDeleteButton const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 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_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(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); FXMDIDeleteButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_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_FXMDIDeleteButton, 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_FXMDIDeleteButton_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIDeleteButton, 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_FXMDIDeleteButton_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIDeleteButton, 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_FXMDIDeleteButton_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIDeleteButton_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIDeleteButton *arg1 = (FXMDIDeleteButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIDeleteButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIDeleteButton *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIDeleteButton * >(argp1); FXMDIDeleteButton_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIRestoreButton; SWIGINTERN VALUE _wrap_FXMDIRestoreButton_onPaint(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); res2 = 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_FXMDIRestoreButton_allocate(VALUE self) #else _wrap_FXMDIRestoreButton_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIRestoreButton); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIRestoreButton(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 ; FXMDIRestoreButton *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 *","FXMDIRestoreButton", 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 *","FXMDIRestoreButton", 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 = (FXMDIRestoreButton *)new_FXMDIRestoreButton(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_FXMDIRestoreButton_save(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_save((FXMDIRestoreButton const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_load(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_create(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_detach(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_destroy(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_resize(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIRestoreButton_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); result = (FXint)FXMDIRestoreButton_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); result = (FXint)FXMDIRestoreButton_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIRestoreButton_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIRestoreButton_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); result = (bool)FXMDIRestoreButton_canFocus((FXMDIRestoreButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIRestoreButton_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_enable(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_disable(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_lower(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_move(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIRestoreButton_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_position(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIRestoreButton_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_layout(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_recalc(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_reparent(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_show(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_hide(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); result = (bool)FXMDIRestoreButton_isComposite((FXMDIRestoreButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_contains(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIRestoreButton_contains((FXMDIRestoreButton const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); result = (bool)FXMDIRestoreButton_doesSaveUnder((FXMDIRestoreButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIRestoreButton_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_tr(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIRestoreButton_tr((FXMDIRestoreButton const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 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_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(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); FXMDIRestoreButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_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_FXMDIRestoreButton, 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_FXMDIRestoreButton_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIRestoreButton, 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_FXMDIRestoreButton_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIRestoreButton, 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_FXMDIRestoreButton_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIRestoreButton_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIRestoreButton *arg1 = (FXMDIRestoreButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIRestoreButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIRestoreButton *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIRestoreButton * >(argp1); FXMDIRestoreButton_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIMaximizeButton; SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_onPaint(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); res2 = 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_FXMDIMaximizeButton_allocate(VALUE self) #else _wrap_FXMDIMaximizeButton_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIMaximizeButton); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIMaximizeButton(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 ; FXMDIMaximizeButton *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 *","FXMDIMaximizeButton", 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 *","FXMDIMaximizeButton", 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 = (FXMDIMaximizeButton *)new_FXMDIMaximizeButton(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_FXMDIMaximizeButton_save(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_save((FXMDIMaximizeButton const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_load(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_create(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_detach(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_destroy(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_resize(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIMaximizeButton_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); result = (FXint)FXMDIMaximizeButton_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); result = (FXint)FXMDIMaximizeButton_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIMaximizeButton_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIMaximizeButton_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); result = (bool)FXMDIMaximizeButton_canFocus((FXMDIMaximizeButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIMaximizeButton_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_enable(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_disable(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_lower(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_move(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIMaximizeButton_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_position(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIMaximizeButton_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_layout(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_recalc(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_reparent(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_show(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_hide(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); result = (bool)FXMDIMaximizeButton_isComposite((FXMDIMaximizeButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_contains(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIMaximizeButton_contains((FXMDIMaximizeButton const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); result = (bool)FXMDIMaximizeButton_doesSaveUnder((FXMDIMaximizeButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIMaximizeButton_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_tr(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIMaximizeButton_tr((FXMDIMaximizeButton const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 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_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(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); FXMDIMaximizeButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_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_FXMDIMaximizeButton, 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_FXMDIMaximizeButton_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIMaximizeButton, 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_FXMDIMaximizeButton_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIMaximizeButton, 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_FXMDIMaximizeButton_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMaximizeButton_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIMaximizeButton *arg1 = (FXMDIMaximizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMaximizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMaximizeButton *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMaximizeButton * >(argp1); FXMDIMaximizeButton_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIMinimizeButton; SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_onPaint(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); res2 = 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_FXMDIMinimizeButton_allocate(VALUE self) #else _wrap_FXMDIMinimizeButton_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIMinimizeButton); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIMinimizeButton(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 ; FXMDIMinimizeButton *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 *","FXMDIMinimizeButton", 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 *","FXMDIMinimizeButton", 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 = (FXMDIMinimizeButton *)new_FXMDIMinimizeButton(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_FXMDIMinimizeButton_save(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_save((FXMDIMinimizeButton const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_load(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_create(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_detach(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_destroy(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_resize(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIMinimizeButton_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); result = (FXint)FXMDIMinimizeButton_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); result = (FXint)FXMDIMinimizeButton_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIMinimizeButton_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIMinimizeButton_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); result = (bool)FXMDIMinimizeButton_canFocus((FXMDIMinimizeButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIMinimizeButton_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_enable(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_disable(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_lower(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_move(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIMinimizeButton_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_position(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIMinimizeButton_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_layout(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_recalc(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_reparent(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_show(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_hide(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); result = (bool)FXMDIMinimizeButton_isComposite((FXMDIMinimizeButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_contains(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIMinimizeButton_contains((FXMDIMinimizeButton const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); result = (bool)FXMDIMinimizeButton_doesSaveUnder((FXMDIMinimizeButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIMinimizeButton_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_tr(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIMinimizeButton_tr((FXMDIMinimizeButton const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 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_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(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); FXMDIMinimizeButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_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_FXMDIMinimizeButton, 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_FXMDIMinimizeButton_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIMinimizeButton, 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_FXMDIMinimizeButton_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIMinimizeButton, 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_FXMDIMinimizeButton_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMinimizeButton_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIMinimizeButton *arg1 = (FXMDIMinimizeButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMinimizeButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMinimizeButton *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMinimizeButton * >(argp1); FXMDIMinimizeButton_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIWindowButton; SWIGINTERN VALUE _wrap_FXMDIWindowButton_onPaint(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); res2 = 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_FXMDIWindowButton_allocate(VALUE self) #else _wrap_FXMDIWindowButton_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIWindowButton); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIWindowButton(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXPopup *arg2 = (FXPopup *) 0 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 = (FXSelector) 0 ; FXuint arg5 = (FXuint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; FXMDIWindowButton *result = 0 ; if ((argc < 2) || (argc > 9)) { 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 *","FXMDIWindowButton", 1, argv[0] )); } arg1 = reinterpret_cast< FXComposite * >(argp1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXPopup, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXPopup *","FXMDIWindowButton", 2, argv[1] )); } arg2 = reinterpret_cast< FXPopup * >(argp2); 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 *","FXMDIWindowButton", 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 (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXMDIWindowButton *)new_FXMDIWindowButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_save(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_save((FXMDIWindowButton const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_load(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_create(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_detach(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_destroy(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_resize(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIWindowButton_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); result = (FXint)FXMDIWindowButton_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); result = (FXint)FXMDIWindowButton_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIWindowButton_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIWindowButton_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); result = (bool)FXMDIWindowButton_canFocus((FXMDIWindowButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIWindowButton_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_enable(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_disable(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_lower(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_move(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIWindowButton_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_position(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIWindowButton_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_layout(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_recalc(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_reparent(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_show(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_hide(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); result = (bool)FXMDIWindowButton_isComposite((FXMDIWindowButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_contains(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIWindowButton_contains((FXMDIWindowButton const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); result = (bool)FXMDIWindowButton_doesSaveUnder((FXMDIWindowButton const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIWindowButton_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_tr(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIWindowButton_tr((FXMDIWindowButton const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 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_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(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); FXMDIWindowButton_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_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_FXMDIWindowButton, 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_FXMDIWindowButton_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIWindowButton, 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_FXMDIWindowButton_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIWindowButton, 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_FXMDIWindowButton_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIWindowButton_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIWindowButton *arg1 = (FXMDIWindowButton *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIWindowButton, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIWindowButton *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIWindowButton * >(argp1); FXMDIWindowButton_clearShape(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIMenu; SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXMDIMenu_allocate(VALUE self) #else _wrap_FXMDIMenu_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIMenu); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIMenu(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXObject *arg2 = (FXObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXMDIMenu *result = 0 ; if ((argc < 1) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXMDIMenu", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(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 *","FXMDIMenu", 2, argv[1] )); } arg2 = reinterpret_cast< FXObject * >(argp2); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXMDIMenu *)new_FXMDIMenu(arg1,arg2); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_save(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_save((FXMDIMenu const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_load(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_create(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_detach(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_destroy(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_resize(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIMenu_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); result = (FXint)FXMDIMenu_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); result = (FXint)FXMDIMenu_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIMenu_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIMenu_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); result = (bool)FXMDIMenu_canFocus((FXMDIMenu const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIMenu_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_enable(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_disable(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_lower(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_move(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIMenu_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_position(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIMenu_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_layout(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_recalc(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_reparent(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_show(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_hide(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); result = (bool)FXMDIMenu_isComposite((FXMDIMenu const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_contains(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIMenu_contains((FXMDIMenu const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); result = (bool)FXMDIMenu_doesSaveUnder((FXMDIMenu const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIMenu_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_tr(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIMenu_tr((FXMDIMenu const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 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_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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); FXMDIMenu_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_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_FXMDIMenu, 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_FXMDIMenu_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIMenu, 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_FXMDIMenu_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIMenu, 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_FXMDIMenu_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_popup(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; FXWindow *arg2 = (FXWindow *) 0 ; FXint arg3 ; FXint arg4 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","popup", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(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 *","popup", 2, argv[0] )); } arg2 = reinterpret_cast< FXWindow * >(argp2); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); if (argc > 3) { arg5 = NUM2INT(argv[3]); } if (argc > 4) { arg6 = NUM2INT(argv[4]); } FXMDIMenu_popup(arg1,arg2,arg3,arg4,arg5,arg6); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIMenu_popdown(int argc, VALUE *argv, VALUE self) { FXMDIMenu *arg1 = (FXMDIMenu *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIMenu, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIMenu *","popdown", 1, self )); } arg1 = reinterpret_cast< FXMDIMenu * >(argp1); FXMDIMenu_popdown(arg1); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIClient; SWIGINTERN VALUE _wrap_FXMDIClient_onCmdActivateNext(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdActivateNext", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdActivateNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdActivateNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onCmdActivatePrev(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdActivatePrev", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdActivatePrev", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdActivatePrev(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onCmdTileHorizontal(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdTileHorizontal", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdTileHorizontal", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdTileHorizontal(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onCmdTileVertical(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdTileVertical", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdTileVertical", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdTileVertical(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onCmdCascade(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdCascade", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCascade", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCascade(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdActivateNext(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdActivateNext", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdActivateNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdActivateNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdActivatePrev(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdActivatePrev", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdActivatePrev", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdActivatePrev(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdTileVertical(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdTileVertical", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdTileVertical", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdTileVertical(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdTileHorizontal(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdTileHorizontal", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdTileHorizontal", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdTileHorizontal(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdCascade(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdCascade", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdCascade", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCascade(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdClose(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdClose", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdClose", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdClose(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdMenuClose(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdMenuClose", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuClose", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuClose(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdRestore(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdRestore", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdRestore", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdRestore(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdMenuRestore(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdMenuRestore", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuRestore", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuRestore(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdMinimize(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdMinimize", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMinimize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMinimize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdMenuMinimize(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdMenuMinimize", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuMinimize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuMinimize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdMaximize(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdMaximize", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMaximize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMaximize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdMenuWindow(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdMenuWindow", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuWindow", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuWindow(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onCmdWindowSelect(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdWindowSelect", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdWindowSelect", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdWindowSelect(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdWindowSelect(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdWindowSelect", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdWindowSelect", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdWindowSelect(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onCmdOthersWindows(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onCmdOthersWindows", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdOthersWindows", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdOthersWindows(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdOthersWindows(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdOthersWindows", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdOthersWindows", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdOthersWindows(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_onUpdAnyWindows(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","onUpdAnyWindows", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdAnyWindows", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdAnyWindows(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_FXMDIClient_allocate(VALUE self) #else _wrap_FXMDIClient_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIClient); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIClient(int argc, VALUE *argv, VALUE self) { FXComposite *arg1 = (FXComposite *) 0 ; FXuint arg2 = (FXuint) 0 ; FXint arg3 = (FXint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXMDIClient *result = 0 ; if ((argc < 1) || (argc > 6)) { 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 *","FXMDIClient", 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 (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXMDIClient *)new_FXMDIClient(arg1,arg2,arg3,arg4,arg5,arg6); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_forallWindows(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","forallWindows", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","forallWindows", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; result = (long)(arg1)->forallWindows(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_forallDocuments(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","forallDocuments", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","forallDocuments", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = (argv[2] == Qnil) ? NULL : (void *) argv[2]; result = (long)(arg1)->forallDocuments(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_forallDocWindows(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXObject *arg3 = (FXObject *) 0 ; FXSelector arg4 ; void *arg5 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; long result; VALUE vresult = Qnil; 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","forallDocWindows", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","forallDocWindows", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXObject *","forallDocWindows", 3, argv[1] )); } arg3 = reinterpret_cast< FXObject * >(argp3); arg4 = NUM2UINT(argv[2]); arg5 = (argv[3] == Qnil) ? NULL : (void *) argv[3]; result = (long)(arg1)->forallDocWindows(arg2,arg3,arg4,arg5); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getActiveChild(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXMDIChild *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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","getActiveChild", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (FXMDIChild *)((FXMDIClient const *)arg1)->getActiveChild(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXMDIChild, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setCascadeX(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setCascadeX", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCascadeX(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setCascadeY(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setCascadeY", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCascadeY(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getCascadeX(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","getCascadeX", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (FXint)((FXMDIClient const *)arg1)->getCascadeX(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getCascadeY(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","getCascadeY", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (FXint)((FXMDIClient const *)arg1)->getCascadeY(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_save(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_save((FXMDIClient const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_load(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_create(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_detach(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_destroy(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_resize(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIClient_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (FXint)FXMDIClient_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (FXint)FXMDIClient_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIClient_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIClient_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (bool)FXMDIClient_canFocus((FXMDIClient const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIClient_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_enable(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_disable(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_lower(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_move(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIClient_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_position(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIClient_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_layout(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_recalc(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_reparent(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_show(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_hide(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (bool)FXMDIClient_isComposite((FXMDIClient const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_contains(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIClient_contains((FXMDIClient const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); result = (bool)FXMDIClient_doesSaveUnder((FXMDIClient const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIClient_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_tr(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIClient_tr((FXMDIClient const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(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); FXMDIClient_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_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_FXMDIClient, 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_FXMDIClient_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIClient, 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_FXMDIClient_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIClient, 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_FXMDIClient_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); FXMDIClient_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_setActiveChild(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXMDIChild *arg2 = (FXMDIChild *) 0 ; FXbool arg3 = (FXbool) 1 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXbool result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","setActiveChild", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); if (argc > 0) { res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXMDIChild *","setActiveChild", 2, argv[0] )); } arg2 = reinterpret_cast< FXMDIChild * >(argp2); } if (argc > 1) { arg3 = to_FXbool(argv[1]); } result = (FXbool)FXMDIClient_setActiveChild(arg1,arg2,arg3); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_cascade(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","cascade", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIClient_cascade(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_horizontal(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","horizontal", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIClient_horizontal(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIClient_vertical(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 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_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","vertical", 1, self )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIClient_vertical(arg1,arg2); return Qnil; fail: return Qnil; } static swig_class SwigClassFXMDIChild; SWIGINTERN VALUE _wrap_FXMDIChild_onPaint(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onPaint", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onFocusSelf(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onFocusSelf", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onFocusIn(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onFocusIn", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onFocusOut(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onFocusOut", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onRightBtnPress(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onRightBtnPress", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRightBtnPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onRightBtnRelease(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onRightBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onRightBtnRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onRightBtnRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onLeftBtnPress(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onLeftBtnPress", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onLeftBtnRelease(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onLeftBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onMiddleBtnPress(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onMiddleBtnPress", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onMiddleBtnRelease(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onMiddleBtnRelease", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onMotion(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onMotion", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onSelected(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onSelected", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSelected", 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 *","onSelected", 4, argv[2] )); } result = (long)(arg1)->onSelected(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onDeselected(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onDeselected", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onDeselected", 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 *","onDeselected", 4, argv[2] )); } result = (long)(arg1)->onDeselected(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdClose(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdClose", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdClose", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdClose(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdClose(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdClose", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdClose", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdClose(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdRestore(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdRestore", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdRestore", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdRestore(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdRestore(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdRestore", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdRestore", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdRestore(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdMaximize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdMaximize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMaximize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMaximize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdMinimize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdMinimize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMinimize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMinimize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdMaximize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdMaximize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMaximize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdMaximize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdMinimize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdMinimize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMinimize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdMinimize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdWindow(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdWindow", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdWindow", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdWindow(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdMenuRestore(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdMenuRestore", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuRestore", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuRestore(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdMenuMinimize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdMenuMinimize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuMinimize", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuMinimize(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdMenuClose(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdMenuClose", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuClose", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuClose(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onUpdMenuWindow(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onUpdMenuWindow", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMenuWindow", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMenuWindow(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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_FXMDIChild_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = 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]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdSetIconValue(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdSetIconValue", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIconValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdSetIconValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_onCmdGetIconValue(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","onCmdGetIconValue", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIconValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = FXString(StringValuePtr(argv[2])); arg4 = (void *) &value4; } result = (long)(arg1)->onCmdGetIconValue(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_FXMDIChild_allocate(VALUE self) #else _wrap_FXMDIChild_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMDIChild); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMDIChild(int argc, VALUE *argv, VALUE self) { FXMDIClient *arg1 = (FXMDIClient *) 0 ; FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXPopup *arg4 = (FXPopup *) 0 ; FXuint arg5 = (FXuint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; void *argp4 = 0 ; int res4 = 0 ; FXMDIChild *result = 0 ; if ((argc < 2) || (argc > 9)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXMDIClient, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIClient *","FXMDIChild", 1, argv[0] )); } arg1 = reinterpret_cast< FXMDIClient * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","FXMDIChild", 3, argv[2] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } if (argc > 3) { res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXPopup, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXPopup *","FXMDIChild", 4, argv[3] )); } arg4 = reinterpret_cast< FXPopup * >(argp4); } 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]); } { result = (FXMDIChild *)new_FXMDIChild(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setNormalX(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setNormalX", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNormalX(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setNormalY(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setNormalY", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNormalY(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setNormalWidth(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setNormalWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNormalWidth(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setNormalHeight(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setNormalHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNormalHeight(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getNormalX(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getNormalX", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getNormalX(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getNormalY(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getNormalY", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getNormalY(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getNormalWidth(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getNormalWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getNormalWidth(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getNormalHeight(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getNormalHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getNormalHeight(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setIconX(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setIconX", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIconX(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setIconY(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setIconY", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIconY(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setIconWidth(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setIconWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIconWidth(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setIconHeight(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setIconHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setIconHeight(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getIconX(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getIconX", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getIconX(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getIconY(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getIconY", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getIconY(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getIconWidth(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getIconWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getIconWidth(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getIconHeight(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getIconHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)((FXMDIChild const *)arg1)->getIconHeight(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_contentWindow(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXWindow *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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","contentWindow", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXWindow *)((FXMDIChild const *)arg1)->contentWindow(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXWindow, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setTitle(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setTitle", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setTitle((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getTitle(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getTitle", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = ((FXMDIChild const *)arg1)->getTitle(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getHiliteColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXColor)((FXMDIChild const *)arg1)->getHiliteColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getShadowColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getShadowColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXColor)((FXMDIChild const *)arg1)->getShadowColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getBaseColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getBaseColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXColor)((FXMDIChild const *)arg1)->getBaseColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getBorderColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getBorderColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXColor)((FXMDIChild const *)arg1)->getBorderColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getTitleColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getTitleColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXColor)((FXMDIChild const *)arg1)->getTitleColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getTitleBackColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getTitleBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXColor)((FXMDIChild const *)arg1)->getTitleBackColor(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setHiliteColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setHiliteColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setHiliteColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setShadowColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setShadowColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setShadowColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setBaseColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setBaseColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setBaseColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setBorderColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setBorderColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setBorderColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setTitleColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setTitleColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTitleColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setTitleBackColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setTitleBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setTitleBackColor(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_isMaximized(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","isMaximized", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXbool)((FXMDIChild const *)arg1)->isMaximized(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_isMinimized(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","isMinimized", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXbool)((FXMDIChild const *)arg1)->isMinimized(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getIcon(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getIcon", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXIcon *)((FXMDIChild 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_FXMDIChild_setIcon(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setIcon", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); (arg1)->setIcon(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getMenu(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXPopup *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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getMenu", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXPopup *)((FXMDIChild const *)arg1)->getMenu(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXPopup, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setMenu(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXPopup *arg2 = (FXPopup *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setMenu", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXPopup, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXPopup *","setMenu", 2, argv[0] )); } arg2 = reinterpret_cast< FXPopup * >(argp2); (arg1)->setMenu(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setTracking(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setTracking", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } (arg1)->setTracking(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getTracking(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getTracking", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXbool)((FXMDIChild const *)arg1)->getTracking(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setFont(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setFont", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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_FXMDIChild_getFont(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","getFont", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXFont *)((FXMDIChild 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_FXMDIChild_save(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","save", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_save((FXMDIChild const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_load(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","load", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_create(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","create", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_detach(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","detach", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_destroy(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_resize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","resize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIChild_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)FXMDIChild_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (FXint)FXMDIChild_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIChild_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMDIChild_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_canFocus(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (bool)FXMDIChild_canFocus((FXMDIChild const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setFocus(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_killFocus(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_changeFocus(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setDefault(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMDIChild_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_enable(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","enable", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_disable(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","disable", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","raise", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_lower(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","lower", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_move(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","move", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMDIChild_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_position(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","position", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMDIChild_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_layout(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","layout", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_recalc(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_reparent(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_show(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","show", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_hide(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","hide", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_isComposite(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (bool)FXMDIChild_isComposite((FXMDIChild const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_contains(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMDIChild_contains((FXMDIChild const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); result = (bool)FXMDIChild_doesSaveUnder((FXMDIChild const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setBackColor(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = to_FXColor(argv[0]); FXMDIChild_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_tr(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMDIChild_tr((FXMDIChild const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_dropEnable(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_dropDisable(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(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); FXMDIChild_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_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_FXMDIChild, 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_FXMDIChild_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIChild, 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_FXMDIChild_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMDIChild, 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_FXMDIChild_setShape__SWIG_2(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "setShape", " void setShape(FXRegion const ®ion)\n" " void setShape(FXBitmap *bitmap)\n" " void setShape(FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_clearShape(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); FXMDIChild_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_minimize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","minimize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMDIChild_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_maximize(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","maximize", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMDIChild_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_restore(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","restore", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMDIChild_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMDIChild_close(int argc, VALUE *argv, VALUE self) { FXMDIChild *arg1 = (FXMDIChild *) 0 ; FXbool arg2 = (FXbool) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXbool result; VALUE vresult = Qnil; 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_FXMDIChild, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMDIChild *","close", 1, self )); } arg1 = reinterpret_cast< FXMDIChild * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMDIChild_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ static void *_p_FXMDIMenuTo_p_FXMenuPane(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXScrollPaneTo_p_FXMenuPane(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXDriveBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXMDIClientTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXMDIClient *) x)); } static void *_p_FXMenuPaneTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXToolBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXMenuBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXDockBar *)(FXToolBar *) ((FXMenuBar *) x)); } static void *_p_FXToolTipTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXToolTip *) x)); } static void *_p_FXTabBookTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXGroupBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXShell *) x)); } static void *_p_FXStatusBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXScrollAreaTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXPopupTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXPopup *) x)); } static void *_p_FXScrollWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXRootWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXRootWindow *) 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_FXComboBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXComboBox *) x)); } static void *_p_FXHorizontalFrameTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXVerticalFrameTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXMDIChildTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXMDIChild *) x)); } static void *_p_FX4SplitterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSplitterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXSplitter *) x)); } static void *_p_FXRealSpinnerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSpinner *) x)); } static void *_p_FXPackerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXPacker *) x)); } static void *_p_FXDirBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXSwitcherTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXDirSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXShutterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXDockSiteTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDockSite *) x)); } static void *_p_FXRulerViewTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXTreeListBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXListBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXListBox *) x)); } static void *_p_FXMatrixTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXMatrix *) x)); } static void *_p_FXShutterItemTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXDockBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDockBar *) x)); } static void *_p_FXTabBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXTabBar *) x)); } static void *_p_FXImageViewTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXSpringTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSpring *) x)); } static void *_p_FXScrollPaneTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXPopup *)(FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXToolBarShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXMDIMenuTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXPopup *)(FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXMenuButton(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXMenuButton *) ((FXMDIWindowButton *) x)); } static void *_p_FXPopupTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXPopup *) x)); } static void *_p_FXTopWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXTopWindow *) x)); } static void *_p_FXMainWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXSplashWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXToolTipTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXToolTip *) x)); } static void *_p_FXMenuPaneTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXToolBarShellTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXMDIMenuTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXPopup *)(FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXScrollPaneTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXPopup *)(FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXMenuPaneTo_p_FXPopup(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXMDIMenuTo_p_FXPopup(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPopup *) (FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXScrollPaneTo_p_FXPopup(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXPopup *) (FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXGradientBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXShutterItemTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXColorBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorBar *) x)); } static void *_p_FXMenuCheckTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXMenuCaption *)(FXMenuCommand *) ((FXMenuCheck *) x)); } static void *_p_FXMDIChildTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXMDIChild *) x)); } static void *_p_FXTabBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXSwitcherTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTextFieldTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTabTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDriveBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXMDIMenuTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXMatrixTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXScrollCornerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXArrowButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXCheckButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXCheckButton *) x)); } static void *_p_FXMenuButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXMenuButton *) x)); } static void *_p_FXRadioButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXRadioButton *) x)); } static void *_p_FXToggleButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXToggleButton *) x)); } static void *_p_FXTriStateButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXToggleButton *) ((FXTriStateButton *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMinimizeButton *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXMenuButton *) ((FXMDIWindowButton *) x)); } static void *_p_FXPopupTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXPickerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *)(FXButton *) ((FXPicker *) x)); } static void *_p_FXMenuPaneTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXHeaderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXHeader *) x)); } static void *_p_FXSplitterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXSplitter *) x)); } static void *_p_FX4SplitterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSpringTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXPackerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXPacker *) x)); } static void *_p_FXTabBookTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXImageFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXSeparator *) x)); } static void *_p_FXMenuSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXMenuSeparator *) x)); } static void *_p_FXProgressBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXShutterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXMDIClientTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXMDIClient *) x)); } static void *_p_FXToolTipTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXCompositeTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXComposite *) x)); } static void *_p_FXBitmapFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXRealSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXSlider *) x)); } static void *_p_FXDockSiteTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXGroupBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXMenuCascadeTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXMenuCaption *) ((FXMenuCascade *) x)); } static void *_p_FXColorRingTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorRing *) x)); } static void *_p_FXDockHandlerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXTreeListBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXListBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXCanvasTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXCanvas *) x)); } static void *_p_FXColorWheelTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXButton *) x)); } static void *_p_FXToolBarGripTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXScrollBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXComboBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXTabItemTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXTabItem *) x)); } static void *_p_FXFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXFrame *) x)); } static void *_p_FX7SegmentTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FX7Segment *) x)); } static void *_p_FXDockTitleTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXStatusBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXKnobTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXKnob *) x)); } static void *_p_FXMenuCommandTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXMenuCaption *) ((FXMenuCommand *) x)); } static void *_p_FXRulerViewTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXRealSpinnerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXMenuCaptionTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXMenuCaption *) x)); } static void *_p_FXStatusLineTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXStatusLine *) 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_FXScrollWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXMenuTitleTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXMenuCaption *) ((FXMenuTitle *) x)); } static void *_p_FXMenuBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXDockBar *)(FXToolBar *) ((FXMenuBar *) x)); } static void *_p_FXDockBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXMenuRadioTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXMenuCaption *)(FXMenuCommand *) ((FXMenuRadio *) x)); } static void *_p_FXLabelTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXLabel *) x)); } static void *_p_FXShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXShell *) x)); } static void *_p_FXOptionTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXOption *) x)); } static void *_p_FXOptionMenuTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXLabel *) ((FXOptionMenu *) x)); } static void *_p_FXScrollAreaTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXColorWellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDragCornerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXRulerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXRuler *) x)); } static void *_p_FXDialTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXDial *) x)); } static void *_p_FXVerticalFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXHorizontalFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXImageViewTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXFontSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXDirSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXToolBarShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXToolBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXScrollPaneTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXDirBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDocumentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDocument *) x)); } static void *_p_FXGradientBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXRegistryTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x)); } static void *_p_FXHeaderItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXHeaderItem *) x)); } static void *_p_FXShutterItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXColorBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXMenuCheckTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXMenuCaption *)(FXMenuCommand *) ((FXMenuCheck *) x)); } static void *_p_FXMDIChildTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXMDIChild *) x)); } static void *_p_FXTabBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXSwitcherTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTextFieldTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTabTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDriveBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXIconDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXIconDict *) x)); } static void *_p_FXMDIMenuTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXMatrixTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXFileDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXFileDict *) x)); } static void *_p_FXRecentFilesTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXRecentFiles *) x)); } static void *_p_FXScrollCornerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXArrowButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXCheckButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXCheckButton *) x)); } static void *_p_FXMenuButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXMenuButton *) x)); } static void *_p_FXRadioButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXRadioButton *) x)); } static void *_p_FXToggleButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXToggleButton *) x)); } static void *_p_FXTriStateButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXToggleButton *) ((FXTriStateButton *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMinimizeButton *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXMenuButton *) ((FXMDIWindowButton *) 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_FXPickerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXPicker *) x)); } static void *_p_FXDrawableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXDrawable *) x)); } static void *_p_FXMenuPaneTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXAppTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXApp *) x)); } static void *_p_FXHeaderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXTranslatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXTranslator *) x)); } static void *_p_FX4SplitterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSplitterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FXSpringTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXPackerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXTabBookTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXImageFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) 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_FXHorizontalSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXMenuSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXMenuSeparator *) x)); } static void *_p_FXIdTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXId *) x)); } static void *_p_FXProgressBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXShutterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXMDIClientTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXMDIClient *) x)); } static void *_p_FXToolTipTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXCompositeTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXComposite *) x)); } static void *_p_FXBitmapFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXRealSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXSettingsTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXSettings *) x)); } static void *_p_FXDockSiteTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXGroupBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXMenuCascadeTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXMenuCaption *) ((FXMenuCascade *) x)); } static void *_p_FXColorRingTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXDebugTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDebugTarget *) x)); } static void *_p_FXDataTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDataTarget *) x)); } static void *_p_FXDockHandlerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXCanvasTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXCanvas *) x)); } static void *_p_FXListBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXTreeListBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXColorWheelTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXButton *) x)); } static void *_p_FXVisualTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXVisual *) x)); } static void *_p_FXScrollBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXToolBarGripTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXFontTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXFont *) x)); } static void *_p_FXComboBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXTabItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXTabItem *) x)); } static void *_p_FXFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x)); } static void *_p_FX7SegmentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXDockTitleTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXStringDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXStringDict *) x)); } static void *_p_FXStatusBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXDelegatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDelegator *) x)); } static void *_p_FXAccelTableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXAccelTable *) x)); } static void *_p_FXCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXCursor *) x)); } static void *_p_FXCURCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXCURCursor *) x)); } static void *_p_FXGIFCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXGIFCursor *) x)); } static void *_p_FXKnobTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXMenuCommandTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXMenuCaption *) ((FXMenuCommand *) x)); } static void *_p_FXRealSpinnerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXRulerViewTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXStatusLineTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXScrollWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXWindow *) x)); } static void *_p_FXRootWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) 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_FXMainWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) 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_FXMenuCaptionTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXMenuCaption *) x)); } static void *_p_FXMenuTitleTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXMenuCaption *) ((FXMenuTitle *) x)); } static void *_p_FXMenuBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *)(FXToolBar *) ((FXMenuBar *) x)); } static void *_p_FXDockBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXMenuRadioTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXMenuCaption *)(FXMenuCommand *) ((FXMenuRadio *) x)); } static void *_p_FXLabelTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXLabel *) x)); } static void *_p_FXDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDict *) x)); } static void *_p_FXShellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXOptionTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXOption *) x)); } static void *_p_FXOptionMenuTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXOptionMenu *) x)); } static void *_p_FXScrollAreaTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXColorWellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDragCornerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXRulerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXDialTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXVerticalFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXHorizontalFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXImageViewTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXDirSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFontSelectorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXToolBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarShellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXDirBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXScrollPaneTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXPickerTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXButton *) ((FXPicker *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXButton *) ((FXMDIMinimizeButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXTriStateButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXToggleButton *) ((FXTriStateButton *) x)); } static void *_p_FXToggleButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXToggleButton *) x)); } static void *_p_FXRadioButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXRadioButton *) x)); } static void *_p_FXMenuButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXMenuButton *) x)); } static void *_p_FXCheckButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXCheckButton *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) (FXMenuButton *) ((FXMDIWindowButton *) x)); } static void *_p_FXButtonTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXButton *) x)); } static void *_p_FXTabItemTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXTabItem *) x)); } static void *_p_FXOptionTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXOption *) x)); } static void *_p_FXOptionMenuTo_p_FXLabel(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXLabel *) ((FXOptionMenu *) x)); } static void *_p_FXGradientBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXShutterItemTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXColorBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXMenuCheckTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXMenuCaption *)(FXMenuCommand *) ((FXMenuCheck *) x)); } static void *_p_FXMDIChildTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXMDIChild *) x)); } static void *_p_FXTabBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXSwitcherTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTextFieldTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTabTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDriveBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXMDIMenuTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXMatrixTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXScrollCornerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXArrowButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXCheckButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXCheckButton *) x)); } static void *_p_FXMenuButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXMenuButton *) x)); } static void *_p_FXRadioButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXRadioButton *) x)); } static void *_p_FXToggleButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXToggleButton *) x)); } static void *_p_FXTriStateButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXToggleButton *) ((FXTriStateButton *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMinimizeButton *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXMenuButton *) ((FXMDIWindowButton *) x)); } static void *_p_FXPopupTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXPickerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXPicker *) x)); } static void *_p_FXMenuPaneTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXHeaderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXSplitterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FX4SplitterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSpringTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXPackerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXTabBookTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXImageFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXMenuSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXMenuSeparator *) x)); } static void *_p_FXProgressBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXShutterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXMDIClientTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXMDIClient *) x)); } static void *_p_FXToolTipTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXCompositeTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x)); } static void *_p_FXBitmapFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXRealSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXDockSiteTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXGroupBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXMenuCascadeTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXMenuCaption *) ((FXMenuCascade *) x)); } static void *_p_FXColorRingTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXDockHandlerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXTreeListBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXListBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXCanvasTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXCanvas *) x)); } static void *_p_FXColorWheelTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXButton *) x)); } static void *_p_FXToolBarGripTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXScrollBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXComboBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXTabItemTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXTabItem *) x)); } static void *_p_FXFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x)); } static void *_p_FX7SegmentTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXDockTitleTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXStatusBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXKnobTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXMenuCommandTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXMenuCaption *) ((FXMenuCommand *) x)); } static void *_p_FXRulerViewTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXRealSpinnerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXStatusLineTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXStatusLine *) 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_FXScrollWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXMenuCaptionTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXMenuCaption *) x)); } static void *_p_FXMenuTitleTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXMenuCaption *) ((FXMenuTitle *) x)); } static void *_p_FXMenuBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *)(FXToolBar *) ((FXMenuBar *) x)); } static void *_p_FXDockBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXMenuRadioTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXMenuCaption *)(FXMenuCommand *) ((FXMenuRadio *) x)); } static void *_p_FXLabelTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXLabel *) x)); } static void *_p_FXShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXOptionTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXOption *) x)); } static void *_p_FXOptionMenuTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXLabel *) ((FXOptionMenu *) x)); } static void *_p_FXScrollAreaTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXColorWellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDragCornerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXRulerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXDialTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXVerticalFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXHorizontalFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXImageViewTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXFontSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXDirSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXToolBarShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXToolBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXScrollPaneTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXDirBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) 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_FXGradientBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXShutterItemTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXColorBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXMenuCheckTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXMenuCaption *)(FXMenuCommand *) ((FXMenuCheck *) x)); } static void *_p_FXMDIChildTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXMDIChild *) x)); } static void *_p_FXTabBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXSwitcherTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTextFieldTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTabTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXDriveBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXMDIMenuTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXMDIMenu *) x)); } static void *_p_FXMatrixTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXScrollCornerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXArrowButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXCheckButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXCheckButton *) x)); } static void *_p_FXMenuButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXMenuButton *) x)); } static void *_p_FXRadioButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXRadioButton *) x)); } static void *_p_FXToggleButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXToggleButton *) x)); } static void *_p_FXTriStateButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXToggleButton *) ((FXTriStateButton *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXMDIMinimizeButton *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXMenuButton *) ((FXMDIWindowButton *) x)); } static void *_p_FXPopupTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXPickerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *)(FXButton *) ((FXPicker *) x)); } static void *_p_FXDrawableTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXDrawable *) x)); } static void *_p_FXMenuPaneTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXPopup *) ((FXMenuPane *) x)); } static void *_p_FXHeaderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXSplitterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FX4SplitterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXSpringTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXPackerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXTabBookTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXImageFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) 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_FXMenuSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXMenuSeparator *) x)); } static void *_p_FXProgressBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXShutterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXMDIClientTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXMDIClient *) x)); } static void *_p_FXToolTipTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXCompositeTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXComposite *) x)); } static void *_p_FXBitmapFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) 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_FXDockSiteTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXGroupBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXMenuCascadeTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXMenuCaption *) ((FXMenuCascade *) x)); } static void *_p_FXColorRingTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXDockHandlerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXTreeListBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXListBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXCanvasTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXCanvas *) x)); } static void *_p_FXColorWheelTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXButton *) x)); } static void *_p_FXVisualTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXVisual *) x)); } static void *_p_FXScrollBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXToolBarGripTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXFontTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXFont *) x)); } static void *_p_FXComboBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXTabItemTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXTabItem *) x)); } static void *_p_FXFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXFrame *) x)); } static void *_p_FX7SegmentTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXDockTitleTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXStatusBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXGIFCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXCursor *) ((FXGIFCursor *) x)); } static void *_p_FXCURCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXCursor *) ((FXCURCursor *) x)); } static void *_p_FXCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXCursor *) x)); } static void *_p_FXKnobTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXMenuCommandTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXMenuCaption *) ((FXMenuCommand *) x)); } static void *_p_FXRealSpinnerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXSpinnerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXRulerViewTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXStatusLineTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) 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_FXTopWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXRootWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *) ((FXWindow *) 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_FXScrollWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXMenuCaptionTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXMenuCaption *) x)); } static void *_p_FXMenuTitleTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXMenuCaption *) ((FXMenuTitle *) x)); } static void *_p_FXMenuBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *)(FXToolBar *) ((FXMenuBar *) x)); } static void *_p_FXDockBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXMenuRadioTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXMenuCaption *)(FXMenuCommand *) ((FXMenuRadio *) x)); } static void *_p_FXLabelTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXLabel *) x)); } static void *_p_FXShellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXOptionTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXOption *) x)); } static void *_p_FXOptionMenuTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXLabel *) ((FXOptionMenu *) x)); } static void *_p_FXScrollAreaTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXColorWellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDragCornerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXRulerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXDialTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXHorizontalFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXVerticalFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXImageViewTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXFontSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXColorSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXFileSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXDirSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXToolBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarShellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXDirBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXScrollPaneTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXPopup *)(FXMenuPane *) ((FXScrollPane *) x)); } static void *_p_FXOptionTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXOption *) x)); } static void *_p_FXTextFieldTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXTextField *) x)); } static void *_p_FXToggleButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXToggleButton *) x)); } static void *_p_FXRadioButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXRadioButton *) x)); } static void *_p_FXMenuButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXMenuButton *) x)); } static void *_p_FXCheckButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXCheckButton *) x)); } static void *_p_FXArrowButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXTriStateButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXToggleButton *) ((FXTriStateButton *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXButton *) ((FXMDIMinimizeButton *) x)); } static void *_p_FXMDIWindowButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXMenuButton *) ((FXMDIWindowButton *) x)); } static void *_p_FXRulerTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXRuler *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXSeparator *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXStatusLineTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXTabItemTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXTabItem *) x)); } static void *_p_FXKnobTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXKnob *) x)); } static void *_p_FXGradientBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXColorWheelTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXBitmapFrameTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXToolBarGripTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXDockHandlerTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXImageFrameTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXLabelTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXLabel *) x)); } static void *_p_FXPickerTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *)(FXButton *) ((FXPicker *) x)); } static void *_p_FXOptionMenuTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXOptionMenu *) x)); } static void *_p_FXProgressBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXDockTitleTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXHeaderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXHeader *) x)); } static void *_p_FXColorWellTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorWell *) x)); } static void *_p_FXDialTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXDial *) x)); } static void *_p_FXToolBarTabTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FX7SegmentTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FX7Segment *) x)); } static void *_p_FXRealSliderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXSliderTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXSlider *) x)); } static void *_p_FXButtonTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) (FXLabel *) ((FXButton *) x)); } static void *_p_FXColorBarTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorBar *) x)); } static void *_p_FXColorRingTo_p_FXFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXFrame *) ((FXColorRing *) x)); } static void *_p_FXPickerTo_p_FXButton(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXButton *) ((FXPicker *) x)); } static void *_p_FXMDIDeleteButtonTo_p_FXButton(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXButton *) ((FXMDIDeleteButton *) x)); } static void *_p_FXMDIRestoreButtonTo_p_FXButton(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXButton *) ((FXMDIRestoreButton *) x)); } static void *_p_FXMDIMaximizeButtonTo_p_FXButton(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXButton *) ((FXMDIMaximizeButton *) x)); } static void *_p_FXMDIMinimizeButtonTo_p_FXButton(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXButton *) ((FXMDIMinimizeButton *) x)); } static swig_type_info _swigt__p_FXBitmap = {"_p_FXBitmap", "FXBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXButton = {"_p_FXButton", "FXButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXPicker = {"_p_FXPicker", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXComposite = {"_p_FXComposite", "FXComposite *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDriveBox = {"_p_FXDriveBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuBar = {"_p_FXMenuBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToolBar = {"_p_FXToolBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToolTip = {"_p_FXToolTip", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTabBook = {"_p_FXTabBook", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXGroupBox = {"_p_FXGroupBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXStatusBar = {"_p_FXStatusBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXScrollArea = {"_p_FXScrollArea", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXScrollWindow = {"_p_FXScrollWindow", 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_FXSplashWindow = {"_p_FXSplashWindow", 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_FXTopWindow = {"_p_FXTopWindow", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXComboBox = {"_p_FXComboBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHorizontalFrame = {"_p_FXHorizontalFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXVerticalFrame = {"_p_FXVerticalFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FX4Splitter = {"_p_FX4Splitter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSplitter = {"_p_FXSplitter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRealSpinner = {"_p_FXRealSpinner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSpinner = {"_p_FXSpinner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXPacker = {"_p_FXPacker", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDirBox = {"_p_FXDirBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSwitcher = {"_p_FXSwitcher", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorSelector = {"_p_FXColorSelector", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXFontSelector = {"_p_FXFontSelector", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXFileSelector = {"_p_FXFileSelector", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDirSelector = {"_p_FXDirSelector", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXShutter = {"_p_FXShutter", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDockSite = {"_p_FXDockSite", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRulerView = {"_p_FXRulerView", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTreeListBox = {"_p_FXTreeListBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXListBox = {"_p_FXListBox", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMatrix = {"_p_FXMatrix", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXShutterItem = {"_p_FXShutterItem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDockBar = {"_p_FXDockBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTabBar = {"_p_FXTabBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXImageView = {"_p_FXImageView", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSpring = {"_p_FXSpring", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXScrollPane = {"_p_FXScrollPane", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToolBarShell = {"_p_FXToolBarShell", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDrawable = {"_p_FXDrawable", "FXDrawable *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXGradientBar = {"_p_FXGradientBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorBar = {"_p_FXColorBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuCheck = {"_p_FXMenuCheck", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTextField = {"_p_FXTextField", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToolBarTab = {"_p_FXToolBarTab", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXScrollCorner = {"_p_FXScrollCorner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXArrowButton = {"_p_FXArrowButton", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXCheckButton = {"_p_FXCheckButton", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRadioButton = {"_p_FXRadioButton", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToggleButton = {"_p_FXToggleButton", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTriStateButton = {"_p_FXTriStateButton", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHeader = {"_p_FXHeader", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXImageFrame = {"_p_FXImageFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXVerticalSeparator = {"_p_FXVerticalSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXHorizontalSeparator = {"_p_FXHorizontalSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSeparator = {"_p_FXSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuSeparator = {"_p_FXMenuSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXKnob = {"_p_FXKnob", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXProgressBar = {"_p_FXProgressBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXBitmapFrame = {"_p_FXBitmapFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXSlider = {"_p_FXSlider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRealSlider = {"_p_FXRealSlider", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuCascade = {"_p_FXMenuCascade", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorRing = {"_p_FXColorRing", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDockHandler = {"_p_FXDockHandler", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXCanvas = {"_p_FXCanvas", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorWheel = {"_p_FXColorWheel", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDial = {"_p_FXDial", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXToolBarGrip = {"_p_FXToolBarGrip", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXScrollBar = {"_p_FXScrollBar", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXTabItem = {"_p_FXTabItem", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDockTitle = {"_p_FXDockTitle", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FX7Segment = {"_p_FX7Segment", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuCommand = {"_p_FXMenuCommand", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXStatusLine = {"_p_FXStatusLine", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuCaption = {"_p_FXMenuCaption", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuTitle = {"_p_FXMenuTitle", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXMenuRadio = {"_p_FXMenuRadio", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXOption = {"_p_FXOption", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXOptionMenu = {"_p_FXOptionMenu", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXColorWell = {"_p_FXColorWell", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDragCorner = {"_p_FXDragCorner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRuler = {"_p_FXRuler", 0, 0, 0, 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_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_FXVisual = {"_p_FXVisual", 0, 0, 0, 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_FXLabel = {"_p_FXLabel", "FXLabel *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIChild = {"_p_FXMDIChild", "FXMDIChild *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIClient = {"_p_FXMDIClient", "FXMDIClient *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIDeleteButton = {"_p_FXMDIDeleteButton", "FXMDIDeleteButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIMaximizeButton = {"_p_FXMDIMaximizeButton", "FXMDIMaximizeButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIMenu = {"_p_FXMDIMenu", "FXMDIMenu *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIMinimizeButton = {"_p_FXMDIMinimizeButton", "FXMDIMinimizeButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIRestoreButton = {"_p_FXMDIRestoreButton", "FXMDIRestoreButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMDIWindowButton = {"_p_FXMDIWindowButton", "FXMDIWindowButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMenuButton = {"_p_FXMenuButton", "FXMenuButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMenuPane = {"_p_FXMenuPane", "FXMenuPane *", 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_FXDocument = {"_p_FXDocument", 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_FXHeaderItem = {"_p_FXHeaderItem", 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_FXFileDict = {"_p_FXFileDict", 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_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_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_FXDataTarget = {"_p_FXDataTarget", 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_FXStringDict = {"_p_FXStringDict", 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_FXAccelTable = {"_p_FXAccelTable", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXPopup = {"_p_FXPopup", "FXPopup *", 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_FXShell = {"_p_FXShell", "FXShell *", 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_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_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_FX4Splitter, &_swigt__p_FX7Segment, &_swigt__p_FXAccelTable, &_swigt__p_FXApp, &_swigt__p_FXArrowButton, &_swigt__p_FXBitmap, &_swigt__p_FXBitmapFrame, &_swigt__p_FXButton, &_swigt__p_FXCURCursor, &_swigt__p_FXCanvas, &_swigt__p_FXCheckButton, &_swigt__p_FXColorBar, &_swigt__p_FXColorRing, &_swigt__p_FXColorSelector, &_swigt__p_FXColorWell, &_swigt__p_FXColorWheel, &_swigt__p_FXComboBox, &_swigt__p_FXComposite, &_swigt__p_FXCursor, &_swigt__p_FXDataTarget, &_swigt__p_FXDebugTarget, &_swigt__p_FXDelegator, &_swigt__p_FXDial, &_swigt__p_FXDict, &_swigt__p_FXDirBox, &_swigt__p_FXDirSelector, &_swigt__p_FXDockBar, &_swigt__p_FXDockHandler, &_swigt__p_FXDockSite, &_swigt__p_FXDockTitle, &_swigt__p_FXDocument, &_swigt__p_FXDragCorner, &_swigt__p_FXDrawable, &_swigt__p_FXDriveBox, &_swigt__p_FXFileDict, &_swigt__p_FXFileSelector, &_swigt__p_FXFileStream, &_swigt__p_FXFont, &_swigt__p_FXFontSelector, &_swigt__p_FXFrame, &_swigt__p_FXGIFCursor, &_swigt__p_FXGradientBar, &_swigt__p_FXGroupBox, &_swigt__p_FXHeader, &_swigt__p_FXHeaderItem, &_swigt__p_FXHorizontalFrame, &_swigt__p_FXHorizontalSeparator, &_swigt__p_FXIcon, &_swigt__p_FXIconDict, &_swigt__p_FXId, &_swigt__p_FXImageFrame, &_swigt__p_FXImageView, &_swigt__p_FXKnob, &_swigt__p_FXLabel, &_swigt__p_FXListBox, &_swigt__p_FXMDIChild, &_swigt__p_FXMDIClient, &_swigt__p_FXMDIDeleteButton, &_swigt__p_FXMDIMaximizeButton, &_swigt__p_FXMDIMenu, &_swigt__p_FXMDIMinimizeButton, &_swigt__p_FXMDIRestoreButton, &_swigt__p_FXMDIWindowButton, &_swigt__p_FXMainWindow, &_swigt__p_FXMatrix, &_swigt__p_FXMemoryStream, &_swigt__p_FXMenuBar, &_swigt__p_FXMenuButton, &_swigt__p_FXMenuCaption, &_swigt__p_FXMenuCascade, &_swigt__p_FXMenuCheck, &_swigt__p_FXMenuCommand, &_swigt__p_FXMenuPane, &_swigt__p_FXMenuRadio, &_swigt__p_FXMenuSeparator, &_swigt__p_FXMenuTitle, &_swigt__p_FXObject, &_swigt__p_FXOption, &_swigt__p_FXOptionMenu, &_swigt__p_FXPacker, &_swigt__p_FXPicker, &_swigt__p_FXPopup, &_swigt__p_FXProgressBar, &_swigt__p_FXRadioButton, &_swigt__p_FXRealSlider, &_swigt__p_FXRealSpinner, &_swigt__p_FXRecentFiles, &_swigt__p_FXRegion, &_swigt__p_FXRegistry, &_swigt__p_FXRootWindow, &_swigt__p_FXRuler, &_swigt__p_FXRulerView, &_swigt__p_FXScrollArea, &_swigt__p_FXScrollBar, &_swigt__p_FXScrollCorner, &_swigt__p_FXScrollPane, &_swigt__p_FXScrollWindow, &_swigt__p_FXSeparator, &_swigt__p_FXSettings, &_swigt__p_FXShell, &_swigt__p_FXShutter, &_swigt__p_FXShutterItem, &_swigt__p_FXSlider, &_swigt__p_FXSpinner, &_swigt__p_FXSplashWindow, &_swigt__p_FXSplitter, &_swigt__p_FXSpring, &_swigt__p_FXStatusBar, &_swigt__p_FXStatusLine, &_swigt__p_FXStream, &_swigt__p_FXStringDict, &_swigt__p_FXSwitcher, &_swigt__p_FXTabBar, &_swigt__p_FXTabBook, &_swigt__p_FXTabItem, &_swigt__p_FXTextField, &_swigt__p_FXToggleButton, &_swigt__p_FXToolBar, &_swigt__p_FXToolBarGrip, &_swigt__p_FXToolBarShell, &_swigt__p_FXToolBarTab, &_swigt__p_FXToolTip, &_swigt__p_FXTopWindow, &_swigt__p_FXTranslator, &_swigt__p_FXTreeListBox, &_swigt__p_FXTriStateButton, &_swigt__p_FXVerticalFrame, &_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_short, &_swigt__p_unsigned_char, &_swigt__p_unsigned_int, &_swigt__p_unsigned_long, &_swigt__p_unsigned_short, }; static swig_cast_info _swigc__p_FXBitmap[] = { {&_swigt__p_FXBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPicker[] = {{&_swigt__p_FXPicker, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXButton[] = { {&_swigt__p_FXButton, 0, 0, 0}, {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXButton, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXButton, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXButton, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXButton, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXButton, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDriveBox[] = {{&_swigt__p_FXDriveBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuBar[] = {{&_swigt__p_FXMenuBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBar[] = {{&_swigt__p_FXToolBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolTip[] = {{&_swigt__p_FXToolTip, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTabBook[] = {{&_swigt__p_FXTabBook, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXGroupBox[] = {{&_swigt__p_FXGroupBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXStatusBar[] = {{&_swigt__p_FXStatusBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollArea[] = {{&_swigt__p_FXScrollArea, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollWindow[] = {{&_swigt__p_FXScrollWindow, 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_FXSplashWindow[] = {{&_swigt__p_FXSplashWindow, 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_FXTopWindow[] = {{&_swigt__p_FXTopWindow, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXComboBox[] = {{&_swigt__p_FXComboBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHorizontalFrame[] = {{&_swigt__p_FXHorizontalFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXVerticalFrame[] = {{&_swigt__p_FXVerticalFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FX4Splitter[] = {{&_swigt__p_FX4Splitter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSplitter[] = {{&_swigt__p_FXSplitter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRealSpinner[] = {{&_swigt__p_FXRealSpinner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSpinner[] = {{&_swigt__p_FXSpinner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPacker[] = {{&_swigt__p_FXPacker, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDirBox[] = {{&_swigt__p_FXDirBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSwitcher[] = {{&_swigt__p_FXSwitcher, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorSelector[] = {{&_swigt__p_FXColorSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFontSelector[] = {{&_swigt__p_FXFontSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFileSelector[] = {{&_swigt__p_FXFileSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDirSelector[] = {{&_swigt__p_FXDirSelector, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXShutter[] = {{&_swigt__p_FXShutter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockSite[] = {{&_swigt__p_FXDockSite, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRulerView[] = {{&_swigt__p_FXRulerView, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTreeListBox[] = {{&_swigt__p_FXTreeListBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXListBox[] = {{&_swigt__p_FXListBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMatrix[] = {{&_swigt__p_FXMatrix, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXShutterItem[] = {{&_swigt__p_FXShutterItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockBar[] = {{&_swigt__p_FXDockBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTabBar[] = {{&_swigt__p_FXTabBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXImageView[] = {{&_swigt__p_FXImageView, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSpring[] = {{&_swigt__p_FXSpring, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollPane[] = {{&_swigt__p_FXScrollPane, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBarShell[] = {{&_swigt__p_FXToolBarShell, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXComposite[] = { {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMDIClient, _p_FXMDIClientTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMenuBar, _p_FXMenuBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXComposite, 0, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXComposite, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXComposite, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXComposite, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMDIChild, _p_FXMDIChildTo_p_FXComposite, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXComposite, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXComposite, 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_FXColorBar[] = {{&_swigt__p_FXColorBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuCheck[] = {{&_swigt__p_FXMenuCheck, 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_FXScrollCorner[] = {{&_swigt__p_FXScrollCorner, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXArrowButton[] = {{&_swigt__p_FXArrowButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXCheckButton[] = {{&_swigt__p_FXCheckButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRadioButton[] = {{&_swigt__p_FXRadioButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToggleButton[] = {{&_swigt__p_FXToggleButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTriStateButton[] = {{&_swigt__p_FXTriStateButton, 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_FXImageFrame[] = {{&_swigt__p_FXImageFrame, 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_FXHorizontalSeparator[] = {{&_swigt__p_FXHorizontalSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSeparator[] = {{&_swigt__p_FXSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuSeparator[] = {{&_swigt__p_FXMenuSeparator, 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_FXProgressBar[] = {{&_swigt__p_FXProgressBar, 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_FXSlider[] = {{&_swigt__p_FXSlider, 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_FXMenuCascade[] = {{&_swigt__p_FXMenuCascade, 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_FXDockHandler[] = {{&_swigt__p_FXDockHandler, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXCanvas[] = {{&_swigt__p_FXCanvas, 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_FXDial[] = {{&_swigt__p_FXDial, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXToolBarGrip[] = {{&_swigt__p_FXToolBarGrip, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXScrollBar[] = {{&_swigt__p_FXScrollBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTabItem[] = {{&_swigt__p_FXTabItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDockTitle[] = {{&_swigt__p_FXDockTitle, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FX7Segment[] = {{&_swigt__p_FX7Segment, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuCommand[] = {{&_swigt__p_FXMenuCommand, 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_FXMenuCaption[] = {{&_swigt__p_FXMenuCaption, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuTitle[] = {{&_swigt__p_FXMenuTitle, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuRadio[] = {{&_swigt__p_FXMenuRadio, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXOption[] = {{&_swigt__p_FXOption, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXOptionMenu[] = {{&_swigt__p_FXOptionMenu, 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_FXDragCorner[] = {{&_swigt__p_FXDragCorner, 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_FXDrawable[] = { {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuCheck, _p_FXMenuCheckTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIChild, _p_FXMDIChildTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXCheckButton, _p_FXCheckButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuButton, _p_FXMenuButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRadioButton, _p_FXRadioButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToggleButton, _p_FXToggleButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTriStateButton, _p_FXTriStateButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDrawable, 0, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuSeparator, _p_FXMenuSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMDIClient, _p_FXMDIClientTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuCascade, _p_FXMenuCascadeTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXButton, _p_FXButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabItem, _p_FXTabItemTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXDrawable, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuCommand, _p_FXMenuCommandTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuBar, _p_FXMenuBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuCaption, _p_FXMenuCaptionTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuTitle, _p_FXMenuTitleTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMenuRadio, _p_FXMenuRadioTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXLabel, _p_FXLabelTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXOption, _p_FXOptionTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXOptionMenu, _p_FXOptionMenuTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_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_FXOption, _p_FXOptionTo_p_FXFrame, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXFrame, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXFrame, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXToggleButton, _p_FXToggleButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXRadioButton, _p_FXRadioButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXMenuButton, _p_FXMenuButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXCheckButton, _p_FXCheckButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXTriStateButton, _p_FXTriStateButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXFrame, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXFrame, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXFrame, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXFrame, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXFrame, 0, 0}, {&_swigt__p_FXTabItem, _p_FXTabItemTo_p_FXFrame, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXFrame, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXFrame, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXFrame, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXFrame, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXFrame, 0, 0}, {&_swigt__p_FXLabel, _p_FXLabelTo_p_FXFrame, 0, 0}, {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXFrame, 0, 0}, {&_swigt__p_FXOptionMenu, _p_FXOptionMenuTo_p_FXFrame, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXFrame, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXFrame, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXFrame, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXFrame, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXFrame, 0, 0}, {&_swigt__p_FXFrame, 0, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXFrame, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXFrame, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXFrame, 0, 0}, {&_swigt__p_FXButton, _p_FXButtonTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXFrame, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXFrame, 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_FXVisual[] = {{&_swigt__p_FXVisual, 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_FXId[] = { {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXId, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXId, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuCheck, _p_FXMenuCheckTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIChild, _p_FXMDIChildTo_p_FXId, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXId, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXId, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXId, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXId, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXId, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXCheckButton, _p_FXCheckButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuButton, _p_FXMenuButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXRadioButton, _p_FXRadioButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXToggleButton, _p_FXToggleButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXTriStateButton, _p_FXTriStateButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXId, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXId, 0, 0}, {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXId, 0, 0}, {&_swigt__p_FXFont, _p_FXFontTo_p_FXId, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXId, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXId, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXId, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXId, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXId, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXId, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuSeparator, _p_FXMenuSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXId, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXId, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXId, 0, 0}, {&_swigt__p_FXMDIClient, _p_FXMDIClientTo_p_FXId, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXId, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXId, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXId, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXId, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXId, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuCascade, _p_FXMenuCascadeTo_p_FXId, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXId, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXId, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXId, 0, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXId, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXId, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXId, 0, 0}, {&_swigt__p_FXButton, _p_FXButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXId, 0, 0}, {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXId, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXTabItem, _p_FXTabItemTo_p_FXId, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXId, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXId, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_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_FXMenuCommand, _p_FXMenuCommandTo_p_FXId, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXId, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXId, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuBar, _p_FXMenuBarTo_p_FXId, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXId, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuCaption, _p_FXMenuCaptionTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuTitle, _p_FXMenuTitleTo_p_FXId, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXId, 0, 0}, {&_swigt__p_FXMenuRadio, _p_FXMenuRadioTo_p_FXId, 0, 0}, {&_swigt__p_FXLabel, _p_FXLabelTo_p_FXId, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXId, 0, 0}, {&_swigt__p_FXOption, _p_FXOptionTo_p_FXId, 0, 0}, {&_swigt__p_FXOptionMenu, _p_FXOptionMenuTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXId, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXId, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXId, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXId, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXId, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXId, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXLabel[] = { {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXLabel, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXTriStateButton, _p_FXTriStateButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXToggleButton, _p_FXToggleButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXRadioButton, _p_FXRadioButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXMenuButton, _p_FXMenuButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXCheckButton, _p_FXCheckButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXLabel, 0, 0, 0}, {&_swigt__p_FXButton, _p_FXButtonTo_p_FXLabel, 0, 0}, {&_swigt__p_FXTabItem, _p_FXTabItemTo_p_FXLabel, 0, 0}, {&_swigt__p_FXOption, _p_FXOptionTo_p_FXLabel, 0, 0}, {&_swigt__p_FXOptionMenu, _p_FXOptionMenuTo_p_FXLabel, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIChild[] = { {&_swigt__p_FXMDIChild, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIClient[] = { {&_swigt__p_FXMDIClient, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIDeleteButton[] = { {&_swigt__p_FXMDIDeleteButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIMaximizeButton[] = { {&_swigt__p_FXMDIMaximizeButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIMenu[] = { {&_swigt__p_FXMDIMenu, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIMinimizeButton[] = { {&_swigt__p_FXMDIMinimizeButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIRestoreButton[] = { {&_swigt__p_FXMDIRestoreButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMDIWindowButton[] = { {&_swigt__p_FXMDIWindowButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuButton[] = { {&_swigt__p_FXMenuButton, 0, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXMenuButton, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMenuPane[] = { {&_swigt__p_FXMenuPane, 0, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXMenuPane, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXMenuPane, 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_FXRegistry[] = {{&_swigt__p_FXRegistry, 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_FXIconDict[] = {{&_swigt__p_FXIconDict, 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_FXRecentFiles[] = {{&_swigt__p_FXRecentFiles, 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_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_FXDataTarget[] = {{&_swigt__p_FXDataTarget, 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_FXStringDict[] = {{&_swigt__p_FXStringDict, 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_FXAccelTable[] = {{&_swigt__p_FXAccelTable, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXObject[] = { {&_swigt__p_FXDocument, _p_FXDocumentTo_p_FXObject, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXRegistry, _p_FXRegistryTo_p_FXObject, 0, 0}, {&_swigt__p_FXHeaderItem, _p_FXHeaderItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuCheck, _p_FXMenuCheckTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIChild, _p_FXMDIChildTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXObject, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXObject, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXIconDict, _p_FXIconDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXObject, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileDict, _p_FXFileDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXRecentFiles, _p_FXRecentFilesTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXObject, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXCheckButton, _p_FXCheckButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuButton, _p_FXMenuButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXRadioButton, _p_FXRadioButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXToggleButton, _p_FXToggleButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXTriStateButton, _p_FXTriStateButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXObject, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXObject, 0, 0}, {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXObject, 0, 0}, {&_swigt__p_FXFont, _p_FXFontTo_p_FXObject, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXObject, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXObject, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXObject, 0, 0}, {&_swigt__p_FXTranslator, _p_FXTranslatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXObject, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXObject, 0, 0}, {&_swigt__p_FXApp, _p_FXAppTo_p_FXObject, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuSeparator, _p_FXMenuSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXObject, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXObject, 0, 0}, {&_swigt__p_FXMDIClient, _p_FXMDIClientTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXObject, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXObject, 0, 0}, {&_swigt__p_FXDict, _p_FXDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXObject, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXObject, 0, 0}, {&_swigt__p_FXSettings, _p_FXSettingsTo_p_FXObject, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuCascade, _p_FXMenuCascadeTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXObject, 0, 0}, {&_swigt__p_FXDataTarget, _p_FXDataTargetTo_p_FXObject, 0, 0}, {&_swigt__p_FXDebugTarget, _p_FXDebugTargetTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXObject, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXObject, 0, 0}, {&_swigt__p_FXId, _p_FXIdTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXObject, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXObject, 0, 0}, {&_swigt__p_FXButton, _p_FXButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXObject, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabItem, _p_FXTabItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXObject, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXObject, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXStringDict, _p_FXStringDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXDelegator, _p_FXDelegatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXAccelTable, _p_FXAccelTableTo_p_FXObject, 0, 0}, {&_swigt__p_FXObject, 0, 0, 0}, {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuCommand, _p_FXMenuCommandTo_p_FXObject, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXObject, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXObject, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuBar, _p_FXMenuBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXObject, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuCaption, _p_FXMenuCaptionTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuTitle, _p_FXMenuTitleTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXMenuRadio, _p_FXMenuRadioTo_p_FXObject, 0, 0}, {&_swigt__p_FXLabel, _p_FXLabelTo_p_FXObject, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXObject, 0, 0}, {&_swigt__p_FXOption, _p_FXOptionTo_p_FXObject, 0, 0}, {&_swigt__p_FXOptionMenu, _p_FXOptionMenuTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXObject, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXObject, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXObject, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPopup[] = { {&_swigt__p_FXPopup, 0, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXPopup, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXPopup, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXPopup, 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_FXShell[] = { {&_swigt__p_FXShell, 0, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXShell, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXShell, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXShell, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXShell, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXShell, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXShell, 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_FXWindow[] = { {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuCheck, _p_FXMenuCheckTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIChild, _p_FXMDIChildTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIMenu, _p_FXMDIMenuTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXCheckButton, _p_FXCheckButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuButton, _p_FXMenuButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIWindowButton, _p_FXMDIWindowButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRadioButton, _p_FXRadioButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToggleButton, _p_FXToggleButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTriStateButton, _p_FXTriStateButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIDeleteButton, _p_FXMDIDeleteButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIRestoreButton, _p_FXMDIRestoreButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIMaximizeButton, _p_FXMDIMaximizeButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIMinimizeButton, _p_FXMDIMinimizeButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPicker, _p_FXPickerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuPane, _p_FXMenuPaneTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXWindow, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXWindow, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuSeparator, _p_FXMenuSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXWindow, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMDIClient, _p_FXMDIClientTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXWindow, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXWindow, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXWindow, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuCascade, _p_FXMenuCascadeTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXWindow, 0, 0}, {&_swigt__p_FXButton, _p_FXButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabItem, _p_FXTabItemTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXWindow, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXWindow, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuCommand, _p_FXMenuCommandTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXWindow, 0, 0, 0}, {&_swigt__p_FXMenuBar, _p_FXMenuBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuCaption, _p_FXMenuCaptionTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuTitle, _p_FXMenuTitleTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMenuRadio, _p_FXMenuRadioTo_p_FXWindow, 0, 0}, {&_swigt__p_FXLabel, _p_FXLabelTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXOption, _p_FXOptionTo_p_FXWindow, 0, 0}, {&_swigt__p_FXOptionMenu, _p_FXOptionMenuTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollPane, _p_FXScrollPaneTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_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_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_FX4Splitter, _swigc__p_FX7Segment, _swigc__p_FXAccelTable, _swigc__p_FXApp, _swigc__p_FXArrowButton, _swigc__p_FXBitmap, _swigc__p_FXBitmapFrame, _swigc__p_FXButton, _swigc__p_FXCURCursor, _swigc__p_FXCanvas, _swigc__p_FXCheckButton, _swigc__p_FXColorBar, _swigc__p_FXColorRing, _swigc__p_FXColorSelector, _swigc__p_FXColorWell, _swigc__p_FXColorWheel, _swigc__p_FXComboBox, _swigc__p_FXComposite, _swigc__p_FXCursor, _swigc__p_FXDataTarget, _swigc__p_FXDebugTarget, _swigc__p_FXDelegator, _swigc__p_FXDial, _swigc__p_FXDict, _swigc__p_FXDirBox, _swigc__p_FXDirSelector, _swigc__p_FXDockBar, _swigc__p_FXDockHandler, _swigc__p_FXDockSite, _swigc__p_FXDockTitle, _swigc__p_FXDocument, _swigc__p_FXDragCorner, _swigc__p_FXDrawable, _swigc__p_FXDriveBox, _swigc__p_FXFileDict, _swigc__p_FXFileSelector, _swigc__p_FXFileStream, _swigc__p_FXFont, _swigc__p_FXFontSelector, _swigc__p_FXFrame, _swigc__p_FXGIFCursor, _swigc__p_FXGradientBar, _swigc__p_FXGroupBox, _swigc__p_FXHeader, _swigc__p_FXHeaderItem, _swigc__p_FXHorizontalFrame, _swigc__p_FXHorizontalSeparator, _swigc__p_FXIcon, _swigc__p_FXIconDict, _swigc__p_FXId, _swigc__p_FXImageFrame, _swigc__p_FXImageView, _swigc__p_FXKnob, _swigc__p_FXLabel, _swigc__p_FXListBox, _swigc__p_FXMDIChild, _swigc__p_FXMDIClient, _swigc__p_FXMDIDeleteButton, _swigc__p_FXMDIMaximizeButton, _swigc__p_FXMDIMenu, _swigc__p_FXMDIMinimizeButton, _swigc__p_FXMDIRestoreButton, _swigc__p_FXMDIWindowButton, _swigc__p_FXMainWindow, _swigc__p_FXMatrix, _swigc__p_FXMemoryStream, _swigc__p_FXMenuBar, _swigc__p_FXMenuButton, _swigc__p_FXMenuCaption, _swigc__p_FXMenuCascade, _swigc__p_FXMenuCheck, _swigc__p_FXMenuCommand, _swigc__p_FXMenuPane, _swigc__p_FXMenuRadio, _swigc__p_FXMenuSeparator, _swigc__p_FXMenuTitle, _swigc__p_FXObject, _swigc__p_FXOption, _swigc__p_FXOptionMenu, _swigc__p_FXPacker, _swigc__p_FXPicker, _swigc__p_FXPopup, _swigc__p_FXProgressBar, _swigc__p_FXRadioButton, _swigc__p_FXRealSlider, _swigc__p_FXRealSpinner, _swigc__p_FXRecentFiles, _swigc__p_FXRegion, _swigc__p_FXRegistry, _swigc__p_FXRootWindow, _swigc__p_FXRuler, _swigc__p_FXRulerView, _swigc__p_FXScrollArea, _swigc__p_FXScrollBar, _swigc__p_FXScrollCorner, _swigc__p_FXScrollPane, _swigc__p_FXScrollWindow, _swigc__p_FXSeparator, _swigc__p_FXSettings, _swigc__p_FXShell, _swigc__p_FXShutter, _swigc__p_FXShutterItem, _swigc__p_FXSlider, _swigc__p_FXSpinner, _swigc__p_FXSplashWindow, _swigc__p_FXSplitter, _swigc__p_FXSpring, _swigc__p_FXStatusBar, _swigc__p_FXStatusLine, _swigc__p_FXStream, _swigc__p_FXStringDict, _swigc__p_FXSwitcher, _swigc__p_FXTabBar, _swigc__p_FXTabBook, _swigc__p_FXTabItem, _swigc__p_FXTextField, _swigc__p_FXToggleButton, _swigc__p_FXToolBar, _swigc__p_FXToolBarGrip, _swigc__p_FXToolBarShell, _swigc__p_FXToolBarTab, _swigc__p_FXToolTip, _swigc__p_FXTopWindow, _swigc__p_FXTranslator, _swigc__p_FXTreeListBox, _swigc__p_FXTriStateButton, _swigc__p_FXVerticalFrame, _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_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_mdi(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(); SwigClassFXMDIDeleteButton.klass = rb_define_class_under(mFox, "FXMDIDeleteButton", ((swig_class *) SWIGTYPE_p_FXButton->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIDeleteButton, (void *) &SwigClassFXMDIDeleteButton); rb_define_alloc_func(SwigClassFXMDIDeleteButton.klass, _wrap_FXMDIDeleteButton_allocate); rb_define_method(SwigClassFXMDIDeleteButton.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIDeleteButton), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "onPaint", VALUEFUNC(_wrap_FXMDIDeleteButton_onPaint), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "save", VALUEFUNC(_wrap_FXMDIDeleteButton_save), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "load", VALUEFUNC(_wrap_FXMDIDeleteButton_load), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "create", VALUEFUNC(_wrap_FXMDIDeleteButton_create), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "detach", VALUEFUNC(_wrap_FXMDIDeleteButton_detach), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "destroy", VALUEFUNC(_wrap_FXMDIDeleteButton_destroy), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "resize", VALUEFUNC(_wrap_FXMDIDeleteButton_resize), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIDeleteButton_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIDeleteButton_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIDeleteButton_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIDeleteButton_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "canFocus", VALUEFUNC(_wrap_FXMDIDeleteButton_canFocus), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "setFocus", VALUEFUNC(_wrap_FXMDIDeleteButton_setFocus), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "killFocus", VALUEFUNC(_wrap_FXMDIDeleteButton_killFocus), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIDeleteButton_changeFocus), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "setDefault", VALUEFUNC(_wrap_FXMDIDeleteButton_setDefault), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "enable", VALUEFUNC(_wrap_FXMDIDeleteButton_enable), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "disable", VALUEFUNC(_wrap_FXMDIDeleteButton_disable), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIDeleteButton_raiseWindow), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "lower", VALUEFUNC(_wrap_FXMDIDeleteButton_lower), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "move", VALUEFUNC(_wrap_FXMDIDeleteButton_move), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "position", VALUEFUNC(_wrap_FXMDIDeleteButton_position), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "layout", VALUEFUNC(_wrap_FXMDIDeleteButton_layout), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "recalc", VALUEFUNC(_wrap_FXMDIDeleteButton_recalc), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "reparent", VALUEFUNC(_wrap_FXMDIDeleteButton_reparent), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "show", VALUEFUNC(_wrap_FXMDIDeleteButton_show), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "hide", VALUEFUNC(_wrap_FXMDIDeleteButton_hide), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "isComposite", VALUEFUNC(_wrap_FXMDIDeleteButton_isComposite), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "contains", VALUEFUNC(_wrap_FXMDIDeleteButton_contains), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIDeleteButton_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIDeleteButton_setBackColor), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "tr", VALUEFUNC(_wrap_FXMDIDeleteButton_tr), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIDeleteButton_dropEnable), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIDeleteButton_dropDisable), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "setShape", VALUEFUNC(_wrap_FXMDIDeleteButton_setShape), -1); rb_define_method(SwigClassFXMDIDeleteButton.klass, "clearShape", VALUEFUNC(_wrap_FXMDIDeleteButton_clearShape), -1); SwigClassFXMDIDeleteButton.mark = (void (*)(void *)) FXRbMDIDeleteButton::markfunc; SwigClassFXMDIDeleteButton.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIDeleteButton.trackObjects = 0; SwigClassFXMDIRestoreButton.klass = rb_define_class_under(mFox, "FXMDIRestoreButton", ((swig_class *) SWIGTYPE_p_FXButton->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIRestoreButton, (void *) &SwigClassFXMDIRestoreButton); rb_define_alloc_func(SwigClassFXMDIRestoreButton.klass, _wrap_FXMDIRestoreButton_allocate); rb_define_method(SwigClassFXMDIRestoreButton.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIRestoreButton), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "onPaint", VALUEFUNC(_wrap_FXMDIRestoreButton_onPaint), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "save", VALUEFUNC(_wrap_FXMDIRestoreButton_save), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "load", VALUEFUNC(_wrap_FXMDIRestoreButton_load), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "create", VALUEFUNC(_wrap_FXMDIRestoreButton_create), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "detach", VALUEFUNC(_wrap_FXMDIRestoreButton_detach), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "destroy", VALUEFUNC(_wrap_FXMDIRestoreButton_destroy), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "resize", VALUEFUNC(_wrap_FXMDIRestoreButton_resize), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIRestoreButton_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIRestoreButton_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIRestoreButton_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIRestoreButton_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "canFocus", VALUEFUNC(_wrap_FXMDIRestoreButton_canFocus), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "setFocus", VALUEFUNC(_wrap_FXMDIRestoreButton_setFocus), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "killFocus", VALUEFUNC(_wrap_FXMDIRestoreButton_killFocus), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIRestoreButton_changeFocus), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "setDefault", VALUEFUNC(_wrap_FXMDIRestoreButton_setDefault), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "enable", VALUEFUNC(_wrap_FXMDIRestoreButton_enable), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "disable", VALUEFUNC(_wrap_FXMDIRestoreButton_disable), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIRestoreButton_raiseWindow), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "lower", VALUEFUNC(_wrap_FXMDIRestoreButton_lower), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "move", VALUEFUNC(_wrap_FXMDIRestoreButton_move), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "position", VALUEFUNC(_wrap_FXMDIRestoreButton_position), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "layout", VALUEFUNC(_wrap_FXMDIRestoreButton_layout), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "recalc", VALUEFUNC(_wrap_FXMDIRestoreButton_recalc), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "reparent", VALUEFUNC(_wrap_FXMDIRestoreButton_reparent), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "show", VALUEFUNC(_wrap_FXMDIRestoreButton_show), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "hide", VALUEFUNC(_wrap_FXMDIRestoreButton_hide), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "isComposite", VALUEFUNC(_wrap_FXMDIRestoreButton_isComposite), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "contains", VALUEFUNC(_wrap_FXMDIRestoreButton_contains), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIRestoreButton_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIRestoreButton_setBackColor), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "tr", VALUEFUNC(_wrap_FXMDIRestoreButton_tr), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIRestoreButton_dropEnable), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIRestoreButton_dropDisable), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "setShape", VALUEFUNC(_wrap_FXMDIRestoreButton_setShape), -1); rb_define_method(SwigClassFXMDIRestoreButton.klass, "clearShape", VALUEFUNC(_wrap_FXMDIRestoreButton_clearShape), -1); SwigClassFXMDIRestoreButton.mark = (void (*)(void *)) FXRbMDIRestoreButton::markfunc; SwigClassFXMDIRestoreButton.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIRestoreButton.trackObjects = 0; SwigClassFXMDIMaximizeButton.klass = rb_define_class_under(mFox, "FXMDIMaximizeButton", ((swig_class *) SWIGTYPE_p_FXButton->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIMaximizeButton, (void *) &SwigClassFXMDIMaximizeButton); rb_define_alloc_func(SwigClassFXMDIMaximizeButton.klass, _wrap_FXMDIMaximizeButton_allocate); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIMaximizeButton), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "onPaint", VALUEFUNC(_wrap_FXMDIMaximizeButton_onPaint), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "save", VALUEFUNC(_wrap_FXMDIMaximizeButton_save), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "load", VALUEFUNC(_wrap_FXMDIMaximizeButton_load), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "create", VALUEFUNC(_wrap_FXMDIMaximizeButton_create), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "detach", VALUEFUNC(_wrap_FXMDIMaximizeButton_detach), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "destroy", VALUEFUNC(_wrap_FXMDIMaximizeButton_destroy), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "resize", VALUEFUNC(_wrap_FXMDIMaximizeButton_resize), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIMaximizeButton_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIMaximizeButton_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIMaximizeButton_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIMaximizeButton_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "canFocus", VALUEFUNC(_wrap_FXMDIMaximizeButton_canFocus), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "setFocus", VALUEFUNC(_wrap_FXMDIMaximizeButton_setFocus), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "killFocus", VALUEFUNC(_wrap_FXMDIMaximizeButton_killFocus), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIMaximizeButton_changeFocus), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "setDefault", VALUEFUNC(_wrap_FXMDIMaximizeButton_setDefault), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "enable", VALUEFUNC(_wrap_FXMDIMaximizeButton_enable), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "disable", VALUEFUNC(_wrap_FXMDIMaximizeButton_disable), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIMaximizeButton_raiseWindow), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "lower", VALUEFUNC(_wrap_FXMDIMaximizeButton_lower), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "move", VALUEFUNC(_wrap_FXMDIMaximizeButton_move), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "position", VALUEFUNC(_wrap_FXMDIMaximizeButton_position), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "layout", VALUEFUNC(_wrap_FXMDIMaximizeButton_layout), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "recalc", VALUEFUNC(_wrap_FXMDIMaximizeButton_recalc), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "reparent", VALUEFUNC(_wrap_FXMDIMaximizeButton_reparent), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "show", VALUEFUNC(_wrap_FXMDIMaximizeButton_show), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "hide", VALUEFUNC(_wrap_FXMDIMaximizeButton_hide), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "isComposite", VALUEFUNC(_wrap_FXMDIMaximizeButton_isComposite), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "contains", VALUEFUNC(_wrap_FXMDIMaximizeButton_contains), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIMaximizeButton_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIMaximizeButton_setBackColor), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "tr", VALUEFUNC(_wrap_FXMDIMaximizeButton_tr), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIMaximizeButton_dropEnable), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIMaximizeButton_dropDisable), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "setShape", VALUEFUNC(_wrap_FXMDIMaximizeButton_setShape), -1); rb_define_method(SwigClassFXMDIMaximizeButton.klass, "clearShape", VALUEFUNC(_wrap_FXMDIMaximizeButton_clearShape), -1); SwigClassFXMDIMaximizeButton.mark = (void (*)(void *)) FXRbMDIMaximizeButton::markfunc; SwigClassFXMDIMaximizeButton.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIMaximizeButton.trackObjects = 0; SwigClassFXMDIMinimizeButton.klass = rb_define_class_under(mFox, "FXMDIMinimizeButton", ((swig_class *) SWIGTYPE_p_FXButton->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIMinimizeButton, (void *) &SwigClassFXMDIMinimizeButton); rb_define_alloc_func(SwigClassFXMDIMinimizeButton.klass, _wrap_FXMDIMinimizeButton_allocate); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIMinimizeButton), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "onPaint", VALUEFUNC(_wrap_FXMDIMinimizeButton_onPaint), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "save", VALUEFUNC(_wrap_FXMDIMinimizeButton_save), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "load", VALUEFUNC(_wrap_FXMDIMinimizeButton_load), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "create", VALUEFUNC(_wrap_FXMDIMinimizeButton_create), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "detach", VALUEFUNC(_wrap_FXMDIMinimizeButton_detach), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "destroy", VALUEFUNC(_wrap_FXMDIMinimizeButton_destroy), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "resize", VALUEFUNC(_wrap_FXMDIMinimizeButton_resize), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIMinimizeButton_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIMinimizeButton_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIMinimizeButton_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIMinimizeButton_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "canFocus", VALUEFUNC(_wrap_FXMDIMinimizeButton_canFocus), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "setFocus", VALUEFUNC(_wrap_FXMDIMinimizeButton_setFocus), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "killFocus", VALUEFUNC(_wrap_FXMDIMinimizeButton_killFocus), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIMinimizeButton_changeFocus), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "setDefault", VALUEFUNC(_wrap_FXMDIMinimizeButton_setDefault), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "enable", VALUEFUNC(_wrap_FXMDIMinimizeButton_enable), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "disable", VALUEFUNC(_wrap_FXMDIMinimizeButton_disable), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIMinimizeButton_raiseWindow), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "lower", VALUEFUNC(_wrap_FXMDIMinimizeButton_lower), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "move", VALUEFUNC(_wrap_FXMDIMinimizeButton_move), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "position", VALUEFUNC(_wrap_FXMDIMinimizeButton_position), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "layout", VALUEFUNC(_wrap_FXMDIMinimizeButton_layout), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "recalc", VALUEFUNC(_wrap_FXMDIMinimizeButton_recalc), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "reparent", VALUEFUNC(_wrap_FXMDIMinimizeButton_reparent), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "show", VALUEFUNC(_wrap_FXMDIMinimizeButton_show), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "hide", VALUEFUNC(_wrap_FXMDIMinimizeButton_hide), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "isComposite", VALUEFUNC(_wrap_FXMDIMinimizeButton_isComposite), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "contains", VALUEFUNC(_wrap_FXMDIMinimizeButton_contains), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIMinimizeButton_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIMinimizeButton_setBackColor), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "tr", VALUEFUNC(_wrap_FXMDIMinimizeButton_tr), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIMinimizeButton_dropEnable), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIMinimizeButton_dropDisable), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "setShape", VALUEFUNC(_wrap_FXMDIMinimizeButton_setShape), -1); rb_define_method(SwigClassFXMDIMinimizeButton.klass, "clearShape", VALUEFUNC(_wrap_FXMDIMinimizeButton_clearShape), -1); SwigClassFXMDIMinimizeButton.mark = (void (*)(void *)) FXRbMDIMinimizeButton::markfunc; SwigClassFXMDIMinimizeButton.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIMinimizeButton.trackObjects = 0; SwigClassFXMDIWindowButton.klass = rb_define_class_under(mFox, "FXMDIWindowButton", ((swig_class *) SWIGTYPE_p_FXMenuButton->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIWindowButton, (void *) &SwigClassFXMDIWindowButton); rb_define_alloc_func(SwigClassFXMDIWindowButton.klass, _wrap_FXMDIWindowButton_allocate); rb_define_method(SwigClassFXMDIWindowButton.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIWindowButton), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "onPaint", VALUEFUNC(_wrap_FXMDIWindowButton_onPaint), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "save", VALUEFUNC(_wrap_FXMDIWindowButton_save), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "load", VALUEFUNC(_wrap_FXMDIWindowButton_load), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "create", VALUEFUNC(_wrap_FXMDIWindowButton_create), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "detach", VALUEFUNC(_wrap_FXMDIWindowButton_detach), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "destroy", VALUEFUNC(_wrap_FXMDIWindowButton_destroy), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "resize", VALUEFUNC(_wrap_FXMDIWindowButton_resize), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIWindowButton_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIWindowButton_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIWindowButton_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIWindowButton_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "canFocus", VALUEFUNC(_wrap_FXMDIWindowButton_canFocus), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "setFocus", VALUEFUNC(_wrap_FXMDIWindowButton_setFocus), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "killFocus", VALUEFUNC(_wrap_FXMDIWindowButton_killFocus), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIWindowButton_changeFocus), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "setDefault", VALUEFUNC(_wrap_FXMDIWindowButton_setDefault), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "enable", VALUEFUNC(_wrap_FXMDIWindowButton_enable), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "disable", VALUEFUNC(_wrap_FXMDIWindowButton_disable), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIWindowButton_raiseWindow), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "lower", VALUEFUNC(_wrap_FXMDIWindowButton_lower), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "move", VALUEFUNC(_wrap_FXMDIWindowButton_move), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "position", VALUEFUNC(_wrap_FXMDIWindowButton_position), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "layout", VALUEFUNC(_wrap_FXMDIWindowButton_layout), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "recalc", VALUEFUNC(_wrap_FXMDIWindowButton_recalc), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "reparent", VALUEFUNC(_wrap_FXMDIWindowButton_reparent), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "show", VALUEFUNC(_wrap_FXMDIWindowButton_show), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "hide", VALUEFUNC(_wrap_FXMDIWindowButton_hide), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "isComposite", VALUEFUNC(_wrap_FXMDIWindowButton_isComposite), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "contains", VALUEFUNC(_wrap_FXMDIWindowButton_contains), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIWindowButton_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIWindowButton_setBackColor), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "tr", VALUEFUNC(_wrap_FXMDIWindowButton_tr), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIWindowButton_dropEnable), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIWindowButton_dropDisable), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "setShape", VALUEFUNC(_wrap_FXMDIWindowButton_setShape), -1); rb_define_method(SwigClassFXMDIWindowButton.klass, "clearShape", VALUEFUNC(_wrap_FXMDIWindowButton_clearShape), -1); SwigClassFXMDIWindowButton.mark = (void (*)(void *)) FXRbMDIWindowButton::markfunc; SwigClassFXMDIWindowButton.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIWindowButton.trackObjects = 0; SwigClassFXMDIMenu.klass = rb_define_class_under(mFox, "FXMDIMenu", ((swig_class *) SWIGTYPE_p_FXMenuPane->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIMenu, (void *) &SwigClassFXMDIMenu); rb_define_alloc_func(SwigClassFXMDIMenu.klass, _wrap_FXMDIMenu_allocate); rb_define_method(SwigClassFXMDIMenu.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIMenu), -1); rb_define_method(SwigClassFXMDIMenu.klass, "save", VALUEFUNC(_wrap_FXMDIMenu_save), -1); rb_define_method(SwigClassFXMDIMenu.klass, "load", VALUEFUNC(_wrap_FXMDIMenu_load), -1); rb_define_method(SwigClassFXMDIMenu.klass, "create", VALUEFUNC(_wrap_FXMDIMenu_create), -1); rb_define_method(SwigClassFXMDIMenu.klass, "detach", VALUEFUNC(_wrap_FXMDIMenu_detach), -1); rb_define_method(SwigClassFXMDIMenu.klass, "destroy", VALUEFUNC(_wrap_FXMDIMenu_destroy), -1); rb_define_method(SwigClassFXMDIMenu.klass, "resize", VALUEFUNC(_wrap_FXMDIMenu_resize), -1); rb_define_method(SwigClassFXMDIMenu.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIMenu_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIMenu.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIMenu_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIMenu.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIMenu_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIMenu.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIMenu_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIMenu.klass, "canFocus", VALUEFUNC(_wrap_FXMDIMenu_canFocus), -1); rb_define_method(SwigClassFXMDIMenu.klass, "setFocus", VALUEFUNC(_wrap_FXMDIMenu_setFocus), -1); rb_define_method(SwigClassFXMDIMenu.klass, "killFocus", VALUEFUNC(_wrap_FXMDIMenu_killFocus), -1); rb_define_method(SwigClassFXMDIMenu.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIMenu_changeFocus), -1); rb_define_method(SwigClassFXMDIMenu.klass, "setDefault", VALUEFUNC(_wrap_FXMDIMenu_setDefault), -1); rb_define_method(SwigClassFXMDIMenu.klass, "enable", VALUEFUNC(_wrap_FXMDIMenu_enable), -1); rb_define_method(SwigClassFXMDIMenu.klass, "disable", VALUEFUNC(_wrap_FXMDIMenu_disable), -1); rb_define_method(SwigClassFXMDIMenu.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIMenu_raiseWindow), -1); rb_define_method(SwigClassFXMDIMenu.klass, "lower", VALUEFUNC(_wrap_FXMDIMenu_lower), -1); rb_define_method(SwigClassFXMDIMenu.klass, "move", VALUEFUNC(_wrap_FXMDIMenu_move), -1); rb_define_method(SwigClassFXMDIMenu.klass, "position", VALUEFUNC(_wrap_FXMDIMenu_position), -1); rb_define_method(SwigClassFXMDIMenu.klass, "layout", VALUEFUNC(_wrap_FXMDIMenu_layout), -1); rb_define_method(SwigClassFXMDIMenu.klass, "recalc", VALUEFUNC(_wrap_FXMDIMenu_recalc), -1); rb_define_method(SwigClassFXMDIMenu.klass, "reparent", VALUEFUNC(_wrap_FXMDIMenu_reparent), -1); rb_define_method(SwigClassFXMDIMenu.klass, "show", VALUEFUNC(_wrap_FXMDIMenu_show), -1); rb_define_method(SwigClassFXMDIMenu.klass, "hide", VALUEFUNC(_wrap_FXMDIMenu_hide), -1); rb_define_method(SwigClassFXMDIMenu.klass, "isComposite", VALUEFUNC(_wrap_FXMDIMenu_isComposite), -1); rb_define_method(SwigClassFXMDIMenu.klass, "contains", VALUEFUNC(_wrap_FXMDIMenu_contains), -1); rb_define_method(SwigClassFXMDIMenu.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIMenu_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIMenu.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIMenu_setBackColor), -1); rb_define_method(SwigClassFXMDIMenu.klass, "tr", VALUEFUNC(_wrap_FXMDIMenu_tr), -1); rb_define_method(SwigClassFXMDIMenu.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIMenu_dropEnable), -1); rb_define_method(SwigClassFXMDIMenu.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIMenu_dropDisable), -1); rb_define_method(SwigClassFXMDIMenu.klass, "setShape", VALUEFUNC(_wrap_FXMDIMenu_setShape), -1); rb_define_method(SwigClassFXMDIMenu.klass, "clearShape", VALUEFUNC(_wrap_FXMDIMenu_clearShape), -1); rb_define_method(SwigClassFXMDIMenu.klass, "popup", VALUEFUNC(_wrap_FXMDIMenu_popup), -1); rb_define_method(SwigClassFXMDIMenu.klass, "popdown", VALUEFUNC(_wrap_FXMDIMenu_popdown), -1); SwigClassFXMDIMenu.mark = (void (*)(void *)) FXRbMDIMenu::markfunc; SwigClassFXMDIMenu.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIMenu.trackObjects = 0; SwigClassFXMDIClient.klass = rb_define_class_under(mFox, "FXMDIClient", ((swig_class *) SWIGTYPE_p_FXComposite->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIClient, (void *) &SwigClassFXMDIClient); rb_define_alloc_func(SwigClassFXMDIClient.klass, _wrap_FXMDIClient_allocate); rb_define_method(SwigClassFXMDIClient.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIClient), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdActivateNext", VALUEFUNC(_wrap_FXMDIClient_onCmdActivateNext), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdActivatePrev", VALUEFUNC(_wrap_FXMDIClient_onCmdActivatePrev), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdTileHorizontal", VALUEFUNC(_wrap_FXMDIClient_onCmdTileHorizontal), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdTileVertical", VALUEFUNC(_wrap_FXMDIClient_onCmdTileVertical), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdCascade", VALUEFUNC(_wrap_FXMDIClient_onCmdCascade), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdActivateNext", VALUEFUNC(_wrap_FXMDIClient_onUpdActivateNext), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdActivatePrev", VALUEFUNC(_wrap_FXMDIClient_onUpdActivatePrev), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdTileVertical", VALUEFUNC(_wrap_FXMDIClient_onUpdTileVertical), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdTileHorizontal", VALUEFUNC(_wrap_FXMDIClient_onUpdTileHorizontal), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdCascade", VALUEFUNC(_wrap_FXMDIClient_onUpdCascade), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdClose", VALUEFUNC(_wrap_FXMDIClient_onUpdClose), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdMenuClose", VALUEFUNC(_wrap_FXMDIClient_onUpdMenuClose), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdRestore", VALUEFUNC(_wrap_FXMDIClient_onUpdRestore), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdMenuRestore", VALUEFUNC(_wrap_FXMDIClient_onUpdMenuRestore), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdMinimize", VALUEFUNC(_wrap_FXMDIClient_onUpdMinimize), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdMenuMinimize", VALUEFUNC(_wrap_FXMDIClient_onUpdMenuMinimize), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdMaximize", VALUEFUNC(_wrap_FXMDIClient_onUpdMaximize), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdMenuWindow", VALUEFUNC(_wrap_FXMDIClient_onUpdMenuWindow), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdWindowSelect", VALUEFUNC(_wrap_FXMDIClient_onCmdWindowSelect), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdWindowSelect", VALUEFUNC(_wrap_FXMDIClient_onUpdWindowSelect), -1); rb_define_method(SwigClassFXMDIClient.klass, "onCmdOthersWindows", VALUEFUNC(_wrap_FXMDIClient_onCmdOthersWindows), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdOthersWindows", VALUEFUNC(_wrap_FXMDIClient_onUpdOthersWindows), -1); rb_define_method(SwigClassFXMDIClient.klass, "onUpdAnyWindows", VALUEFUNC(_wrap_FXMDIClient_onUpdAnyWindows), -1); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_ANY", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_ANY))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_1", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_1))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_2", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_2))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_3", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_3))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_4", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_4))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_5", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_5))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_6", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_6))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_7", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_7))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_8", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_8))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_9", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_9))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_10", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_10))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_1", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_1))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_2", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_2))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_3", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_3))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_4", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_4))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_5", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_5))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_6", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_6))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_7", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_7))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_8", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_8))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_9", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_9))); rb_define_const(SwigClassFXMDIClient.klass, "ID_MDI_OVER_10", SWIG_From_int(static_cast< int >(FXMDIClient::ID_MDI_OVER_10))); rb_define_const(SwigClassFXMDIClient.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXMDIClient::ID_LAST))); rb_define_method(SwigClassFXMDIClient.klass, "forallWindows", VALUEFUNC(_wrap_FXMDIClient_forallWindows), -1); rb_define_method(SwigClassFXMDIClient.klass, "forallDocuments", VALUEFUNC(_wrap_FXMDIClient_forallDocuments), -1); rb_define_method(SwigClassFXMDIClient.klass, "forallDocWindows", VALUEFUNC(_wrap_FXMDIClient_forallDocWindows), -1); rb_define_method(SwigClassFXMDIClient.klass, "getActiveChild", VALUEFUNC(_wrap_FXMDIClient_getActiveChild), -1); rb_define_method(SwigClassFXMDIClient.klass, "setCascadeX", VALUEFUNC(_wrap_FXMDIClient_setCascadeX), -1); rb_define_method(SwigClassFXMDIClient.klass, "setCascadeY", VALUEFUNC(_wrap_FXMDIClient_setCascadeY), -1); rb_define_method(SwigClassFXMDIClient.klass, "getCascadeX", VALUEFUNC(_wrap_FXMDIClient_getCascadeX), -1); rb_define_method(SwigClassFXMDIClient.klass, "getCascadeY", VALUEFUNC(_wrap_FXMDIClient_getCascadeY), -1); rb_define_method(SwigClassFXMDIClient.klass, "save", VALUEFUNC(_wrap_FXMDIClient_save), -1); rb_define_method(SwigClassFXMDIClient.klass, "load", VALUEFUNC(_wrap_FXMDIClient_load), -1); rb_define_method(SwigClassFXMDIClient.klass, "create", VALUEFUNC(_wrap_FXMDIClient_create), -1); rb_define_method(SwigClassFXMDIClient.klass, "detach", VALUEFUNC(_wrap_FXMDIClient_detach), -1); rb_define_method(SwigClassFXMDIClient.klass, "destroy", VALUEFUNC(_wrap_FXMDIClient_destroy), -1); rb_define_method(SwigClassFXMDIClient.klass, "resize", VALUEFUNC(_wrap_FXMDIClient_resize), -1); rb_define_method(SwigClassFXMDIClient.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIClient_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIClient.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIClient_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIClient.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIClient_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIClient.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIClient_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIClient.klass, "canFocus", VALUEFUNC(_wrap_FXMDIClient_canFocus), -1); rb_define_method(SwigClassFXMDIClient.klass, "setFocus", VALUEFUNC(_wrap_FXMDIClient_setFocus), -1); rb_define_method(SwigClassFXMDIClient.klass, "killFocus", VALUEFUNC(_wrap_FXMDIClient_killFocus), -1); rb_define_method(SwigClassFXMDIClient.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIClient_changeFocus), -1); rb_define_method(SwigClassFXMDIClient.klass, "setDefault", VALUEFUNC(_wrap_FXMDIClient_setDefault), -1); rb_define_method(SwigClassFXMDIClient.klass, "enable", VALUEFUNC(_wrap_FXMDIClient_enable), -1); rb_define_method(SwigClassFXMDIClient.klass, "disable", VALUEFUNC(_wrap_FXMDIClient_disable), -1); rb_define_method(SwigClassFXMDIClient.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIClient_raiseWindow), -1); rb_define_method(SwigClassFXMDIClient.klass, "lower", VALUEFUNC(_wrap_FXMDIClient_lower), -1); rb_define_method(SwigClassFXMDIClient.klass, "move", VALUEFUNC(_wrap_FXMDIClient_move), -1); rb_define_method(SwigClassFXMDIClient.klass, "position", VALUEFUNC(_wrap_FXMDIClient_position), -1); rb_define_method(SwigClassFXMDIClient.klass, "layout", VALUEFUNC(_wrap_FXMDIClient_layout), -1); rb_define_method(SwigClassFXMDIClient.klass, "recalc", VALUEFUNC(_wrap_FXMDIClient_recalc), -1); rb_define_method(SwigClassFXMDIClient.klass, "reparent", VALUEFUNC(_wrap_FXMDIClient_reparent), -1); rb_define_method(SwigClassFXMDIClient.klass, "show", VALUEFUNC(_wrap_FXMDIClient_show), -1); rb_define_method(SwigClassFXMDIClient.klass, "hide", VALUEFUNC(_wrap_FXMDIClient_hide), -1); rb_define_method(SwigClassFXMDIClient.klass, "isComposite", VALUEFUNC(_wrap_FXMDIClient_isComposite), -1); rb_define_method(SwigClassFXMDIClient.klass, "contains", VALUEFUNC(_wrap_FXMDIClient_contains), -1); rb_define_method(SwigClassFXMDIClient.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIClient_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIClient.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIClient_setBackColor), -1); rb_define_method(SwigClassFXMDIClient.klass, "tr", VALUEFUNC(_wrap_FXMDIClient_tr), -1); rb_define_method(SwigClassFXMDIClient.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIClient_dropEnable), -1); rb_define_method(SwigClassFXMDIClient.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIClient_dropDisable), -1); rb_define_method(SwigClassFXMDIClient.klass, "setShape", VALUEFUNC(_wrap_FXMDIClient_setShape), -1); rb_define_method(SwigClassFXMDIClient.klass, "clearShape", VALUEFUNC(_wrap_FXMDIClient_clearShape), -1); rb_define_method(SwigClassFXMDIClient.klass, "setActiveChild", VALUEFUNC(_wrap_FXMDIClient_setActiveChild), -1); rb_define_method(SwigClassFXMDIClient.klass, "cascade", VALUEFUNC(_wrap_FXMDIClient_cascade), -1); rb_define_method(SwigClassFXMDIClient.klass, "horizontal", VALUEFUNC(_wrap_FXMDIClient_horizontal), -1); rb_define_method(SwigClassFXMDIClient.klass, "vertical", VALUEFUNC(_wrap_FXMDIClient_vertical), -1); SwigClassFXMDIClient.mark = (void (*)(void *)) FXRbMDIClient::markfunc; SwigClassFXMDIClient.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIClient.trackObjects = 0; rb_define_const(mFox, "MDI_NORMAL", SWIG_From_int(static_cast< int >(MDI_NORMAL))); rb_define_const(mFox, "MDI_MAXIMIZED", SWIG_From_int(static_cast< int >(MDI_MAXIMIZED))); rb_define_const(mFox, "MDI_MINIMIZED", SWIG_From_int(static_cast< int >(MDI_MINIMIZED))); rb_define_const(mFox, "MDI_TRACKING", SWIG_From_int(static_cast< int >(MDI_TRACKING))); SwigClassFXMDIChild.klass = rb_define_class_under(mFox, "FXMDIChild", ((swig_class *) SWIGTYPE_p_FXComposite->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMDIChild, (void *) &SwigClassFXMDIChild); rb_define_alloc_func(SwigClassFXMDIChild.klass, _wrap_FXMDIChild_allocate); rb_define_method(SwigClassFXMDIChild.klass, "initialize", VALUEFUNC(_wrap_new_FXMDIChild), -1); rb_define_method(SwigClassFXMDIChild.klass, "onPaint", VALUEFUNC(_wrap_FXMDIChild_onPaint), -1); rb_define_method(SwigClassFXMDIChild.klass, "onFocusSelf", VALUEFUNC(_wrap_FXMDIChild_onFocusSelf), -1); rb_define_method(SwigClassFXMDIChild.klass, "onFocusIn", VALUEFUNC(_wrap_FXMDIChild_onFocusIn), -1); rb_define_method(SwigClassFXMDIChild.klass, "onFocusOut", VALUEFUNC(_wrap_FXMDIChild_onFocusOut), -1); rb_define_method(SwigClassFXMDIChild.klass, "onRightBtnPress", VALUEFUNC(_wrap_FXMDIChild_onRightBtnPress), -1); rb_define_method(SwigClassFXMDIChild.klass, "onRightBtnRelease", VALUEFUNC(_wrap_FXMDIChild_onRightBtnRelease), -1); rb_define_method(SwigClassFXMDIChild.klass, "onLeftBtnPress", VALUEFUNC(_wrap_FXMDIChild_onLeftBtnPress), -1); rb_define_method(SwigClassFXMDIChild.klass, "onLeftBtnRelease", VALUEFUNC(_wrap_FXMDIChild_onLeftBtnRelease), -1); rb_define_method(SwigClassFXMDIChild.klass, "onMiddleBtnPress", VALUEFUNC(_wrap_FXMDIChild_onMiddleBtnPress), -1); rb_define_method(SwigClassFXMDIChild.klass, "onMiddleBtnRelease", VALUEFUNC(_wrap_FXMDIChild_onMiddleBtnRelease), -1); rb_define_method(SwigClassFXMDIChild.klass, "onMotion", VALUEFUNC(_wrap_FXMDIChild_onMotion), -1); rb_define_method(SwigClassFXMDIChild.klass, "onSelected", VALUEFUNC(_wrap_FXMDIChild_onSelected), -1); rb_define_method(SwigClassFXMDIChild.klass, "onDeselected", VALUEFUNC(_wrap_FXMDIChild_onDeselected), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdClose", VALUEFUNC(_wrap_FXMDIChild_onCmdClose), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdClose", VALUEFUNC(_wrap_FXMDIChild_onUpdClose), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdRestore", VALUEFUNC(_wrap_FXMDIChild_onCmdRestore), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdRestore", VALUEFUNC(_wrap_FXMDIChild_onUpdRestore), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdMaximize", VALUEFUNC(_wrap_FXMDIChild_onUpdMaximize), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdMinimize", VALUEFUNC(_wrap_FXMDIChild_onUpdMinimize), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdMaximize", VALUEFUNC(_wrap_FXMDIChild_onCmdMaximize), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdMinimize", VALUEFUNC(_wrap_FXMDIChild_onCmdMinimize), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdWindow", VALUEFUNC(_wrap_FXMDIChild_onUpdWindow), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdMenuRestore", VALUEFUNC(_wrap_FXMDIChild_onUpdMenuRestore), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdMenuMinimize", VALUEFUNC(_wrap_FXMDIChild_onUpdMenuMinimize), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdMenuClose", VALUEFUNC(_wrap_FXMDIChild_onUpdMenuClose), -1); rb_define_method(SwigClassFXMDIChild.klass, "onUpdMenuWindow", VALUEFUNC(_wrap_FXMDIChild_onUpdMenuWindow), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXMDIChild_onCmdSetStringValue), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXMDIChild_onCmdGetStringValue), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdSetIconValue", VALUEFUNC(_wrap_FXMDIChild_onCmdSetIconValue), -1); rb_define_method(SwigClassFXMDIChild.klass, "onCmdGetIconValue", VALUEFUNC(_wrap_FXMDIChild_onCmdGetIconValue), -1); rb_define_method(SwigClassFXMDIChild.klass, "setNormalX", VALUEFUNC(_wrap_FXMDIChild_setNormalX), -1); rb_define_method(SwigClassFXMDIChild.klass, "setNormalY", VALUEFUNC(_wrap_FXMDIChild_setNormalY), -1); rb_define_method(SwigClassFXMDIChild.klass, "setNormalWidth", VALUEFUNC(_wrap_FXMDIChild_setNormalWidth), -1); rb_define_method(SwigClassFXMDIChild.klass, "setNormalHeight", VALUEFUNC(_wrap_FXMDIChild_setNormalHeight), -1); rb_define_method(SwigClassFXMDIChild.klass, "getNormalX", VALUEFUNC(_wrap_FXMDIChild_getNormalX), -1); rb_define_method(SwigClassFXMDIChild.klass, "getNormalY", VALUEFUNC(_wrap_FXMDIChild_getNormalY), -1); rb_define_method(SwigClassFXMDIChild.klass, "getNormalWidth", VALUEFUNC(_wrap_FXMDIChild_getNormalWidth), -1); rb_define_method(SwigClassFXMDIChild.klass, "getNormalHeight", VALUEFUNC(_wrap_FXMDIChild_getNormalHeight), -1); rb_define_method(SwigClassFXMDIChild.klass, "setIconX", VALUEFUNC(_wrap_FXMDIChild_setIconX), -1); rb_define_method(SwigClassFXMDIChild.klass, "setIconY", VALUEFUNC(_wrap_FXMDIChild_setIconY), -1); rb_define_method(SwigClassFXMDIChild.klass, "setIconWidth", VALUEFUNC(_wrap_FXMDIChild_setIconWidth), -1); rb_define_method(SwigClassFXMDIChild.klass, "setIconHeight", VALUEFUNC(_wrap_FXMDIChild_setIconHeight), -1); rb_define_method(SwigClassFXMDIChild.klass, "getIconX", VALUEFUNC(_wrap_FXMDIChild_getIconX), -1); rb_define_method(SwigClassFXMDIChild.klass, "getIconY", VALUEFUNC(_wrap_FXMDIChild_getIconY), -1); rb_define_method(SwigClassFXMDIChild.klass, "getIconWidth", VALUEFUNC(_wrap_FXMDIChild_getIconWidth), -1); rb_define_method(SwigClassFXMDIChild.klass, "getIconHeight", VALUEFUNC(_wrap_FXMDIChild_getIconHeight), -1); rb_define_method(SwigClassFXMDIChild.klass, "contentWindow", VALUEFUNC(_wrap_FXMDIChild_contentWindow), -1); rb_define_method(SwigClassFXMDIChild.klass, "setTitle", VALUEFUNC(_wrap_FXMDIChild_setTitle), -1); rb_define_method(SwigClassFXMDIChild.klass, "getTitle", VALUEFUNC(_wrap_FXMDIChild_getTitle), -1); rb_define_method(SwigClassFXMDIChild.klass, "getHiliteColor", VALUEFUNC(_wrap_FXMDIChild_getHiliteColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "getShadowColor", VALUEFUNC(_wrap_FXMDIChild_getShadowColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "getBaseColor", VALUEFUNC(_wrap_FXMDIChild_getBaseColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "getBorderColor", VALUEFUNC(_wrap_FXMDIChild_getBorderColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "getTitleColor", VALUEFUNC(_wrap_FXMDIChild_getTitleColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "getTitleBackColor", VALUEFUNC(_wrap_FXMDIChild_getTitleBackColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "setHiliteColor", VALUEFUNC(_wrap_FXMDIChild_setHiliteColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "setShadowColor", VALUEFUNC(_wrap_FXMDIChild_setShadowColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "setBaseColor", VALUEFUNC(_wrap_FXMDIChild_setBaseColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "setBorderColor", VALUEFUNC(_wrap_FXMDIChild_setBorderColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "setTitleColor", VALUEFUNC(_wrap_FXMDIChild_setTitleColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "setTitleBackColor", VALUEFUNC(_wrap_FXMDIChild_setTitleBackColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "isMaximized", VALUEFUNC(_wrap_FXMDIChild_isMaximized), -1); rb_define_method(SwigClassFXMDIChild.klass, "isMinimized", VALUEFUNC(_wrap_FXMDIChild_isMinimized), -1); rb_define_method(SwigClassFXMDIChild.klass, "getIcon", VALUEFUNC(_wrap_FXMDIChild_getIcon), -1); rb_define_method(SwigClassFXMDIChild.klass, "setIcon", VALUEFUNC(_wrap_FXMDIChild_setIcon), -1); rb_define_method(SwigClassFXMDIChild.klass, "getMenu", VALUEFUNC(_wrap_FXMDIChild_getMenu), -1); rb_define_method(SwigClassFXMDIChild.klass, "setMenu", VALUEFUNC(_wrap_FXMDIChild_setMenu), -1); rb_define_method(SwigClassFXMDIChild.klass, "setTracking", VALUEFUNC(_wrap_FXMDIChild_setTracking), -1); rb_define_method(SwigClassFXMDIChild.klass, "getTracking", VALUEFUNC(_wrap_FXMDIChild_getTracking), -1); rb_define_method(SwigClassFXMDIChild.klass, "setFont", VALUEFUNC(_wrap_FXMDIChild_setFont), -1); rb_define_method(SwigClassFXMDIChild.klass, "getFont", VALUEFUNC(_wrap_FXMDIChild_getFont), -1); rb_define_method(SwigClassFXMDIChild.klass, "save", VALUEFUNC(_wrap_FXMDIChild_save), -1); rb_define_method(SwigClassFXMDIChild.klass, "load", VALUEFUNC(_wrap_FXMDIChild_load), -1); rb_define_method(SwigClassFXMDIChild.klass, "create", VALUEFUNC(_wrap_FXMDIChild_create), -1); rb_define_method(SwigClassFXMDIChild.klass, "detach", VALUEFUNC(_wrap_FXMDIChild_detach), -1); rb_define_method(SwigClassFXMDIChild.klass, "destroy", VALUEFUNC(_wrap_FXMDIChild_destroy), -1); rb_define_method(SwigClassFXMDIChild.klass, "resize", VALUEFUNC(_wrap_FXMDIChild_resize), -1); rb_define_method(SwigClassFXMDIChild.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMDIChild_getDefaultWidth), -1); rb_define_method(SwigClassFXMDIChild.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMDIChild_getDefaultHeight), -1); rb_define_method(SwigClassFXMDIChild.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMDIChild_getWidthForHeight), -1); rb_define_method(SwigClassFXMDIChild.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMDIChild_getHeightForWidth), -1); rb_define_method(SwigClassFXMDIChild.klass, "canFocus", VALUEFUNC(_wrap_FXMDIChild_canFocus), -1); rb_define_method(SwigClassFXMDIChild.klass, "setFocus", VALUEFUNC(_wrap_FXMDIChild_setFocus), -1); rb_define_method(SwigClassFXMDIChild.klass, "killFocus", VALUEFUNC(_wrap_FXMDIChild_killFocus), -1); rb_define_method(SwigClassFXMDIChild.klass, "changeFocus", VALUEFUNC(_wrap_FXMDIChild_changeFocus), -1); rb_define_method(SwigClassFXMDIChild.klass, "setDefault", VALUEFUNC(_wrap_FXMDIChild_setDefault), -1); rb_define_method(SwigClassFXMDIChild.klass, "enable", VALUEFUNC(_wrap_FXMDIChild_enable), -1); rb_define_method(SwigClassFXMDIChild.klass, "disable", VALUEFUNC(_wrap_FXMDIChild_disable), -1); rb_define_method(SwigClassFXMDIChild.klass, "raiseWindow", VALUEFUNC(_wrap_FXMDIChild_raiseWindow), -1); rb_define_method(SwigClassFXMDIChild.klass, "lower", VALUEFUNC(_wrap_FXMDIChild_lower), -1); rb_define_method(SwigClassFXMDIChild.klass, "move", VALUEFUNC(_wrap_FXMDIChild_move), -1); rb_define_method(SwigClassFXMDIChild.klass, "position", VALUEFUNC(_wrap_FXMDIChild_position), -1); rb_define_method(SwigClassFXMDIChild.klass, "layout", VALUEFUNC(_wrap_FXMDIChild_layout), -1); rb_define_method(SwigClassFXMDIChild.klass, "recalc", VALUEFUNC(_wrap_FXMDIChild_recalc), -1); rb_define_method(SwigClassFXMDIChild.klass, "reparent", VALUEFUNC(_wrap_FXMDIChild_reparent), -1); rb_define_method(SwigClassFXMDIChild.klass, "show", VALUEFUNC(_wrap_FXMDIChild_show), -1); rb_define_method(SwigClassFXMDIChild.klass, "hide", VALUEFUNC(_wrap_FXMDIChild_hide), -1); rb_define_method(SwigClassFXMDIChild.klass, "isComposite", VALUEFUNC(_wrap_FXMDIChild_isComposite), -1); rb_define_method(SwigClassFXMDIChild.klass, "contains", VALUEFUNC(_wrap_FXMDIChild_contains), -1); rb_define_method(SwigClassFXMDIChild.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMDIChild_doesSaveUnder), -1); rb_define_method(SwigClassFXMDIChild.klass, "setBackColor", VALUEFUNC(_wrap_FXMDIChild_setBackColor), -1); rb_define_method(SwigClassFXMDIChild.klass, "tr", VALUEFUNC(_wrap_FXMDIChild_tr), -1); rb_define_method(SwigClassFXMDIChild.klass, "dropEnable", VALUEFUNC(_wrap_FXMDIChild_dropEnable), -1); rb_define_method(SwigClassFXMDIChild.klass, "dropDisable", VALUEFUNC(_wrap_FXMDIChild_dropDisable), -1); rb_define_method(SwigClassFXMDIChild.klass, "setShape", VALUEFUNC(_wrap_FXMDIChild_setShape), -1); rb_define_method(SwigClassFXMDIChild.klass, "clearShape", VALUEFUNC(_wrap_FXMDIChild_clearShape), -1); rb_define_method(SwigClassFXMDIChild.klass, "minimize", VALUEFUNC(_wrap_FXMDIChild_minimize), -1); rb_define_method(SwigClassFXMDIChild.klass, "maximize", VALUEFUNC(_wrap_FXMDIChild_maximize), -1); rb_define_method(SwigClassFXMDIChild.klass, "restore", VALUEFUNC(_wrap_FXMDIChild_restore), -1); rb_define_method(SwigClassFXMDIChild.klass, "close", VALUEFUNC(_wrap_FXMDIChild_close), -1); SwigClassFXMDIChild.mark = (void (*)(void *)) FXRbMDIChild::markfunc; SwigClassFXMDIChild.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMDIChild.trackObjects = 0; }