/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). * Version 4.2.0 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ #define SWIG_VERSION 0x040200 #define SWIGRUBY /* ----------------------------------------------------------------------------- * 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 #if __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #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 #if __cplusplus >=201103L # define SWIG_NULLPTR nullptr #else # define SWIG_NULLPTR NULL #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 #define SWIG_POINTER_CLEAR 0x8 #define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) /* 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 returning 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) /* Runtime errors are < 0 */ #define SWIG_ERROR (-1) /* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */ /* Errors in range -100 to -199 are language specific errors defined in *errors.swg */ /* Errors < -200 are generic runtime specific errors */ #define SWIG_ERROR_RELEASE_NOT_OWNED (-200) #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 temporary 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 object 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 /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF * if you're missing it. */ #if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \ (defined __cplusplus && __cplusplus >= 201103L) || \ defined SWIG_HAVE_SNPRINTF) && \ !defined SWIG_NO_SNPRINTF # define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A) # define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B) #else /* Fallback versions ignore the buffer size, but most of our uses either have a * fixed maximum possible size or dynamically allocate a buffer that's large * enough. */ # define SWIG_snprintf(O,S,F,A) sprintf(O,F,A) # define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B) #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(const 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. Choose the last name. It should be the most specific; a fully resolved name but not necessarily with default template parameters expanded. */ 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 /* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ #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 #if __GNUC__ >= 7 #pragma GCC diagnostic push #if defined(__cplusplus) #pragma GCC diagnostic ignored "-Wregister" #if __GNUC__ >= 10 #pragma GCC diagnostic ignored "-Wvolatile" #if __GNUC__ >= 11 #pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" #endif #endif #endif #endif #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 #include /* For RUBY_API_VERSION_CODE */ #if __GNUC__ >= 7 #pragma GCC diagnostic pop #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 these macros act transparently due to Ruby's moving * 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) && RUBY_API_VERSION_CODE < 20700 # 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 " ); SWIG_snprintf( buf, sizeof( 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; static ID swig_lowerthan_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"); swig_lowerthan_id = rb_intern("<"); } } /* Define Ruby class for C type */ SWIGRUNTIME void SWIG_Ruby_define_class(swig_type_info *type) { size_t klass_len = 4 + strlen(type->name) + 1; char *klass_name = (char *) malloc(klass_len); SWIG_snprintf(klass_name, klass_len, "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_undef_alloc_func(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 { size_t klass_len = 4 + strlen(type->name) + 1; klass_name = (char *) malloc(klass_len); SWIG_snprintf(klass_name, klass_len, "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__"); if (NIL_P(stype)) return NULL; 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; } if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE)) { if (!RDATA(obj)->dfree) return SWIG_ERROR_RELEASE_NOT_OWNED; } /* 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; } } if (flags & SWIG_POINTER_CLEAR) { DATA_PTR(obj) = 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);rb_undef_alloc_func(cl); rb_undef_alloc_func(cl); /* 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_funcall2( proc, swig_arity_id, 0, 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) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) #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_FXChoiceBox swig_types[10] #define SWIGTYPE_p_FXColorBar swig_types[11] #define SWIGTYPE_p_FXColorDialog swig_types[12] #define SWIGTYPE_p_FXColorRing swig_types[13] #define SWIGTYPE_p_FXColorSelector swig_types[14] #define SWIGTYPE_p_FXColorWell swig_types[15] #define SWIGTYPE_p_FXColorWheel swig_types[16] #define SWIGTYPE_p_FXComboBox swig_types[17] #define SWIGTYPE_p_FXComposite swig_types[18] #define SWIGTYPE_p_FXCursor swig_types[19] #define SWIGTYPE_p_FXDataTarget swig_types[20] #define SWIGTYPE_p_FXDebugTarget swig_types[21] #define SWIGTYPE_p_FXDelegator swig_types[22] #define SWIGTYPE_p_FXDial swig_types[23] #define SWIGTYPE_p_FXDialogBox swig_types[24] #define SWIGTYPE_p_FXDict swig_types[25] #define SWIGTYPE_p_FXDirBox swig_types[26] #define SWIGTYPE_p_FXDirDialog swig_types[27] #define SWIGTYPE_p_FXDirSelector swig_types[28] #define SWIGTYPE_p_FXDockBar swig_types[29] #define SWIGTYPE_p_FXDockHandler swig_types[30] #define SWIGTYPE_p_FXDockSite swig_types[31] #define SWIGTYPE_p_FXDockTitle swig_types[32] #define SWIGTYPE_p_FXDocument swig_types[33] #define SWIGTYPE_p_FXDragCorner swig_types[34] #define SWIGTYPE_p_FXDrawable swig_types[35] #define SWIGTYPE_p_FXDriveBox swig_types[36] #define SWIGTYPE_p_FXFileDialog swig_types[37] #define SWIGTYPE_p_FXFileDict swig_types[38] #define SWIGTYPE_p_FXFileSelector swig_types[39] #define SWIGTYPE_p_FXFileStream swig_types[40] #define SWIGTYPE_p_FXFont swig_types[41] #define SWIGTYPE_p_FXFontDesc swig_types[42] #define SWIGTYPE_p_FXFontDialog swig_types[43] #define SWIGTYPE_p_FXFontSelector swig_types[44] #define SWIGTYPE_p_FXFrame swig_types[45] #define SWIGTYPE_p_FXGIFCursor swig_types[46] #define SWIGTYPE_p_FXGradientBar swig_types[47] #define SWIGTYPE_p_FXGroupBox swig_types[48] #define SWIGTYPE_p_FXHeader swig_types[49] #define SWIGTYPE_p_FXHeaderItem swig_types[50] #define SWIGTYPE_p_FXHorizontalFrame swig_types[51] #define SWIGTYPE_p_FXHorizontalSeparator swig_types[52] #define SWIGTYPE_p_FXIcon swig_types[53] #define SWIGTYPE_p_FXIconDict swig_types[54] #define SWIGTYPE_p_FXId swig_types[55] #define SWIGTYPE_p_FXImage swig_types[56] #define SWIGTYPE_p_FXImageFrame swig_types[57] #define SWIGTYPE_p_FXImageView swig_types[58] #define SWIGTYPE_p_FXInputDialog swig_types[59] #define SWIGTYPE_p_FXKnob swig_types[60] #define SWIGTYPE_p_FXListBox swig_types[61] #define SWIGTYPE_p_FXMainWindow swig_types[62] #define SWIGTYPE_p_FXMatrix swig_types[63] #define SWIGTYPE_p_FXMemoryStream swig_types[64] #define SWIGTYPE_p_FXMessageBox swig_types[65] #define SWIGTYPE_p_FXObject swig_types[66] #define SWIGTYPE_p_FXPacker swig_types[67] #define SWIGTYPE_p_FXPopup swig_types[68] #define SWIGTYPE_p_FXPrintDialog swig_types[69] #define SWIGTYPE_p_FXPrinter swig_types[70] #define SWIGTYPE_p_FXProgressBar swig_types[71] #define SWIGTYPE_p_FXProgressDialog swig_types[72] #define SWIGTYPE_p_FXRealSlider swig_types[73] #define SWIGTYPE_p_FXRealSpinner swig_types[74] #define SWIGTYPE_p_FXRecentFiles swig_types[75] #define SWIGTYPE_p_FXRegion swig_types[76] #define SWIGTYPE_p_FXRegistry swig_types[77] #define SWIGTYPE_p_FXReplaceDialog swig_types[78] #define SWIGTYPE_p_FXRootWindow swig_types[79] #define SWIGTYPE_p_FXRuler swig_types[80] #define SWIGTYPE_p_FXRulerView swig_types[81] #define SWIGTYPE_p_FXScrollArea swig_types[82] #define SWIGTYPE_p_FXScrollBar swig_types[83] #define SWIGTYPE_p_FXScrollCorner swig_types[84] #define SWIGTYPE_p_FXScrollWindow swig_types[85] #define SWIGTYPE_p_FXSearchDialog swig_types[86] #define SWIGTYPE_p_FXSeparator swig_types[87] #define SWIGTYPE_p_FXSettings swig_types[88] #define SWIGTYPE_p_FXShell swig_types[89] #define SWIGTYPE_p_FXShutter swig_types[90] #define SWIGTYPE_p_FXShutterItem swig_types[91] #define SWIGTYPE_p_FXSlider swig_types[92] #define SWIGTYPE_p_FXSpinner swig_types[93] #define SWIGTYPE_p_FXSplashWindow swig_types[94] #define SWIGTYPE_p_FXSplitter swig_types[95] #define SWIGTYPE_p_FXSpring swig_types[96] #define SWIGTYPE_p_FXStatusBar swig_types[97] #define SWIGTYPE_p_FXStatusLine swig_types[98] #define SWIGTYPE_p_FXStream swig_types[99] #define SWIGTYPE_p_FXStringDict swig_types[100] #define SWIGTYPE_p_FXSwitcher swig_types[101] #define SWIGTYPE_p_FXTabBar swig_types[102] #define SWIGTYPE_p_FXTabBook swig_types[103] #define SWIGTYPE_p_FXTextField swig_types[104] #define SWIGTYPE_p_FXToolBar swig_types[105] #define SWIGTYPE_p_FXToolBarGrip swig_types[106] #define SWIGTYPE_p_FXToolBarShell swig_types[107] #define SWIGTYPE_p_FXToolBarTab swig_types[108] #define SWIGTYPE_p_FXToolTip swig_types[109] #define SWIGTYPE_p_FXTopWindow swig_types[110] #define SWIGTYPE_p_FXTranslator swig_types[111] #define SWIGTYPE_p_FXTreeListBox swig_types[112] #define SWIGTYPE_p_FXVerticalFrame swig_types[113] #define SWIGTYPE_p_FXVerticalSeparator swig_types[114] #define SWIGTYPE_p_FXVisual swig_types[115] #define SWIGTYPE_p_FXWindow swig_types[116] #define SWIGTYPE_p_FXWizard swig_types[117] #define SWIGTYPE_p_char swig_types[118] #define SWIGTYPE_p_double swig_types[119] #define SWIGTYPE_p_float swig_types[120] #define SWIGTYPE_p_int swig_types[121] #define SWIGTYPE_p_long swig_types[122] #define SWIGTYPE_p_short swig_types[123] #define SWIGTYPE_p_unsigned_char swig_types[124] #define SWIGTYPE_p_unsigned_int swig_types[125] #define SWIGTYPE_p_unsigned_long swig_types[126] #define SWIGTYPE_p_unsigned_short swig_types[127] static swig_type_info *swig_types[129]; static swig_module_info swig_module = {swig_types, 128, 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_dialogs #define SWIG_name "Dialogs" #ifdef __cplusplus #include /* SwigValueWrapper is described in swig.swg */ template class SwigValueWrapper { struct SwigSmartPointer { T *ptr; SwigSmartPointer(T *p) : ptr(p) { } ~SwigSmartPointer() { delete ptr; } SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } } pointer; SwigValueWrapper& operator=(const SwigValueWrapper& rhs); SwigValueWrapper(const SwigValueWrapper& rhs); public: SwigValueWrapper() : pointer(0) { } SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } #if __cplusplus >=201103L SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } operator T&&() const { return std::move(*pointer.ptr); } #else operator T&() const { return *pointer.ptr; } #endif T *operator&() const { return pointer.ptr; } static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } }; /* * SwigValueInit() is a generic initialisation solution as the following approach: * * T c_result = T(); * * doesn't compile for all types for example: * * unsigned int c_result = unsigned int(); */ template T SwigValueInit() { return T(); } #if __cplusplus >=201103L # define SWIG_STD_MOVE(OBJ) std::move(OBJ) #else # define SWIG_STD_MOVE(OBJ) OBJ #endif #endif #define SWIG_RUBY_THREAD_BEGIN_BLOCK #define SWIG_RUBY_THREAD_END_BLOCK #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 SWIGINTERNINLINE VALUE SWIG_From_int (int value) { return SWIG_From_long (value); } SWIGINTERN FXDialogBox *new_FXDialogBox__SWIG_0(FXApp *APP,FXString const &name,FXuint opts=DECOR_TITLE|DECOR_BORDER,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=10,FXint pr=10,FXint pt=10,FXint pb=10,FXint hs=4,FXint vs=4){ return new FXRbDialogBox(APP,name,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERN FXDialogBox *new_FXDialogBox__SWIG_1(FXWindow *OWNER,FXString const &name,FXuint opts=DECOR_TITLE|DECOR_BORDER,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=10,FXint pr=10,FXint pt=10,FXint pb=10,FXint hs=4,FXint vs=4){ return new FXRbDialogBox(OWNER,name,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } 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)); } 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_type_info *FXDialogBox_dynamic_cast(void **ptr) { FXDialogBox **ppDialogBox = reinterpret_cast(ptr); FXChoiceBox *pChoiceBox=dynamic_cast(*ppDialogBox); if(pChoiceBox){ *ptr=reinterpret_cast(pChoiceBox); return SWIG_TypeQuery("FXChoiceBox *"); } FXColorDialog *pColorDialog=dynamic_cast(*ppDialogBox); if(pColorDialog){ *ptr=reinterpret_cast(pColorDialog); return SWIG_TypeQuery("FXColorDialog *"); } FXDirDialog *pDirDialog=dynamic_cast(*ppDialogBox); if(pDirDialog){ *ptr=reinterpret_cast(pDirDialog); return SWIG_TypeQuery("FXDirDialog *"); } FXFileDialog *pFileDialog=dynamic_cast(*ppDialogBox); if(pFileDialog){ *ptr=reinterpret_cast(pFileDialog); return SWIG_TypeQuery("FXFileDialog *"); } FXFontDialog *pFontDialog=dynamic_cast(*ppDialogBox); if(pFontDialog){ *ptr=reinterpret_cast(pFontDialog); return SWIG_TypeQuery("FXFontDialog *"); } FXInputDialog *pInputDialog=dynamic_cast(*ppDialogBox); if(pInputDialog){ *ptr=reinterpret_cast(pInputDialog); return SWIG_TypeQuery("FXInputDialog *"); } FXMessageBox *pMessageBox=dynamic_cast(*ppDialogBox); if(pMessageBox){ *ptr=reinterpret_cast(pMessageBox); return SWIG_TypeQuery("FXMessageBox *"); } FXPrintDialog *pPrintDialog=dynamic_cast(*ppDialogBox); if(pPrintDialog){ *ptr=reinterpret_cast(pPrintDialog); return SWIG_TypeQuery("FXPrintDialog *"); } FXProgressDialog *pProgressDialog=dynamic_cast(*ppDialogBox); if(pProgressDialog){ *ptr=reinterpret_cast(pProgressDialog); return SWIG_TypeQuery("FXProgressDialog *"); } FXReplaceDialog *pReplaceDialog=dynamic_cast(*ppDialogBox); if(pReplaceDialog){ *ptr=reinterpret_cast(pReplaceDialog); return SWIG_TypeQuery("FXReplaceDialog *"); } FXWizard *pWizard=dynamic_cast(*ppDialogBox); if(pWizard){ *ptr=reinterpret_cast(pWizard); return SWIG_TypeQuery("FXWizard *"); } return 0; } SWIGINTERN FXDirDialog *new_FXDirDialog__SWIG_0(FXWindow *owner,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=400,FXint h=300){ return new FXRbDirDialog(owner,name,opts,x,y,w,h); } SWIGINTERN FXDirDialog *new_FXDirDialog__SWIG_1(FXApp *a,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=400,FXint h=300){ return new FXRbDirDialog(a,name,opts,x,y,w,h); } SWIGINTERN FXFileDialog *new_FXFileDialog__SWIG_0(FXWindow *owner,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=500,FXint h=300){ return new FXRbFileDialog(owner,name,opts,x,y,w,h); } SWIGINTERN FXFileDialog *new_FXFileDialog__SWIG_1(FXApp *a,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=500,FXint h=300){ return new FXRbFileDialog(a,name,opts,x,y,w,h); } SWIGINTERN VALUE FXFileDialog_getFilenames(FXFileDialog const *self){ VALUE result = rb_ary_new(); FXString *filenames = self->getFilenames(); if (filenames) { FXString *p = filenames; while ((*p) != FXString::null) { rb_ary_push(result, to_ruby(*p)); p++; } delete [] filenames; } return result; } SWIGINTERN void FXFileDialog_setPatternList(FXFileDialog *self,VALUE ary){ FXString patterns; if(TYPE(ary)==T_STRING){ patterns=FXString(StringValuePtr(ary)); } else if(TYPE(ary)==T_ARRAY){ for(long i=0; isetPatternList(patterns); } SWIGINTERN VALUE FXFileDialog_getPatternList(FXFileDialog const *self){ FXString pat; FXString patterns; VALUE ary; patterns=self->getPatternList(); ary=rb_ary_new(); for(FXint start=0;!(pat=patterns.section('\n',start)).empty();start++){ rb_ary_push(ary,to_ruby(pat.text())); } return ary; } SWIGINTERN VALUE FXFileDialog_getOpenFilenames(FXWindow *owner,FXString const &caption,FXString const &path,FXString const &patterns="*",FXint initial=0){ VALUE result = rb_ary_new(); FXString *filenames = FXFileDialog::getOpenFilenames(owner, caption, path, patterns, initial); if (filenames) { FXString *p = filenames; while ((*p) != FXString::null) { rb_ary_push(result, to_ruby(*p)); p++; } delete [] filenames; } return result; } SWIGINTERN FXColorDialog *new_FXColorDialog(FXWindow *owner,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbColorDialog(owner,name,opts,x,y,w,h); } SWIGINTERN FXFontDialog *new_FXFontDialog(FXWindow *owner,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=600,FXint h=380){ return new FXRbFontDialog(owner,name,opts,x,y,w,h); } SWIGINTERN FXFontDesc FXFontDialog_getFontSelection(FXFontDialog const *self){ FXFontDesc fontdesc; self->getFontSelection(fontdesc); return fontdesc; } SWIGINTERN FXReplaceDialog *new_FXReplaceDialog(FXWindow *owner,FXString const &caption,FXIcon *ic=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbReplaceDialog(owner,caption,ic,opts,x,y,w,h); } static swig_type_info *FXReplaceDialog_dynamic_cast(void **ptr) { FXReplaceDialog **ppReplaceDialog = reinterpret_cast(ptr); FXSearchDialog *pSearchDialog=dynamic_cast(*ppReplaceDialog); if(pSearchDialog){ *ptr=reinterpret_cast(pSearchDialog); return SWIG_TypeQuery("FXSearchDialog *"); } return 0; } SWIGINTERN FXSearchDialog *new_FXSearchDialog(FXWindow *owner,FXString const &caption,FXIcon *ic=0,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbSearchDialog(owner,caption,ic,opts,x,y,w,h); } SWIGINTERN FXInputDialog *new_FXInputDialog__SWIG_0(FXWindow *owner,FXString const &caption,FXString const &label,FXIcon *icon=0,FXuint opts=INPUTDIALOG_STRING,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbInputDialog(owner,caption,label,icon,opts,x,y,w,h); } SWIGINTERN FXInputDialog *new_FXInputDialog__SWIG_1(FXApp *app,FXString const &caption,FXString const &label,FXIcon *icon=0,FXuint opts=INPUTDIALOG_STRING,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbInputDialog(app,caption,label,icon,opts,x,y,w,h); } SWIGINTERN VALUE SWIG_ruby_failed(VALUE SWIGUNUSEDPARM(arg1), VALUE SWIGUNUSEDPARM(arg2)) { return Qnil; } /*@SWIG:/usr/share/swig4.0/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/ SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE arg) { VALUE *args = (VALUE *)arg; VALUE obj = args[0]; VALUE type = TYPE(obj); double *res = (double *)(args[1]); *res = NUM2DBL(obj); (void)type; return obj; } /*@SWIG@*/ SWIGINTERN int SWIG_AsVal_double (VALUE obj, double *val) { VALUE type = TYPE(obj); if ((type == T_FLOAT) || (type == T_FIXNUM) || (type == T_BIGNUM)) { double v; VALUE a[2]; a[0] = obj; a[1] = (VALUE)(&v); if (rb_rescue(VALUEFUNC(SWIG_AUX_NUM2DBL), (VALUE)a, VALUEFUNC(SWIG_ruby_failed), 0) != Qnil) { if (val) *val = v; return SWIG_OK; } } return SWIG_TypeError; } SWIGINTERN VALUE FXInputDialog_getLimits(FXInputDialog *self){ FXdouble lo, hi; self->getLimits(lo, hi); VALUE result = rb_ary_new(); rb_ary_push(result, rb_float_new(lo)); rb_ary_push(result, rb_float_new(hi)); return result; } SWIGINTERN VALUE FXInputDialog_getString__SWIG_0(FXString const &initial,FXWindow *owner,FXString const &caption,FXString const &label,FXIcon *icon=0){ FXString result(initial); if(FXInputDialog::getString(result,owner,caption,label,icon)){ return to_ruby(result); } else{ return Qnil; } } SWIGINTERN VALUE FXInputDialog_getString__SWIG_1(FXString const &initial,FXApp *app,FXString const &caption,FXString const &label,FXIcon *icon=0){ FXString result(initial); if(FXInputDialog::getString(result,app,caption,label,icon)){ return to_ruby(result); } else{ return Qnil; } } SWIGINTERN VALUE FXInputDialog_getInteger__SWIG_0(FXint initial,FXWindow *owner,FXString const &caption,FXString const &label,FXIcon *icon=0,FXint lo=-2147483647,FXint hi=2147483647){ FXint result=initial; if(FXInputDialog::getInteger(result,owner,caption,label,icon,lo,hi)){ return to_ruby(result); } else{ return Qnil; } } SWIGINTERN VALUE FXInputDialog_getInteger__SWIG_1(FXint initial,FXApp *app,FXString const &caption,FXString const &label,FXIcon *icon=0,FXint lo=-2147483647,FXint hi=2147483647){ FXint result=initial; if(FXInputDialog::getInteger(result,app,caption,label,icon,lo,hi)){ return to_ruby(result); } else{ return Qnil; } } SWIGINTERN VALUE FXInputDialog_getReal__SWIG_0(FXdouble initial,FXWindow *owner,FXString const &caption,FXString const &label,FXIcon *icon=0,FXdouble lo=-1.797693134862315e+308,FXdouble hi=1.797693134862315e+308){ FXdouble result=initial; if(FXInputDialog::getReal(result,owner,caption,label,icon,lo,hi)){ return to_ruby(result); } else{ return Qnil; } } SWIGINTERN VALUE FXInputDialog_getReal__SWIG_1(FXdouble initial,FXApp *app,FXString const &caption,FXString const &label,FXIcon *icon=0,FXdouble lo=-1.797693134862315e+308,FXdouble hi=1.797693134862315e+308){ FXdouble result=initial; if(FXInputDialog::getReal(result,app,caption,label,icon,lo,hi)){ return to_ruby(result); } else{ return Qnil; } } SWIGINTERN FXPrintDialog *new_FXPrintDialog(FXWindow *owner,FXString const &name,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbPrintDialog(owner,name,opts,x,y,w,h); } SWIGINTERN FXPrinter FXPrintDialog_getPrinter(FXPrintDialog *self){ FXPrinter pr; self->getPrinter(pr); return pr; } SWIGINTERN FXProgressDialog *new_FXProgressDialog(FXWindow *owner,FXString const &caption,FXString const &label,FXuint opts=PROGRESSDIALOG_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbProgressDialog(owner,caption,label,opts,x,y,w,h); } SWIGINTERN FXMessageBox *new_FXMessageBox__SWIG_0(FXWindow *owner,FXString const &caption,FXString const &text,FXIcon *ic=0,FXuint opts=0,FXint x=0,FXint y=0){ return new FXRbMessageBox(owner,caption,text,ic,opts,x,y); } SWIGINTERN FXMessageBox *new_FXMessageBox__SWIG_1(FXApp *app,FXString const &caption,FXString const &text,FXIcon *ic=0,FXuint opts=0,FXint x=0,FXint y=0){ return new FXRbMessageBox(app,caption,text,ic,opts,x,y); } SWIGINTERN FXWizard *new_FXWizard__SWIG_0(FXApp *a,FXString const &name,FXImage *image,FXuint opts=DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=10,FXint pr=10,FXint pt=10,FXint pb=10,FXint hs=10,FXint vs=10){ return new FXRbWizard(a,name,image,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERN FXWizard *new_FXWizard__SWIG_1(FXWindow *owner,FXString const &name,FXImage *image,FXuint opts=DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=10,FXint pr=10,FXint pt=10,FXint pb=10,FXint hs=10,FXint vs=10){ return new FXRbWizard(owner,name,image,opts,x,y,w,h,pl,pr,pt,pb,hs,vs); } SWIGINTERN void FXWizard_setCurrentPanel(FXWizard *self,FXint index){ if(0<=index && indexgetNumPanels()){ self->setCurrentPanel(index); } else{ rb_raise(rb_eIndexError,"panel index %d out of bounds",index); } } SWIGINTERN FXChoiceBox *new_FXChoiceBox__SWIG_0(FXWindow *owner,FXString const &caption,FXString const &text,FXIcon *icon,FXchar const **choices,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbChoiceBox(owner,caption,text,icon,choices,opts,x,y,w,h); } SWIGINTERN FXChoiceBox *new_FXChoiceBox__SWIG_1(FXApp *app,FXString const &caption,FXString const &text,FXIcon *icon,FXchar const **choices,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){ return new FXRbChoiceBox(app,caption,text,icon,choices,opts,x,y,w,h); } static swig_class SwigClassFXDialogBox; SWIGINTERN VALUE _wrap_FXDialogBox_onKeyPress(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","onKeyPress", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyPress", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyPress(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_onKeyRelease(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","onKeyRelease", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onKeyRelease", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onKeyRelease(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_onCmdAccept(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","onCmdAccept", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdAccept", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAccept(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_onCmdCancel(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","onCmdCancel", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCancel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCancel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXDialogBox__SWIG_0(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) DECOR_TITLE|DECOR_BORDER ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 10 ; FXint arg9 = (FXint) 10 ; FXint arg10 = (FXint) 10 ; FXint arg11 = (FXint) 10 ; FXint arg12 = (FXint) 4 ; FXint arg13 = (FXint) 4 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXDialogBox *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXDialogBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDialogBox *)new_FXDialogBox__SWIG_0(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDialogBox_allocate(VALUE self) #else _wrap_FXDialogBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDialogBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDialogBox__SWIG_1(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) DECOR_TITLE|DECOR_BORDER ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 10 ; FXint arg9 = (FXint) 10 ; FXint arg10 = (FXint) 10 ; FXint arg11 = (FXint) 10 ; FXint arg12 = (FXint) 4 ; FXint arg13 = (FXint) 4 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXDialogBox *result = 0 ; if ((argc < 2) || (argc > 13)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXDialogBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDialogBox *)new_FXDialogBox__SWIG_1(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXDialogBox(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[13]; int ii; argc = nargs; if (argc > 13) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 2) && (argc <= 13)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 12) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[12]) == T_FIXNUM || TYPE(argv[12]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXDialogBox__SWIG_0(nargs, args, self); } } } } } } } } } } } } } } if ((argc >= 2) && (argc <= 13)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 12) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[12]) == T_FIXNUM || TYPE(argv[12]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXDialogBox__SWIG_1(nargs, args, self); } } } } } } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 13, "FXDialogBox.new", " FXDialogBox.new(FXApp *APP, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n" " FXDialogBox.new(FXWindow *OWNER, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_save(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_save((FXDialogBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_load(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","load", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_create(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","create", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_detach(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_destroy(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_resize(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDialogBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); result = (FXint)FXDialogBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); result = (FXint)FXDialogBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDialogBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDialogBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_canFocus(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); result = (bool)FXDialogBox_canFocus((FXDialogBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_setFocus(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_killFocus(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_setDefault(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDialogBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_enable(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_disable(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_lower(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_move(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","move", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDialogBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_position(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","position", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDialogBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_layout(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_recalc(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_reparent(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","show", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_hide(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_isComposite(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); result = (bool)FXDialogBox_isComposite((FXDialogBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_contains(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDialogBox_contains((FXDialogBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); result = (bool)FXDialogBox_doesSaveUnder((FXDialogBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = to_FXColor(argv[0]); FXDialogBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_tr(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDialogBox_tr((FXDialogBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXRegion *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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(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); FXDialogBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDialogBox, 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_FXDialogBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDialogBox, 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_FXDialogBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDialogBox, 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_FXDialogBox_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_FXDialogBox_clearShape(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); FXDialogBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","show", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); arg2 = NUM2UINT(argv[0]); FXDialogBox_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDialogBox, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXDialogBox_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDialogBox, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXDialogBox_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_maximize(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","maximize", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDialogBox_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_minimize(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","minimize", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDialogBox_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_restore(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","restore", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDialogBox_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_close(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","close", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDialogBox_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDialogBox_execute(int argc, VALUE *argv, VALUE self) { FXDialogBox *arg1 = (FXDialogBox *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXDialogBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDialogBox *","execute", 1, self )); } arg1 = reinterpret_cast< FXDialogBox * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXDialogBox_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXDirDialog; SWIGINTERN VALUE _wrap_new_FXDirDialog__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 400 ; FXint arg7 = (FXint) 300 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXDirDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXDirDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDirDialog *)new_FXDirDialog__SWIG_0(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXDirDialog_allocate(VALUE self) #else _wrap_FXDirDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXDirDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXDirDialog__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 400 ; FXint arg7 = (FXint) 300 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXDirDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXDirDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXDirDialog *)new_FXDirDialog__SWIG_1(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXDirDialog(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 2) && (argc <= 7)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXDirDialog__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 2) && (argc <= 7)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXDirDialog__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "FXDirDialog.new", " FXDirDialog.new(FXWindow *owner, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n" " FXDirDialog.new(FXApp *a, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setDirectory(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setDirectory", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setDirectory((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getDirectory(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","getDirectory", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = ((FXDirDialog const *)arg1)->getDirectory(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getShowFiles(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","showFiles", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (FXbool)((FXDirDialog const *)arg1)->showFiles(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setShowFiles(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","showFiles", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showFiles(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (FXbool)((FXDirDialog const *)arg1)->showHiddenFiles(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showHiddenFiles(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getMatchMode(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","getMatchMode", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (FXuint)((FXDirDialog const *)arg1)->getMatchMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setMatchMode(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setMatchMode", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setMatchMode(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setDirBoxStyle(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setDirBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setDirBoxStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getDirBoxStyle(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","getDirBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (FXuint)((FXDirDialog const *)arg1)->getDirBoxStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getOpenDirectory(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; FXString result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXDirDialog::getOpenDirectory", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXDirDialog::getOpenDirectory(arg1,(FXString const &)*arg2,(FXString const &)*arg3); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_save(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_save((FXDirDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_load(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_create(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_detach(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_destroy(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_resize(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDirDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (FXint)FXDirDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (FXint)FXDirDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDirDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXDirDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (bool)FXDirDialog_canFocus((FXDirDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXDirDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_enable(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_disable(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_lower(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_move(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXDirDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_position(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXDirDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_layout(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_recalc(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_reparent(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_hide(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (bool)FXDirDialog_isComposite((FXDirDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_contains(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXDirDialog_contains((FXDirDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); result = (bool)FXDirDialog_doesSaveUnder((FXDirDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXDirDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_tr(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXDirDialog_tr((FXDirDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXRegion *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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(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); FXDirDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 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_FXDirDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 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_FXDirDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 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_FXDirDialog_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_FXDirDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); FXDirDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXDirDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXDirDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXDirDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXDirDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_maximize(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDirDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_minimize(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDirDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_restore(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDirDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_close(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXDirDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXDirDialog_execute(int argc, VALUE *argv, VALUE self) { FXDirDialog *arg1 = (FXDirDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXDirDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXDirDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXDirDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXDirDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXFileDialog; SWIGINTERN VALUE _wrap_new_FXFileDialog__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 500 ; FXint arg7 = (FXint) 300 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXFileDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXFileDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXFileDialog *)new_FXFileDialog__SWIG_0(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXFileDialog_allocate(VALUE self) #else _wrap_FXFileDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXFileDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXFileDialog__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 500 ; FXint arg7 = (FXint) 300 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXFileDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXFileDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXFileDialog *)new_FXFileDialog__SWIG_1(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXFileDialog(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 2) && (argc <= 7)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXFileDialog__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 2) && (argc <= 7)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 2) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[2]) == T_FIXNUM || TYPE(argv[2]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXFileDialog__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "FXFileDialog.new", " FXFileDialog.new(FXWindow *owner, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n" " FXFileDialog.new(FXApp *a, FXString const &name, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setFilename(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setFilename", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setFilename((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getFilename(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getFilename", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = ((FXFileDialog const *)arg1)->getFilename(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getFilenames(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getFilenames", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (VALUE)FXFileDialog_getFilenames((FXFileDialog const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setPattern((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = ((FXFileDialog const *)arg1)->getPattern(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setPatternList(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; VALUE arg2 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setPatternList", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = argv[0]; FXFileDialog_setPatternList(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getPatternList(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getPatternList", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (VALUE)FXFileDialog_getPatternList((FXFileDialog const *)arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setCurrentPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setCurrentPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setCurrentPattern(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getCurrentPattern(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getCurrentPattern", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getCurrentPattern(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getPatternText(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXint arg2 ; void *argp1 = 0 ; int res1 = 0 ; FXString result; VALUE vresult = Qnil; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getPatternText", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = ((FXFileDialog const *)arg1)->getPatternText(arg2); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setPatternText(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXint arg2 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setPatternText", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); p3 = to_FXString(argv[1]); arg3 = &p3; (arg1)->setPatternText(arg2,(FXString const &)*arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_numPatterns(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getNumPatterns", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getNumPatterns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setAllowPatternEntry(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","allowPatternEntry", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->allowPatternEntry(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getAllowPatternEntry(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","allowPatternEntry", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->allowPatternEntry(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setDirectory(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setDirectory", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setDirectory((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getDirectory(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getDirectory", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = ((FXFileDialog const *)arg1)->getDirectory(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setItemSpace(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setItemSpace", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setItemSpace(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getItemSpace(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getItemSpace", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getItemSpace(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setSelectMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setSelectMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSelectMode(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getSelectMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getSelectMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXuint)((FXFileDialog const *)arg1)->getSelectMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setMatchMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setMatchMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setMatchMode(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getMatchMode(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getMatchMode", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXuint)((FXFileDialog const *)arg1)->getMatchMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->showHiddenFiles(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setShowHiddenFiles(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","showHiddenFiles", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showHiddenFiles(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getShowImages(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","showImages", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->showImages(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setShowImages(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","showImages", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showImages(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getImageSize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)((FXFileDialog const *)arg1)->getImageSize(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setImageSize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setImageSize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setImageSize(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_showReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","showReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->showReadOnly(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_shownReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","shownReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->shownReadOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setReadOnly(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getReadOnly(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getReadOnly", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->getReadOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setFileBoxStyle(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setFileBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setFileBoxStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getFileBoxStyle(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","getFileBoxStyle", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXuint)((FXFileDialog const *)arg1)->getFileBoxStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_navigationAllowede___(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","allowNavigation", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->allowNavigation(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_navigationAllowedq___(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","allowNavigation", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXbool)((FXFileDialog const *)arg1)->allowNavigation(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getOpenFilename(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXString const &arg4_defvalue = "*" ; FXString *arg4 = (FXString *) &arg4_defvalue ; FXint arg5 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; FXString result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXFileDialog::getOpenFilename", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { p4 = to_FXString(argv[3]); arg4 = &p4; } if (argc > 4) { arg5 = NUM2INT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXFileDialog::getOpenFilename(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getOpenFilenames(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXString const &arg4_defvalue = "*" ; FXString *arg4 = (FXString *) &arg4_defvalue ; FXint arg5 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; VALUE result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXFileDialog_getOpenFilenames", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { p4 = to_FXString(argv[3]); arg4 = &p4; } if (argc > 4) { arg5 = NUM2INT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXFileDialog_getOpenFilenames(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getSaveFilename(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXString const &arg4_defvalue = "*" ; FXString *arg4 = (FXString *) &arg4_defvalue ; FXint arg5 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; FXString result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXFileDialog::getSaveFilename", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { p4 = to_FXString(argv[3]); arg4 = &p4; } if (argc > 4) { arg5 = NUM2INT(argv[4]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXFileDialog::getSaveFilename(arg1,(FXString const &)*arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getOpenDirectory(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; FXString result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXFileDialog::getOpenDirectory", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = FXFileDialog::getOpenDirectory(arg1,(FXString const &)*arg2,(FXString const &)*arg3); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_save(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_save((FXFileDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_load(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_create(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_detach(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_destroy(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_resize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFileDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)FXFileDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (FXint)FXFileDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFileDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFileDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (bool)FXFileDialog_canFocus((FXFileDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFileDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_enable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_disable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_lower(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_move(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFileDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_position(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXFileDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_layout(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_recalc(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_reparent(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_hide(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (bool)FXFileDialog_isComposite((FXFileDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_contains(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXFileDialog_contains((FXFileDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); result = (bool)FXFileDialog_doesSaveUnder((FXFileDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXFileDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_tr(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXFileDialog_tr((FXFileDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXRegion *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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(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); FXFileDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 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_FXFileDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 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_FXFileDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 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_FXFileDialog_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_FXFileDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); FXFileDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXFileDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXFileDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFileDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXFileDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_maximize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_minimize(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_restore(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_close(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFileDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFileDialog_execute(int argc, VALUE *argv, VALUE self) { FXFileDialog *arg1 = (FXFileDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXFileDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFileDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXFileDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXFileDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXColorDialog; SWIGINTERN VALUE _wrap_FXColorDialog_onChgColor(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","onChgColor", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onChgColor", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2UINT(argv[2])); result = (long)(arg1)->onChgColor(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_onCmdColor(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","onCmdColor", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdColor", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2UINT(argv[2])); result = (long)(arg1)->onCmdColor(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_FXColorDialog_allocate(VALUE self) #else _wrap_FXColorDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXColorDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXColorDialog(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXColorDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXColorDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXColorDialog *)new_FXColorDialog(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setRGBA(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setRGBA", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = to_FXColor(argv[0]); (arg1)->setRGBA(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_getRGBA(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","getRGBA", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (FXColor)((FXColorDialog const *)arg1)->getRGBA(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_isOpaqueOnly(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","isOpaqueOnly", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (FXbool)((FXColorDialog const *)arg1)->isOpaqueOnly(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setOpaqueOnly(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setOpaqueOnly", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setOpaqueOnly(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_save(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_save((FXColorDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_load(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_create(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_detach(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_destroy(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_resize(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXColorDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (FXint)FXColorDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (FXint)FXColorDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXColorDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXColorDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (bool)FXColorDialog_canFocus((FXColorDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXColorDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_enable(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_disable(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_lower(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_move(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXColorDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_position(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXColorDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_layout(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_recalc(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_reparent(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_hide(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (bool)FXColorDialog_isComposite((FXColorDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_contains(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXColorDialog_contains((FXColorDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); result = (bool)FXColorDialog_doesSaveUnder((FXColorDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXColorDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_tr(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXColorDialog_tr((FXColorDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; FXRegion *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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(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); FXColorDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorDialog, 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_FXColorDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorDialog, 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_FXColorDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorDialog, 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_FXColorDialog_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_FXColorDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); FXColorDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXColorDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXColorDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXColorDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXColorDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_maximize(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXColorDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_minimize(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXColorDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_restore(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXColorDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_close(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXColorDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXColorDialog_execute(int argc, VALUE *argv, VALUE self) { FXColorDialog *arg1 = (FXColorDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXColorDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXColorDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXColorDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXColorDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXFontDialog; SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXFontDialog_allocate(VALUE self) #else _wrap_FXFontDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXFontDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXFontDialog(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 600 ; FXint arg7 = (FXint) 380 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXFontDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXFontDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXFontDialog *)new_FXFontDialog(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setFontSelection(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; FXFontDesc *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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setFontSelection", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXFontDesc, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFontDesc const &","setFontSelection", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXFontDesc const &","setFontSelection", 2, argv[0])); } arg2 = reinterpret_cast< FXFontDesc * >(argp2); (arg1)->setFontSelection((FXFontDesc const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_getFontSelection(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXFontDesc result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","getFontSelection", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); result = FXFontDialog_getFontSelection((FXFontDialog const *)arg1); { FXFontDesc* resultptr = new FXFontDesc(result); vresult = FXRbGetRubyObj(resultptr, "FXFontDesc *"); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_save(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_save((FXFontDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_load(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_create(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_detach(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_destroy(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_resize(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFontDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); result = (FXint)FXFontDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); result = (FXint)FXFontDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFontDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXFontDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); result = (bool)FXFontDialog_canFocus((FXFontDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXFontDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_enable(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_disable(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_lower(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_move(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXFontDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_position(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXFontDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_layout(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_recalc(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_reparent(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_hide(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); result = (bool)FXFontDialog_isComposite((FXFontDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_contains(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXFontDialog_contains((FXFontDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); result = (bool)FXFontDialog_doesSaveUnder((FXFontDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXFontDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_tr(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXFontDialog_tr((FXFontDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; FXRegion *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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(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); FXFontDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontDialog, 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_FXFontDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontDialog, 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_FXFontDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontDialog, 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_FXFontDialog_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_FXFontDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); FXFontDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXFontDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXFontDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXFontDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXFontDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_maximize(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFontDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_minimize(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFontDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_restore(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFontDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_close(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXFontDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXFontDialog_execute(int argc, VALUE *argv, VALUE self) { FXFontDialog *arg1 = (FXFontDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXFontDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXFontDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXFontDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXFontDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXReplaceDialog; SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdAll(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdAll", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdAll", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAll(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdNext(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdNext", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onUpdDir(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onUpdDir", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdDir", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdDir(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdDir(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdDir", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdDir", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdDir(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onUpdMode(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onUpdMode", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMode", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMode(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdMode(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdMode", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMode", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdMode(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onSearchKey(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onSearchKey", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onSearchKey", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onSearchKey(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onReplaceKey(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onReplaceKey", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onReplaceKey", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = to_FXEvent(argv[2]); result = (long)(arg1)->onReplaceKey(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdSearchHist(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdSearchHist", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSearchHist", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdSearchHist(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdReplaceHist(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdReplaceHist", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdReplaceHist", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdReplaceHist(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_onCmdAccept(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","onCmdAccept", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdAccept", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAccept(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_FXReplaceDialog_allocate(VALUE self) #else _wrap_FXReplaceDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXReplaceDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXReplaceDialog(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXuint arg4 = (FXuint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXReplaceDialog *result = 0 ; if ((argc < 2) || (argc > 8)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXReplaceDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(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 *","FXReplaceDialog", 3, argv[2] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } 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 = (FXReplaceDialog *)new_FXReplaceDialog(arg1,(FXString const &)*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_FXReplaceDialog_setSearchText(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setSearchText", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setSearchText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getSearchText(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","getSearchText", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = ((FXReplaceDialog const *)arg1)->getSearchText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setReplaceText(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setReplaceText", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setReplaceText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getReplaceText(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","getReplaceText", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = ((FXReplaceDialog const *)arg1)->getReplaceText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setSearchMode(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setSearchMode", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setSearchMode(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getSearchMode(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","getSearchMode", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = (FXuint)((FXReplaceDialog const *)arg1)->getSearchMode(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_save(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_save((FXReplaceDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_load(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_create(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_detach(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_destroy(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_resize(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXReplaceDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = (FXint)FXReplaceDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = (FXint)FXReplaceDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXReplaceDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXReplaceDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = (bool)FXReplaceDialog_canFocus((FXReplaceDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXReplaceDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_enable(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_disable(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_lower(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_move(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXReplaceDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_position(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXReplaceDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_layout(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_recalc(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_reparent(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_hide(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = (bool)FXReplaceDialog_isComposite((FXReplaceDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_contains(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXReplaceDialog_contains((FXReplaceDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); result = (bool)FXReplaceDialog_doesSaveUnder((FXReplaceDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXReplaceDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_tr(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXReplaceDialog_tr((FXReplaceDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXRegion *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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(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); FXReplaceDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXReplaceDialog, 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_FXReplaceDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXReplaceDialog, 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_FXReplaceDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXReplaceDialog, 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_FXReplaceDialog_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_FXReplaceDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); FXReplaceDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXReplaceDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXReplaceDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXReplaceDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXReplaceDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXReplaceDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_maximize(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXReplaceDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_minimize(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXReplaceDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_restore(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXReplaceDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_close(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXReplaceDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXReplaceDialog_execute(int argc, VALUE *argv, VALUE self) { FXReplaceDialog *arg1 = (FXReplaceDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXReplaceDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXReplaceDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXReplaceDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXReplaceDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXSearchDialog; SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXSearchDialog_allocate(VALUE self) #else _wrap_FXSearchDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXSearchDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXSearchDialog(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXIcon *arg3 = (FXIcon *) 0 ; FXuint arg4 = (FXuint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXSearchDialog *result = 0 ; if ((argc < 2) || (argc > 8)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXSearchDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(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 *","FXSearchDialog", 3, argv[2] )); } arg3 = reinterpret_cast< FXIcon * >(argp3); } 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 = (FXSearchDialog *)new_FXSearchDialog(arg1,(FXString const &)*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_FXSearchDialog_save(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_save((FXSearchDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_load(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_create(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_detach(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_destroy(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_resize(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXSearchDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); result = (FXint)FXSearchDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); result = (FXint)FXSearchDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXSearchDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXSearchDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); result = (bool)FXSearchDialog_canFocus((FXSearchDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXSearchDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_enable(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_disable(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_lower(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_move(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXSearchDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_position(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXSearchDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_layout(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_recalc(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_reparent(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_hide(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); result = (bool)FXSearchDialog_isComposite((FXSearchDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_contains(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXSearchDialog_contains((FXSearchDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); result = (bool)FXSearchDialog_doesSaveUnder((FXSearchDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXSearchDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_tr(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXSearchDialog_tr((FXSearchDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; FXRegion *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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(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); FXSearchDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSearchDialog, 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_FXSearchDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSearchDialog, 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_FXSearchDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSearchDialog, 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_FXSearchDialog_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_FXSearchDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); FXSearchDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXSearchDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSearchDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXSearchDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXSearchDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXSearchDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_maximize(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXSearchDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_minimize(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXSearchDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_restore(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXSearchDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_close(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXSearchDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXSearchDialog_execute(int argc, VALUE *argv, VALUE self) { FXSearchDialog *arg1 = (FXSearchDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXSearchDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXSearchDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXSearchDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXSearchDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXInputDialog; SWIGINTERN VALUE _wrap_FXInputDialog_onCmdAccept(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","onCmdAccept", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdAccept", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAccept(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXInputDialog__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXuint arg5 = (FXuint) INPUTDIALOG_STRING ; 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 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXInputDialog *result = 0 ; if ((argc < 3) || (argc > 9)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXInputDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog", 4, argv[3] )); } arg4 = reinterpret_cast< FXIcon * >(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]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXInputDialog *)new_FXInputDialog__SWIG_0(arg1,(FXString const &)*arg2,(FXString const &)*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 #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXInputDialog_allocate(VALUE self) #else _wrap_FXInputDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXInputDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXInputDialog__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXuint arg5 = (FXuint) INPUTDIALOG_STRING ; 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 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXInputDialog *result = 0 ; if ((argc < 3) || (argc > 9)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXInputDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog", 4, argv[3] )); } arg4 = reinterpret_cast< FXIcon * >(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]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXInputDialog *)new_FXInputDialog__SWIG_1(arg1,(FXString const &)*arg2,(FXString const &)*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_new_FXInputDialog(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[9]; int ii; argc = nargs; if (argc > 9) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 3) && (argc <= 9)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXInputDialog__SWIG_0(nargs, args, self); } } } } } } } } } } if ((argc >= 3) && (argc <= 9)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXInputDialog__SWIG_1(nargs, args, self); } } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 9, "FXInputDialog.new", " FXInputDialog.new(FXWindow *owner, FXString const &caption, FXString const &label, FXIcon *icon, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n" " FXInputDialog.new(FXApp *app, FXString const &caption, FXString const &label, FXIcon *icon, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getText(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","getText", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = ((FXInputDialog const *)arg1)->getText(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setText(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setText", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setText((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setNumColumns(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setNumColumns", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); (arg1)->setNumColumns(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getNumColumns(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","getNumColumns", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (FXint)((FXInputDialog const *)arg1)->getNumColumns(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setLimits(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; FXdouble arg2 ; FXdouble arg3 ; void *argp1 = 0 ; int res1 = 0 ; double val2 ; int ecode2 = 0 ; double val3 ; int ecode3 = 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setLimits", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); ecode2 = SWIG_AsVal_double(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","setLimits", 2, argv[0] )); } arg2 = static_cast< FXdouble >(val2); ecode3 = SWIG_AsVal_double(argv[1], &val3); if (!SWIG_IsOK(ecode3)) { SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "FXdouble","setLimits", 3, argv[1] )); } arg3 = static_cast< FXdouble >(val3); (arg1)->setLimits(arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getLimits(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","getLimits", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (VALUE)FXInputDialog_getLimits(arg1); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getString__SWIG_0(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXWindow *arg2 = (FXWindow *) 0 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; SwigValueWrapper< FXString > p1 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } p1 = to_FXString(argv[0]); arg1 = &p1; res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","FXInputDialog_getString__SWIG_0", 2, argv[1] )); } arg2 = reinterpret_cast< FXWindow * >(argp2); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; if (argc > 4) { res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog_getString__SWIG_0", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } { if (!arg2) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXInputDialog_getString__SWIG_0((FXString const &)*arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getString__SWIG_1(int argc, VALUE *argv, VALUE self) { FXString *arg1 = 0 ; FXApp *arg2 = (FXApp *) 0 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; SwigValueWrapper< FXString > p1 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 5)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } p1 = to_FXString(argv[0]); arg1 = &p1; res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXApp *","FXInputDialog_getString__SWIG_1", 2, argv[1] )); } arg2 = reinterpret_cast< FXApp * >(argp2); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; if (argc > 4) { res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog_getString__SWIG_1", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } { if (!arg2) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXInputDialog_getString__SWIG_1((FXString const &)*arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getString(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[5]; int ii; argc = nargs; if (argc > 5) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 4) && (argc <= 5)) { int _v = 0; { _v = (NIL_P(argv[0]) || TYPE(argv[0]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXInputDialog_getString__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXInputDialog_getString__SWIG_0(nargs, args, self); } } } } } } if ((argc >= 4) && (argc <= 5)) { int _v = 0; { _v = (NIL_P(argv[0]) || TYPE(argv[0]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXInputDialog_getString__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXInputDialog_getString__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 5, "getString", " VALUE getString(FXString const &initial, FXWindow *owner, FXString const &caption, FXString const &label, FXIcon *icon)\n" " VALUE getString(FXString const &initial, FXApp *app, FXString const &caption, FXString const &label, FXIcon *icon)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getInteger__SWIG_0(int argc, VALUE *argv, VALUE self) { FXint arg1 ; FXWindow *arg2 = (FXWindow *) 0 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXint arg6 = (FXint) -2147483647 ; FXint arg7 = (FXint) 2147483647 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } arg1 = NUM2INT(argv[0]); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","FXInputDialog_getInteger__SWIG_0", 2, argv[1] )); } arg2 = reinterpret_cast< FXWindow * >(argp2); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; if (argc > 4) { res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog_getInteger__SWIG_0", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg2) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXInputDialog_getInteger__SWIG_0(arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,arg6,arg7); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getInteger__SWIG_1(int argc, VALUE *argv, VALUE self) { FXint arg1 ; FXApp *arg2 = (FXApp *) 0 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXint arg6 = (FXint) -2147483647 ; FXint arg7 = (FXint) 2147483647 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } arg1 = NUM2INT(argv[0]); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXApp *","FXInputDialog_getInteger__SWIG_1", 2, argv[1] )); } arg2 = reinterpret_cast< FXApp * >(argp2); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; if (argc > 4) { res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog_getInteger__SWIG_1", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg2) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXInputDialog_getInteger__SWIG_1(arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,arg6,arg7); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getInteger(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 4) && (argc <= 7)) { int _v = 0; { _v = (TYPE(argv[0]) == T_FIXNUM || TYPE(argv[0]) == T_BIGNUM) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXInputDialog_getInteger__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXInputDialog_getInteger__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_FXInputDialog_getInteger__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXInputDialog_getInteger__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 4) && (argc <= 7)) { int _v = 0; { _v = (TYPE(argv[0]) == T_FIXNUM || TYPE(argv[0]) == T_BIGNUM) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXInputDialog_getInteger__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXInputDialog_getInteger__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_FXInputDialog_getInteger__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXInputDialog_getInteger__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "getInteger", " VALUE getInteger(FXint initial, FXWindow *owner, FXString const &caption, FXString const &label, FXIcon *icon, FXint lo, FXint hi)\n" " VALUE getInteger(FXint initial, FXApp *app, FXString const &caption, FXString const &label, FXIcon *icon, FXint lo, FXint hi)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getReal__SWIG_0(int argc, VALUE *argv, VALUE self) { FXdouble arg1 ; FXWindow *arg2 = (FXWindow *) 0 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXdouble arg6 = (FXdouble) -1.797693134862315e+308 ; FXdouble arg7 = (FXdouble) 1.797693134862315e+308 ; double val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; double val6 ; int ecode6 = 0 ; double val7 ; int ecode7 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } ecode1 = SWIG_AsVal_double(argv[0], &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "FXdouble","FXInputDialog_getReal__SWIG_0", 1, argv[0] )); } arg1 = static_cast< FXdouble >(val1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","FXInputDialog_getReal__SWIG_0", 2, argv[1] )); } arg2 = reinterpret_cast< FXWindow * >(argp2); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; if (argc > 4) { res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog_getReal__SWIG_0", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 5) { ecode6 = SWIG_AsVal_double(argv[5], &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "FXdouble","FXInputDialog_getReal__SWIG_0", 6, argv[5] )); } arg6 = static_cast< FXdouble >(val6); } if (argc > 6) { ecode7 = SWIG_AsVal_double(argv[6], &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "FXdouble","FXInputDialog_getReal__SWIG_0", 7, argv[6] )); } arg7 = static_cast< FXdouble >(val7); } { if (!arg2) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXInputDialog_getReal__SWIG_0(arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,arg6,arg7); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getReal__SWIG_1(int argc, VALUE *argv, VALUE self) { FXdouble arg1 ; FXApp *arg2 = (FXApp *) 0 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXdouble arg6 = (FXdouble) -1.797693134862315e+308 ; FXdouble arg7 = (FXdouble) 1.797693134862315e+308 ; double val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; double val6 ; int ecode6 = 0 ; double val7 ; int ecode7 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 4) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail; } ecode1 = SWIG_AsVal_double(argv[0], &val1); if (!SWIG_IsOK(ecode1)) { SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "FXdouble","FXInputDialog_getReal__SWIG_1", 1, argv[0] )); } arg1 = static_cast< FXdouble >(val1); res2 = SWIG_ConvertPtr(argv[1], &argp2,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXApp *","FXInputDialog_getReal__SWIG_1", 2, argv[1] )); } arg2 = reinterpret_cast< FXApp * >(argp2); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; if (argc > 4) { res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXInputDialog_getReal__SWIG_1", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); } if (argc > 5) { ecode6 = SWIG_AsVal_double(argv[5], &val6); if (!SWIG_IsOK(ecode6)) { SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "FXdouble","FXInputDialog_getReal__SWIG_1", 6, argv[5] )); } arg6 = static_cast< FXdouble >(val6); } if (argc > 6) { ecode7 = SWIG_AsVal_double(argv[6], &val7); if (!SWIG_IsOK(ecode7)) { SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "FXdouble","FXInputDialog_getReal__SWIG_1", 7, argv[6] )); } arg7 = static_cast< FXdouble >(val7); } { if (!arg2) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (VALUE)FXInputDialog_getReal__SWIG_1(arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,arg6,arg7); vresult = result; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getReal(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 4) && (argc <= 7)) { int _v = 0; { int res = SWIG_AsVal_double(argv[0], NULL); _v = SWIG_CheckState(res); } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXInputDialog_getReal__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXInputDialog_getReal__SWIG_0(nargs, args, self); } { int res = SWIG_AsVal_double(argv[5], NULL); _v = SWIG_CheckState(res); } if (_v) { if (argc <= 6) { return _wrap_FXInputDialog_getReal__SWIG_0(nargs, args, self); } { int res = SWIG_AsVal_double(argv[6], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_FXInputDialog_getReal__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 4) && (argc <= 7)) { int _v = 0; { int res = SWIG_AsVal_double(argv[0], NULL); _v = SWIG_CheckState(res); } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_FXInputDialog_getReal__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 5) { return _wrap_FXInputDialog_getReal__SWIG_1(nargs, args, self); } { int res = SWIG_AsVal_double(argv[5], NULL); _v = SWIG_CheckState(res); } if (_v) { if (argc <= 6) { return _wrap_FXInputDialog_getReal__SWIG_1(nargs, args, self); } { int res = SWIG_AsVal_double(argv[6], NULL); _v = SWIG_CheckState(res); } if (_v) { return _wrap_FXInputDialog_getReal__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "getReal", " VALUE getReal(FXdouble initial, FXWindow *owner, FXString const &caption, FXString const &label, FXIcon *icon, FXdouble lo, FXdouble hi)\n" " VALUE getReal(FXdouble initial, FXApp *app, FXString const &caption, FXString const &label, FXIcon *icon, FXdouble lo, FXdouble hi)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_save(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_save((FXInputDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_load(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_create(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_detach(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_destroy(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_resize(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXInputDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (FXint)FXInputDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (FXint)FXInputDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXInputDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXInputDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (bool)FXInputDialog_canFocus((FXInputDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXInputDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_enable(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_disable(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_lower(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_move(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXInputDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_position(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXInputDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_layout(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_recalc(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_reparent(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_hide(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (bool)FXInputDialog_isComposite((FXInputDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_contains(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXInputDialog_contains((FXInputDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); result = (bool)FXInputDialog_doesSaveUnder((FXInputDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXInputDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_tr(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXInputDialog_tr((FXInputDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; FXRegion *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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(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); FXInputDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXInputDialog, 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_FXInputDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXInputDialog, 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_FXInputDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXInputDialog, 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_FXInputDialog_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_FXInputDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); FXInputDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXInputDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXInputDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXInputDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXInputDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXInputDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_maximize(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXInputDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_minimize(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXInputDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_restore(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXInputDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_close(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXInputDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXInputDialog_execute(int argc, VALUE *argv, VALUE self) { FXInputDialog *arg1 = (FXInputDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXInputDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXInputDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXInputDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXInputDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXPrintDialog; SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdToPrinter(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdToPrinter", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdToPrinter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdToPrinter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdToPrinter(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdToPrinter", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdToPrinter", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdToPrinter(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdToFile(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdToFile", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdToFile", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdToFile(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdToFile(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdToFile", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdToFile", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdToFile(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdBrowse(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdBrowse", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdBrowse", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBrowse(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdBrowse(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdBrowse", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdBrowse", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdBrowse(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdProps(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdProps", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdProps", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdProps(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdProps(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdProps", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdProps", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdProps(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdPortrait(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdPortrait", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdPortrait", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdPortrait(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdPortrait(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdPortrait", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdPortrait", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdPortrait(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdLandscape(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdLandscape", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdLandscape", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdLandscape(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdLandscape(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdLandscape", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdLandscape", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdLandscape(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdPages(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdPages", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdPages", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdPages(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdPages(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdPages", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdPages", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdPages(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdColor(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdColor", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdColor", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdColor(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdColor(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdColor", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdColor", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdColor(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdGray(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdGray", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGray", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGray(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdGray(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdGray", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdGray", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdGray(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdNumCopies(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdNumCopies", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdNumCopies", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdNumCopies(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdNumCopies(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdNumCopies", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdNumCopies", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdNumCopies(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdFirstPage(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdFirstPage", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdFirstPage", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdFirstPage(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdFirstPage(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdFirstPage", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdFirstPage", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdFirstPage(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdLastPage(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdLastPage", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdLastPage", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdLastPage(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdLastPage(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdLastPage", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdLastPage", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdLastPage(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdCollateNormal(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdCollateNormal", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCollateNormal", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCollateNormal(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdCollateNormal(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdCollateNormal", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdCollateNormal", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCollateNormal(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdCollateReversed(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdCollateReversed", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCollateReversed", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCollateReversed(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdCollateReversed(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdCollateReversed", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdCollateReversed", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdCollateReversed(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdFileName(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdFileName", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdFileName", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdFileName(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdFileName(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdFileName", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdFileName", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdFileName(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdPrinterName(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdPrinterName", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdPrinterName", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdPrinterName(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdPrinterName(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdPrinterName", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdPrinterName", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdPrinterName(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdAccept(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdAccept", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdAccept", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdAccept(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onCmdMedia(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onCmdMedia", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdMedia", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdMedia(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_onUpdMedia(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","onUpdMedia", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdMedia", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdMedia(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_FXPrintDialog_allocate(VALUE self) #else _wrap_FXPrintDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXPrintDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXPrintDialog(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXuint arg3 = (FXuint) 0 ; FXint arg4 = (FXint) 0 ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; FXPrintDialog *result = 0 ; if ((argc < 2) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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 *","FXPrintDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; if (argc > 2) { arg3 = NUM2UINT(argv[2]); } if (argc > 3) { arg4 = NUM2INT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXPrintDialog *)new_FXPrintDialog(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setPrinter(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXPrinter *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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setPrinter", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXPrinter, 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXPrinter const &","setPrinter", 2, argv[0] )); } if (!argp2) { SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXPrinter const &","setPrinter", 2, argv[0])); } arg2 = reinterpret_cast< FXPrinter * >(argp2); (arg1)->setPrinter((FXPrinter const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_getPrinter(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXPrinter result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","getPrinter", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); result = FXPrintDialog_getPrinter(arg1); { FXPrinter *resultptr = new FXPrinter(result); vresult = FXRbGetRubyObj(resultptr, "FXPrinter *"); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_save(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_save((FXPrintDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_load(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_create(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_detach(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_destroy(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_resize(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXPrintDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); result = (FXint)FXPrintDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); result = (FXint)FXPrintDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXPrintDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXPrintDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); result = (bool)FXPrintDialog_canFocus((FXPrintDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXPrintDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_enable(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_disable(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_lower(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_move(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXPrintDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_position(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXPrintDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_layout(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_recalc(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_reparent(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_hide(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); result = (bool)FXPrintDialog_isComposite((FXPrintDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_contains(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXPrintDialog_contains((FXPrintDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); result = (bool)FXPrintDialog_doesSaveUnder((FXPrintDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXPrintDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_tr(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXPrintDialog_tr((FXPrintDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXRegion *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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(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); FXPrintDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXPrintDialog, 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_FXPrintDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXPrintDialog, 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_FXPrintDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXPrintDialog, 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_FXPrintDialog_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_FXPrintDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); FXPrintDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXPrintDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXPrintDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXPrintDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXPrintDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXPrintDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_maximize(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXPrintDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_minimize(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXPrintDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_restore(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXPrintDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_close(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXPrintDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXPrintDialog_execute(int argc, VALUE *argv, VALUE self) { FXPrintDialog *arg1 = (FXPrintDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXPrintDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrintDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXPrintDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXPrintDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXProgressDialog; SWIGINTERN VALUE _wrap_FXProgressDialog_onCmdSetValue(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","onCmdSetValue", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = reinterpret_cast(NUM2INT(argv[2])); result = (long)(arg1)->onCmdSetValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_onCmdSetIntValue(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; FXint value4 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","onCmdSetIntValue", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); { value4 = (FXint) NUM2INT(argv[2]); arg4 = static_cast(&value4); } result = (long)(arg1)->onCmdSetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_onCmdGetIntValue(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","onCmdGetIntValue", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIntValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetIntValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","onCmdSetStringValue", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); res2 = 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_FXProgressDialog_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","onCmdGetStringValue", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetStringValue", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_onCmdCancel(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","onCmdCancel", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCancel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCancel(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_FXProgressDialog_allocate(VALUE self) #else _wrap_FXProgressDialog_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXProgressDialog); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXProgressDialog(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXuint arg4 = (FXuint) PROGRESSDIALOG_NORMAL ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; FXProgressDialog *result = 0 ; if ((argc < 3) || (argc > 8)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXProgressDialog", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; 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 = (FXProgressDialog *)new_FXProgressDialog(arg1,(FXString const &)*arg2,(FXString const &)*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_FXProgressDialog_setMessage(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setMessage", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); p2 = to_FXString(argv[0]); arg2 = &p2; (arg1)->setMessage((FXString const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getMessage(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","getMessage", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = ((FXProgressDialog const *)arg1)->getMessage(); vresult = to_ruby((&result)->text()); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setBarStyle(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setBarStyle", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setBarStyle(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getBarStyle(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","getBarStyle", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (FXuint)((FXProgressDialog const *)arg1)->getBarStyle(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setProgress(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setProgress", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setProgress(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getProgress(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","getProgress", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (FXuint)((FXProgressDialog const *)arg1)->getProgress(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setTotal(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setTotal", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->setTotal(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getTotal(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXuint result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","getTotal", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (FXuint)((FXProgressDialog const *)arg1)->getTotal(); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_increment(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","increment", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2UINT(argv[0]); (arg1)->increment(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_isCancelled(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","isCancelled", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (FXbool)((FXProgressDialog const *)arg1)->isCancelled(); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setCancelled(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXbool arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setCancelled", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = to_FXbool(argv[0]); (arg1)->setCancelled(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_save(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","save", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_save((FXProgressDialog const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_load(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","load", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_create(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","create", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_detach(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","detach", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_destroy(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","destroy", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_resize(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","resize", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXProgressDialog_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (FXint)FXProgressDialog_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (FXint)FXProgressDialog_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXProgressDialog_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXProgressDialog_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_canFocus(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (bool)FXProgressDialog_canFocus((FXProgressDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setFocus(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_killFocus(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_changeFocus(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setDefault(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXProgressDialog_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_enable(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","enable", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_disable(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","disable", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_raiseWindow(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","raise", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_lower(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","lower", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_move(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","move", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXProgressDialog_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_position(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","position", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXProgressDialog_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_layout(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","layout", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_recalc(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","recalc", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_reparent(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","reparent", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_hide(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","hide", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_isComposite(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (bool)FXProgressDialog_isComposite((FXProgressDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_contains(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","contains", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXProgressDialog_contains((FXProgressDialog const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); result = (bool)FXProgressDialog_doesSaveUnder((FXProgressDialog const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setBackColor(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = to_FXColor(argv[0]); FXProgressDialog_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_tr(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog const *","tr", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXProgressDialog_tr((FXProgressDialog const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_dropEnable(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_dropDisable(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXRegion *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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","setShape", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(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); FXProgressDialog_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressDialog, 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_FXProgressDialog_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressDialog, 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_FXProgressDialog_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressDialog, 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_FXProgressDialog_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_FXProgressDialog_clearShape(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); FXProgressDialog_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","show", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); arg2 = NUM2UINT(argv[0]); FXProgressDialog_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressDialog, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXProgressDialog_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXProgressDialog, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXProgressDialog_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_maximize(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","maximize", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXProgressDialog_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_minimize(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","minimize", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXProgressDialog_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_restore(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","restore", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXProgressDialog_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_close(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","close", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXProgressDialog_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXProgressDialog_execute(int argc, VALUE *argv, VALUE self) { FXProgressDialog *arg1 = (FXProgressDialog *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXProgressDialog, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXProgressDialog *","execute", 1, self )); } arg1 = reinterpret_cast< FXProgressDialog * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXProgressDialog_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXMessageBox; SWIGINTERN VALUE _wrap_FXMessageBox_onCmdClicked(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","onCmdClicked", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_onCmdCancel(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","onCmdCancel", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCancel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCancel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXMessageBox__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXuint arg5 = (FXuint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXMessageBox *result = 0 ; if ((argc < 3) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXMessageBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","FXMessageBox", 4, argv[3] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXMessageBox *)new_FXMessageBox__SWIG_0(arg1,(FXString const &)*arg2,(FXString const &)*arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXMessageBox_allocate(VALUE self) #else _wrap_FXMessageBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXMessageBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXMessageBox__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXuint arg5 = (FXuint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXMessageBox *result = 0 ; if ((argc < 3) || (argc > 7)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXMessageBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; if (argc > 3) { res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","FXMessageBox", 4, argv[3] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); } if (argc > 4) { arg5 = NUM2UINT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXMessageBox *)new_FXMessageBox__SWIG_1(arg1,(FXString const &)*arg2,(FXString const &)*arg3,arg4,arg5,arg6,arg7); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXMessageBox(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[7]; int ii; argc = nargs; if (argc > 7) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 3) && (argc <= 7)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXMessageBox__SWIG_0(nargs, args, self); } } } } } } } } if ((argc >= 3) && (argc <= 7)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { if (argc <= 3) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXMessageBox__SWIG_1(nargs, args, self); } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 7, "FXMessageBox.new", " FXMessageBox.new(FXWindow *owner, FXString const &caption, FXString const &text, FXIcon *ic, FXuint opts, FXint x, FXint y)\n" " FXMessageBox.new(FXApp *app, FXString const &caption, FXString const &text, FXIcon *ic, FXuint opts, FXint x, FXint y)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_error__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXMessageBox::error", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::error", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::error(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_error__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXMessageBox::error", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::error", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::error(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_error(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_error__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_error__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_error__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_error__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.error", " FXuint FXMessageBox.error(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.error(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_warning__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXMessageBox::warning", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::warning", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::warning(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_warning__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXMessageBox::warning", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::warning", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::warning(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_warning(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_warning__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_warning__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_warning__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_warning__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.warning", " FXuint FXMessageBox.warning(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.warning(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_question__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXMessageBox::question", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::question", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::question(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_question__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXMessageBox::question", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::question", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::question(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_question(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_question__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_question__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_question__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_question__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.question", " FXuint FXMessageBox.question(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.question(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_information__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXWindow, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWindow *","FXMessageBox::information", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::information", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::information(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_information__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ; char *arg3 = (char *) 0 ; char *arg4 = (char *) 0 ; char *arg5 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 ; char *buf3 = 0 ; int alloc3 = 0 ; FXuint 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(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXMessageBox::information", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); arg2 = NUM2UINT(argv[1]); res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","FXMessageBox::information", 3, argv[2] )); } arg3 = reinterpret_cast< char * >(buf3); { arg4 = (char*)"%s"; arg5 = RSTRING_PTR(argv[3]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXuint)FXMessageBox::information(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return vresult; fail: if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_information(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[4]; int ii; argc = nargs; if (argc > 4) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_information__SWIG_0(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_information__SWIG_0(nargs, args, self); } } } } } } if (argc == 4) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 4) { return _wrap_FXMessageBox_information__SWIG_1(nargs, args, self); } int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_information__SWIG_1(nargs, args, self); } } } } } } fail: Ruby_Format_OverloadedError( argc, 4, "FXMessageBox.information", " FXuint FXMessageBox.information(FXWindow *owner, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n" " FXuint FXMessageBox.information(FXApp *app, FXuint opts, char const *caption, char const *message_format, char const *message_string)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_save(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_save((FXMessageBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_load(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","load", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_create(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","create", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_detach(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_destroy(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_resize(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMessageBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (FXint)FXMessageBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (FXint)FXMessageBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMessageBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXMessageBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_canFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (bool)FXMessageBox_canFocus((FXMessageBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_setFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_killFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_setDefault(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXMessageBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_enable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_disable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_lower(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_move(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","move", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXMessageBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_position(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","position", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXMessageBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_layout(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_recalc(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_reparent(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","show", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_hide(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_isComposite(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (bool)FXMessageBox_isComposite((FXMessageBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_contains(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXMessageBox_contains((FXMessageBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); result = (bool)FXMessageBox_doesSaveUnder((FXMessageBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = to_FXColor(argv[0]); FXMessageBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_tr(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXMessageBox_tr((FXMessageBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXRegion *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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(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); FXMessageBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 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_FXMessageBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 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_FXMessageBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 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_FXMessageBox_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_FXMessageBox_clearShape(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); FXMessageBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","show", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); arg2 = NUM2UINT(argv[0]); FXMessageBox_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXMessageBox_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMessageBox, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXMessageBox_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_maximize(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","maximize", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_minimize(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","minimize", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_restore(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","restore", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_close(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","close", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXMessageBox_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXMessageBox_execute(int argc, VALUE *argv, VALUE self) { FXMessageBox *arg1 = (FXMessageBox *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXMessageBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMessageBox *","execute", 1, self )); } arg1 = reinterpret_cast< FXMessageBox * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXMessageBox_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXWizard; SWIGINTERN VALUE _wrap_FXWizard_onUpdFinish(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","onUpdFinish", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdFinish", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdFinish(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_onCmdNext(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","onCmdNext", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_onUpdNext(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","onUpdNext", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdNext", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdNext(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_onCmdBack(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","onCmdBack", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdBack", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdBack(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_onUpdBack(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","onUpdBack", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdBack", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onUpdBack(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXWizard__SWIG_0(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXImage *arg3 = (FXImage *) 0 ; FXuint arg4 = (FXuint) DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 10 ; FXint arg10 = (FXint) 10 ; FXint arg11 = (FXint) 10 ; FXint arg12 = (FXint) 10 ; FXint arg13 = (FXint) 10 ; FXint arg14 = (FXint) 10 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXWizard *result = 0 ; if ((argc < 3) || (argc > 14)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXWizard", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXImage, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXImage *","FXWizard", 3, argv[2] )); } arg3 = reinterpret_cast< FXImage * >(argp3); if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXWizard *)new_FXWizard__SWIG_0(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXWizard_allocate(VALUE self) #else _wrap_FXWizard_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXWizard); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXWizard__SWIG_1(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXImage *arg3 = (FXImage *) 0 ; FXuint arg4 = (FXuint) DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE ; FXint arg5 = (FXint) 0 ; FXint arg6 = (FXint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 10 ; FXint arg10 = (FXint) 10 ; FXint arg11 = (FXint) 10 ; FXint arg12 = (FXint) 10 ; FXint arg13 = (FXint) 10 ; FXint arg14 = (FXint) 10 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; void *argp3 = 0 ; int res3 = 0 ; FXWizard *result = 0 ; if ((argc < 3) || (argc > 14)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",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 *","FXWizard", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXImage, 0 | 0 ); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXImage *","FXWizard", 3, argv[2] )); } arg3 = reinterpret_cast< FXImage * >(argp3); if (argc > 3) { arg4 = NUM2UINT(argv[3]); } if (argc > 4) { arg5 = NUM2INT(argv[4]); } if (argc > 5) { arg6 = NUM2INT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } if (argc > 10) { arg11 = NUM2INT(argv[10]); } if (argc > 11) { arg12 = NUM2INT(argv[11]); } if (argc > 12) { arg13 = NUM2INT(argv[12]); } if (argc > 13) { arg14 = NUM2INT(argv[13]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXWizard *)new_FXWizard__SWIG_1(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } return self; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXWizard(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[14]; int ii; argc = nargs; if (argc > 14) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 3) && (argc <= 14)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXImage, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 12) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[12]) == T_FIXNUM || TYPE(argv[12]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 13) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[13]) == T_FIXNUM || TYPE(argv[13]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXWizard__SWIG_0(nargs, args, self); } } } } } } } } } } } } } } } if ((argc >= 3) && (argc <= 14)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FXImage, 0); _v = SWIG_CheckState(res); if (_v) { if (argc <= 3) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[3]) == T_FIXNUM || TYPE(argv[3]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 4) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[4]) == T_FIXNUM || TYPE(argv[4]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 5) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 10) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[10]) == T_FIXNUM || TYPE(argv[10]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 11) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[11]) == T_FIXNUM || TYPE(argv[11]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 12) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[12]) == T_FIXNUM || TYPE(argv[12]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 13) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[13]) == T_FIXNUM || TYPE(argv[13]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXWizard__SWIG_1(nargs, args, self); } } } } } } } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 14, "FXWizard.new", " FXWizard.new(FXApp *a, FXString const &name, FXImage *image, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n" " FXWizard.new(FXWindow *owner, FXString const &name, FXImage *image, FXuint opts, FXint x, FXint y, FXint w, FXint h, FXint pl, FXint pr, FXint pt, FXint pb, FXint hs, FXint vs)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_buttonFrame(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXHorizontalFrame *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","buttonFrame", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXHorizontalFrame *)((FXWizard const *)arg1)->buttonFrame(); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXHorizontalFrame, 0 | 0 ); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_advanceButton(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXButton *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","advanceButton", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXButton *)((FXWizard const *)arg1)->advanceButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_retreatButton(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXButton *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","retreatButton", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXButton *)((FXWizard const *)arg1)->retreatButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_finishButton(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXButton *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","finishButton", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXButton *)((FXWizard const *)arg1)->finishButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_cancelButton(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXButton *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","cancelButton", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXButton *)((FXWizard const *)arg1)->cancelButton(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXButton, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getContainer(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXSwitcher *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","getContainer", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXSwitcher *)((FXWizard const *)arg1)->getContainer(); vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FXSwitcher, 0 | 0 ); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setImage(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXImage *arg2 = (FXImage *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setImage", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXImage, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXImage *","setImage", 2, argv[0] )); } arg2 = reinterpret_cast< FXImage * >(argp2); (arg1)->setImage(arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getImage(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; FXImage *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","getImage", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXImage *)((FXWizard const *)arg1)->getImage(); { swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXImage, (void **) &result); vresult = FXRbGetRubyObj(result, ty); } return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getNumPanels(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","getNumPanels", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXint)((FXWizard const *)arg1)->getNumPanels(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setCurrentPanel(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setCurrentPanel", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); FXWizard_setCurrentPanel(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getCurrentPanel(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","getCurrentPanel", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXint)((FXWizard const *)arg1)->getCurrentPanel(); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_save(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","save", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_save((FXWizard const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_load(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","load", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_create(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","create", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_detach(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","detach", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_destroy(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","destroy", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_resize(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","resize", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXWizard_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXint)FXWizard_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (FXint)FXWizard_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXWizard_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXWizard_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_canFocus(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (bool)FXWizard_canFocus((FXWizard const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setFocus(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_killFocus(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_changeFocus(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setDefault(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXWizard_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_enable(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","enable", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_disable(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","disable", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_raiseWindow(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","raise", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_lower(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","lower", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_move(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","move", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXWizard_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_position(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","position", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXWizard_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_layout(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","layout", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_recalc(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","recalc", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_reparent(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","reparent", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","show", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_hide(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","hide", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_isComposite(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (bool)FXWizard_isComposite((FXWizard const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_contains(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","contains", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXWizard_contains((FXWizard const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); result = (bool)FXWizard_doesSaveUnder((FXWizard const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setBackColor(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = to_FXColor(argv[0]); FXWizard_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_tr(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard const *","tr", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXWizard_tr((FXWizard const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_dropEnable(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_dropDisable(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXRegion *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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setShape", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setShape", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","setShape", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(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); FXWizard_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWizard, 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_FXWizard_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWizard, 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_FXWizard_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWizard, 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_FXWizard_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_FXWizard_clearShape(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); FXWizard_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","show", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); arg2 = NUM2UINT(argv[0]); FXWizard_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWizard, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXWizard_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWizard, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXWizard_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_maximize(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","maximize", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXWizard_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_minimize(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","minimize", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXWizard_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_restore(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","restore", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXWizard_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_close(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","close", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXWizard_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXWizard_execute(int argc, VALUE *argv, VALUE self) { FXWizard *arg1 = (FXWizard *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXWizard, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXWizard *","execute", 1, self )); } arg1 = reinterpret_cast< FXWizard * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXWizard_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } static swig_class SwigClassFXChoiceBox; SWIGINTERN VALUE _wrap_FXChoiceBox_onCmdClicked(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","onCmdClicked", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdClicked", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdClicked(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_onCmdCancel(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; FXObject *arg2 = (FXObject *) 0 ; FXSelector arg3 ; void *arg4 = (void *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; long result; VALUE vresult = Qnil; if ((argc < 3) || (argc > 3)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","onCmdCancel", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 | 0 ); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdCancel", 2, argv[0] )); } arg2 = reinterpret_cast< FXObject * >(argp2); arg3 = NUM2UINT(argv[1]); arg4 = 0; result = (long)(arg1)->onCmdCancel(arg2,arg3,arg4); vresult = SWIG_From_long(static_cast< long >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_new_FXChoiceBox__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXchar **arg5 = (FXchar **) 0 ; FXuint arg6 = (FXuint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXChoiceBox *result = 0 ; if ((argc < 5) || (argc > 10)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",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 *","FXChoiceBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","FXChoiceBox", 4, argv[3] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); { arg5 = NULL; if(!NIL_P(argv[4])){ Check_Type(argv[4], T_ARRAY); if (FXMALLOC(&arg5, FXchar *, RARRAY_LEN(argv[4])+1)) { for (long i = 0; i < RARRAY_LEN(argv[4]); i++) { VALUE e = rb_ary_entry(argv[4], i); arg5[i] = (FXchar *) StringValuePtr(e); } arg5[RARRAY_LEN(argv[4])] = 0; } } } if (argc > 5) { arg6 = NUM2UINT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXChoiceBox *)new_FXChoiceBox__SWIG_0(arg1,(FXString const &)*arg2,(FXString const &)*arg3,arg4,(char const **)arg5,arg6,arg7,arg8,arg9,arg10); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } FXFREE(&arg5); return self; fail: FXFREE(&arg5); return Qnil; } SWIGINTERN VALUE #ifdef HAVE_RB_DEFINE_ALLOC_FUNC _wrap_FXChoiceBox_allocate(VALUE self) #else _wrap_FXChoiceBox_allocate(int argc, VALUE *argv, VALUE self) #endif { VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXChoiceBox); #ifndef HAVE_RB_DEFINE_ALLOC_FUNC rb_obj_call_init(vresult, argc, argv); #endif return vresult; } SWIGINTERN VALUE _wrap_new_FXChoiceBox__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXString *arg2 = 0 ; FXString *arg3 = 0 ; FXIcon *arg4 = (FXIcon *) 0 ; FXchar **arg5 = (FXchar **) 0 ; FXuint arg6 = (FXuint) 0 ; FXint arg7 = (FXint) 0 ; FXint arg8 = (FXint) 0 ; FXint arg9 = (FXint) 0 ; FXint arg10 = (FXint) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p2 ; SwigValueWrapper< FXString > p3 ; void *argp4 = 0 ; int res4 = 0 ; FXChoiceBox *result = 0 ; if ((argc < 5) || (argc > 10)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXChoiceBox", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); p2 = to_FXString(argv[1]); arg2 = &p2; p3 = to_FXString(argv[2]); arg3 = &p3; res4 = SWIG_ConvertPtr(argv[3], &argp4,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "FXIcon *","FXChoiceBox", 4, argv[3] )); } arg4 = reinterpret_cast< FXIcon * >(argp4); { arg5 = NULL; if(!NIL_P(argv[4])){ Check_Type(argv[4], T_ARRAY); if (FXMALLOC(&arg5, FXchar *, RARRAY_LEN(argv[4])+1)) { for (long i = 0; i < RARRAY_LEN(argv[4]); i++) { VALUE e = rb_ary_entry(argv[4], i); arg5[i] = (FXchar *) StringValuePtr(e); } arg5[RARRAY_LEN(argv[4])] = 0; } } } if (argc > 5) { arg6 = NUM2UINT(argv[5]); } if (argc > 6) { arg7 = NUM2INT(argv[6]); } if (argc > 7) { arg8 = NUM2INT(argv[7]); } if (argc > 8) { arg9 = NUM2INT(argv[8]); } if (argc > 9) { arg10 = NUM2INT(argv[9]); } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } { result = (FXChoiceBox *)new_FXChoiceBox__SWIG_1(arg1,(FXString const &)*arg2,(FXString const &)*arg3,arg4,(char const **)arg5,arg6,arg7,arg8,arg9,arg10); DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result); if(rb_block_given_p()){ rb_yield(self); } } FXFREE(&arg5); return self; fail: FXFREE(&arg5); return Qnil; } SWIGINTERN VALUE _wrap_new_FXChoiceBox(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[10]; int ii; argc = nargs; if (argc > 10) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if ((argc >= 5) && (argc <= 10)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[4]) == T_ARRAY) ? 1 : 0; if (_v != 0) { for (long i = 0; i < RARRAY_LEN(argv[4]); i++) { if (TYPE(rb_ary_entry(argv[4], i)) != T_STRING) { _v = 0; break; } } } } if (_v) { if (argc <= 5) { return _wrap_new_FXChoiceBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXChoiceBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXChoiceBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXChoiceBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXChoiceBox__SWIG_0(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXChoiceBox__SWIG_0(nargs, args, self); } } } } } } } } } } } if ((argc >= 5) && (argc <= 10)) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (NIL_P(argv[1]) || TYPE(argv[1]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[4]) == T_ARRAY) ? 1 : 0; if (_v != 0) { for (long i = 0; i < RARRAY_LEN(argv[4]); i++) { if (TYPE(rb_ary_entry(argv[4], i)) != T_STRING) { _v = 0; break; } } } } if (_v) { if (argc <= 5) { return _wrap_new_FXChoiceBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[5]) == T_FIXNUM || TYPE(argv[5]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 6) { return _wrap_new_FXChoiceBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[6]) == T_FIXNUM || TYPE(argv[6]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 7) { return _wrap_new_FXChoiceBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[7]) == T_FIXNUM || TYPE(argv[7]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 8) { return _wrap_new_FXChoiceBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[8]) == T_FIXNUM || TYPE(argv[8]) == T_BIGNUM) ? 1 : 0; } if (_v) { if (argc <= 9) { return _wrap_new_FXChoiceBox__SWIG_1(nargs, args, self); } { _v = (TYPE(argv[9]) == T_FIXNUM || TYPE(argv[9]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_new_FXChoiceBox__SWIG_1(nargs, args, self); } } } } } } } } } } } fail: Ruby_Format_OverloadedError( argc, 10, "FXChoiceBox.new", " FXChoiceBox.new(FXWindow *owner, FXString const &caption, FXString const &text, FXIcon *icon, FXchar const **choices, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n" " FXChoiceBox.new(FXApp *app, FXString const &caption, FXString const &text, FXIcon *icon, FXchar const **choices, FXuint opts, FXint x, FXint y, FXint w, FXint h)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_ask__SWIG_0(int argc, VALUE *argv, VALUE self) { FXWindow *arg1 = (FXWindow *) 0 ; FXuint arg2 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXchar **arg6 = (FXchar **) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 6) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",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 *","FXChoiceBox::ask", 1, argv[0] )); } arg1 = reinterpret_cast< FXWindow * >(argp1); arg2 = NUM2UINT(argv[1]); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXChoiceBox::ask", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); { arg6 = NULL; if(!NIL_P(argv[5])){ Check_Type(argv[5], T_ARRAY); if (FXMALLOC(&arg6, FXchar *, RARRAY_LEN(argv[5])+1)) { for (long i = 0; i < RARRAY_LEN(argv[5]); i++) { VALUE e = rb_ary_entry(argv[5], i); arg6[i] = (FXchar *) StringValuePtr(e); } arg6[RARRAY_LEN(argv[5])] = 0; } } } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXint)FXChoiceBox::ask(arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,(char const **)arg6); vresult = SWIG_From_int(static_cast< int >(result)); FXFREE(&arg6); return vresult; fail: FXFREE(&arg6); return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_ask__SWIG_1(int argc, VALUE *argv, VALUE self) { FXApp *arg1 = (FXApp *) 0 ; FXuint arg2 ; FXString *arg3 = 0 ; FXString *arg4 = 0 ; FXIcon *arg5 = (FXIcon *) 0 ; FXchar **arg6 = (FXchar **) 0 ; void *argp1 = 0 ; int res1 = 0 ; SwigValueWrapper< FXString > p3 ; SwigValueWrapper< FXString > p4 ; void *argp5 = 0 ; int res5 = 0 ; FXint result; VALUE vresult = Qnil; if ((argc < 6) || (argc > 6)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXApp, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXApp *","FXChoiceBox::ask", 1, argv[0] )); } arg1 = reinterpret_cast< FXApp * >(argp1); arg2 = NUM2UINT(argv[1]); p3 = to_FXString(argv[2]); arg3 = &p3; p4 = to_FXString(argv[3]); arg4 = &p4; res5 = SWIG_ConvertPtr(argv[4], &argp5,SWIGTYPE_p_FXIcon, 0 | 0 ); if (!SWIG_IsOK(res5)) { SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "FXIcon *","FXChoiceBox::ask", 5, argv[4] )); } arg5 = reinterpret_cast< FXIcon * >(argp5); { arg6 = NULL; if(!NIL_P(argv[5])){ Check_Type(argv[5], T_ARRAY); if (FXMALLOC(&arg6, FXchar *, RARRAY_LEN(argv[5])+1)) { for (long i = 0; i < RARRAY_LEN(argv[5]); i++) { VALUE e = rb_ary_entry(argv[5], i); arg6[i] = (FXchar *) StringValuePtr(e); } arg6[RARRAY_LEN(argv[5])] = 0; } } } { if (!arg1) { SWIG_exception(SWIG_ValueError,"Received a NULL pointer."); } } result = (FXint)FXChoiceBox::ask(arg1,arg2,(FXString const &)*arg3,(FXString const &)*arg4,arg5,(char const **)arg6); vresult = SWIG_From_int(static_cast< int >(result)); FXFREE(&arg6); return vresult; fail: FXFREE(&arg6); return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_ask(int nargs, VALUE *args, VALUE self) { int argc; VALUE argv[6]; int ii; argc = nargs; if (argc > 6) SWIG_fail; for (ii = 0; (ii < argc); ++ii) { argv[ii] = args[ii]; } if (argc == 6) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXWindow, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[5]) == T_ARRAY) ? 1 : 0; if (_v != 0) { for (long i = 0; i < RARRAY_LEN(argv[5]); i++) { if (TYPE(rb_ary_entry(argv[5], i)) != T_STRING) { _v = 0; break; } } } } if (_v) { return _wrap_FXChoiceBox_ask__SWIG_0(nargs, args, self); } } } } } } } if (argc == 6) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXApp, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[2]) || TYPE(argv[2]) == T_STRING) ? 1 : 0; } if (_v) { { _v = (NIL_P(argv[3]) || TYPE(argv[3]) == T_STRING) ? 1 : 0; } if (_v) { void *vptr = 0; int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_FXIcon, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[5]) == T_ARRAY) ? 1 : 0; if (_v != 0) { for (long i = 0; i < RARRAY_LEN(argv[5]); i++) { if (TYPE(rb_ary_entry(argv[5], i)) != T_STRING) { _v = 0; break; } } } } if (_v) { return _wrap_FXChoiceBox_ask__SWIG_1(nargs, args, self); } } } } } } } fail: Ruby_Format_OverloadedError( argc, 6, "FXChoiceBox.ask", " FXint FXChoiceBox.ask(FXWindow *owner, FXuint opts, FXString const &caption, FXString const &text, FXIcon *icon, FXchar const **choices)\n" " FXint FXChoiceBox.ask(FXApp *app, FXuint opts, FXString const &caption, FXString const &text, FXIcon *icon, FXchar const **choices)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_save(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox const *","save", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_save((FXChoiceBox const *)arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_load(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","load", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_load(arg1,*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_create(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","create", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_create(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_detach(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","detach", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_detach(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_destroy(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","destroy", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_destroy(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_resize(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","resize", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXChoiceBox_resize(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_getDefaultWidth(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","getDefaultWidth", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); result = (FXint)FXChoiceBox_getDefaultWidth(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_getDefaultHeight(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","getDefaultHeight", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); result = (FXint)FXChoiceBox_getDefaultHeight(arg1); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_getWidthForHeight(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","getWidthForHeight", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXChoiceBox_getWidthForHeight(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_getHeightForWidth(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","getHeightForWidth", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2INT(argv[0]); result = (FXint)FXChoiceBox_getHeightForWidth(arg1,arg2); vresult = SWIG_From_int(static_cast< int >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_canFocus(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox const *","canFocus", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); result = (bool)FXChoiceBox_canFocus((FXChoiceBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_setFocus(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","setFocus", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_setFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_killFocus(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","killFocus", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_killFocus(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_changeFocus(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","changeFocus", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_changeFocus(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_setDefault(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","setDefault", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } FXChoiceBox_setDefault(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_enable(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","enable", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_enable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_disable(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","disable", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_disable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_raiseWindow(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","raise", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_raise(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_lower(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","lower", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_lower(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_move(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","move", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); FXChoiceBox_move(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_position(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","position", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); arg4 = NUM2INT(argv[2]); arg5 = NUM2INT(argv[3]); FXChoiceBox_position(arg1,arg2,arg3,arg4,arg5); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_layout(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","layout", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_layout(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_recalc(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","recalc", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_recalc(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_reparent(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","reparent", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_reparent(arg1,arg2,arg3); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_show__SWIG_0(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","show", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_show(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_hide(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","hide", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_hide(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_isComposite(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox const *","isComposite", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); result = (bool)FXChoiceBox_isComposite((FXChoiceBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_contains(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox const *","contains", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2INT(argv[0]); arg3 = NUM2INT(argv[1]); result = (bool)FXChoiceBox_contains((FXChoiceBox const *)arg1,arg2,arg3); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_doesSaveUnder(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox const *","doesSaveUnder", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); result = (bool)FXChoiceBox_doesSaveUnder((FXChoiceBox const *)arg1); vresult = SWIG_From_bool(static_cast< bool >(result)); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_setBackColor(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","setBackColor", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = to_FXColor(argv[0]); FXChoiceBox_setBackColor(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_tr(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox const *","tr", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]); if (argc > 1) { arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]); } result = (FXchar *)FXChoiceBox_tr((FXChoiceBox const *)arg1,(char const *)arg2,(char const *)arg3); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_dropEnable(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","dropEnable", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_dropEnable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_dropDisable(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","dropDisable", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_dropDisable(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_setShape__SWIG_0(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; FXRegion *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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_setShape(arg1,(FXRegion const &)*arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_setShape__SWIG_1(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_setShape__SWIG_2(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","setShape", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(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); FXChoiceBox_setShape(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_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 = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXChoiceBox, 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_FXChoiceBox_setShape__SWIG_0(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXChoiceBox, 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_FXChoiceBox_setShape__SWIG_1(nargs, args, self); } } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXChoiceBox, 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_FXChoiceBox_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_FXChoiceBox_clearShape(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","clearShape", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); FXChoiceBox_clearShape(arg1); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_show__SWIG_1(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; FXuint arg2 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","show", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); arg2 = NUM2UINT(argv[0]); FXChoiceBox_show(arg1,arg2); return Qnil; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_show(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 == 1) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXChoiceBox, 0); _v = SWIG_CheckState(res); if (_v) { return _wrap_FXChoiceBox_show__SWIG_0(nargs, args, self); } } if (argc == 2) { int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXChoiceBox, 0); _v = SWIG_CheckState(res); if (_v) { { _v = (TYPE(argv[1]) == T_FIXNUM || TYPE(argv[1]) == T_BIGNUM) ? 1 : 0; } if (_v) { return _wrap_FXChoiceBox_show__SWIG_1(nargs, args, self); } } } fail: Ruby_Format_OverloadedError( argc, 3, "show", " void show()\n" " void show(FXuint placement)\n"); return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_maximize(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","maximize", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXChoiceBox_maximize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_minimize(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","minimize", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXChoiceBox_minimize(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_restore(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","restore", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXChoiceBox_restore(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_close(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","close", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); if (argc > 0) { arg2 = to_FXbool(argv[0]); } result = (FXbool)FXChoiceBox_close(arg1,arg2); vresult = result ? Qtrue : Qfalse; return vresult; fail: return Qnil; } SWIGINTERN VALUE _wrap_FXChoiceBox_execute(int argc, VALUE *argv, VALUE self) { FXChoiceBox *arg1 = (FXChoiceBox *) 0 ; FXuint arg2 = (FXuint) PLACEMENT_CURSOR ; void *argp1 = 0 ; int res1 = 0 ; FXuint 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_FXChoiceBox, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXChoiceBox *","execute", 1, self )); } arg1 = reinterpret_cast< FXChoiceBox * >(argp1); if (argc > 0) { arg2 = NUM2UINT(argv[0]); } result = (FXuint)FXChoiceBox_execute(arg1,arg2); vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return vresult; fail: return Qnil; } /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ static void *_p_FX4SplitterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FX4Splitter *) x)); } static void *_p_FXChoiceBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXColorSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXComboBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXComboBox *) x)); } static void *_p_FXDialogBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXDialogBox *) x)); } static void *_p_FXDirBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDirDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXDirSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXDockBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDockBar *) x)); } static void *_p_FXDockSiteTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXDockSite *) x)); } static void *_p_FXDriveBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXFileDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFileSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXFontDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXFontSelectorTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXGroupBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXHorizontalFrameTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXImageViewTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXInputDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXListBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXListBox *) x)); } static void *_p_FXMainWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXMatrixTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXMatrix *) x)); } static void *_p_FXMessageBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPackerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXPacker *) x)); } static void *_p_FXPopupTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXPopup *) x)); } static void *_p_FXPrintDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXRealSpinnerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXReplaceDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXRootWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXRulerViewTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXScrollAreaTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXScrollWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXSearchDialogTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXShell *) x)); } static void *_p_FXShutterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXShutterItemTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXSpinnerTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSpinner *) x)); } static void *_p_FXSplashWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXSplitterTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) ((FXSplitter *) x)); } static void *_p_FXSpringTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSpring *) x)); } static void *_p_FXStatusBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXSwitcherTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTabBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXTabBar *) x)); } static void *_p_FXTabBookTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXToolBarTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarShellTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXToolTipTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXToolTip *) x)); } static void *_p_FXTopWindowTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *) ((FXTopWindow *) x)); } static void *_p_FXTreeListBoxTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXVerticalFrameTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXWizardTo_p_FXComposite(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXComposite *) (FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXWizard *) x)); } static void *_p_FXChoiceBoxTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXDirDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXFileDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFontDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXInputDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXMessageBoxTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPrintDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXReplaceDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXSearchDialogTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) (FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXWizardTo_p_FXDialogBox(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDialogBox *) ((FXWizard *) x)); } static void *_p_FX4SplitterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FX7SegmentTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXArrowButtonTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXBitmapFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXCanvasTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXCanvas *) x)); } static void *_p_FXChoiceBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXColorDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXColorRingTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXColorSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXColorWellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXColorWheelTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXComboBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXCompositeTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXComposite *) x)); } static void *_p_FXDialTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXDialogBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXDialogBox *) x)); } static void *_p_FXDirBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDirDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXDirSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXDockBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXDockHandlerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXDockSiteTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXDockTitleTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXDragCornerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXDriveBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXFileDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFileSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXFontDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXFontSelectorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXFrame *) x)); } static void *_p_FXGradientBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXGroupBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXHeaderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXHorizontalFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXImageFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXImageViewTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXInputDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXKnobTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXListBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXMainWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXMatrixTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXMessageBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPackerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXPopupTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXPrintDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXProgressDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXRealSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXRealSpinnerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXReplaceDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXRootWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXRulerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXRulerViewTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXScrollAreaTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXScrollBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXScrollCornerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXScrollWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXSearchDialogTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXShell *) x)); } static void *_p_FXShutterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXShutterItemTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXSliderTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXSpinnerTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXSplashWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXSplitterTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FXSpringTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXStatusBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXStatusLineTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXSwitcherTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTabBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXTabBookTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXTextFieldTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarGripTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXToolBarShellTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXToolBarTabTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXToolTipTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXTopWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXTreeListBoxTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXVerticalFrameTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXWindowTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) ((FXWindow *) x)); } static void *_p_FXWizardTo_p_FXDrawable(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXDrawable *) (FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXWizard *) x)); } static void *_p_FXStatusBarTo_p_FXHorizontalFrame(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FX4SplitterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FX7SegmentTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXArrowButtonTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXBitmapFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXCURCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXCursor *) ((FXCURCursor *) x)); } static void *_p_FXCanvasTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXCanvas *) x)); } static void *_p_FXChoiceBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXColorDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXColorRingTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) x)); } static void *_p_FXColorSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXColorWellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXColorWheelTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXComboBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXCompositeTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXComposite *) x)); } static void *_p_FXCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXCursor *) x)); } static void *_p_FXDialTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXDialogBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXDialogBox *) 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_FXDirDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXDirSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXDockBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXDockHandlerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXDockSiteTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXDockTitleTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXDragCornerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXDrawableTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXDrawable *) 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_FXFileDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFileSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXFontTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXFont *) x)); } static void *_p_FXFontDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXFontSelectorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXFrame *) x)); } static void *_p_FXGIFCursorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXCursor *) ((FXGIFCursor *) x)); } static void *_p_FXGradientBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXGroupBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXHeaderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXHorizontalFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXImageFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXImageViewTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXInputDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXKnobTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) x)); } static void *_p_FXListBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXListBox *) 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_FXMatrixTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXMessageBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPackerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) x)); } static void *_p_FXPopupTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXPrintDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXProgressDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXRealSliderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXRealSpinnerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXReplaceDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXRootWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXRulerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) x)); } static void *_p_FXRulerViewTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXScrollAreaTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXScrollBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXScrollCornerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXScrollWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXSearchDialogTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXShellTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) 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_FXShutterItemTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXSliderTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) x)); } static void *_p_FXSpinnerTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpinner *) 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_FXSplitterTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *) ((FXSplitter *) x)); } static void *_p_FXSpringTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSpring *) 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_FXStatusLineTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXSwitcherTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTabBarTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) 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_FXTextFieldTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) 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_FXToolBarGripTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) 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_FXToolBarTabTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXToolTipTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXTopWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXTreeListBoxTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXVerticalFrameTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXVisualTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) ((FXVisual *) x)); } static void *_p_FXWindowTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *) ((FXWindow *) x)); } static void *_p_FXWizardTo_p_FXId(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXId *) (FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXWizard *) x)); } static void *_p_FX4SplitterTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FX4Splitter *) x)); } static void *_p_FX7SegmentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FX7Segment *) x)); } static void *_p_FXAccelTableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXAccelTable *) x)); } static void *_p_FXAppTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXApp *) x)); } static void *_p_FXArrowButtonTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXBitmapFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXCURCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXCURCursor *) x)); } static void *_p_FXCanvasTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXCanvas *) x)); } static void *_p_FXChoiceBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorBar *) x)); } static void *_p_FXColorDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXColorRingTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorRing *) 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_FXColorWellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWell *) x)); } static void *_p_FXColorWheelTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXColorWheel *) 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_FXCompositeTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXComposite *) x)); } static void *_p_FXCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXCursor *) x)); } static void *_p_FXDataTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDataTarget *) x)); } static void *_p_FXDebugTargetTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDebugTarget *) x)); } static void *_p_FXDelegatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDelegator *) x)); } static void *_p_FXDialTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDial *) x)); } static void *_p_FXDialogBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXDialogBox *) x)); } static void *_p_FXDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDict *) 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_FXDirDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXDirDialog *) 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_FXDockBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXDockHandlerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXDockHandler *) 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_FXDockTitleTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXDocumentTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXDocument *) x)); } static void *_p_FXDragCornerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXDrawableTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXDrawable *) 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_FXFileDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFileDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXFileDict *) 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_FXFontTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXFont *) x)); } static void *_p_FXFontDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFontDialog *) 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_FXFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXFrame *) x)); } static void *_p_FXGIFCursorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXCursor *) ((FXGIFCursor *) x)); } static void *_p_FXGradientBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXGradientBar *) 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_FXHeaderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXHeader *) x)); } static void *_p_FXHeaderItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXHeaderItem *) 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_FXHorizontalSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXIconDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXIconDict *) x)); } static void *_p_FXIdTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXId *) x)); } static void *_p_FXImageFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXImageFrame *) 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_FXInputDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXKnobTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXKnob *) 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_FXMainWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) 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_FXMessageBoxTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPackerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXPacker *) 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_FXPrintDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXProgressDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXRealSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRealSlider *) 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_FXRecentFilesTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXRecentFiles *) x)); } static void *_p_FXRegistryTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *)(FXSettings *) ((FXRegistry *) x)); } static void *_p_FXReplaceDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXRootWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXRulerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXRuler *) 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_FXScrollAreaTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXScrollBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXScrollCornerTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *) ((FXScrollCorner *) 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_FXSearchDialogTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXSeparatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSeparator *) x)); } static void *_p_FXSettingsTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXSettings *) x)); } static void *_p_FXShellTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *) ((FXShell *) 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_FXShutterItemTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXSliderTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXSlider *) 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_FXSplashWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) 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_FXStatusBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXStatusLineTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXStringDictTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXDict *) ((FXStringDict *) 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_FXTabBarTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXTabBar *) 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_FXTextFieldTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXTextField *) 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_FXToolBarGripTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) 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_FXToolBarTabTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXFrame *) ((FXToolBarTab *) 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_FXTopWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXTranslatorTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) ((FXTranslator *) 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_FXVerticalFrameTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXPacker *) ((FXVerticalFrame *) 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_FXVisualTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *) ((FXVisual *) x)); } static void *_p_FXWindowTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *) ((FXWindow *) x)); } static void *_p_FXWizardTo_p_FXObject(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXObject *) (FXId *)(FXDrawable *)(FXWindow *)(FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXWizard *) x)); } static void *_p_FXSearchDialogTo_p_FXReplaceDialog(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXChoiceBoxTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXDialogBoxTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXDialogBox *) x)); } static void *_p_FXDirDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXFileDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFontDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXInputDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXMainWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXMessageBoxTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPopupTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXPopup *) x)); } static void *_p_FXPrintDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXReplaceDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXSearchDialogTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXSplashWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXToolBarShellTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXToolTipTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXToolTip *) x)); } static void *_p_FXTopWindowTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) ((FXTopWindow *) x)); } static void *_p_FXWizardTo_p_FXShell(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXShell *) (FXTopWindow *)(FXDialogBox *) ((FXWizard *) 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_FXChoiceBoxTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXDialogBoxTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXDialogBox *) x)); } static void *_p_FXDirDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXFileDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFontDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXInputDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXMainWindowTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXMessageBoxTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPrintDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXReplaceDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXSearchDialogTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXSplashWindowTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXToolBarShellTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXWizardTo_p_FXTopWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXTopWindow *) (FXDialogBox *) ((FXWizard *) x)); } static void *_p_FX4SplitterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FX4Splitter *) x)); } static void *_p_FX7SegmentTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FX7Segment *) x)); } static void *_p_FXArrowButtonTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXArrowButton *) x)); } static void *_p_FXBitmapFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXBitmapFrame *) x)); } static void *_p_FXCanvasTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXCanvas *) x)); } static void *_p_FXChoiceBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXChoiceBox *) x)); } static void *_p_FXColorBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorBar *) x)); } static void *_p_FXColorDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXColorDialog *) x)); } static void *_p_FXColorRingTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorRing *) x)); } static void *_p_FXColorSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXColorSelector *) x)); } static void *_p_FXColorWellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorWell *) x)); } static void *_p_FXColorWheelTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXColorWheel *) x)); } static void *_p_FXComboBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXComboBox *) x)); } static void *_p_FXCompositeTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXComposite *) x)); } static void *_p_FXDialTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXDial *) x)); } static void *_p_FXDialogBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXDialogBox *) x)); } static void *_p_FXDirBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTreeListBox *) ((FXDirBox *) x)); } static void *_p_FXDirDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXDirDialog *) x)); } static void *_p_FXDirSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDirSelector *) x)); } static void *_p_FXDockBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockBar *) x)); } static void *_p_FXDockHandlerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXDockHandler *) x)); } static void *_p_FXDockSiteTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXDockSite *) x)); } static void *_p_FXDockTitleTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXDockTitle *) x)); } static void *_p_FXDragCornerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXDragCorner *) x)); } static void *_p_FXDriveBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXListBox *) ((FXDriveBox *) x)); } static void *_p_FXFileDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFileDialog *) x)); } static void *_p_FXFileSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXFileSelector *) x)); } static void *_p_FXFontDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXFontDialog *) x)); } static void *_p_FXFontSelectorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXFontSelector *) x)); } static void *_p_FXFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXFrame *) x)); } static void *_p_FXGradientBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXGradientBar *) x)); } static void *_p_FXGroupBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXGroupBox *) x)); } static void *_p_FXHeaderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXHeader *) x)); } static void *_p_FXHorizontalFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXHorizontalFrame *) x)); } static void *_p_FXHorizontalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXHorizontalSeparator *) x)); } static void *_p_FXImageFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXImageFrame *) x)); } static void *_p_FXImageViewTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXImageView *) x)); } static void *_p_FXInputDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXInputDialog *) x)); } static void *_p_FXKnobTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXKnob *) x)); } static void *_p_FXListBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXListBox *) x)); } static void *_p_FXMainWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXMainWindow *) x)); } static void *_p_FXMatrixTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXMatrix *) x)); } static void *_p_FXMessageBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXMessageBox *) x)); } static void *_p_FXPackerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXPacker *) x)); } static void *_p_FXPopupTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXPopup *) x)); } static void *_p_FXPrintDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXPrintDialog *) x)); } static void *_p_FXProgressBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXProgressBar *) x)); } static void *_p_FXProgressDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXProgressDialog *) x)); } static void *_p_FXRealSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXRealSlider *) x)); } static void *_p_FXRealSpinnerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXRealSpinner *) x)); } static void *_p_FXReplaceDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXReplaceDialog *) x)); } static void *_p_FXRootWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXRootWindow *) x)); } static void *_p_FXRulerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXRuler *) x)); } static void *_p_FXRulerViewTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXRulerView *) x)); } static void *_p_FXScrollAreaTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXScrollArea *) x)); } static void *_p_FXScrollBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXScrollBar *) x)); } static void *_p_FXScrollCornerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) ((FXScrollCorner *) x)); } static void *_p_FXScrollWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXScrollArea *) ((FXScrollWindow *) x)); } static void *_p_FXSearchDialogTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *)(FXReplaceDialog *) ((FXSearchDialog *) x)); } static void *_p_FXSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXSeparator *) x)); } static void *_p_FXShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXShell *) x)); } static void *_p_FXShutterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutter *) x)); } static void *_p_FXShutterItemTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXVerticalFrame *) ((FXShutterItem *) x)); } static void *_p_FXSliderTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXSlider *) x)); } static void *_p_FXSpinnerTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpinner *) x)); } static void *_p_FXSplashWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXSplashWindow *) x)); } static void *_p_FXSplitterTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *) ((FXSplitter *) x)); } static void *_p_FXSpringTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSpring *) x)); } static void *_p_FXStatusBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXHorizontalFrame *) ((FXStatusBar *) x)); } static void *_p_FXStatusLineTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXStatusLine *) x)); } static void *_p_FXSwitcherTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXSwitcher *) x)); } static void *_p_FXTabBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXTabBar *) x)); } static void *_p_FXTabBookTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXTabBar *) ((FXTabBook *) x)); } static void *_p_FXTextFieldTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXTextField *) x)); } static void *_p_FXToolBarTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *)(FXDockBar *) ((FXToolBar *) x)); } static void *_p_FXToolBarGripTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXDockHandler *) ((FXToolBarGrip *) x)); } static void *_p_FXToolBarShellTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *) ((FXToolBarShell *) x)); } static void *_p_FXToolBarTabTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *) ((FXToolBarTab *) x)); } static void *_p_FXToolTipTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXToolTip *) x)); } static void *_p_FXTopWindowTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *) ((FXTopWindow *) x)); } static void *_p_FXTreeListBoxTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXTreeListBox *) x)); } static void *_p_FXVerticalFrameTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXPacker *) ((FXVerticalFrame *) x)); } static void *_p_FXVerticalSeparatorTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXFrame *)(FXSeparator *) ((FXVerticalSeparator *) x)); } static void *_p_FXWizardTo_p_FXWindow(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((FXWindow *) (FXComposite *)(FXShell *)(FXTopWindow *)(FXDialogBox *) ((FXWizard *) x)); } static swig_type_info _swigt__p_FXApp = {"_p_FXApp", "FXApp *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXBitmap = {"_p_FXBitmap", "FXBitmap *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXButton = {"_p_FXButton", "FXButton *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXChoiceBox = {"_p_FXChoiceBox", "FXChoiceBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXColorDialog = {"_p_FXColorDialog", "FXColorDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXComposite = {"_p_FXComposite", "FXComposite *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FX4Splitter = {"_p_FX4Splitter", 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_FXComboBox = {"_p_FXComboBox", 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_FXDirSelector = {"_p_FXDirSelector", 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_FXDockSite = {"_p_FXDockSite", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXDriveBox = {"_p_FXDriveBox", 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_FXFontSelector = {"_p_FXFontSelector", 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_FXImageView = {"_p_FXImageView", 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_FXMainWindow = {"_p_FXMainWindow", 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_FXPacker = {"_p_FXPacker", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXPopup = {"_p_FXPopup", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXRealSpinner = {"_p_FXRealSpinner", 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_FXRulerView = {"_p_FXRulerView", 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_FXShutter = {"_p_FXShutter", 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_FXSpinner = {"_p_FXSpinner", 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_FXSplitter = {"_p_FXSplitter", 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_FXStatusBar = {"_p_FXStatusBar", 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_FXTabBook = {"_p_FXTabBook", 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_FXToolBarShell = {"_p_FXToolBarShell", 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_FXTreeListBox = {"_p_FXTreeListBox", 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_FXDialogBox = {"_p_FXDialogBox", "FXDialogBox *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDirDialog = {"_p_FXDirDialog", "FXDirDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXDrawable = {"_p_FXDrawable", "FXDrawable *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FX7Segment = {"_p_FX7Segment", 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_FXBitmapFrame = {"_p_FXBitmapFrame", 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_FXColorBar = {"_p_FXColorBar", 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_FXColorWell = {"_p_FXColorWell", 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_FXDockHandler = {"_p_FXDockHandler", 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_FXDragCorner = {"_p_FXDragCorner", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXFrame = {"_p_FXFrame", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXGradientBar = {"_p_FXGradientBar", 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_FXHorizontalSeparator = {"_p_FXHorizontalSeparator", 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_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_FXRealSlider = {"_p_FXRealSlider", 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_FXScrollBar = {"_p_FXScrollBar", 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_FXSeparator = {"_p_FXSeparator", 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_FXStatusLine = {"_p_FXStatusLine", 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_FXToolBarGrip = {"_p_FXToolBarGrip", 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_FXVerticalSeparator = {"_p_FXVerticalSeparator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXFileDialog = {"_p_FXFileDialog", "FXFileDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFontDesc = {"_p_FXFontDesc", "FXFontDesc *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXFontDialog = {"_p_FXFontDialog", "FXFontDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXHorizontalFrame = {"_p_FXHorizontalFrame", "FXHorizontalFrame *", 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_FXCURCursor = {"_p_FXCURCursor", 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_FXFont = {"_p_FXFont", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXGIFCursor = {"_p_FXGIFCursor", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXVisual = {"_p_FXVisual", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXImage = {"_p_FXImage", "FXImage *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXInputDialog = {"_p_FXInputDialog", "FXInputDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXMessageBox = {"_p_FXMessageBox", "FXMessageBox *", 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_FXAccelTable = {"_p_FXAccelTable", 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_FXDelegator = {"_p_FXDelegator", 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_FXDocument = {"_p_FXDocument", 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_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_FXRecentFiles = {"_p_FXRecentFiles", 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_FXSettings = {"_p_FXSettings", 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_FXTranslator = {"_p_FXTranslator", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_FXPrintDialog = {"_p_FXPrintDialog", "FXPrintDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXPrinter = {"_p_FXPrinter", "FXPrinter *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXProgressDialog = {"_p_FXProgressDialog", "FXProgressDialog *", 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_FXReplaceDialog = {"_p_FXReplaceDialog", "FXReplaceDialog *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXSearchDialog = {"_p_FXSearchDialog", "FXSearchDialog *", 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_FXSwitcher = {"_p_FXSwitcher", "FXSwitcher *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXTopWindow = {"_p_FXTopWindow", "FXTopWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXWindow = {"_p_FXWindow", "FXWindow *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_FXWizard = {"_p_FXWizard", "FXWizard *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_char = {"_p_char", "FXchar *|char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "FXdouble *|double *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "FXfloat *|float *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int = {"_p_int", "FXInputHandle *|FXint *|int *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "FXTime *|long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_short = {"_p_short", "FXshort *|short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "FXbool *|FXuchar *|unsigned char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "FXColor *|FXDragType *|FXHotKey *|FXSelector *|FXuint *|FXwchar *|unsigned int *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "FXPixel *|FXuval *|unsigned long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "FXushort *|unsigned short *", 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_FXChoiceBox, &_swigt__p_FXColorBar, &_swigt__p_FXColorDialog, &_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_FXDialogBox, &_swigt__p_FXDict, &_swigt__p_FXDirBox, &_swigt__p_FXDirDialog, &_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_FXFileDialog, &_swigt__p_FXFileDict, &_swigt__p_FXFileSelector, &_swigt__p_FXFileStream, &_swigt__p_FXFont, &_swigt__p_FXFontDesc, &_swigt__p_FXFontDialog, &_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_FXImage, &_swigt__p_FXImageFrame, &_swigt__p_FXImageView, &_swigt__p_FXInputDialog, &_swigt__p_FXKnob, &_swigt__p_FXListBox, &_swigt__p_FXMainWindow, &_swigt__p_FXMatrix, &_swigt__p_FXMemoryStream, &_swigt__p_FXMessageBox, &_swigt__p_FXObject, &_swigt__p_FXPacker, &_swigt__p_FXPopup, &_swigt__p_FXPrintDialog, &_swigt__p_FXPrinter, &_swigt__p_FXProgressBar, &_swigt__p_FXProgressDialog, &_swigt__p_FXRealSlider, &_swigt__p_FXRealSpinner, &_swigt__p_FXRecentFiles, &_swigt__p_FXRegion, &_swigt__p_FXRegistry, &_swigt__p_FXReplaceDialog, &_swigt__p_FXRootWindow, &_swigt__p_FXRuler, &_swigt__p_FXRulerView, &_swigt__p_FXScrollArea, &_swigt__p_FXScrollBar, &_swigt__p_FXScrollCorner, &_swigt__p_FXScrollWindow, &_swigt__p_FXSearchDialog, &_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_FXTextField, &_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_FXVerticalFrame, &_swigt__p_FXVerticalSeparator, &_swigt__p_FXVisual, &_swigt__p_FXWindow, &_swigt__p_FXWizard, &_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_FXApp[] = { {&_swigt__p_FXApp, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXBitmap[] = { {&_swigt__p_FXBitmap, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXButton[] = { {&_swigt__p_FXButton, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXChoiceBox[] = { {&_swigt__p_FXChoiceBox, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorDialog[] = { {&_swigt__p_FXColorDialog, 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_FXColorSelector[] = {{&_swigt__p_FXColorSelector, 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_FXDirBox[] = {{&_swigt__p_FXDirBox, 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_FXDockBar[] = {{&_swigt__p_FXDockBar, 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_FXDriveBox[] = {{&_swigt__p_FXDriveBox, 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_FXFontSelector[] = {{&_swigt__p_FXFontSelector, 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_FXImageView[] = {{&_swigt__p_FXImageView, 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_FXMainWindow[] = {{&_swigt__p_FXMainWindow, 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_FXPacker[] = {{&_swigt__p_FXPacker, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPopup[] = {{&_swigt__p_FXPopup, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRealSpinner[] = {{&_swigt__p_FXRealSpinner, 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_FXRulerView[] = {{&_swigt__p_FXRulerView, 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_FXShutter[] = {{&_swigt__p_FXShutter, 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_FXSpinner[] = {{&_swigt__p_FXSpinner, 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_FXSplitter[] = {{&_swigt__p_FXSplitter, 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_FXStatusBar[] = {{&_swigt__p_FXStatusBar, 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_FXTabBook[] = {{&_swigt__p_FXTabBook, 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_FXToolBarShell[] = {{&_swigt__p_FXToolBarShell, 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_FXTreeListBox[] = {{&_swigt__p_FXTreeListBox, 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_FXComposite[] = { {&_swigt__p_FXComposite, 0, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXComposite, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXComposite, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXComposite, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXComposite, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXComposite, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXComposite, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXComposite, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXComposite, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXComposite, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXComposite, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXComposite, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXComposite, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXComposite, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDialogBox[] = { {&_swigt__p_FXDialogBox, 0, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXDialogBox, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXDialogBox, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDirDialog[] = { {&_swigt__p_FXDirDialog, 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_FXArrowButton[] = {{&_swigt__p_FXArrowButton, 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_FXCanvas[] = {{&_swigt__p_FXCanvas, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorBar[] = {{&_swigt__p_FXColorBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorRing[] = {{&_swigt__p_FXColorRing, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorWell[] = {{&_swigt__p_FXColorWell, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXColorWheel[] = {{&_swigt__p_FXColorWheel, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDial[] = {{&_swigt__p_FXDial, 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_FXDockTitle[] = {{&_swigt__p_FXDockTitle, 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_FXFrame[] = {{&_swigt__p_FXFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXGradientBar[] = {{&_swigt__p_FXGradientBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHeader[] = {{&_swigt__p_FXHeader, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHorizontalSeparator[] = {{&_swigt__p_FXHorizontalSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXImageFrame[] = {{&_swigt__p_FXImageFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXKnob[] = {{&_swigt__p_FXKnob, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXProgressBar[] = {{&_swigt__p_FXProgressBar, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRealSlider[] = {{&_swigt__p_FXRealSlider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRuler[] = {{&_swigt__p_FXRuler, 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_FXScrollCorner[] = {{&_swigt__p_FXScrollCorner, 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_FXSlider[] = {{&_swigt__p_FXSlider, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXStatusLine[] = {{&_swigt__p_FXStatusLine, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXTextField[] = {{&_swigt__p_FXTextField, 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_FXToolBarTab[] = {{&_swigt__p_FXToolBarTab, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXVerticalSeparator[] = {{&_swigt__p_FXVerticalSeparator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXDrawable[] = { {&_swigt__p_FXDrawable, 0, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXDrawable, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXDrawable, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFileDialog[] = { {&_swigt__p_FXFileDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFontDesc[] = { {&_swigt__p_FXFontDesc, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXFontDialog[] = { {&_swigt__p_FXFontDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXHorizontalFrame[] = { {&_swigt__p_FXHorizontalFrame, 0, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXHorizontalFrame, 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_FXCURCursor[] = {{&_swigt__p_FXCURCursor, 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_FXFont[] = {{&_swigt__p_FXFont, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXGIFCursor[] = {{&_swigt__p_FXGIFCursor, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXVisual[] = {{&_swigt__p_FXVisual, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXId[] = { {&_swigt__p_FXId, 0, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXId, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXId, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXId, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXId, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXId, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXId, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXId, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXId, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXId, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXId, 0, 0}, {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXId, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXId, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXId, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXId, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXId, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXId, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXId, 0, 0}, {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXId, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXFont, _p_FXFontTo_p_FXId, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXId, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXId, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXId, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXId, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXId, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXId, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXId, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXId, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXId, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXId, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXId, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXId, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXId, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXId, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXId, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXId, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXId, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXId, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXId, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXId, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXId, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXId, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXId, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXId, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXId, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXId, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXId, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXId, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXId, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXId, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXId, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXId, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXId, 0, 0}, {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXId, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXId, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXId, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXImage[] = { {&_swigt__p_FXImage, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXInputDialog[] = { {&_swigt__p_FXInputDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXMessageBox[] = { {&_swigt__p_FXMessageBox, 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_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_FXDelegator[] = {{&_swigt__p_FXDelegator, 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_FXDocument[] = {{&_swigt__p_FXDocument, 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_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_FXRecentFiles[] = {{&_swigt__p_FXRecentFiles, 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_FXSettings[] = {{&_swigt__p_FXSettings, 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_FXTranslator[] = {{&_swigt__p_FXTranslator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXObject[] = { {&_swigt__p_FXObject, 0, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXObject, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXObject, 0, 0}, {&_swigt__p_FXAccelTable, _p_FXAccelTableTo_p_FXObject, 0, 0}, {&_swigt__p_FXApp, _p_FXAppTo_p_FXObject, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXObject, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXCURCursor, _p_FXCURCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXObject, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXObject, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXObject, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXObject, 0, 0}, {&_swigt__p_FXCursor, _p_FXCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXDataTarget, _p_FXDataTargetTo_p_FXObject, 0, 0}, {&_swigt__p_FXDebugTarget, _p_FXDebugTargetTo_p_FXObject, 0, 0}, {&_swigt__p_FXDelegator, _p_FXDelegatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXObject, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXDict, _p_FXDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXObject, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXObject, 0, 0}, {&_swigt__p_FXDocument, _p_FXDocumentTo_p_FXObject, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXObject, 0, 0}, {&_swigt__p_FXDrawable, _p_FXDrawableTo_p_FXObject, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileDict, _p_FXFileDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXFont, _p_FXFontTo_p_FXObject, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXObject, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXGIFCursor, _p_FXGIFCursorTo_p_FXObject, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXObject, 0, 0}, {&_swigt__p_FXHeaderItem, _p_FXHeaderItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXIconDict, _p_FXIconDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXId, _p_FXIdTo_p_FXObject, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXObject, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXObject, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXObject, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXObject, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXObject, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXObject, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXObject, 0, 0}, {&_swigt__p_FXRecentFiles, _p_FXRecentFilesTo_p_FXObject, 0, 0}, {&_swigt__p_FXRegistry, _p_FXRegistryTo_p_FXObject, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXObject, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXObject, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXObject, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXSettings, _p_FXSettingsTo_p_FXObject, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXObject, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXObject, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXObject, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXObject, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXObject, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXObject, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXObject, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXObject, 0, 0}, {&_swigt__p_FXStringDict, _p_FXStringDictTo_p_FXObject, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXObject, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXObject, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXObject, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXTranslator, _p_FXTranslatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXObject, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXObject, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXObject, 0, 0}, {&_swigt__p_FXVisual, _p_FXVisualTo_p_FXObject, 0, 0}, {&_swigt__p_FXWindow, _p_FXWindowTo_p_FXObject, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXObject, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPrintDialog[] = { {&_swigt__p_FXPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXPrinter[] = { {&_swigt__p_FXPrinter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXProgressDialog[] = { {&_swigt__p_FXProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXRegion[] = { {&_swigt__p_FXRegion, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXReplaceDialog[] = { {&_swigt__p_FXReplaceDialog, 0, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXReplaceDialog, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXSearchDialog[] = { {&_swigt__p_FXSearchDialog, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXShell[] = { {&_swigt__p_FXShell, 0, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXShell, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXShell, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXShell, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXShell, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXShell, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXShell, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXShell, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXShell, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_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_FXStream, 0, 0, 0}, {&_swigt__p_FXFileStream, _p_FXFileStreamTo_p_FXStream, 0, 0}, {&_swigt__p_FXMemoryStream, _p_FXMemoryStreamTo_p_FXStream, 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_FXTopWindow[] = { {&_swigt__p_FXTopWindow, 0, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXTopWindow, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXTopWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXWindow[] = { {&_swigt__p_FXWindow, 0, 0, 0}, {&_swigt__p_FX4Splitter, _p_FX4SplitterTo_p_FXWindow, 0, 0}, {&_swigt__p_FX7Segment, _p_FX7SegmentTo_p_FXWindow, 0, 0}, {&_swigt__p_FXArrowButton, _p_FXArrowButtonTo_p_FXWindow, 0, 0}, {&_swigt__p_FXBitmapFrame, _p_FXBitmapFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXCanvas, _p_FXCanvasTo_p_FXWindow, 0, 0}, {&_swigt__p_FXChoiceBox, _p_FXChoiceBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorBar, _p_FXColorBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorDialog, _p_FXColorDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorRing, _p_FXColorRingTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorSelector, _p_FXColorSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorWell, _p_FXColorWellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXColorWheel, _p_FXColorWheelTo_p_FXWindow, 0, 0}, {&_swigt__p_FXComboBox, _p_FXComboBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXComposite, _p_FXCompositeTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDial, _p_FXDialTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDialogBox, _p_FXDialogBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirBox, _p_FXDirBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirDialog, _p_FXDirDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDirSelector, _p_FXDirSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockBar, _p_FXDockBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockHandler, _p_FXDockHandlerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockSite, _p_FXDockSiteTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDockTitle, _p_FXDockTitleTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDragCorner, _p_FXDragCornerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXDriveBox, _p_FXDriveBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFileDialog, _p_FXFileDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFileSelector, _p_FXFileSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFontDialog, _p_FXFontDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFontSelector, _p_FXFontSelectorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXFrame, _p_FXFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXGradientBar, _p_FXGradientBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXGroupBox, _p_FXGroupBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHeader, _p_FXHeaderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHorizontalFrame, _p_FXHorizontalFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXHorizontalSeparator, _p_FXHorizontalSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXImageFrame, _p_FXImageFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXImageView, _p_FXImageViewTo_p_FXWindow, 0, 0}, {&_swigt__p_FXInputDialog, _p_FXInputDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXKnob, _p_FXKnobTo_p_FXWindow, 0, 0}, {&_swigt__p_FXListBox, _p_FXListBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMainWindow, _p_FXMainWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMatrix, _p_FXMatrixTo_p_FXWindow, 0, 0}, {&_swigt__p_FXMessageBox, _p_FXMessageBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPacker, _p_FXPackerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPopup, _p_FXPopupTo_p_FXWindow, 0, 0}, {&_swigt__p_FXPrintDialog, _p_FXPrintDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXProgressBar, _p_FXProgressBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXProgressDialog, _p_FXProgressDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRealSlider, _p_FXRealSliderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRealSpinner, _p_FXRealSpinnerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXReplaceDialog, _p_FXReplaceDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRootWindow, _p_FXRootWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRuler, _p_FXRulerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXRulerView, _p_FXRulerViewTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollArea, _p_FXScrollAreaTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollBar, _p_FXScrollBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollCorner, _p_FXScrollCornerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXScrollWindow, _p_FXScrollWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSearchDialog, _p_FXSearchDialogTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSeparator, _p_FXSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShell, _p_FXShellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShutter, _p_FXShutterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXShutterItem, _p_FXShutterItemTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSlider, _p_FXSliderTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSpinner, _p_FXSpinnerTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSplashWindow, _p_FXSplashWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSplitter, _p_FXSplitterTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSpring, _p_FXSpringTo_p_FXWindow, 0, 0}, {&_swigt__p_FXStatusBar, _p_FXStatusBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXStatusLine, _p_FXStatusLineTo_p_FXWindow, 0, 0}, {&_swigt__p_FXSwitcher, _p_FXSwitcherTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabBar, _p_FXTabBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTabBook, _p_FXTabBookTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTextField, _p_FXTextFieldTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBar, _p_FXToolBarTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarGrip, _p_FXToolBarGripTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarShell, _p_FXToolBarShellTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolBarTab, _p_FXToolBarTabTo_p_FXWindow, 0, 0}, {&_swigt__p_FXToolTip, _p_FXToolTipTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTopWindow, _p_FXTopWindowTo_p_FXWindow, 0, 0}, {&_swigt__p_FXTreeListBox, _p_FXTreeListBoxTo_p_FXWindow, 0, 0}, {&_swigt__p_FXVerticalFrame, _p_FXVerticalFrameTo_p_FXWindow, 0, 0}, {&_swigt__p_FXVerticalSeparator, _p_FXVerticalSeparatorTo_p_FXWindow, 0, 0}, {&_swigt__p_FXWizard, _p_FXWizardTo_p_FXWindow, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_FXWizard[] = { {&_swigt__p_FXWizard, 0, 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_FXChoiceBox, _swigc__p_FXColorBar, _swigc__p_FXColorDialog, _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_FXDialogBox, _swigc__p_FXDict, _swigc__p_FXDirBox, _swigc__p_FXDirDialog, _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_FXFileDialog, _swigc__p_FXFileDict, _swigc__p_FXFileSelector, _swigc__p_FXFileStream, _swigc__p_FXFont, _swigc__p_FXFontDesc, _swigc__p_FXFontDialog, _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_FXImage, _swigc__p_FXImageFrame, _swigc__p_FXImageView, _swigc__p_FXInputDialog, _swigc__p_FXKnob, _swigc__p_FXListBox, _swigc__p_FXMainWindow, _swigc__p_FXMatrix, _swigc__p_FXMemoryStream, _swigc__p_FXMessageBox, _swigc__p_FXObject, _swigc__p_FXPacker, _swigc__p_FXPopup, _swigc__p_FXPrintDialog, _swigc__p_FXPrinter, _swigc__p_FXProgressBar, _swigc__p_FXProgressDialog, _swigc__p_FXRealSlider, _swigc__p_FXRealSpinner, _swigc__p_FXRecentFiles, _swigc__p_FXRegion, _swigc__p_FXRegistry, _swigc__p_FXReplaceDialog, _swigc__p_FXRootWindow, _swigc__p_FXRuler, _swigc__p_FXRulerView, _swigc__p_FXScrollArea, _swigc__p_FXScrollBar, _swigc__p_FXScrollCorner, _swigc__p_FXScrollWindow, _swigc__p_FXSearchDialog, _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_FXTextField, _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_FXVerticalFrame, _swigc__p_FXVerticalSeparator, _swigc__p_FXVisual, _swigc__p_FXWindow, _swigc__p_FXWizard, _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 #ifndef SWIG_INIT_CLIENT_DATA_TYPE #define SWIG_INIT_CLIENT_DATA_TYPE void * #endif SWIGRUNTIME void SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE 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_dialogs(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(); SwigClassFXDialogBox.klass = rb_define_class_under(mFox, "FXDialogBox", ((swig_class *) SWIGTYPE_p_FXTopWindow->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDialogBox, (void *) &SwigClassFXDialogBox); rb_define_alloc_func(SwigClassFXDialogBox.klass, _wrap_FXDialogBox_allocate); rb_define_method(SwigClassFXDialogBox.klass, "initialize", VALUEFUNC(_wrap_new_FXDialogBox), -1); rb_define_method(SwigClassFXDialogBox.klass, "onKeyPress", VALUEFUNC(_wrap_FXDialogBox_onKeyPress), -1); rb_define_method(SwigClassFXDialogBox.klass, "onKeyRelease", VALUEFUNC(_wrap_FXDialogBox_onKeyRelease), -1); rb_define_method(SwigClassFXDialogBox.klass, "onCmdAccept", VALUEFUNC(_wrap_FXDialogBox_onCmdAccept), -1); rb_define_method(SwigClassFXDialogBox.klass, "onCmdCancel", VALUEFUNC(_wrap_FXDialogBox_onCmdCancel), -1); rb_define_const(SwigClassFXDialogBox.klass, "ID_CANCEL", SWIG_From_int(static_cast< int >(FXDialogBox::ID_CANCEL))); rb_define_const(SwigClassFXDialogBox.klass, "ID_ACCEPT", SWIG_From_int(static_cast< int >(FXDialogBox::ID_ACCEPT))); rb_define_const(SwigClassFXDialogBox.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXDialogBox::ID_LAST))); rb_define_method(SwigClassFXDialogBox.klass, "save", VALUEFUNC(_wrap_FXDialogBox_save), -1); rb_define_method(SwigClassFXDialogBox.klass, "load", VALUEFUNC(_wrap_FXDialogBox_load), -1); rb_define_method(SwigClassFXDialogBox.klass, "create", VALUEFUNC(_wrap_FXDialogBox_create), -1); rb_define_method(SwigClassFXDialogBox.klass, "detach", VALUEFUNC(_wrap_FXDialogBox_detach), -1); rb_define_method(SwigClassFXDialogBox.klass, "destroy", VALUEFUNC(_wrap_FXDialogBox_destroy), -1); rb_define_method(SwigClassFXDialogBox.klass, "resize", VALUEFUNC(_wrap_FXDialogBox_resize), -1); rb_define_method(SwigClassFXDialogBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDialogBox_getDefaultWidth), -1); rb_define_method(SwigClassFXDialogBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDialogBox_getDefaultHeight), -1); rb_define_method(SwigClassFXDialogBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDialogBox_getWidthForHeight), -1); rb_define_method(SwigClassFXDialogBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDialogBox_getHeightForWidth), -1); rb_define_method(SwigClassFXDialogBox.klass, "canFocus", VALUEFUNC(_wrap_FXDialogBox_canFocus), -1); rb_define_method(SwigClassFXDialogBox.klass, "setFocus", VALUEFUNC(_wrap_FXDialogBox_setFocus), -1); rb_define_method(SwigClassFXDialogBox.klass, "killFocus", VALUEFUNC(_wrap_FXDialogBox_killFocus), -1); rb_define_method(SwigClassFXDialogBox.klass, "changeFocus", VALUEFUNC(_wrap_FXDialogBox_changeFocus), -1); rb_define_method(SwigClassFXDialogBox.klass, "setDefault", VALUEFUNC(_wrap_FXDialogBox_setDefault), -1); rb_define_method(SwigClassFXDialogBox.klass, "enable", VALUEFUNC(_wrap_FXDialogBox_enable), -1); rb_define_method(SwigClassFXDialogBox.klass, "disable", VALUEFUNC(_wrap_FXDialogBox_disable), -1); rb_define_method(SwigClassFXDialogBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXDialogBox_raiseWindow), -1); rb_define_method(SwigClassFXDialogBox.klass, "lower", VALUEFUNC(_wrap_FXDialogBox_lower), -1); rb_define_method(SwigClassFXDialogBox.klass, "move", VALUEFUNC(_wrap_FXDialogBox_move), -1); rb_define_method(SwigClassFXDialogBox.klass, "position", VALUEFUNC(_wrap_FXDialogBox_position), -1); rb_define_method(SwigClassFXDialogBox.klass, "layout", VALUEFUNC(_wrap_FXDialogBox_layout), -1); rb_define_method(SwigClassFXDialogBox.klass, "recalc", VALUEFUNC(_wrap_FXDialogBox_recalc), -1); rb_define_method(SwigClassFXDialogBox.klass, "reparent", VALUEFUNC(_wrap_FXDialogBox_reparent), -1); rb_define_method(SwigClassFXDialogBox.klass, "hide", VALUEFUNC(_wrap_FXDialogBox_hide), -1); rb_define_method(SwigClassFXDialogBox.klass, "isComposite", VALUEFUNC(_wrap_FXDialogBox_isComposite), -1); rb_define_method(SwigClassFXDialogBox.klass, "contains", VALUEFUNC(_wrap_FXDialogBox_contains), -1); rb_define_method(SwigClassFXDialogBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDialogBox_doesSaveUnder), -1); rb_define_method(SwigClassFXDialogBox.klass, "setBackColor", VALUEFUNC(_wrap_FXDialogBox_setBackColor), -1); rb_define_method(SwigClassFXDialogBox.klass, "tr", VALUEFUNC(_wrap_FXDialogBox_tr), -1); rb_define_method(SwigClassFXDialogBox.klass, "dropEnable", VALUEFUNC(_wrap_FXDialogBox_dropEnable), -1); rb_define_method(SwigClassFXDialogBox.klass, "dropDisable", VALUEFUNC(_wrap_FXDialogBox_dropDisable), -1); rb_define_method(SwigClassFXDialogBox.klass, "setShape", VALUEFUNC(_wrap_FXDialogBox_setShape), -1); rb_define_method(SwigClassFXDialogBox.klass, "clearShape", VALUEFUNC(_wrap_FXDialogBox_clearShape), -1); rb_define_method(SwigClassFXDialogBox.klass, "show", VALUEFUNC(_wrap_FXDialogBox_show), -1); rb_define_method(SwigClassFXDialogBox.klass, "maximize", VALUEFUNC(_wrap_FXDialogBox_maximize), -1); rb_define_method(SwigClassFXDialogBox.klass, "minimize", VALUEFUNC(_wrap_FXDialogBox_minimize), -1); rb_define_method(SwigClassFXDialogBox.klass, "restore", VALUEFUNC(_wrap_FXDialogBox_restore), -1); rb_define_method(SwigClassFXDialogBox.klass, "close", VALUEFUNC(_wrap_FXDialogBox_close), -1); rb_define_method(SwigClassFXDialogBox.klass, "execute", VALUEFUNC(_wrap_FXDialogBox_execute), -1); SwigClassFXDialogBox.mark = (void (*)(void *)) FXRbDialogBox::markfunc; SwigClassFXDialogBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDialogBox.trackObjects = 0; SWIGTYPE_p_FXDialogBox->dcast = (swig_dycast_func) FXDialogBox_dynamic_cast; SwigClassFXDirDialog.klass = rb_define_class_under(mFox, "FXDirDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXDirDialog, (void *) &SwigClassFXDirDialog); rb_define_alloc_func(SwigClassFXDirDialog.klass, _wrap_FXDirDialog_allocate); rb_define_method(SwigClassFXDirDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXDirDialog), -1); rb_define_method(SwigClassFXDirDialog.klass, "setDirectory", VALUEFUNC(_wrap_FXDirDialog_setDirectory), -1); rb_define_method(SwigClassFXDirDialog.klass, "getDirectory", VALUEFUNC(_wrap_FXDirDialog_getDirectory), -1); rb_define_method(SwigClassFXDirDialog.klass, "getShowFiles", VALUEFUNC(_wrap_FXDirDialog_getShowFiles), -1); rb_define_method(SwigClassFXDirDialog.klass, "setShowFiles", VALUEFUNC(_wrap_FXDirDialog_setShowFiles), -1); rb_define_method(SwigClassFXDirDialog.klass, "getShowHiddenFiles", VALUEFUNC(_wrap_FXDirDialog_getShowHiddenFiles), -1); rb_define_method(SwigClassFXDirDialog.klass, "setShowHiddenFiles", VALUEFUNC(_wrap_FXDirDialog_setShowHiddenFiles), -1); rb_define_method(SwigClassFXDirDialog.klass, "getMatchMode", VALUEFUNC(_wrap_FXDirDialog_getMatchMode), -1); rb_define_method(SwigClassFXDirDialog.klass, "setMatchMode", VALUEFUNC(_wrap_FXDirDialog_setMatchMode), -1); rb_define_method(SwigClassFXDirDialog.klass, "setDirBoxStyle", VALUEFUNC(_wrap_FXDirDialog_setDirBoxStyle), -1); rb_define_method(SwigClassFXDirDialog.klass, "getDirBoxStyle", VALUEFUNC(_wrap_FXDirDialog_getDirBoxStyle), -1); rb_define_singleton_method(SwigClassFXDirDialog.klass, "getOpenDirectory", VALUEFUNC(_wrap_FXDirDialog_getOpenDirectory), -1); rb_define_method(SwigClassFXDirDialog.klass, "save", VALUEFUNC(_wrap_FXDirDialog_save), -1); rb_define_method(SwigClassFXDirDialog.klass, "load", VALUEFUNC(_wrap_FXDirDialog_load), -1); rb_define_method(SwigClassFXDirDialog.klass, "create", VALUEFUNC(_wrap_FXDirDialog_create), -1); rb_define_method(SwigClassFXDirDialog.klass, "detach", VALUEFUNC(_wrap_FXDirDialog_detach), -1); rb_define_method(SwigClassFXDirDialog.klass, "destroy", VALUEFUNC(_wrap_FXDirDialog_destroy), -1); rb_define_method(SwigClassFXDirDialog.klass, "resize", VALUEFUNC(_wrap_FXDirDialog_resize), -1); rb_define_method(SwigClassFXDirDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXDirDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXDirDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXDirDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXDirDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXDirDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXDirDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXDirDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXDirDialog.klass, "canFocus", VALUEFUNC(_wrap_FXDirDialog_canFocus), -1); rb_define_method(SwigClassFXDirDialog.klass, "setFocus", VALUEFUNC(_wrap_FXDirDialog_setFocus), -1); rb_define_method(SwigClassFXDirDialog.klass, "killFocus", VALUEFUNC(_wrap_FXDirDialog_killFocus), -1); rb_define_method(SwigClassFXDirDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXDirDialog_changeFocus), -1); rb_define_method(SwigClassFXDirDialog.klass, "setDefault", VALUEFUNC(_wrap_FXDirDialog_setDefault), -1); rb_define_method(SwigClassFXDirDialog.klass, "enable", VALUEFUNC(_wrap_FXDirDialog_enable), -1); rb_define_method(SwigClassFXDirDialog.klass, "disable", VALUEFUNC(_wrap_FXDirDialog_disable), -1); rb_define_method(SwigClassFXDirDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXDirDialog_raiseWindow), -1); rb_define_method(SwigClassFXDirDialog.klass, "lower", VALUEFUNC(_wrap_FXDirDialog_lower), -1); rb_define_method(SwigClassFXDirDialog.klass, "move", VALUEFUNC(_wrap_FXDirDialog_move), -1); rb_define_method(SwigClassFXDirDialog.klass, "position", VALUEFUNC(_wrap_FXDirDialog_position), -1); rb_define_method(SwigClassFXDirDialog.klass, "layout", VALUEFUNC(_wrap_FXDirDialog_layout), -1); rb_define_method(SwigClassFXDirDialog.klass, "recalc", VALUEFUNC(_wrap_FXDirDialog_recalc), -1); rb_define_method(SwigClassFXDirDialog.klass, "reparent", VALUEFUNC(_wrap_FXDirDialog_reparent), -1); rb_define_method(SwigClassFXDirDialog.klass, "hide", VALUEFUNC(_wrap_FXDirDialog_hide), -1); rb_define_method(SwigClassFXDirDialog.klass, "isComposite", VALUEFUNC(_wrap_FXDirDialog_isComposite), -1); rb_define_method(SwigClassFXDirDialog.klass, "contains", VALUEFUNC(_wrap_FXDirDialog_contains), -1); rb_define_method(SwigClassFXDirDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXDirDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXDirDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXDirDialog_setBackColor), -1); rb_define_method(SwigClassFXDirDialog.klass, "tr", VALUEFUNC(_wrap_FXDirDialog_tr), -1); rb_define_method(SwigClassFXDirDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXDirDialog_dropEnable), -1); rb_define_method(SwigClassFXDirDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXDirDialog_dropDisable), -1); rb_define_method(SwigClassFXDirDialog.klass, "setShape", VALUEFUNC(_wrap_FXDirDialog_setShape), -1); rb_define_method(SwigClassFXDirDialog.klass, "clearShape", VALUEFUNC(_wrap_FXDirDialog_clearShape), -1); rb_define_method(SwigClassFXDirDialog.klass, "show", VALUEFUNC(_wrap_FXDirDialog_show), -1); rb_define_method(SwigClassFXDirDialog.klass, "maximize", VALUEFUNC(_wrap_FXDirDialog_maximize), -1); rb_define_method(SwigClassFXDirDialog.klass, "minimize", VALUEFUNC(_wrap_FXDirDialog_minimize), -1); rb_define_method(SwigClassFXDirDialog.klass, "restore", VALUEFUNC(_wrap_FXDirDialog_restore), -1); rb_define_method(SwigClassFXDirDialog.klass, "close", VALUEFUNC(_wrap_FXDirDialog_close), -1); rb_define_method(SwigClassFXDirDialog.klass, "execute", VALUEFUNC(_wrap_FXDirDialog_execute), -1); SwigClassFXDirDialog.mark = (void (*)(void *)) FXRbDirDialog::markfunc; SwigClassFXDirDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXDirDialog.trackObjects = 0; SwigClassFXFileDialog.klass = rb_define_class_under(mFox, "FXFileDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXFileDialog, (void *) &SwigClassFXFileDialog); rb_define_alloc_func(SwigClassFXFileDialog.klass, _wrap_FXFileDialog_allocate); rb_define_method(SwigClassFXFileDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXFileDialog), -1); rb_define_method(SwigClassFXFileDialog.klass, "setFilename", VALUEFUNC(_wrap_FXFileDialog_setFilename), -1); rb_define_method(SwigClassFXFileDialog.klass, "getFilename", VALUEFUNC(_wrap_FXFileDialog_getFilename), -1); rb_define_method(SwigClassFXFileDialog.klass, "getFilenames", VALUEFUNC(_wrap_FXFileDialog_getFilenames), -1); rb_define_method(SwigClassFXFileDialog.klass, "setPattern", VALUEFUNC(_wrap_FXFileDialog_setPattern), -1); rb_define_method(SwigClassFXFileDialog.klass, "getPattern", VALUEFUNC(_wrap_FXFileDialog_getPattern), -1); rb_define_method(SwigClassFXFileDialog.klass, "setPatternList", VALUEFUNC(_wrap_FXFileDialog_setPatternList), -1); rb_define_method(SwigClassFXFileDialog.klass, "getPatternList", VALUEFUNC(_wrap_FXFileDialog_getPatternList), -1); rb_define_method(SwigClassFXFileDialog.klass, "setCurrentPattern", VALUEFUNC(_wrap_FXFileDialog_setCurrentPattern), -1); rb_define_method(SwigClassFXFileDialog.klass, "getCurrentPattern", VALUEFUNC(_wrap_FXFileDialog_getCurrentPattern), -1); rb_define_method(SwigClassFXFileDialog.klass, "getPatternText", VALUEFUNC(_wrap_FXFileDialog_getPatternText), -1); rb_define_method(SwigClassFXFileDialog.klass, "setPatternText", VALUEFUNC(_wrap_FXFileDialog_setPatternText), -1); rb_define_method(SwigClassFXFileDialog.klass, "numPatterns", VALUEFUNC(_wrap_FXFileDialog_numPatterns), -1); rb_define_method(SwigClassFXFileDialog.klass, "setAllowPatternEntry", VALUEFUNC(_wrap_FXFileDialog_setAllowPatternEntry), -1); rb_define_method(SwigClassFXFileDialog.klass, "getAllowPatternEntry", VALUEFUNC(_wrap_FXFileDialog_getAllowPatternEntry), -1); rb_define_method(SwigClassFXFileDialog.klass, "setDirectory", VALUEFUNC(_wrap_FXFileDialog_setDirectory), -1); rb_define_method(SwigClassFXFileDialog.klass, "getDirectory", VALUEFUNC(_wrap_FXFileDialog_getDirectory), -1); rb_define_method(SwigClassFXFileDialog.klass, "setItemSpace", VALUEFUNC(_wrap_FXFileDialog_setItemSpace), -1); rb_define_method(SwigClassFXFileDialog.klass, "getItemSpace", VALUEFUNC(_wrap_FXFileDialog_getItemSpace), -1); rb_define_method(SwigClassFXFileDialog.klass, "setSelectMode", VALUEFUNC(_wrap_FXFileDialog_setSelectMode), -1); rb_define_method(SwigClassFXFileDialog.klass, "getSelectMode", VALUEFUNC(_wrap_FXFileDialog_getSelectMode), -1); rb_define_method(SwigClassFXFileDialog.klass, "setMatchMode", VALUEFUNC(_wrap_FXFileDialog_setMatchMode), -1); rb_define_method(SwigClassFXFileDialog.klass, "getMatchMode", VALUEFUNC(_wrap_FXFileDialog_getMatchMode), -1); rb_define_method(SwigClassFXFileDialog.klass, "getShowHiddenFiles", VALUEFUNC(_wrap_FXFileDialog_getShowHiddenFiles), -1); rb_define_method(SwigClassFXFileDialog.klass, "setShowHiddenFiles", VALUEFUNC(_wrap_FXFileDialog_setShowHiddenFiles), -1); rb_define_method(SwigClassFXFileDialog.klass, "getShowImages", VALUEFUNC(_wrap_FXFileDialog_getShowImages), -1); rb_define_method(SwigClassFXFileDialog.klass, "setShowImages", VALUEFUNC(_wrap_FXFileDialog_setShowImages), -1); rb_define_method(SwigClassFXFileDialog.klass, "getImageSize", VALUEFUNC(_wrap_FXFileDialog_getImageSize), -1); rb_define_method(SwigClassFXFileDialog.klass, "setImageSize", VALUEFUNC(_wrap_FXFileDialog_setImageSize), -1); rb_define_method(SwigClassFXFileDialog.klass, "showReadOnly", VALUEFUNC(_wrap_FXFileDialog_showReadOnly), -1); rb_define_method(SwigClassFXFileDialog.klass, "shownReadOnly", VALUEFUNC(_wrap_FXFileDialog_shownReadOnly), -1); rb_define_method(SwigClassFXFileDialog.klass, "setReadOnly", VALUEFUNC(_wrap_FXFileDialog_setReadOnly), -1); rb_define_method(SwigClassFXFileDialog.klass, "getReadOnly", VALUEFUNC(_wrap_FXFileDialog_getReadOnly), -1); rb_define_method(SwigClassFXFileDialog.klass, "setFileBoxStyle", VALUEFUNC(_wrap_FXFileDialog_setFileBoxStyle), -1); rb_define_method(SwigClassFXFileDialog.klass, "getFileBoxStyle", VALUEFUNC(_wrap_FXFileDialog_getFileBoxStyle), -1); rb_define_method(SwigClassFXFileDialog.klass, "navigationAllowed=", VALUEFUNC(_wrap_FXFileDialog_navigationAllowede___), -1); rb_define_method(SwigClassFXFileDialog.klass, "navigationAllowed?", VALUEFUNC(_wrap_FXFileDialog_navigationAllowedq___), -1); rb_define_singleton_method(SwigClassFXFileDialog.klass, "getOpenFilename", VALUEFUNC(_wrap_FXFileDialog_getOpenFilename), -1); rb_define_singleton_method(SwigClassFXFileDialog.klass, "getOpenFilenames", VALUEFUNC(_wrap_FXFileDialog_getOpenFilenames), -1); rb_define_singleton_method(SwigClassFXFileDialog.klass, "getSaveFilename", VALUEFUNC(_wrap_FXFileDialog_getSaveFilename), -1); rb_define_singleton_method(SwigClassFXFileDialog.klass, "getOpenDirectory", VALUEFUNC(_wrap_FXFileDialog_getOpenDirectory), -1); rb_define_method(SwigClassFXFileDialog.klass, "save", VALUEFUNC(_wrap_FXFileDialog_save), -1); rb_define_method(SwigClassFXFileDialog.klass, "load", VALUEFUNC(_wrap_FXFileDialog_load), -1); rb_define_method(SwigClassFXFileDialog.klass, "create", VALUEFUNC(_wrap_FXFileDialog_create), -1); rb_define_method(SwigClassFXFileDialog.klass, "detach", VALUEFUNC(_wrap_FXFileDialog_detach), -1); rb_define_method(SwigClassFXFileDialog.klass, "destroy", VALUEFUNC(_wrap_FXFileDialog_destroy), -1); rb_define_method(SwigClassFXFileDialog.klass, "resize", VALUEFUNC(_wrap_FXFileDialog_resize), -1); rb_define_method(SwigClassFXFileDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXFileDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXFileDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXFileDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXFileDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXFileDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXFileDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXFileDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXFileDialog.klass, "canFocus", VALUEFUNC(_wrap_FXFileDialog_canFocus), -1); rb_define_method(SwigClassFXFileDialog.klass, "setFocus", VALUEFUNC(_wrap_FXFileDialog_setFocus), -1); rb_define_method(SwigClassFXFileDialog.klass, "killFocus", VALUEFUNC(_wrap_FXFileDialog_killFocus), -1); rb_define_method(SwigClassFXFileDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXFileDialog_changeFocus), -1); rb_define_method(SwigClassFXFileDialog.klass, "setDefault", VALUEFUNC(_wrap_FXFileDialog_setDefault), -1); rb_define_method(SwigClassFXFileDialog.klass, "enable", VALUEFUNC(_wrap_FXFileDialog_enable), -1); rb_define_method(SwigClassFXFileDialog.klass, "disable", VALUEFUNC(_wrap_FXFileDialog_disable), -1); rb_define_method(SwigClassFXFileDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXFileDialog_raiseWindow), -1); rb_define_method(SwigClassFXFileDialog.klass, "lower", VALUEFUNC(_wrap_FXFileDialog_lower), -1); rb_define_method(SwigClassFXFileDialog.klass, "move", VALUEFUNC(_wrap_FXFileDialog_move), -1); rb_define_method(SwigClassFXFileDialog.klass, "position", VALUEFUNC(_wrap_FXFileDialog_position), -1); rb_define_method(SwigClassFXFileDialog.klass, "layout", VALUEFUNC(_wrap_FXFileDialog_layout), -1); rb_define_method(SwigClassFXFileDialog.klass, "recalc", VALUEFUNC(_wrap_FXFileDialog_recalc), -1); rb_define_method(SwigClassFXFileDialog.klass, "reparent", VALUEFUNC(_wrap_FXFileDialog_reparent), -1); rb_define_method(SwigClassFXFileDialog.klass, "hide", VALUEFUNC(_wrap_FXFileDialog_hide), -1); rb_define_method(SwigClassFXFileDialog.klass, "isComposite", VALUEFUNC(_wrap_FXFileDialog_isComposite), -1); rb_define_method(SwigClassFXFileDialog.klass, "contains", VALUEFUNC(_wrap_FXFileDialog_contains), -1); rb_define_method(SwigClassFXFileDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXFileDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXFileDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXFileDialog_setBackColor), -1); rb_define_method(SwigClassFXFileDialog.klass, "tr", VALUEFUNC(_wrap_FXFileDialog_tr), -1); rb_define_method(SwigClassFXFileDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXFileDialog_dropEnable), -1); rb_define_method(SwigClassFXFileDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXFileDialog_dropDisable), -1); rb_define_method(SwigClassFXFileDialog.klass, "setShape", VALUEFUNC(_wrap_FXFileDialog_setShape), -1); rb_define_method(SwigClassFXFileDialog.klass, "clearShape", VALUEFUNC(_wrap_FXFileDialog_clearShape), -1); rb_define_method(SwigClassFXFileDialog.klass, "show", VALUEFUNC(_wrap_FXFileDialog_show), -1); rb_define_method(SwigClassFXFileDialog.klass, "maximize", VALUEFUNC(_wrap_FXFileDialog_maximize), -1); rb_define_method(SwigClassFXFileDialog.klass, "minimize", VALUEFUNC(_wrap_FXFileDialog_minimize), -1); rb_define_method(SwigClassFXFileDialog.klass, "restore", VALUEFUNC(_wrap_FXFileDialog_restore), -1); rb_define_method(SwigClassFXFileDialog.klass, "close", VALUEFUNC(_wrap_FXFileDialog_close), -1); rb_define_method(SwigClassFXFileDialog.klass, "execute", VALUEFUNC(_wrap_FXFileDialog_execute), -1); SwigClassFXFileDialog.mark = (void (*)(void *)) FXRbFileDialog::markfunc; SwigClassFXFileDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXFileDialog.trackObjects = 0; SwigClassFXColorDialog.klass = rb_define_class_under(mFox, "FXColorDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXColorDialog, (void *) &SwigClassFXColorDialog); rb_define_alloc_func(SwigClassFXColorDialog.klass, _wrap_FXColorDialog_allocate); rb_define_method(SwigClassFXColorDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXColorDialog), -1); rb_define_method(SwigClassFXColorDialog.klass, "onChgColor", VALUEFUNC(_wrap_FXColorDialog_onChgColor), -1); rb_define_method(SwigClassFXColorDialog.klass, "onCmdColor", VALUEFUNC(_wrap_FXColorDialog_onCmdColor), -1); rb_define_const(SwigClassFXColorDialog.klass, "ID_COLORSELECTOR", SWIG_From_int(static_cast< int >(FXColorDialog::ID_COLORSELECTOR))); rb_define_const(SwigClassFXColorDialog.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXColorDialog::ID_LAST))); rb_define_method(SwigClassFXColorDialog.klass, "setRGBA", VALUEFUNC(_wrap_FXColorDialog_setRGBA), -1); rb_define_method(SwigClassFXColorDialog.klass, "getRGBA", VALUEFUNC(_wrap_FXColorDialog_getRGBA), -1); rb_define_method(SwigClassFXColorDialog.klass, "isOpaqueOnly", VALUEFUNC(_wrap_FXColorDialog_isOpaqueOnly), -1); rb_define_method(SwigClassFXColorDialog.klass, "setOpaqueOnly", VALUEFUNC(_wrap_FXColorDialog_setOpaqueOnly), -1); rb_define_method(SwigClassFXColorDialog.klass, "save", VALUEFUNC(_wrap_FXColorDialog_save), -1); rb_define_method(SwigClassFXColorDialog.klass, "load", VALUEFUNC(_wrap_FXColorDialog_load), -1); rb_define_method(SwigClassFXColorDialog.klass, "create", VALUEFUNC(_wrap_FXColorDialog_create), -1); rb_define_method(SwigClassFXColorDialog.klass, "detach", VALUEFUNC(_wrap_FXColorDialog_detach), -1); rb_define_method(SwigClassFXColorDialog.klass, "destroy", VALUEFUNC(_wrap_FXColorDialog_destroy), -1); rb_define_method(SwigClassFXColorDialog.klass, "resize", VALUEFUNC(_wrap_FXColorDialog_resize), -1); rb_define_method(SwigClassFXColorDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXColorDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXColorDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXColorDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXColorDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXColorDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXColorDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXColorDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXColorDialog.klass, "canFocus", VALUEFUNC(_wrap_FXColorDialog_canFocus), -1); rb_define_method(SwigClassFXColorDialog.klass, "setFocus", VALUEFUNC(_wrap_FXColorDialog_setFocus), -1); rb_define_method(SwigClassFXColorDialog.klass, "killFocus", VALUEFUNC(_wrap_FXColorDialog_killFocus), -1); rb_define_method(SwigClassFXColorDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXColorDialog_changeFocus), -1); rb_define_method(SwigClassFXColorDialog.klass, "setDefault", VALUEFUNC(_wrap_FXColorDialog_setDefault), -1); rb_define_method(SwigClassFXColorDialog.klass, "enable", VALUEFUNC(_wrap_FXColorDialog_enable), -1); rb_define_method(SwigClassFXColorDialog.klass, "disable", VALUEFUNC(_wrap_FXColorDialog_disable), -1); rb_define_method(SwigClassFXColorDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXColorDialog_raiseWindow), -1); rb_define_method(SwigClassFXColorDialog.klass, "lower", VALUEFUNC(_wrap_FXColorDialog_lower), -1); rb_define_method(SwigClassFXColorDialog.klass, "move", VALUEFUNC(_wrap_FXColorDialog_move), -1); rb_define_method(SwigClassFXColorDialog.klass, "position", VALUEFUNC(_wrap_FXColorDialog_position), -1); rb_define_method(SwigClassFXColorDialog.klass, "layout", VALUEFUNC(_wrap_FXColorDialog_layout), -1); rb_define_method(SwigClassFXColorDialog.klass, "recalc", VALUEFUNC(_wrap_FXColorDialog_recalc), -1); rb_define_method(SwigClassFXColorDialog.klass, "reparent", VALUEFUNC(_wrap_FXColorDialog_reparent), -1); rb_define_method(SwigClassFXColorDialog.klass, "hide", VALUEFUNC(_wrap_FXColorDialog_hide), -1); rb_define_method(SwigClassFXColorDialog.klass, "isComposite", VALUEFUNC(_wrap_FXColorDialog_isComposite), -1); rb_define_method(SwigClassFXColorDialog.klass, "contains", VALUEFUNC(_wrap_FXColorDialog_contains), -1); rb_define_method(SwigClassFXColorDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXColorDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXColorDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXColorDialog_setBackColor), -1); rb_define_method(SwigClassFXColorDialog.klass, "tr", VALUEFUNC(_wrap_FXColorDialog_tr), -1); rb_define_method(SwigClassFXColorDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXColorDialog_dropEnable), -1); rb_define_method(SwigClassFXColorDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXColorDialog_dropDisable), -1); rb_define_method(SwigClassFXColorDialog.klass, "setShape", VALUEFUNC(_wrap_FXColorDialog_setShape), -1); rb_define_method(SwigClassFXColorDialog.klass, "clearShape", VALUEFUNC(_wrap_FXColorDialog_clearShape), -1); rb_define_method(SwigClassFXColorDialog.klass, "show", VALUEFUNC(_wrap_FXColorDialog_show), -1); rb_define_method(SwigClassFXColorDialog.klass, "maximize", VALUEFUNC(_wrap_FXColorDialog_maximize), -1); rb_define_method(SwigClassFXColorDialog.klass, "minimize", VALUEFUNC(_wrap_FXColorDialog_minimize), -1); rb_define_method(SwigClassFXColorDialog.klass, "restore", VALUEFUNC(_wrap_FXColorDialog_restore), -1); rb_define_method(SwigClassFXColorDialog.klass, "close", VALUEFUNC(_wrap_FXColorDialog_close), -1); rb_define_method(SwigClassFXColorDialog.klass, "execute", VALUEFUNC(_wrap_FXColorDialog_execute), -1); SwigClassFXColorDialog.mark = (void (*)(void *)) FXRbColorDialog::markfunc; SwigClassFXColorDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXColorDialog.trackObjects = 0; SwigClassFXFontDialog.klass = rb_define_class_under(mFox, "FXFontDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXFontDialog, (void *) &SwigClassFXFontDialog); rb_define_alloc_func(SwigClassFXFontDialog.klass, _wrap_FXFontDialog_allocate); rb_define_method(SwigClassFXFontDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXFontDialog), -1); rb_define_method(SwigClassFXFontDialog.klass, "setFontSelection", VALUEFUNC(_wrap_FXFontDialog_setFontSelection), -1); rb_define_method(SwigClassFXFontDialog.klass, "getFontSelection", VALUEFUNC(_wrap_FXFontDialog_getFontSelection), -1); rb_define_method(SwigClassFXFontDialog.klass, "save", VALUEFUNC(_wrap_FXFontDialog_save), -1); rb_define_method(SwigClassFXFontDialog.klass, "load", VALUEFUNC(_wrap_FXFontDialog_load), -1); rb_define_method(SwigClassFXFontDialog.klass, "create", VALUEFUNC(_wrap_FXFontDialog_create), -1); rb_define_method(SwigClassFXFontDialog.klass, "detach", VALUEFUNC(_wrap_FXFontDialog_detach), -1); rb_define_method(SwigClassFXFontDialog.klass, "destroy", VALUEFUNC(_wrap_FXFontDialog_destroy), -1); rb_define_method(SwigClassFXFontDialog.klass, "resize", VALUEFUNC(_wrap_FXFontDialog_resize), -1); rb_define_method(SwigClassFXFontDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXFontDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXFontDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXFontDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXFontDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXFontDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXFontDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXFontDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXFontDialog.klass, "canFocus", VALUEFUNC(_wrap_FXFontDialog_canFocus), -1); rb_define_method(SwigClassFXFontDialog.klass, "setFocus", VALUEFUNC(_wrap_FXFontDialog_setFocus), -1); rb_define_method(SwigClassFXFontDialog.klass, "killFocus", VALUEFUNC(_wrap_FXFontDialog_killFocus), -1); rb_define_method(SwigClassFXFontDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXFontDialog_changeFocus), -1); rb_define_method(SwigClassFXFontDialog.klass, "setDefault", VALUEFUNC(_wrap_FXFontDialog_setDefault), -1); rb_define_method(SwigClassFXFontDialog.klass, "enable", VALUEFUNC(_wrap_FXFontDialog_enable), -1); rb_define_method(SwigClassFXFontDialog.klass, "disable", VALUEFUNC(_wrap_FXFontDialog_disable), -1); rb_define_method(SwigClassFXFontDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXFontDialog_raiseWindow), -1); rb_define_method(SwigClassFXFontDialog.klass, "lower", VALUEFUNC(_wrap_FXFontDialog_lower), -1); rb_define_method(SwigClassFXFontDialog.klass, "move", VALUEFUNC(_wrap_FXFontDialog_move), -1); rb_define_method(SwigClassFXFontDialog.klass, "position", VALUEFUNC(_wrap_FXFontDialog_position), -1); rb_define_method(SwigClassFXFontDialog.klass, "layout", VALUEFUNC(_wrap_FXFontDialog_layout), -1); rb_define_method(SwigClassFXFontDialog.klass, "recalc", VALUEFUNC(_wrap_FXFontDialog_recalc), -1); rb_define_method(SwigClassFXFontDialog.klass, "reparent", VALUEFUNC(_wrap_FXFontDialog_reparent), -1); rb_define_method(SwigClassFXFontDialog.klass, "hide", VALUEFUNC(_wrap_FXFontDialog_hide), -1); rb_define_method(SwigClassFXFontDialog.klass, "isComposite", VALUEFUNC(_wrap_FXFontDialog_isComposite), -1); rb_define_method(SwigClassFXFontDialog.klass, "contains", VALUEFUNC(_wrap_FXFontDialog_contains), -1); rb_define_method(SwigClassFXFontDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXFontDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXFontDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXFontDialog_setBackColor), -1); rb_define_method(SwigClassFXFontDialog.klass, "tr", VALUEFUNC(_wrap_FXFontDialog_tr), -1); rb_define_method(SwigClassFXFontDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXFontDialog_dropEnable), -1); rb_define_method(SwigClassFXFontDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXFontDialog_dropDisable), -1); rb_define_method(SwigClassFXFontDialog.klass, "setShape", VALUEFUNC(_wrap_FXFontDialog_setShape), -1); rb_define_method(SwigClassFXFontDialog.klass, "clearShape", VALUEFUNC(_wrap_FXFontDialog_clearShape), -1); rb_define_method(SwigClassFXFontDialog.klass, "show", VALUEFUNC(_wrap_FXFontDialog_show), -1); rb_define_method(SwigClassFXFontDialog.klass, "maximize", VALUEFUNC(_wrap_FXFontDialog_maximize), -1); rb_define_method(SwigClassFXFontDialog.klass, "minimize", VALUEFUNC(_wrap_FXFontDialog_minimize), -1); rb_define_method(SwigClassFXFontDialog.klass, "restore", VALUEFUNC(_wrap_FXFontDialog_restore), -1); rb_define_method(SwigClassFXFontDialog.klass, "close", VALUEFUNC(_wrap_FXFontDialog_close), -1); rb_define_method(SwigClassFXFontDialog.klass, "execute", VALUEFUNC(_wrap_FXFontDialog_execute), -1); SwigClassFXFontDialog.mark = (void (*)(void *)) FXRbFontDialog::markfunc; SwigClassFXFontDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXFontDialog.trackObjects = 0; SwigClassFXReplaceDialog.klass = rb_define_class_under(mFox, "FXReplaceDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXReplaceDialog, (void *) &SwigClassFXReplaceDialog); rb_define_alloc_func(SwigClassFXReplaceDialog.klass, _wrap_FXReplaceDialog_allocate); rb_define_method(SwigClassFXReplaceDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXReplaceDialog), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdAll", VALUEFUNC(_wrap_FXReplaceDialog_onCmdAll), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdNext", VALUEFUNC(_wrap_FXReplaceDialog_onCmdNext), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onUpdDir", VALUEFUNC(_wrap_FXReplaceDialog_onUpdDir), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdDir", VALUEFUNC(_wrap_FXReplaceDialog_onCmdDir), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onUpdMode", VALUEFUNC(_wrap_FXReplaceDialog_onUpdMode), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdMode", VALUEFUNC(_wrap_FXReplaceDialog_onCmdMode), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onSearchKey", VALUEFUNC(_wrap_FXReplaceDialog_onSearchKey), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onReplaceKey", VALUEFUNC(_wrap_FXReplaceDialog_onReplaceKey), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdSearchHist", VALUEFUNC(_wrap_FXReplaceDialog_onCmdSearchHist), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdReplaceHist", VALUEFUNC(_wrap_FXReplaceDialog_onCmdReplaceHist), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "onCmdAccept", VALUEFUNC(_wrap_FXReplaceDialog_onCmdAccept), -1); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_NEXT", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_NEXT))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_PREV", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_PREV))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_SEARCH_UP", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_SEARCH_UP))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_SEARCH_DN", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_SEARCH_DN))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_REPLACE_UP", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_REPLACE_UP))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_REPLACE_DN", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_REPLACE_DN))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_ALL", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_ALL))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_DIR", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_DIR))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_SEARCH_TEXT", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_SEARCH_TEXT))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_REPLACE_TEXT", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_REPLACE_TEXT))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_MODE", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_MODE))); rb_define_const(SwigClassFXReplaceDialog.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXReplaceDialog::ID_LAST))); rb_define_const(SwigClassFXReplaceDialog.klass, "DONE", SWIG_From_int(static_cast< int >(FXReplaceDialog::DONE))); rb_define_const(SwigClassFXReplaceDialog.klass, "SEARCH", SWIG_From_int(static_cast< int >(FXReplaceDialog::SEARCH))); rb_define_const(SwigClassFXReplaceDialog.klass, "REPLACE", SWIG_From_int(static_cast< int >(FXReplaceDialog::REPLACE))); rb_define_const(SwigClassFXReplaceDialog.klass, "SEARCH_NEXT", SWIG_From_int(static_cast< int >(FXReplaceDialog::SEARCH_NEXT))); rb_define_const(SwigClassFXReplaceDialog.klass, "REPLACE_NEXT", SWIG_From_int(static_cast< int >(FXReplaceDialog::REPLACE_NEXT))); rb_define_const(SwigClassFXReplaceDialog.klass, "REPLACE_ALL", SWIG_From_int(static_cast< int >(FXReplaceDialog::REPLACE_ALL))); rb_define_method(SwigClassFXReplaceDialog.klass, "setSearchText", VALUEFUNC(_wrap_FXReplaceDialog_setSearchText), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getSearchText", VALUEFUNC(_wrap_FXReplaceDialog_getSearchText), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "setReplaceText", VALUEFUNC(_wrap_FXReplaceDialog_setReplaceText), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getReplaceText", VALUEFUNC(_wrap_FXReplaceDialog_getReplaceText), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "setSearchMode", VALUEFUNC(_wrap_FXReplaceDialog_setSearchMode), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getSearchMode", VALUEFUNC(_wrap_FXReplaceDialog_getSearchMode), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "save", VALUEFUNC(_wrap_FXReplaceDialog_save), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "load", VALUEFUNC(_wrap_FXReplaceDialog_load), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "create", VALUEFUNC(_wrap_FXReplaceDialog_create), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "detach", VALUEFUNC(_wrap_FXReplaceDialog_detach), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "destroy", VALUEFUNC(_wrap_FXReplaceDialog_destroy), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "resize", VALUEFUNC(_wrap_FXReplaceDialog_resize), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXReplaceDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXReplaceDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXReplaceDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXReplaceDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "canFocus", VALUEFUNC(_wrap_FXReplaceDialog_canFocus), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "setFocus", VALUEFUNC(_wrap_FXReplaceDialog_setFocus), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "killFocus", VALUEFUNC(_wrap_FXReplaceDialog_killFocus), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXReplaceDialog_changeFocus), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "setDefault", VALUEFUNC(_wrap_FXReplaceDialog_setDefault), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "enable", VALUEFUNC(_wrap_FXReplaceDialog_enable), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "disable", VALUEFUNC(_wrap_FXReplaceDialog_disable), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXReplaceDialog_raiseWindow), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "lower", VALUEFUNC(_wrap_FXReplaceDialog_lower), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "move", VALUEFUNC(_wrap_FXReplaceDialog_move), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "position", VALUEFUNC(_wrap_FXReplaceDialog_position), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "layout", VALUEFUNC(_wrap_FXReplaceDialog_layout), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "recalc", VALUEFUNC(_wrap_FXReplaceDialog_recalc), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "reparent", VALUEFUNC(_wrap_FXReplaceDialog_reparent), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "hide", VALUEFUNC(_wrap_FXReplaceDialog_hide), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "isComposite", VALUEFUNC(_wrap_FXReplaceDialog_isComposite), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "contains", VALUEFUNC(_wrap_FXReplaceDialog_contains), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXReplaceDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXReplaceDialog_setBackColor), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "tr", VALUEFUNC(_wrap_FXReplaceDialog_tr), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXReplaceDialog_dropEnable), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXReplaceDialog_dropDisable), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "setShape", VALUEFUNC(_wrap_FXReplaceDialog_setShape), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "clearShape", VALUEFUNC(_wrap_FXReplaceDialog_clearShape), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "show", VALUEFUNC(_wrap_FXReplaceDialog_show), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "maximize", VALUEFUNC(_wrap_FXReplaceDialog_maximize), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "minimize", VALUEFUNC(_wrap_FXReplaceDialog_minimize), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "restore", VALUEFUNC(_wrap_FXReplaceDialog_restore), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "close", VALUEFUNC(_wrap_FXReplaceDialog_close), -1); rb_define_method(SwigClassFXReplaceDialog.klass, "execute", VALUEFUNC(_wrap_FXReplaceDialog_execute), -1); SwigClassFXReplaceDialog.mark = (void (*)(void *)) FXRbReplaceDialog::markfunc; SwigClassFXReplaceDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXReplaceDialog.trackObjects = 0; SWIGTYPE_p_FXReplaceDialog->dcast = (swig_dycast_func) FXReplaceDialog_dynamic_cast; SwigClassFXSearchDialog.klass = rb_define_class_under(mFox, "FXSearchDialog", ((swig_class *) SWIGTYPE_p_FXReplaceDialog->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXSearchDialog, (void *) &SwigClassFXSearchDialog); rb_define_alloc_func(SwigClassFXSearchDialog.klass, _wrap_FXSearchDialog_allocate); rb_define_method(SwigClassFXSearchDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXSearchDialog), -1); rb_define_method(SwigClassFXSearchDialog.klass, "save", VALUEFUNC(_wrap_FXSearchDialog_save), -1); rb_define_method(SwigClassFXSearchDialog.klass, "load", VALUEFUNC(_wrap_FXSearchDialog_load), -1); rb_define_method(SwigClassFXSearchDialog.klass, "create", VALUEFUNC(_wrap_FXSearchDialog_create), -1); rb_define_method(SwigClassFXSearchDialog.klass, "detach", VALUEFUNC(_wrap_FXSearchDialog_detach), -1); rb_define_method(SwigClassFXSearchDialog.klass, "destroy", VALUEFUNC(_wrap_FXSearchDialog_destroy), -1); rb_define_method(SwigClassFXSearchDialog.klass, "resize", VALUEFUNC(_wrap_FXSearchDialog_resize), -1); rb_define_method(SwigClassFXSearchDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXSearchDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXSearchDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXSearchDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXSearchDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXSearchDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXSearchDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXSearchDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXSearchDialog.klass, "canFocus", VALUEFUNC(_wrap_FXSearchDialog_canFocus), -1); rb_define_method(SwigClassFXSearchDialog.klass, "setFocus", VALUEFUNC(_wrap_FXSearchDialog_setFocus), -1); rb_define_method(SwigClassFXSearchDialog.klass, "killFocus", VALUEFUNC(_wrap_FXSearchDialog_killFocus), -1); rb_define_method(SwigClassFXSearchDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXSearchDialog_changeFocus), -1); rb_define_method(SwigClassFXSearchDialog.klass, "setDefault", VALUEFUNC(_wrap_FXSearchDialog_setDefault), -1); rb_define_method(SwigClassFXSearchDialog.klass, "enable", VALUEFUNC(_wrap_FXSearchDialog_enable), -1); rb_define_method(SwigClassFXSearchDialog.klass, "disable", VALUEFUNC(_wrap_FXSearchDialog_disable), -1); rb_define_method(SwigClassFXSearchDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXSearchDialog_raiseWindow), -1); rb_define_method(SwigClassFXSearchDialog.klass, "lower", VALUEFUNC(_wrap_FXSearchDialog_lower), -1); rb_define_method(SwigClassFXSearchDialog.klass, "move", VALUEFUNC(_wrap_FXSearchDialog_move), -1); rb_define_method(SwigClassFXSearchDialog.klass, "position", VALUEFUNC(_wrap_FXSearchDialog_position), -1); rb_define_method(SwigClassFXSearchDialog.klass, "layout", VALUEFUNC(_wrap_FXSearchDialog_layout), -1); rb_define_method(SwigClassFXSearchDialog.klass, "recalc", VALUEFUNC(_wrap_FXSearchDialog_recalc), -1); rb_define_method(SwigClassFXSearchDialog.klass, "reparent", VALUEFUNC(_wrap_FXSearchDialog_reparent), -1); rb_define_method(SwigClassFXSearchDialog.klass, "hide", VALUEFUNC(_wrap_FXSearchDialog_hide), -1); rb_define_method(SwigClassFXSearchDialog.klass, "isComposite", VALUEFUNC(_wrap_FXSearchDialog_isComposite), -1); rb_define_method(SwigClassFXSearchDialog.klass, "contains", VALUEFUNC(_wrap_FXSearchDialog_contains), -1); rb_define_method(SwigClassFXSearchDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXSearchDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXSearchDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXSearchDialog_setBackColor), -1); rb_define_method(SwigClassFXSearchDialog.klass, "tr", VALUEFUNC(_wrap_FXSearchDialog_tr), -1); rb_define_method(SwigClassFXSearchDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXSearchDialog_dropEnable), -1); rb_define_method(SwigClassFXSearchDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXSearchDialog_dropDisable), -1); rb_define_method(SwigClassFXSearchDialog.klass, "setShape", VALUEFUNC(_wrap_FXSearchDialog_setShape), -1); rb_define_method(SwigClassFXSearchDialog.klass, "clearShape", VALUEFUNC(_wrap_FXSearchDialog_clearShape), -1); rb_define_method(SwigClassFXSearchDialog.klass, "show", VALUEFUNC(_wrap_FXSearchDialog_show), -1); rb_define_method(SwigClassFXSearchDialog.klass, "maximize", VALUEFUNC(_wrap_FXSearchDialog_maximize), -1); rb_define_method(SwigClassFXSearchDialog.klass, "minimize", VALUEFUNC(_wrap_FXSearchDialog_minimize), -1); rb_define_method(SwigClassFXSearchDialog.klass, "restore", VALUEFUNC(_wrap_FXSearchDialog_restore), -1); rb_define_method(SwigClassFXSearchDialog.klass, "close", VALUEFUNC(_wrap_FXSearchDialog_close), -1); rb_define_method(SwigClassFXSearchDialog.klass, "execute", VALUEFUNC(_wrap_FXSearchDialog_execute), -1); SwigClassFXSearchDialog.mark = (void (*)(void *)) FXRbSearchDialog::markfunc; SwigClassFXSearchDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXSearchDialog.trackObjects = 0; rb_define_const(mFox, "INPUTDIALOG_STRING", SWIG_From_int(static_cast< int >(INPUTDIALOG_STRING))); rb_define_const(mFox, "INPUTDIALOG_INTEGER", SWIG_From_int(static_cast< int >(INPUTDIALOG_INTEGER))); rb_define_const(mFox, "INPUTDIALOG_REAL", SWIG_From_int(static_cast< int >(INPUTDIALOG_REAL))); rb_define_const(mFox, "INPUTDIALOG_PASSWORD", SWIG_From_int(static_cast< int >(INPUTDIALOG_PASSWORD))); SwigClassFXInputDialog.klass = rb_define_class_under(mFox, "FXInputDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXInputDialog, (void *) &SwigClassFXInputDialog); rb_define_alloc_func(SwigClassFXInputDialog.klass, _wrap_FXInputDialog_allocate); rb_define_method(SwigClassFXInputDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXInputDialog), -1); rb_define_method(SwigClassFXInputDialog.klass, "onCmdAccept", VALUEFUNC(_wrap_FXInputDialog_onCmdAccept), -1); rb_define_method(SwigClassFXInputDialog.klass, "getText", VALUEFUNC(_wrap_FXInputDialog_getText), -1); rb_define_method(SwigClassFXInputDialog.klass, "setText", VALUEFUNC(_wrap_FXInputDialog_setText), -1); rb_define_method(SwigClassFXInputDialog.klass, "setNumColumns", VALUEFUNC(_wrap_FXInputDialog_setNumColumns), -1); rb_define_method(SwigClassFXInputDialog.klass, "getNumColumns", VALUEFUNC(_wrap_FXInputDialog_getNumColumns), -1); rb_define_method(SwigClassFXInputDialog.klass, "setLimits", VALUEFUNC(_wrap_FXInputDialog_setLimits), -1); rb_define_method(SwigClassFXInputDialog.klass, "getLimits", VALUEFUNC(_wrap_FXInputDialog_getLimits), -1); rb_define_singleton_method(SwigClassFXInputDialog.klass, "getString", VALUEFUNC(_wrap_FXInputDialog_getString), -1); rb_define_singleton_method(SwigClassFXInputDialog.klass, "getInteger", VALUEFUNC(_wrap_FXInputDialog_getInteger), -1); rb_define_singleton_method(SwigClassFXInputDialog.klass, "getReal", VALUEFUNC(_wrap_FXInputDialog_getReal), -1); rb_define_method(SwigClassFXInputDialog.klass, "save", VALUEFUNC(_wrap_FXInputDialog_save), -1); rb_define_method(SwigClassFXInputDialog.klass, "load", VALUEFUNC(_wrap_FXInputDialog_load), -1); rb_define_method(SwigClassFXInputDialog.klass, "create", VALUEFUNC(_wrap_FXInputDialog_create), -1); rb_define_method(SwigClassFXInputDialog.klass, "detach", VALUEFUNC(_wrap_FXInputDialog_detach), -1); rb_define_method(SwigClassFXInputDialog.klass, "destroy", VALUEFUNC(_wrap_FXInputDialog_destroy), -1); rb_define_method(SwigClassFXInputDialog.klass, "resize", VALUEFUNC(_wrap_FXInputDialog_resize), -1); rb_define_method(SwigClassFXInputDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXInputDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXInputDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXInputDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXInputDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXInputDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXInputDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXInputDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXInputDialog.klass, "canFocus", VALUEFUNC(_wrap_FXInputDialog_canFocus), -1); rb_define_method(SwigClassFXInputDialog.klass, "setFocus", VALUEFUNC(_wrap_FXInputDialog_setFocus), -1); rb_define_method(SwigClassFXInputDialog.klass, "killFocus", VALUEFUNC(_wrap_FXInputDialog_killFocus), -1); rb_define_method(SwigClassFXInputDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXInputDialog_changeFocus), -1); rb_define_method(SwigClassFXInputDialog.klass, "setDefault", VALUEFUNC(_wrap_FXInputDialog_setDefault), -1); rb_define_method(SwigClassFXInputDialog.klass, "enable", VALUEFUNC(_wrap_FXInputDialog_enable), -1); rb_define_method(SwigClassFXInputDialog.klass, "disable", VALUEFUNC(_wrap_FXInputDialog_disable), -1); rb_define_method(SwigClassFXInputDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXInputDialog_raiseWindow), -1); rb_define_method(SwigClassFXInputDialog.klass, "lower", VALUEFUNC(_wrap_FXInputDialog_lower), -1); rb_define_method(SwigClassFXInputDialog.klass, "move", VALUEFUNC(_wrap_FXInputDialog_move), -1); rb_define_method(SwigClassFXInputDialog.klass, "position", VALUEFUNC(_wrap_FXInputDialog_position), -1); rb_define_method(SwigClassFXInputDialog.klass, "layout", VALUEFUNC(_wrap_FXInputDialog_layout), -1); rb_define_method(SwigClassFXInputDialog.klass, "recalc", VALUEFUNC(_wrap_FXInputDialog_recalc), -1); rb_define_method(SwigClassFXInputDialog.klass, "reparent", VALUEFUNC(_wrap_FXInputDialog_reparent), -1); rb_define_method(SwigClassFXInputDialog.klass, "hide", VALUEFUNC(_wrap_FXInputDialog_hide), -1); rb_define_method(SwigClassFXInputDialog.klass, "isComposite", VALUEFUNC(_wrap_FXInputDialog_isComposite), -1); rb_define_method(SwigClassFXInputDialog.klass, "contains", VALUEFUNC(_wrap_FXInputDialog_contains), -1); rb_define_method(SwigClassFXInputDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXInputDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXInputDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXInputDialog_setBackColor), -1); rb_define_method(SwigClassFXInputDialog.klass, "tr", VALUEFUNC(_wrap_FXInputDialog_tr), -1); rb_define_method(SwigClassFXInputDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXInputDialog_dropEnable), -1); rb_define_method(SwigClassFXInputDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXInputDialog_dropDisable), -1); rb_define_method(SwigClassFXInputDialog.klass, "setShape", VALUEFUNC(_wrap_FXInputDialog_setShape), -1); rb_define_method(SwigClassFXInputDialog.klass, "clearShape", VALUEFUNC(_wrap_FXInputDialog_clearShape), -1); rb_define_method(SwigClassFXInputDialog.klass, "show", VALUEFUNC(_wrap_FXInputDialog_show), -1); rb_define_method(SwigClassFXInputDialog.klass, "maximize", VALUEFUNC(_wrap_FXInputDialog_maximize), -1); rb_define_method(SwigClassFXInputDialog.klass, "minimize", VALUEFUNC(_wrap_FXInputDialog_minimize), -1); rb_define_method(SwigClassFXInputDialog.klass, "restore", VALUEFUNC(_wrap_FXInputDialog_restore), -1); rb_define_method(SwigClassFXInputDialog.klass, "close", VALUEFUNC(_wrap_FXInputDialog_close), -1); rb_define_method(SwigClassFXInputDialog.klass, "execute", VALUEFUNC(_wrap_FXInputDialog_execute), -1); SwigClassFXInputDialog.mark = (void (*)(void *)) FXRbInputDialog::markfunc; SwigClassFXInputDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXInputDialog.trackObjects = 0; SwigClassFXPrintDialog.klass = rb_define_class_under(mFox, "FXPrintDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXPrintDialog, (void *) &SwigClassFXPrintDialog); rb_define_alloc_func(SwigClassFXPrintDialog.klass, _wrap_FXPrintDialog_allocate); rb_define_method(SwigClassFXPrintDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXPrintDialog), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdToPrinter", VALUEFUNC(_wrap_FXPrintDialog_onCmdToPrinter), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdToPrinter", VALUEFUNC(_wrap_FXPrintDialog_onUpdToPrinter), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdToFile", VALUEFUNC(_wrap_FXPrintDialog_onCmdToFile), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdToFile", VALUEFUNC(_wrap_FXPrintDialog_onUpdToFile), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdBrowse", VALUEFUNC(_wrap_FXPrintDialog_onCmdBrowse), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdBrowse", VALUEFUNC(_wrap_FXPrintDialog_onUpdBrowse), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdProps", VALUEFUNC(_wrap_FXPrintDialog_onCmdProps), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdProps", VALUEFUNC(_wrap_FXPrintDialog_onUpdProps), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdPortrait", VALUEFUNC(_wrap_FXPrintDialog_onCmdPortrait), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdPortrait", VALUEFUNC(_wrap_FXPrintDialog_onUpdPortrait), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdLandscape", VALUEFUNC(_wrap_FXPrintDialog_onCmdLandscape), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdLandscape", VALUEFUNC(_wrap_FXPrintDialog_onUpdLandscape), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdPages", VALUEFUNC(_wrap_FXPrintDialog_onCmdPages), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdPages", VALUEFUNC(_wrap_FXPrintDialog_onUpdPages), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdColor", VALUEFUNC(_wrap_FXPrintDialog_onCmdColor), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdColor", VALUEFUNC(_wrap_FXPrintDialog_onUpdColor), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdGray", VALUEFUNC(_wrap_FXPrintDialog_onCmdGray), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdGray", VALUEFUNC(_wrap_FXPrintDialog_onUpdGray), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdNumCopies", VALUEFUNC(_wrap_FXPrintDialog_onCmdNumCopies), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdNumCopies", VALUEFUNC(_wrap_FXPrintDialog_onUpdNumCopies), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdFirstPage", VALUEFUNC(_wrap_FXPrintDialog_onCmdFirstPage), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdFirstPage", VALUEFUNC(_wrap_FXPrintDialog_onUpdFirstPage), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdLastPage", VALUEFUNC(_wrap_FXPrintDialog_onCmdLastPage), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdLastPage", VALUEFUNC(_wrap_FXPrintDialog_onUpdLastPage), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdCollateNormal", VALUEFUNC(_wrap_FXPrintDialog_onCmdCollateNormal), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdCollateNormal", VALUEFUNC(_wrap_FXPrintDialog_onUpdCollateNormal), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdCollateReversed", VALUEFUNC(_wrap_FXPrintDialog_onCmdCollateReversed), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdCollateReversed", VALUEFUNC(_wrap_FXPrintDialog_onUpdCollateReversed), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdFileName", VALUEFUNC(_wrap_FXPrintDialog_onCmdFileName), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdFileName", VALUEFUNC(_wrap_FXPrintDialog_onUpdFileName), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdPrinterName", VALUEFUNC(_wrap_FXPrintDialog_onCmdPrinterName), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdPrinterName", VALUEFUNC(_wrap_FXPrintDialog_onUpdPrinterName), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdAccept", VALUEFUNC(_wrap_FXPrintDialog_onCmdAccept), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onCmdMedia", VALUEFUNC(_wrap_FXPrintDialog_onCmdMedia), -1); rb_define_method(SwigClassFXPrintDialog.klass, "onUpdMedia", VALUEFUNC(_wrap_FXPrintDialog_onUpdMedia), -1); rb_define_const(SwigClassFXPrintDialog.klass, "ID_TO_PRINTER", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_TO_PRINTER))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_TO_FILE", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_TO_FILE))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PRINTER_NAME", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PRINTER_NAME))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_FILE_NAME", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_FILE_NAME))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_LANDSCAPE", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_LANDSCAPE))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PORTRAIT", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PORTRAIT))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_MEDIA", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_MEDIA))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_COLLATE_NORMAL", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_COLLATE_NORMAL))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_COLLATE_REVERSED", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_COLLATE_REVERSED))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PAGES_ALL", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PAGES_ALL))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PAGES_EVEN", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PAGES_EVEN))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PAGES_ODD", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PAGES_ODD))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PAGES_RANGE", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PAGES_RANGE))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PAGES_FIRST", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PAGES_FIRST))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PAGES_LAST", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PAGES_LAST))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_BROWSE_FILE", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_BROWSE_FILE))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_PROPERTIES", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_PROPERTIES))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_COLOR_PRINTER", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_COLOR_PRINTER))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_GRAY_PRINTER", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_GRAY_PRINTER))); rb_define_const(SwigClassFXPrintDialog.klass, "ID_NUM_COPIES", SWIG_From_int(static_cast< int >(FXPrintDialog::ID_NUM_COPIES))); rb_define_method(SwigClassFXPrintDialog.klass, "setPrinter", VALUEFUNC(_wrap_FXPrintDialog_setPrinter), -1); rb_define_method(SwigClassFXPrintDialog.klass, "getPrinter", VALUEFUNC(_wrap_FXPrintDialog_getPrinter), -1); rb_define_method(SwigClassFXPrintDialog.klass, "save", VALUEFUNC(_wrap_FXPrintDialog_save), -1); rb_define_method(SwigClassFXPrintDialog.klass, "load", VALUEFUNC(_wrap_FXPrintDialog_load), -1); rb_define_method(SwigClassFXPrintDialog.klass, "create", VALUEFUNC(_wrap_FXPrintDialog_create), -1); rb_define_method(SwigClassFXPrintDialog.klass, "detach", VALUEFUNC(_wrap_FXPrintDialog_detach), -1); rb_define_method(SwigClassFXPrintDialog.klass, "destroy", VALUEFUNC(_wrap_FXPrintDialog_destroy), -1); rb_define_method(SwigClassFXPrintDialog.klass, "resize", VALUEFUNC(_wrap_FXPrintDialog_resize), -1); rb_define_method(SwigClassFXPrintDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXPrintDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXPrintDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXPrintDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXPrintDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXPrintDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXPrintDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXPrintDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXPrintDialog.klass, "canFocus", VALUEFUNC(_wrap_FXPrintDialog_canFocus), -1); rb_define_method(SwigClassFXPrintDialog.klass, "setFocus", VALUEFUNC(_wrap_FXPrintDialog_setFocus), -1); rb_define_method(SwigClassFXPrintDialog.klass, "killFocus", VALUEFUNC(_wrap_FXPrintDialog_killFocus), -1); rb_define_method(SwigClassFXPrintDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXPrintDialog_changeFocus), -1); rb_define_method(SwigClassFXPrintDialog.klass, "setDefault", VALUEFUNC(_wrap_FXPrintDialog_setDefault), -1); rb_define_method(SwigClassFXPrintDialog.klass, "enable", VALUEFUNC(_wrap_FXPrintDialog_enable), -1); rb_define_method(SwigClassFXPrintDialog.klass, "disable", VALUEFUNC(_wrap_FXPrintDialog_disable), -1); rb_define_method(SwigClassFXPrintDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXPrintDialog_raiseWindow), -1); rb_define_method(SwigClassFXPrintDialog.klass, "lower", VALUEFUNC(_wrap_FXPrintDialog_lower), -1); rb_define_method(SwigClassFXPrintDialog.klass, "move", VALUEFUNC(_wrap_FXPrintDialog_move), -1); rb_define_method(SwigClassFXPrintDialog.klass, "position", VALUEFUNC(_wrap_FXPrintDialog_position), -1); rb_define_method(SwigClassFXPrintDialog.klass, "layout", VALUEFUNC(_wrap_FXPrintDialog_layout), -1); rb_define_method(SwigClassFXPrintDialog.klass, "recalc", VALUEFUNC(_wrap_FXPrintDialog_recalc), -1); rb_define_method(SwigClassFXPrintDialog.klass, "reparent", VALUEFUNC(_wrap_FXPrintDialog_reparent), -1); rb_define_method(SwigClassFXPrintDialog.klass, "hide", VALUEFUNC(_wrap_FXPrintDialog_hide), -1); rb_define_method(SwigClassFXPrintDialog.klass, "isComposite", VALUEFUNC(_wrap_FXPrintDialog_isComposite), -1); rb_define_method(SwigClassFXPrintDialog.klass, "contains", VALUEFUNC(_wrap_FXPrintDialog_contains), -1); rb_define_method(SwigClassFXPrintDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXPrintDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXPrintDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXPrintDialog_setBackColor), -1); rb_define_method(SwigClassFXPrintDialog.klass, "tr", VALUEFUNC(_wrap_FXPrintDialog_tr), -1); rb_define_method(SwigClassFXPrintDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXPrintDialog_dropEnable), -1); rb_define_method(SwigClassFXPrintDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXPrintDialog_dropDisable), -1); rb_define_method(SwigClassFXPrintDialog.klass, "setShape", VALUEFUNC(_wrap_FXPrintDialog_setShape), -1); rb_define_method(SwigClassFXPrintDialog.klass, "clearShape", VALUEFUNC(_wrap_FXPrintDialog_clearShape), -1); rb_define_method(SwigClassFXPrintDialog.klass, "show", VALUEFUNC(_wrap_FXPrintDialog_show), -1); rb_define_method(SwigClassFXPrintDialog.klass, "maximize", VALUEFUNC(_wrap_FXPrintDialog_maximize), -1); rb_define_method(SwigClassFXPrintDialog.klass, "minimize", VALUEFUNC(_wrap_FXPrintDialog_minimize), -1); rb_define_method(SwigClassFXPrintDialog.klass, "restore", VALUEFUNC(_wrap_FXPrintDialog_restore), -1); rb_define_method(SwigClassFXPrintDialog.klass, "close", VALUEFUNC(_wrap_FXPrintDialog_close), -1); rb_define_method(SwigClassFXPrintDialog.klass, "execute", VALUEFUNC(_wrap_FXPrintDialog_execute), -1); SwigClassFXPrintDialog.mark = (void (*)(void *)) FXRbPrintDialog::markfunc; SwigClassFXPrintDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXPrintDialog.trackObjects = 0; rb_define_const(mFox, "PROGRESSDIALOG_NOCANCEL", SWIG_From_int(static_cast< int >(PROGRESSDIALOG_NOCANCEL))); rb_define_const(mFox, "PROGRESSDIALOG_CANCEL", SWIG_From_int(static_cast< int >(PROGRESSDIALOG_CANCEL))); rb_define_const(mFox, "PROGRESSDIALOG_NORMAL", SWIG_From_int(static_cast< int >(PROGRESSDIALOG_NORMAL))); SwigClassFXProgressDialog.klass = rb_define_class_under(mFox, "FXProgressDialog", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXProgressDialog, (void *) &SwigClassFXProgressDialog); rb_define_alloc_func(SwigClassFXProgressDialog.klass, _wrap_FXProgressDialog_allocate); rb_define_method(SwigClassFXProgressDialog.klass, "initialize", VALUEFUNC(_wrap_new_FXProgressDialog), -1); rb_define_method(SwigClassFXProgressDialog.klass, "onCmdSetValue", VALUEFUNC(_wrap_FXProgressDialog_onCmdSetValue), -1); rb_define_method(SwigClassFXProgressDialog.klass, "onCmdSetIntValue", VALUEFUNC(_wrap_FXProgressDialog_onCmdSetIntValue), -1); rb_define_method(SwigClassFXProgressDialog.klass, "onCmdGetIntValue", VALUEFUNC(_wrap_FXProgressDialog_onCmdGetIntValue), -1); rb_define_method(SwigClassFXProgressDialog.klass, "onCmdSetStringValue", VALUEFUNC(_wrap_FXProgressDialog_onCmdSetStringValue), -1); rb_define_method(SwigClassFXProgressDialog.klass, "onCmdGetStringValue", VALUEFUNC(_wrap_FXProgressDialog_onCmdGetStringValue), -1); rb_define_method(SwigClassFXProgressDialog.klass, "onCmdCancel", VALUEFUNC(_wrap_FXProgressDialog_onCmdCancel), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setMessage", VALUEFUNC(_wrap_FXProgressDialog_setMessage), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getMessage", VALUEFUNC(_wrap_FXProgressDialog_getMessage), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setBarStyle", VALUEFUNC(_wrap_FXProgressDialog_setBarStyle), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getBarStyle", VALUEFUNC(_wrap_FXProgressDialog_getBarStyle), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setProgress", VALUEFUNC(_wrap_FXProgressDialog_setProgress), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getProgress", VALUEFUNC(_wrap_FXProgressDialog_getProgress), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setTotal", VALUEFUNC(_wrap_FXProgressDialog_setTotal), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getTotal", VALUEFUNC(_wrap_FXProgressDialog_getTotal), -1); rb_define_method(SwigClassFXProgressDialog.klass, "increment", VALUEFUNC(_wrap_FXProgressDialog_increment), -1); rb_define_method(SwigClassFXProgressDialog.klass, "isCancelled", VALUEFUNC(_wrap_FXProgressDialog_isCancelled), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setCancelled", VALUEFUNC(_wrap_FXProgressDialog_setCancelled), -1); rb_define_method(SwigClassFXProgressDialog.klass, "save", VALUEFUNC(_wrap_FXProgressDialog_save), -1); rb_define_method(SwigClassFXProgressDialog.klass, "load", VALUEFUNC(_wrap_FXProgressDialog_load), -1); rb_define_method(SwigClassFXProgressDialog.klass, "create", VALUEFUNC(_wrap_FXProgressDialog_create), -1); rb_define_method(SwigClassFXProgressDialog.klass, "detach", VALUEFUNC(_wrap_FXProgressDialog_detach), -1); rb_define_method(SwigClassFXProgressDialog.klass, "destroy", VALUEFUNC(_wrap_FXProgressDialog_destroy), -1); rb_define_method(SwigClassFXProgressDialog.klass, "resize", VALUEFUNC(_wrap_FXProgressDialog_resize), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXProgressDialog_getDefaultWidth), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXProgressDialog_getDefaultHeight), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXProgressDialog_getWidthForHeight), -1); rb_define_method(SwigClassFXProgressDialog.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXProgressDialog_getHeightForWidth), -1); rb_define_method(SwigClassFXProgressDialog.klass, "canFocus", VALUEFUNC(_wrap_FXProgressDialog_canFocus), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setFocus", VALUEFUNC(_wrap_FXProgressDialog_setFocus), -1); rb_define_method(SwigClassFXProgressDialog.klass, "killFocus", VALUEFUNC(_wrap_FXProgressDialog_killFocus), -1); rb_define_method(SwigClassFXProgressDialog.klass, "changeFocus", VALUEFUNC(_wrap_FXProgressDialog_changeFocus), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setDefault", VALUEFUNC(_wrap_FXProgressDialog_setDefault), -1); rb_define_method(SwigClassFXProgressDialog.klass, "enable", VALUEFUNC(_wrap_FXProgressDialog_enable), -1); rb_define_method(SwigClassFXProgressDialog.klass, "disable", VALUEFUNC(_wrap_FXProgressDialog_disable), -1); rb_define_method(SwigClassFXProgressDialog.klass, "raiseWindow", VALUEFUNC(_wrap_FXProgressDialog_raiseWindow), -1); rb_define_method(SwigClassFXProgressDialog.klass, "lower", VALUEFUNC(_wrap_FXProgressDialog_lower), -1); rb_define_method(SwigClassFXProgressDialog.klass, "move", VALUEFUNC(_wrap_FXProgressDialog_move), -1); rb_define_method(SwigClassFXProgressDialog.klass, "position", VALUEFUNC(_wrap_FXProgressDialog_position), -1); rb_define_method(SwigClassFXProgressDialog.klass, "layout", VALUEFUNC(_wrap_FXProgressDialog_layout), -1); rb_define_method(SwigClassFXProgressDialog.klass, "recalc", VALUEFUNC(_wrap_FXProgressDialog_recalc), -1); rb_define_method(SwigClassFXProgressDialog.klass, "reparent", VALUEFUNC(_wrap_FXProgressDialog_reparent), -1); rb_define_method(SwigClassFXProgressDialog.klass, "hide", VALUEFUNC(_wrap_FXProgressDialog_hide), -1); rb_define_method(SwigClassFXProgressDialog.klass, "isComposite", VALUEFUNC(_wrap_FXProgressDialog_isComposite), -1); rb_define_method(SwigClassFXProgressDialog.klass, "contains", VALUEFUNC(_wrap_FXProgressDialog_contains), -1); rb_define_method(SwigClassFXProgressDialog.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXProgressDialog_doesSaveUnder), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setBackColor", VALUEFUNC(_wrap_FXProgressDialog_setBackColor), -1); rb_define_method(SwigClassFXProgressDialog.klass, "tr", VALUEFUNC(_wrap_FXProgressDialog_tr), -1); rb_define_method(SwigClassFXProgressDialog.klass, "dropEnable", VALUEFUNC(_wrap_FXProgressDialog_dropEnable), -1); rb_define_method(SwigClassFXProgressDialog.klass, "dropDisable", VALUEFUNC(_wrap_FXProgressDialog_dropDisable), -1); rb_define_method(SwigClassFXProgressDialog.klass, "setShape", VALUEFUNC(_wrap_FXProgressDialog_setShape), -1); rb_define_method(SwigClassFXProgressDialog.klass, "clearShape", VALUEFUNC(_wrap_FXProgressDialog_clearShape), -1); rb_define_method(SwigClassFXProgressDialog.klass, "show", VALUEFUNC(_wrap_FXProgressDialog_show), -1); rb_define_method(SwigClassFXProgressDialog.klass, "maximize", VALUEFUNC(_wrap_FXProgressDialog_maximize), -1); rb_define_method(SwigClassFXProgressDialog.klass, "minimize", VALUEFUNC(_wrap_FXProgressDialog_minimize), -1); rb_define_method(SwigClassFXProgressDialog.klass, "restore", VALUEFUNC(_wrap_FXProgressDialog_restore), -1); rb_define_method(SwigClassFXProgressDialog.klass, "close", VALUEFUNC(_wrap_FXProgressDialog_close), -1); rb_define_method(SwigClassFXProgressDialog.klass, "execute", VALUEFUNC(_wrap_FXProgressDialog_execute), -1); SwigClassFXProgressDialog.mark = (void (*)(void *)) FXRbProgressDialog::markfunc; SwigClassFXProgressDialog.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXProgressDialog.trackObjects = 0; rb_define_const(mFox, "MBOX_OK", SWIG_From_int(static_cast< int >(MBOX_OK))); rb_define_const(mFox, "MBOX_OK_CANCEL", SWIG_From_int(static_cast< int >(MBOX_OK_CANCEL))); rb_define_const(mFox, "MBOX_YES_NO", SWIG_From_int(static_cast< int >(MBOX_YES_NO))); rb_define_const(mFox, "MBOX_YES_NO_CANCEL", SWIG_From_int(static_cast< int >(MBOX_YES_NO_CANCEL))); rb_define_const(mFox, "MBOX_QUIT_CANCEL", SWIG_From_int(static_cast< int >(MBOX_QUIT_CANCEL))); rb_define_const(mFox, "MBOX_QUIT_SAVE_CANCEL", SWIG_From_int(static_cast< int >(MBOX_QUIT_SAVE_CANCEL))); rb_define_const(mFox, "MBOX_SKIP_SKIPALL_CANCEL", SWIG_From_int(static_cast< int >(MBOX_SKIP_SKIPALL_CANCEL))); rb_define_const(mFox, "MBOX_SAVE_CANCEL_DONTSAVE", SWIG_From_unsigned_SS_int(static_cast< unsigned int >(0x80000000))); rb_define_const(mFox, "MBOX_CLICKED_YES", SWIG_From_int(static_cast< int >(MBOX_CLICKED_YES))); rb_define_const(mFox, "MBOX_CLICKED_NO", SWIG_From_int(static_cast< int >(MBOX_CLICKED_NO))); rb_define_const(mFox, "MBOX_CLICKED_OK", SWIG_From_int(static_cast< int >(MBOX_CLICKED_OK))); rb_define_const(mFox, "MBOX_CLICKED_CANCEL", SWIG_From_int(static_cast< int >(MBOX_CLICKED_CANCEL))); rb_define_const(mFox, "MBOX_CLICKED_QUIT", SWIG_From_int(static_cast< int >(MBOX_CLICKED_QUIT))); rb_define_const(mFox, "MBOX_CLICKED_SAVE", SWIG_From_int(static_cast< int >(MBOX_CLICKED_SAVE))); rb_define_const(mFox, "MBOX_CLICKED_SKIP", SWIG_From_int(static_cast< int >(MBOX_CLICKED_SKIP))); rb_define_const(mFox, "MBOX_CLICKED_SKIPALL", SWIG_From_int(static_cast< int >(MBOX_CLICKED_SKIPALL))); rb_define_const(mFox, "MBOX_CLICKED_DONTSAVE", SWIG_From_int(static_cast< int >(MBOX_CLICKED_NO))); SwigClassFXMessageBox.klass = rb_define_class_under(mFox, "FXMessageBox", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXMessageBox, (void *) &SwigClassFXMessageBox); rb_define_alloc_func(SwigClassFXMessageBox.klass, _wrap_FXMessageBox_allocate); rb_define_method(SwigClassFXMessageBox.klass, "initialize", VALUEFUNC(_wrap_new_FXMessageBox), -1); rb_define_method(SwigClassFXMessageBox.klass, "onCmdClicked", VALUEFUNC(_wrap_FXMessageBox_onCmdClicked), -1); rb_define_method(SwigClassFXMessageBox.klass, "onCmdCancel", VALUEFUNC(_wrap_FXMessageBox_onCmdCancel), -1); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_YES", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_YES))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_NO", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_NO))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_OK", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_OK))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_CANCEL", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_CANCEL))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_QUIT", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_QUIT))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_SAVE", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_SAVE))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_SKIP", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_SKIP))); rb_define_const(SwigClassFXMessageBox.klass, "ID_CLICKED_SKIPALL", SWIG_From_int(static_cast< int >(FXMessageBox::ID_CLICKED_SKIPALL))); rb_define_const(SwigClassFXMessageBox.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXMessageBox::ID_LAST))); rb_define_singleton_method(SwigClassFXMessageBox.klass, "error", VALUEFUNC(_wrap_FXMessageBox_error), -1); rb_define_singleton_method(SwigClassFXMessageBox.klass, "warning", VALUEFUNC(_wrap_FXMessageBox_warning), -1); rb_define_singleton_method(SwigClassFXMessageBox.klass, "question", VALUEFUNC(_wrap_FXMessageBox_question), -1); rb_define_singleton_method(SwigClassFXMessageBox.klass, "information", VALUEFUNC(_wrap_FXMessageBox_information), -1); rb_define_method(SwigClassFXMessageBox.klass, "save", VALUEFUNC(_wrap_FXMessageBox_save), -1); rb_define_method(SwigClassFXMessageBox.klass, "load", VALUEFUNC(_wrap_FXMessageBox_load), -1); rb_define_method(SwigClassFXMessageBox.klass, "create", VALUEFUNC(_wrap_FXMessageBox_create), -1); rb_define_method(SwigClassFXMessageBox.klass, "detach", VALUEFUNC(_wrap_FXMessageBox_detach), -1); rb_define_method(SwigClassFXMessageBox.klass, "destroy", VALUEFUNC(_wrap_FXMessageBox_destroy), -1); rb_define_method(SwigClassFXMessageBox.klass, "resize", VALUEFUNC(_wrap_FXMessageBox_resize), -1); rb_define_method(SwigClassFXMessageBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXMessageBox_getDefaultWidth), -1); rb_define_method(SwigClassFXMessageBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXMessageBox_getDefaultHeight), -1); rb_define_method(SwigClassFXMessageBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXMessageBox_getWidthForHeight), -1); rb_define_method(SwigClassFXMessageBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXMessageBox_getHeightForWidth), -1); rb_define_method(SwigClassFXMessageBox.klass, "canFocus", VALUEFUNC(_wrap_FXMessageBox_canFocus), -1); rb_define_method(SwigClassFXMessageBox.klass, "setFocus", VALUEFUNC(_wrap_FXMessageBox_setFocus), -1); rb_define_method(SwigClassFXMessageBox.klass, "killFocus", VALUEFUNC(_wrap_FXMessageBox_killFocus), -1); rb_define_method(SwigClassFXMessageBox.klass, "changeFocus", VALUEFUNC(_wrap_FXMessageBox_changeFocus), -1); rb_define_method(SwigClassFXMessageBox.klass, "setDefault", VALUEFUNC(_wrap_FXMessageBox_setDefault), -1); rb_define_method(SwigClassFXMessageBox.klass, "enable", VALUEFUNC(_wrap_FXMessageBox_enable), -1); rb_define_method(SwigClassFXMessageBox.klass, "disable", VALUEFUNC(_wrap_FXMessageBox_disable), -1); rb_define_method(SwigClassFXMessageBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXMessageBox_raiseWindow), -1); rb_define_method(SwigClassFXMessageBox.klass, "lower", VALUEFUNC(_wrap_FXMessageBox_lower), -1); rb_define_method(SwigClassFXMessageBox.klass, "move", VALUEFUNC(_wrap_FXMessageBox_move), -1); rb_define_method(SwigClassFXMessageBox.klass, "position", VALUEFUNC(_wrap_FXMessageBox_position), -1); rb_define_method(SwigClassFXMessageBox.klass, "layout", VALUEFUNC(_wrap_FXMessageBox_layout), -1); rb_define_method(SwigClassFXMessageBox.klass, "recalc", VALUEFUNC(_wrap_FXMessageBox_recalc), -1); rb_define_method(SwigClassFXMessageBox.klass, "reparent", VALUEFUNC(_wrap_FXMessageBox_reparent), -1); rb_define_method(SwigClassFXMessageBox.klass, "hide", VALUEFUNC(_wrap_FXMessageBox_hide), -1); rb_define_method(SwigClassFXMessageBox.klass, "isComposite", VALUEFUNC(_wrap_FXMessageBox_isComposite), -1); rb_define_method(SwigClassFXMessageBox.klass, "contains", VALUEFUNC(_wrap_FXMessageBox_contains), -1); rb_define_method(SwigClassFXMessageBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXMessageBox_doesSaveUnder), -1); rb_define_method(SwigClassFXMessageBox.klass, "setBackColor", VALUEFUNC(_wrap_FXMessageBox_setBackColor), -1); rb_define_method(SwigClassFXMessageBox.klass, "tr", VALUEFUNC(_wrap_FXMessageBox_tr), -1); rb_define_method(SwigClassFXMessageBox.klass, "dropEnable", VALUEFUNC(_wrap_FXMessageBox_dropEnable), -1); rb_define_method(SwigClassFXMessageBox.klass, "dropDisable", VALUEFUNC(_wrap_FXMessageBox_dropDisable), -1); rb_define_method(SwigClassFXMessageBox.klass, "setShape", VALUEFUNC(_wrap_FXMessageBox_setShape), -1); rb_define_method(SwigClassFXMessageBox.klass, "clearShape", VALUEFUNC(_wrap_FXMessageBox_clearShape), -1); rb_define_method(SwigClassFXMessageBox.klass, "show", VALUEFUNC(_wrap_FXMessageBox_show), -1); rb_define_method(SwigClassFXMessageBox.klass, "maximize", VALUEFUNC(_wrap_FXMessageBox_maximize), -1); rb_define_method(SwigClassFXMessageBox.klass, "minimize", VALUEFUNC(_wrap_FXMessageBox_minimize), -1); rb_define_method(SwigClassFXMessageBox.klass, "restore", VALUEFUNC(_wrap_FXMessageBox_restore), -1); rb_define_method(SwigClassFXMessageBox.klass, "close", VALUEFUNC(_wrap_FXMessageBox_close), -1); rb_define_method(SwigClassFXMessageBox.klass, "execute", VALUEFUNC(_wrap_FXMessageBox_execute), -1); SwigClassFXMessageBox.mark = (void (*)(void *)) FXRbMessageBox::markfunc; SwigClassFXMessageBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXMessageBox.trackObjects = 0; SwigClassFXWizard.klass = rb_define_class_under(mFox, "FXWizard", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXWizard, (void *) &SwigClassFXWizard); rb_define_alloc_func(SwigClassFXWizard.klass, _wrap_FXWizard_allocate); rb_define_method(SwigClassFXWizard.klass, "initialize", VALUEFUNC(_wrap_new_FXWizard), -1); rb_define_method(SwigClassFXWizard.klass, "onUpdFinish", VALUEFUNC(_wrap_FXWizard_onUpdFinish), -1); rb_define_method(SwigClassFXWizard.klass, "onCmdNext", VALUEFUNC(_wrap_FXWizard_onCmdNext), -1); rb_define_method(SwigClassFXWizard.klass, "onUpdNext", VALUEFUNC(_wrap_FXWizard_onUpdNext), -1); rb_define_method(SwigClassFXWizard.klass, "onCmdBack", VALUEFUNC(_wrap_FXWizard_onCmdBack), -1); rb_define_method(SwigClassFXWizard.klass, "onUpdBack", VALUEFUNC(_wrap_FXWizard_onUpdBack), -1); rb_define_const(SwigClassFXWizard.klass, "ID_NEXT", SWIG_From_int(static_cast< int >(FXWizard::ID_NEXT))); rb_define_const(SwigClassFXWizard.klass, "ID_BACK", SWIG_From_int(static_cast< int >(FXWizard::ID_BACK))); rb_define_const(SwigClassFXWizard.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXWizard::ID_LAST))); rb_define_method(SwigClassFXWizard.klass, "buttonFrame", VALUEFUNC(_wrap_FXWizard_buttonFrame), -1); rb_define_method(SwigClassFXWizard.klass, "advanceButton", VALUEFUNC(_wrap_FXWizard_advanceButton), -1); rb_define_method(SwigClassFXWizard.klass, "retreatButton", VALUEFUNC(_wrap_FXWizard_retreatButton), -1); rb_define_method(SwigClassFXWizard.klass, "finishButton", VALUEFUNC(_wrap_FXWizard_finishButton), -1); rb_define_method(SwigClassFXWizard.klass, "cancelButton", VALUEFUNC(_wrap_FXWizard_cancelButton), -1); rb_define_method(SwigClassFXWizard.klass, "getContainer", VALUEFUNC(_wrap_FXWizard_getContainer), -1); rb_define_method(SwigClassFXWizard.klass, "setImage", VALUEFUNC(_wrap_FXWizard_setImage), -1); rb_define_method(SwigClassFXWizard.klass, "getImage", VALUEFUNC(_wrap_FXWizard_getImage), -1); rb_define_method(SwigClassFXWizard.klass, "getNumPanels", VALUEFUNC(_wrap_FXWizard_getNumPanels), -1); rb_define_method(SwigClassFXWizard.klass, "setCurrentPanel", VALUEFUNC(_wrap_FXWizard_setCurrentPanel), -1); rb_define_method(SwigClassFXWizard.klass, "getCurrentPanel", VALUEFUNC(_wrap_FXWizard_getCurrentPanel), -1); rb_define_method(SwigClassFXWizard.klass, "save", VALUEFUNC(_wrap_FXWizard_save), -1); rb_define_method(SwigClassFXWizard.klass, "load", VALUEFUNC(_wrap_FXWizard_load), -1); rb_define_method(SwigClassFXWizard.klass, "create", VALUEFUNC(_wrap_FXWizard_create), -1); rb_define_method(SwigClassFXWizard.klass, "detach", VALUEFUNC(_wrap_FXWizard_detach), -1); rb_define_method(SwigClassFXWizard.klass, "destroy", VALUEFUNC(_wrap_FXWizard_destroy), -1); rb_define_method(SwigClassFXWizard.klass, "resize", VALUEFUNC(_wrap_FXWizard_resize), -1); rb_define_method(SwigClassFXWizard.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXWizard_getDefaultWidth), -1); rb_define_method(SwigClassFXWizard.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXWizard_getDefaultHeight), -1); rb_define_method(SwigClassFXWizard.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXWizard_getWidthForHeight), -1); rb_define_method(SwigClassFXWizard.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXWizard_getHeightForWidth), -1); rb_define_method(SwigClassFXWizard.klass, "canFocus", VALUEFUNC(_wrap_FXWizard_canFocus), -1); rb_define_method(SwigClassFXWizard.klass, "setFocus", VALUEFUNC(_wrap_FXWizard_setFocus), -1); rb_define_method(SwigClassFXWizard.klass, "killFocus", VALUEFUNC(_wrap_FXWizard_killFocus), -1); rb_define_method(SwigClassFXWizard.klass, "changeFocus", VALUEFUNC(_wrap_FXWizard_changeFocus), -1); rb_define_method(SwigClassFXWizard.klass, "setDefault", VALUEFUNC(_wrap_FXWizard_setDefault), -1); rb_define_method(SwigClassFXWizard.klass, "enable", VALUEFUNC(_wrap_FXWizard_enable), -1); rb_define_method(SwigClassFXWizard.klass, "disable", VALUEFUNC(_wrap_FXWizard_disable), -1); rb_define_method(SwigClassFXWizard.klass, "raiseWindow", VALUEFUNC(_wrap_FXWizard_raiseWindow), -1); rb_define_method(SwigClassFXWizard.klass, "lower", VALUEFUNC(_wrap_FXWizard_lower), -1); rb_define_method(SwigClassFXWizard.klass, "move", VALUEFUNC(_wrap_FXWizard_move), -1); rb_define_method(SwigClassFXWizard.klass, "position", VALUEFUNC(_wrap_FXWizard_position), -1); rb_define_method(SwigClassFXWizard.klass, "layout", VALUEFUNC(_wrap_FXWizard_layout), -1); rb_define_method(SwigClassFXWizard.klass, "recalc", VALUEFUNC(_wrap_FXWizard_recalc), -1); rb_define_method(SwigClassFXWizard.klass, "reparent", VALUEFUNC(_wrap_FXWizard_reparent), -1); rb_define_method(SwigClassFXWizard.klass, "hide", VALUEFUNC(_wrap_FXWizard_hide), -1); rb_define_method(SwigClassFXWizard.klass, "isComposite", VALUEFUNC(_wrap_FXWizard_isComposite), -1); rb_define_method(SwigClassFXWizard.klass, "contains", VALUEFUNC(_wrap_FXWizard_contains), -1); rb_define_method(SwigClassFXWizard.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXWizard_doesSaveUnder), -1); rb_define_method(SwigClassFXWizard.klass, "setBackColor", VALUEFUNC(_wrap_FXWizard_setBackColor), -1); rb_define_method(SwigClassFXWizard.klass, "tr", VALUEFUNC(_wrap_FXWizard_tr), -1); rb_define_method(SwigClassFXWizard.klass, "dropEnable", VALUEFUNC(_wrap_FXWizard_dropEnable), -1); rb_define_method(SwigClassFXWizard.klass, "dropDisable", VALUEFUNC(_wrap_FXWizard_dropDisable), -1); rb_define_method(SwigClassFXWizard.klass, "setShape", VALUEFUNC(_wrap_FXWizard_setShape), -1); rb_define_method(SwigClassFXWizard.klass, "clearShape", VALUEFUNC(_wrap_FXWizard_clearShape), -1); rb_define_method(SwigClassFXWizard.klass, "show", VALUEFUNC(_wrap_FXWizard_show), -1); rb_define_method(SwigClassFXWizard.klass, "maximize", VALUEFUNC(_wrap_FXWizard_maximize), -1); rb_define_method(SwigClassFXWizard.klass, "minimize", VALUEFUNC(_wrap_FXWizard_minimize), -1); rb_define_method(SwigClassFXWizard.klass, "restore", VALUEFUNC(_wrap_FXWizard_restore), -1); rb_define_method(SwigClassFXWizard.klass, "close", VALUEFUNC(_wrap_FXWizard_close), -1); rb_define_method(SwigClassFXWizard.klass, "execute", VALUEFUNC(_wrap_FXWizard_execute), -1); SwigClassFXWizard.mark = (void (*)(void *)) FXRbWizard::markfunc; SwigClassFXWizard.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXWizard.trackObjects = 0; SwigClassFXChoiceBox.klass = rb_define_class_under(mFox, "FXChoiceBox", ((swig_class *) SWIGTYPE_p_FXDialogBox->clientdata)->klass); SWIG_TypeClientData(SWIGTYPE_p_FXChoiceBox, (void *) &SwigClassFXChoiceBox); rb_define_alloc_func(SwigClassFXChoiceBox.klass, _wrap_FXChoiceBox_allocate); rb_define_method(SwigClassFXChoiceBox.klass, "initialize", VALUEFUNC(_wrap_new_FXChoiceBox), -1); rb_define_method(SwigClassFXChoiceBox.klass, "onCmdClicked", VALUEFUNC(_wrap_FXChoiceBox_onCmdClicked), -1); rb_define_method(SwigClassFXChoiceBox.klass, "onCmdCancel", VALUEFUNC(_wrap_FXChoiceBox_onCmdCancel), -1); rb_define_const(SwigClassFXChoiceBox.klass, "ID_CLICKED", SWIG_From_int(static_cast< int >(FXChoiceBox::ID_CLICKED))); rb_define_const(SwigClassFXChoiceBox.klass, "ID_LAST", SWIG_From_int(static_cast< int >(FXChoiceBox::ID_LAST))); rb_define_singleton_method(SwigClassFXChoiceBox.klass, "ask", VALUEFUNC(_wrap_FXChoiceBox_ask), -1); rb_define_method(SwigClassFXChoiceBox.klass, "save", VALUEFUNC(_wrap_FXChoiceBox_save), -1); rb_define_method(SwigClassFXChoiceBox.klass, "load", VALUEFUNC(_wrap_FXChoiceBox_load), -1); rb_define_method(SwigClassFXChoiceBox.klass, "create", VALUEFUNC(_wrap_FXChoiceBox_create), -1); rb_define_method(SwigClassFXChoiceBox.klass, "detach", VALUEFUNC(_wrap_FXChoiceBox_detach), -1); rb_define_method(SwigClassFXChoiceBox.klass, "destroy", VALUEFUNC(_wrap_FXChoiceBox_destroy), -1); rb_define_method(SwigClassFXChoiceBox.klass, "resize", VALUEFUNC(_wrap_FXChoiceBox_resize), -1); rb_define_method(SwigClassFXChoiceBox.klass, "getDefaultWidth", VALUEFUNC(_wrap_FXChoiceBox_getDefaultWidth), -1); rb_define_method(SwigClassFXChoiceBox.klass, "getDefaultHeight", VALUEFUNC(_wrap_FXChoiceBox_getDefaultHeight), -1); rb_define_method(SwigClassFXChoiceBox.klass, "getWidthForHeight", VALUEFUNC(_wrap_FXChoiceBox_getWidthForHeight), -1); rb_define_method(SwigClassFXChoiceBox.klass, "getHeightForWidth", VALUEFUNC(_wrap_FXChoiceBox_getHeightForWidth), -1); rb_define_method(SwigClassFXChoiceBox.klass, "canFocus", VALUEFUNC(_wrap_FXChoiceBox_canFocus), -1); rb_define_method(SwigClassFXChoiceBox.klass, "setFocus", VALUEFUNC(_wrap_FXChoiceBox_setFocus), -1); rb_define_method(SwigClassFXChoiceBox.klass, "killFocus", VALUEFUNC(_wrap_FXChoiceBox_killFocus), -1); rb_define_method(SwigClassFXChoiceBox.klass, "changeFocus", VALUEFUNC(_wrap_FXChoiceBox_changeFocus), -1); rb_define_method(SwigClassFXChoiceBox.klass, "setDefault", VALUEFUNC(_wrap_FXChoiceBox_setDefault), -1); rb_define_method(SwigClassFXChoiceBox.klass, "enable", VALUEFUNC(_wrap_FXChoiceBox_enable), -1); rb_define_method(SwigClassFXChoiceBox.klass, "disable", VALUEFUNC(_wrap_FXChoiceBox_disable), -1); rb_define_method(SwigClassFXChoiceBox.klass, "raiseWindow", VALUEFUNC(_wrap_FXChoiceBox_raiseWindow), -1); rb_define_method(SwigClassFXChoiceBox.klass, "lower", VALUEFUNC(_wrap_FXChoiceBox_lower), -1); rb_define_method(SwigClassFXChoiceBox.klass, "move", VALUEFUNC(_wrap_FXChoiceBox_move), -1); rb_define_method(SwigClassFXChoiceBox.klass, "position", VALUEFUNC(_wrap_FXChoiceBox_position), -1); rb_define_method(SwigClassFXChoiceBox.klass, "layout", VALUEFUNC(_wrap_FXChoiceBox_layout), -1); rb_define_method(SwigClassFXChoiceBox.klass, "recalc", VALUEFUNC(_wrap_FXChoiceBox_recalc), -1); rb_define_method(SwigClassFXChoiceBox.klass, "reparent", VALUEFUNC(_wrap_FXChoiceBox_reparent), -1); rb_define_method(SwigClassFXChoiceBox.klass, "hide", VALUEFUNC(_wrap_FXChoiceBox_hide), -1); rb_define_method(SwigClassFXChoiceBox.klass, "isComposite", VALUEFUNC(_wrap_FXChoiceBox_isComposite), -1); rb_define_method(SwigClassFXChoiceBox.klass, "contains", VALUEFUNC(_wrap_FXChoiceBox_contains), -1); rb_define_method(SwigClassFXChoiceBox.klass, "doesSaveUnder", VALUEFUNC(_wrap_FXChoiceBox_doesSaveUnder), -1); rb_define_method(SwigClassFXChoiceBox.klass, "setBackColor", VALUEFUNC(_wrap_FXChoiceBox_setBackColor), -1); rb_define_method(SwigClassFXChoiceBox.klass, "tr", VALUEFUNC(_wrap_FXChoiceBox_tr), -1); rb_define_method(SwigClassFXChoiceBox.klass, "dropEnable", VALUEFUNC(_wrap_FXChoiceBox_dropEnable), -1); rb_define_method(SwigClassFXChoiceBox.klass, "dropDisable", VALUEFUNC(_wrap_FXChoiceBox_dropDisable), -1); rb_define_method(SwigClassFXChoiceBox.klass, "setShape", VALUEFUNC(_wrap_FXChoiceBox_setShape), -1); rb_define_method(SwigClassFXChoiceBox.klass, "clearShape", VALUEFUNC(_wrap_FXChoiceBox_clearShape), -1); rb_define_method(SwigClassFXChoiceBox.klass, "show", VALUEFUNC(_wrap_FXChoiceBox_show), -1); rb_define_method(SwigClassFXChoiceBox.klass, "maximize", VALUEFUNC(_wrap_FXChoiceBox_maximize), -1); rb_define_method(SwigClassFXChoiceBox.klass, "minimize", VALUEFUNC(_wrap_FXChoiceBox_minimize), -1); rb_define_method(SwigClassFXChoiceBox.klass, "restore", VALUEFUNC(_wrap_FXChoiceBox_restore), -1); rb_define_method(SwigClassFXChoiceBox.klass, "close", VALUEFUNC(_wrap_FXChoiceBox_close), -1); rb_define_method(SwigClassFXChoiceBox.klass, "execute", VALUEFUNC(_wrap_FXChoiceBox_execute), -1); SwigClassFXChoiceBox.mark = (void (*)(void *)) FXRbChoiceBox::markfunc; SwigClassFXChoiceBox.destroy = (void (*)(void *)) FXRbObject::freefunc; SwigClassFXChoiceBox.trackObjects = 0; }