/*
 * FILE : ../src/menus.cpp
 * 
 * This file was automatically generated by :
 * Simplified Wrapper and Interface Generator (SWIG)
 * Version 1.1 (Build 883)
 * 
 * Portions Copyright (c) 1995-1998
 * The University of Utah and The Regents of the University of California.
 * Permission is granted to distribute this file in any manner provided
 * this notice remains intact.
 * 
 * Do not make changes to this file--changes will be lost!
 *
 */


#define SWIGCODE
/* Implementation : PYTHON */

#define SWIGPYTHON
#include <string.h>
#include <stdlib.h>
/* Definitions for Windows/Unix exporting */
#if defined(__WIN32__)
#   if defined(_MSC_VER)
#	define SWIGEXPORT(a) __declspec(dllexport) a
#   else
#	if defined(__BORLANDC__)
#	    define SWIGEXPORT(a) a _export 
#	else
#	    define SWIGEXPORT(a) a 
#	endif
#   endif
#else
#   define SWIGEXPORT(a) a 
#endif

#include "Python.h"

#ifdef __cplusplus
extern "C" {
#endif
extern void SWIG_MakePtr(char *, void *, char *);
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
extern char *SWIG_GetPtr(char *, void **, char *);
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
extern PyObject *SWIG_newvarlink(void);
#ifdef __cplusplus
}
#endif
#define SWIG_init    initmenusc

#define SWIG_name    "menusc"

#include "fx.h"
#include "fx3d.h"
#include "FXCURCursor.h"
#include "FXJPGImage.h"
#include "FXJPGIcon.h"
#include "FXPNGIcon.h"
#include "FXPNGImage.h"
#include "FXTIFIcon.h"
#include "FXTIFImage.h"
#include "FXRGBIcon.h"
#include "FXRGBImage.h"
#include "FXICOIcon.h"
#include "FXICOImage.h"
#include "FXPyApp.h"
#include "FXPy.h"

static PyObject* l_output_helper(PyObject* target, PyObject* o) {
    PyObject*   o2;
    if (!target) {                   
        target = o;
    } else if (target == Py_None) {  
        Py_DECREF(Py_None);
        target = o;
    } else {                         
        if (!PyList_Check(target)) {
            o2 = target;
            target = PyList_New(0);
            PyList_Append(target, o2);
	    Py_XDECREF(o2);
        }
        PyList_Append(target,o);
	Py_XDECREF(o);
    }
    return target;
}

static PyObject* t_output_helper(PyObject* target, PyObject* o) {
    PyObject*   o2;
    PyObject*   o3;

    if (!target) {                   
        target = o;
    } else if (target == Py_None) {  
        Py_DECREF(Py_None);
        target = o;
    } else {                         
        if (!PyTuple_Check(target)) {
            o2 = target;
            target = PyTuple_New(1);
            PyTuple_SetItem(target, 0, o2);
        }
        o3 = PyTuple_New(1);            
        PyTuple_SetItem(o3, 0, o);      

        o2 = target;
        target = PySequence_Concat(o2, o3); 
        Py_DECREF(o2);                      
        Py_DECREF(o3);
    }
    return target;
}

  FXPyMenubar* CreateFloatingMenubar(FXComposite* p,FXComposite* q,FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=3,FXint pr=3,FXint pt=2,FXint pb=2,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING) {
    return new FXPyMenubar(p,q,opts,x,y,w,h,pl,pr,pt,pb,hs,vs);
  }

  FXPyMenubar* CreateNonFloatingMenubar(FXComposite* p,FXuint opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=3,FXint pr=3,FXint pt=2,FXint pb=2,FXint hs=DEFAULT_SPACING,FXint vs=DEFAULT_SPACING) {
    return new FXPyMenubar(p,opts,x,y,w,h,pl,pr,pt,pb,hs,vs);
  }
#ifdef __cplusplus
extern "C" {
#endif
static PyObject *_wrap_CreateFloatingMenubar(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _result;
    FXComposite * _arg0;
    FXComposite * _arg1;
    FXuint  _arg2 = (FXuint ) LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X;
    FXint  _arg3 = (FXint ) 0;
    FXint  _arg4 = (FXint ) 0;
    FXint  _arg5 = (FXint ) 0;
    FXint  _arg6 = (FXint ) 0;
    FXint  _arg7 = (FXint ) 3;
    FXint  _arg8 = (FXint ) 3;
    FXint  _arg9 = (FXint ) 2;
    FXint  _arg10 = (FXint ) 2;
    FXint  _arg11 = (FXint ) DEFAULT_SPACING;
    FXint  _arg12 = (FXint ) DEFAULT_SPACING;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "p","q","opts","x","y","w","h","pl","pr","pt","pb","hs","vs", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiiiiiiiii:CreateFloatingMenubar",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10,&_arg11,&_arg12)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of CreateFloatingMenubar. Expected _FXComposite_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of CreateFloatingMenubar. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenubar *)CreateFloatingMenubar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11,_arg12);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenubar_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static PyObject *_wrap_CreateNonFloatingMenubar(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _result;
    FXComposite * _arg0;
    FXuint  _arg1 = (FXuint ) LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X;
    FXint  _arg2 = (FXint ) 0;
    FXint  _arg3 = (FXint ) 0;
    FXint  _arg4 = (FXint ) 0;
    FXint  _arg5 = (FXint ) 0;
    FXint  _arg6 = (FXint ) 3;
    FXint  _arg7 = (FXint ) 3;
    FXint  _arg8 = (FXint ) 2;
    FXint  _arg9 = (FXint ) 2;
    FXint  _arg10 = (FXint ) DEFAULT_SPACING;
    FXint  _arg11 = (FXint ) DEFAULT_SPACING;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "p","opts","x","y","w","h","pl","pr","pt","pb","hs","vs", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iiiiiiiiiii:CreateNonFloatingMenubar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10,&_arg11)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of CreateNonFloatingMenubar. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenubar *)CreateNonFloatingMenubar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenubar_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static void *SwigFXMenuSeparatorToFXWindow(void *ptr) {
    FXMenuSeparator *src;
    FXWindow *dest;
    src = (FXMenuSeparator *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuSeparatorToFXDrawable(void *ptr) {
    FXMenuSeparator *src;
    FXDrawable *dest;
    src = (FXMenuSeparator *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuSeparatorToFXId(void *ptr) {
    FXMenuSeparator *src;
    FXId *dest;
    src = (FXMenuSeparator *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuSeparatorToFXObject(void *ptr) {
    FXMenuSeparator *src;
    FXObject *dest;
    src = (FXMenuSeparator *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_MenuSeparator_onPaint(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onPaint(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuSeparator_onPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuSeparator * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuSeparator_onPaint",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuSeparator_onPaint. Expected _FXMenuSeparator_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuSeparator_onPaint. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuSeparator_onPaint(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_FX_MenuSeparator(_swigarg0,_swigarg1) (new FXMenuSeparator(_swigarg0,_swigarg1))
static PyObject *_wrap_new_FX_MenuSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuSeparator * _result;
    FXComposite * _arg0;
    FXuint  _arg1 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "p","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_FX_MenuSeparator",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FX_MenuSeparator. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuSeparator *)new_FX_MenuSeparator(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuSeparator_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define FX_MenuSeparator_setHiliteColor(_swigobj,_swigarg0)  (_swigobj->setHiliteColor(_swigarg0))
static PyObject *_wrap_FX_MenuSeparator_setHiliteColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuSeparator * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuSeparator_setHiliteColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuSeparator_setHiliteColor. Expected _FXMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuSeparator_setHiliteColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuSeparator_getHiliteColor(_swigobj)  (_swigobj->getHiliteColor())
static PyObject *_wrap_FX_MenuSeparator_getHiliteColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuSeparator_getHiliteColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuSeparator_getHiliteColor. Expected _FXMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuSeparator_getHiliteColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuSeparator_setShadowColor(_swigobj,_swigarg0)  (_swigobj->setShadowColor(_swigarg0))
static PyObject *_wrap_FX_MenuSeparator_setShadowColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuSeparator * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuSeparator_setShadowColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuSeparator_setShadowColor. Expected _FXMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuSeparator_setShadowColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuSeparator_getShadowColor(_swigobj)  (_swigobj->getShadowColor())
static PyObject *_wrap_FX_MenuSeparator_getShadowColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuSeparator_getShadowColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuSeparator_getShadowColor. Expected _FXMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuSeparator_getShadowColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

static int _wrap_FXMenuSeparator__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuSeparator_deleteType'(FXDragType )");
        return 1; 
    }
    FXMenuSeparator::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuSeparator__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuSeparator::deleteType);
    return pyobj;
}

static int _wrap_FXMenuSeparator__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuSeparator_textType'(FXDragType )");
        return 1; 
    }
    FXMenuSeparator::textType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuSeparator__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuSeparator::textType);
    return pyobj;
}

static int _wrap_FXMenuSeparator__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuSeparator_stringType'(FXDragType )");
        return 1; 
    }
    FXMenuSeparator::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuSeparator__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuSeparator::stringType);
    return pyobj;
}

static int _wrap_FXMenuSeparator__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuSeparator_colorType'(FXDragType )");
        return 1; 
    }
    FXMenuSeparator::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuSeparator__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuSeparator::colorType);
    return pyobj;
}

static int _wrap_FXMenuSeparator__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuSeparator_urilistType'(FXDragType )");
        return 1; 
    }
    FXMenuSeparator::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuSeparator__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuSeparator::urilistType);
    return pyobj;
}

static void *SwigFXPyMenuSeparatorToFXMenuSeparator(void *ptr) {
    FXPyMenuSeparator *src;
    FXMenuSeparator *dest;
    src = (FXPyMenuSeparator *) ptr;
    dest = (FXMenuSeparator *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuSeparatorToFXWindow(void *ptr) {
    FXPyMenuSeparator *src;
    FXWindow *dest;
    src = (FXPyMenuSeparator *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuSeparatorToFXDrawable(void *ptr) {
    FXPyMenuSeparator *src;
    FXDrawable *dest;
    src = (FXPyMenuSeparator *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuSeparatorToFXId(void *ptr) {
    FXPyMenuSeparator *src;
    FXId *dest;
    src = (FXPyMenuSeparator *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuSeparatorToFXObject(void *ptr) {
    FXPyMenuSeparator *src;
    FXObject *dest;
    src = (FXPyMenuSeparator *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuSeparator(_swigarg0,_swigarg1) (new FXPyMenuSeparator(_swigarg0,_swigarg1))
static PyObject *_wrap_new_FXMenuSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _result;
    FXComposite * _arg0;
    FXuint  _arg1 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "p","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_FXMenuSeparator",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FXMenuSeparator. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuSeparator *)new_FXMenuSeparator(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuSeparator_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define FXMenuSeparator_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuSeparator_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuSeparator * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuSeparator_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_onDefault. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuSeparator_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuSeparator_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuSeparator_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_create. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuSeparator_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_destroy. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuSeparator_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_detach. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuSeparator_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuSeparator_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_resize. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuSeparator_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_getDefaultWidth. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuSeparator_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuSeparator_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuSeparator_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_getDefaultHeight. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuSeparator_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuSeparator_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuSeparator_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_show. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuSeparator_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_hide. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuSeparator_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_enable. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuSeparator_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_disable. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuSeparator_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_canFocus. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuSeparator_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuSeparator_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuSeparator_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_setFocus. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuSeparator_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_killFocus. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuSeparator_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuSeparator_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_setDefault. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuSeparator_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_recalc. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuSeparator_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_layout. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuSeparator_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_lower. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuSeparator_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuSeparator_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_move. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuSeparator_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuSeparator_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_position. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuSeparator_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_isComposite. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuSeparator_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuSeparator_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuSeparator_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuSeparator * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuSeparator_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_contains. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuSeparator_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuSeparator_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuSeparator_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuSeparator * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuSeparator_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_getWidthForHeight. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuSeparator_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuSeparator_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuSeparator_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuSeparator * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuSeparator_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_getHeightForWidth. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuSeparator_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuSeparator_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuSeparator_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuSeparator * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuSeparator_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_doesSaveUnder. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuSeparator_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuSeparator_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuSeparator_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuSeparator_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_reparent. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuSeparator_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuSeparator_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuSeparator_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuSeparator * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuSeparator_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuSeparator_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuSeparator_setBackColor. Expected _FXPyMenuSeparator_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuSeparator_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static int _wrap_FXPyMenuSeparator__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuSeparator_deleteType'(FXDragType )");
        return 1; 
    }
    FXPyMenuSeparator::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuSeparator__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuSeparator::deleteType);
    return pyobj;
}

static int _wrap_FXPyMenuSeparator__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuSeparator_textType'(FXDragType )");
        return 1; 
    }
    FXPyMenuSeparator::textType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuSeparator__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuSeparator::textType);
    return pyobj;
}

static int _wrap_FXPyMenuSeparator__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuSeparator_stringType'(FXDragType )");
        return 1; 
    }
    FXPyMenuSeparator::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuSeparator__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuSeparator::stringType);
    return pyobj;
}

static int _wrap_FXPyMenuSeparator__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuSeparator_colorType'(FXDragType )");
        return 1; 
    }
    FXPyMenuSeparator::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuSeparator__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuSeparator::colorType);
    return pyobj;
}

static int _wrap_FXPyMenuSeparator__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuSeparator_urilistType'(FXDragType )");
        return 1; 
    }
    FXPyMenuSeparator::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuSeparator__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuSeparator::urilistType);
    return pyobj;
}

static void *SwigFXMenuCaptionToFXWindow(void *ptr) {
    FXMenuCaption *src;
    FXWindow *dest;
    src = (FXMenuCaption *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuCaptionToFXDrawable(void *ptr) {
    FXMenuCaption *src;
    FXDrawable *dest;
    src = (FXMenuCaption *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuCaptionToFXId(void *ptr) {
    FXMenuCaption *src;
    FXId *dest;
    src = (FXMenuCaption *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuCaptionToFXObject(void *ptr) {
    FXMenuCaption *src;
    FXObject *dest;
    src = (FXMenuCaption *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_MenuCaption_onPaint(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onPaint(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCaption_onPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCaption * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCaption_onPaint",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_onPaint. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCaption_onPaint. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCaption_onPaint(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCaption_onQueryHelp(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onQueryHelp(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCaption_onQueryHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCaption * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCaption_onQueryHelp",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_onQueryHelp. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCaption_onQueryHelp. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCaption_onQueryHelp(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCaption_onUpdate(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onUpdate(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCaption_onUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCaption * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCaption_onUpdate",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_onUpdate. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCaption_onUpdate. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCaption_onUpdate(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCaption_onCmdGetStringValue(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdGetStringValue(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCaption_onCmdGetStringValue(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCaption * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCaption_onCmdGetStringValue",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_onCmdGetStringValue. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCaption_onCmdGetStringValue. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCaption_onCmdGetStringValue(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCaption_onCmdSetStringValue(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdSetStringValue(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCaption_onCmdSetStringValue(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCaption * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCaption_onCmdSetStringValue",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_onCmdSetStringValue. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCaption_onCmdSetStringValue. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCaption_onCmdSetStringValue(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_FX_MenuCaption(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new FXMenuCaption(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_new_FX_MenuCaption(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXuint  _arg3 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    char *_kwnames[] = { "p","text","ic","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:new_FX_MenuCaption",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FX_MenuCaption. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuCaption *)new_FX_MenuCaption(_arg0,*_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuCaption_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuCaption_setText(_swigobj,_swigarg0)  (_swigobj->setText(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setText(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXString * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    char *_kwnames[] = { "self","text", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuCaption_setText",_kwnames,&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setText. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setText(_arg0,*_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuCaption_getText(_swigobj)  (_swigobj->getText())
static PyObject *_wrap_FX_MenuCaption_getText(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXString * _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getText",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getText. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = new FXString (FX_MenuCaption_getText(_arg0));

    FXPy_END_ALLOW_THREADS
}{
    _resultobj = PyString_FromString(_result->text());
}
{
    delete _result;
}
    return _resultobj;
}

#define FX_MenuCaption_setIcon(_swigobj,_swigarg0)  (_swigobj->setIcon(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXIcon * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    char *_kwnames[] = { "self","ic", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuCaption_setIcon",_kwnames,&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setIcon. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXIcon_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setIcon(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_getIcon(_swigobj)  (_swigobj->getIcon())
static PyObject *_wrap_FX_MenuCaption_getIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXIcon * _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getIcon",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getIcon. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXIcon *)FX_MenuCaption_getIcon(_arg0);

    FXPy_END_ALLOW_THREADS
}{
    if (_result) {
	_resultobj = FXPyMakeShadowObject(_result);
    } else {
	Py_INCREF(Py_None);
	_resultobj = Py_None;
    }
}
    return _resultobj;
}

#define FX_MenuCaption_setFont(_swigobj,_swigarg0)  (_swigobj->setFont(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setFont(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXFont * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","fnt", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuCaption_setFont",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setFont. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXFont_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FX_MenuCaption_setFont. Expected _FXFont_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setFont(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_getFont(_swigobj)  (_swigobj->getFont())
static PyObject *_wrap_FX_MenuCaption_getFont(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXFont * _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getFont",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getFont. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXFont *)FX_MenuCaption_getFont(_arg0);

    FXPy_END_ALLOW_THREADS
}{
    if (_result) {
	_resultobj = FXPyMakeShadowObject(_result);
    } else {
	Py_INCREF(Py_None);
	_resultobj = Py_None;
    }
}
    return _resultobj;
}

#define FX_MenuCaption_getTextColor(_swigobj)  (_swigobj->getTextColor())
static PyObject *_wrap_FX_MenuCaption_getTextColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getTextColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getTextColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuCaption_getTextColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCaption_setTextColor(_swigobj,_swigarg0)  (_swigobj->setTextColor(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setTextColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuCaption_setTextColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setTextColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setTextColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_getSelBackColor(_swigobj)  (_swigobj->getSelBackColor())
static PyObject *_wrap_FX_MenuCaption_getSelBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getSelBackColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getSelBackColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuCaption_getSelBackColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCaption_setSelBackColor(_swigobj,_swigarg0)  (_swigobj->setSelBackColor(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setSelBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuCaption_setSelBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setSelBackColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setSelBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_getSelTextColor(_swigobj)  (_swigobj->getSelTextColor())
static PyObject *_wrap_FX_MenuCaption_getSelTextColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getSelTextColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getSelTextColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuCaption_getSelTextColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCaption_setSelTextColor(_swigobj,_swigarg0)  (_swigobj->setSelTextColor(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setSelTextColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuCaption_setSelTextColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setSelTextColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setSelTextColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_setHiliteColor(_swigobj,_swigarg0)  (_swigobj->setHiliteColor(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setHiliteColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuCaption_setHiliteColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setHiliteColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setHiliteColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_getHiliteColor(_swigobj)  (_swigobj->getHiliteColor())
static PyObject *_wrap_FX_MenuCaption_getHiliteColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getHiliteColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getHiliteColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuCaption_getHiliteColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCaption_setShadowColor(_swigobj,_swigarg0)  (_swigobj->setShadowColor(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setShadowColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuCaption_setShadowColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setShadowColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setShadowColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCaption_getShadowColor(_swigobj)  (_swigobj->getShadowColor())
static PyObject *_wrap_FX_MenuCaption_getShadowColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXColor  _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getShadowColor",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getShadowColor. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXColor )FX_MenuCaption_getShadowColor(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCaption_setHelpText(_swigobj,_swigarg0)  (_swigobj->setHelpText(_swigarg0))
static PyObject *_wrap_FX_MenuCaption_setHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCaption * _arg0;
    FXString * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    char *_kwnames[] = { "self","text", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuCaption_setHelpText",_kwnames,&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_setHelpText. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCaption_setHelpText(_arg0,*_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuCaption_getHelpText(_swigobj)  (_swigobj->getHelpText())
static PyObject *_wrap_FX_MenuCaption_getHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXString * _result;
    FXMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCaption_getHelpText",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCaption_getHelpText. Expected _FXMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = new FXString (FX_MenuCaption_getHelpText(_arg0));

    FXPy_END_ALLOW_THREADS
}{
    _resultobj = PyString_FromString(_result->text());
}
{
    delete _result;
}
    return _resultobj;
}

static int _wrap_FXMenuCaption__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCaption_deleteType'(FXDragType )");
        return 1; 
    }
    FXMenuCaption::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCaption__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCaption::deleteType);
    return pyobj;
}

static int _wrap_FXMenuCaption__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCaption_textType'(FXDragType )");
        return 1; 
    }
    FXMenuCaption::textType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCaption__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCaption::textType);
    return pyobj;
}

static int _wrap_FXMenuCaption__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCaption_stringType'(FXDragType )");
        return 1; 
    }
    FXMenuCaption::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCaption__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCaption::stringType);
    return pyobj;
}

static int _wrap_FXMenuCaption__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCaption_colorType'(FXDragType )");
        return 1; 
    }
    FXMenuCaption::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCaption__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCaption::colorType);
    return pyobj;
}

static int _wrap_FXMenuCaption__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCaption_urilistType'(FXDragType )");
        return 1; 
    }
    FXMenuCaption::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCaption__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCaption::urilistType);
    return pyobj;
}

static void *SwigFXPyMenuCaptionToFXMenuCaption(void *ptr) {
    FXPyMenuCaption *src;
    FXMenuCaption *dest;
    src = (FXPyMenuCaption *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCaptionToFXWindow(void *ptr) {
    FXPyMenuCaption *src;
    FXWindow *dest;
    src = (FXPyMenuCaption *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCaptionToFXDrawable(void *ptr) {
    FXPyMenuCaption *src;
    FXDrawable *dest;
    src = (FXPyMenuCaption *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCaptionToFXId(void *ptr) {
    FXPyMenuCaption *src;
    FXId *dest;
    src = (FXPyMenuCaption *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCaptionToFXObject(void *ptr) {
    FXPyMenuCaption *src;
    FXObject *dest;
    src = (FXPyMenuCaption *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuCaption(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new FXPyMenuCaption(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_new_FXMenuCaption(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXuint  _arg3 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    char *_kwnames[] = { "p","text","ic","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|Oi:new_FXMenuCaption",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FXMenuCaption. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuCaption *)new_FXMenuCaption(_arg0,*_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuCaption_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FXMenuCaption_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuCaption_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuCaption * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuCaption_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_onDefault. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuCaption_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuCaption_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuCaption_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_create. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuCaption_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_destroy. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuCaption_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_detach. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCaption_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCaption_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_resize. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuCaption_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_getDefaultWidth. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCaption_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCaption_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuCaption_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_getDefaultHeight. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCaption_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCaption_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuCaption_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_show. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuCaption_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_hide. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuCaption_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_enable. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuCaption_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_disable. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuCaption_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_canFocus. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCaption_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCaption_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuCaption_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_setFocus. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuCaption_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_killFocus. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuCaption_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuCaption_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_setDefault. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuCaption_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_recalc. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuCaption_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_layout. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuCaption_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_lower. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCaption_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCaption_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_move. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuCaption_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuCaption_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_position. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuCaption_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_isComposite. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCaption_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCaption_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCaption_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCaption * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCaption_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_contains. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCaption_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCaption_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuCaption_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCaption * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCaption_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_getWidthForHeight. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCaption_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCaption_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuCaption_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCaption * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCaption_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_getHeightForWidth. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCaption_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCaption_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuCaption_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCaption * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCaption_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_doesSaveUnder. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCaption_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCaption_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuCaption_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuCaption_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_reparent. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuCaption_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCaption_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuCaption_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCaption * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCaption_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCaption_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCaption_setBackColor. Expected _FXPyMenuCaption_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCaption_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static int _wrap_FXPyMenuCaption__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCaption_deleteType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCaption::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCaption__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCaption::deleteType);
    return pyobj;
}

static int _wrap_FXPyMenuCaption__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCaption_textType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCaption::textType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCaption__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCaption::textType);
    return pyobj;
}

static int _wrap_FXPyMenuCaption__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCaption_stringType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCaption::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCaption__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCaption::stringType);
    return pyobj;
}

static int _wrap_FXPyMenuCaption__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCaption_colorType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCaption::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCaption__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCaption::colorType);
    return pyobj;
}

static int _wrap_FXPyMenuCaption__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCaption_urilistType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCaption::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCaption__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCaption::urilistType);
    return pyobj;
}

static void *SwigFXMenuPaneToFXPopup(void *ptr) {
    FXMenuPane *src;
    FXPopup *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXPopup *) src;
    return (void *) dest;
}

static void *SwigFXMenuPaneToFXShell(void *ptr) {
    FXMenuPane *src;
    FXShell *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXShell *) src;
    return (void *) dest;
}

static void *SwigFXMenuPaneToFXComposite(void *ptr) {
    FXMenuPane *src;
    FXComposite *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXComposite *) src;
    return (void *) dest;
}

static void *SwigFXMenuPaneToFXWindow(void *ptr) {
    FXMenuPane *src;
    FXWindow *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuPaneToFXDrawable(void *ptr) {
    FXMenuPane *src;
    FXDrawable *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuPaneToFXId(void *ptr) {
    FXMenuPane *src;
    FXId *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuPaneToFXObject(void *ptr) {
    FXMenuPane *src;
    FXObject *dest;
    src = (FXMenuPane *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FX_MenuPane(_swigarg0,_swigarg1) (new FXMenuPane(_swigarg0,_swigarg1))
static PyObject *_wrap_new_FX_MenuPane(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuPane * _result;
    FXWindow * _arg0;
    FXuint  _arg1 = (FXuint ) 0;
    PyObject * _obj0 = 0;
    char *_kwnames[] = { "owner","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_FX_MenuPane",_kwnames,&_obj0,&_arg1)) 
        return NULL;
{
    if (_obj0 == Py_None)
	_arg0 = NULL;
    else
	SWIG_GetPtrObj(_obj0, (void**) &_arg0, "_FXWindow_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuPane *)new_FX_MenuPane(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuPane_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

static void *SwigFXPyMenuPaneToFXMenuPane(void *ptr) {
    FXPyMenuPane *src;
    FXMenuPane *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXMenuPane *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXPopup(void *ptr) {
    FXPyMenuPane *src;
    FXPopup *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXPopup *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXShell(void *ptr) {
    FXPyMenuPane *src;
    FXShell *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXShell *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXComposite(void *ptr) {
    FXPyMenuPane *src;
    FXComposite *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXComposite *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXWindow(void *ptr) {
    FXPyMenuPane *src;
    FXWindow *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXDrawable(void *ptr) {
    FXPyMenuPane *src;
    FXDrawable *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXId(void *ptr) {
    FXPyMenuPane *src;
    FXId *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuPaneToFXObject(void *ptr) {
    FXPyMenuPane *src;
    FXObject *dest;
    src = (FXPyMenuPane *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuPane(_swigarg0,_swigarg1) (new FXPyMenuPane(_swigarg0,_swigarg1))
static PyObject *_wrap_new_FXMenuPane(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _result;
    FXWindow * _arg0;
    FXuint  _arg1 = (FXuint ) 0;
    PyObject * _obj0 = 0;
    char *_kwnames[] = { "owner","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_FXMenuPane",_kwnames,&_obj0,&_arg1)) 
        return NULL;
{
    if (_obj0 == Py_None)
	_arg0 = NULL;
    else
	SWIG_GetPtrObj(_obj0, (void**) &_arg0, "_FXWindow_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuPane *)new_FXMenuPane(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuPane_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
    return _resultobj;
}

#define FXMenuPane_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuPane_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuPane * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuPane_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_onDefault. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuPane_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuPane_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuPane_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_create. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuPane_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_destroy. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuPane_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_detach. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuPane_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuPane_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_resize. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuPane_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_getDefaultWidth. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuPane_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuPane_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuPane_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_getDefaultHeight. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuPane_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuPane_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuPane_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_show. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuPane_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_hide. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuPane_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_enable. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuPane_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_disable. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuPane_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_canFocus. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuPane_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuPane_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuPane_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_setFocus. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuPane_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_killFocus. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuPane_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuPane_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_setDefault. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuPane_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_recalc. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuPane_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_layout. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuPane_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_lower. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuPane_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuPane_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_move. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuPane_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuPane_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_position. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuPane_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_isComposite. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuPane_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuPane_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuPane_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuPane * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuPane_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_contains. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuPane_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuPane_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuPane_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuPane * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuPane_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_getWidthForHeight. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuPane_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuPane_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuPane_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuPane * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuPane_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_getHeightForWidth. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuPane_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuPane_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuPane_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_doesSaveUnder. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuPane_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuPane_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuPane_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuPane_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_reparent. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuPane_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuPane_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuPane_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_setBackColor. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_popup(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)  (_swigobj->_popup(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
static PyObject *_wrap_FXMenuPane_popup(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    FXWindow * _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4 = (FXint ) 0;
    FXint  _arg5 = (FXint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    char *_kwnames[] = { "self","grabto","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|ii:FXMenuPane_popup",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_arg4,&_arg5)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_popup. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXWindow_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_popup(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuPane_popdown(_swigobj)  (_swigobj->_popdown())
static PyObject *_wrap_FXMenuPane_popdown(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuPane * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuPane_popdown",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuPane_popdown. Expected _FXPyMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuPane_popdown(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static void *SwigFXMenubarToFXToolbar(void *ptr) {
    FXMenubar *src;
    FXToolbar *dest;
    src = (FXMenubar *) ptr;
    dest = (FXToolbar *) src;
    return (void *) dest;
}

static void *SwigFXMenubarToFXPacker(void *ptr) {
    FXMenubar *src;
    FXPacker *dest;
    src = (FXMenubar *) ptr;
    dest = (FXPacker *) src;
    return (void *) dest;
}

static void *SwigFXMenubarToFXComposite(void *ptr) {
    FXMenubar *src;
    FXComposite *dest;
    src = (FXMenubar *) ptr;
    dest = (FXComposite *) src;
    return (void *) dest;
}

static void *SwigFXMenubarToFXWindow(void *ptr) {
    FXMenubar *src;
    FXWindow *dest;
    src = (FXMenubar *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenubarToFXDrawable(void *ptr) {
    FXMenubar *src;
    FXDrawable *dest;
    src = (FXMenubar *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenubarToFXId(void *ptr) {
    FXMenubar *src;
    FXId *dest;
    src = (FXMenubar *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenubarToFXObject(void *ptr) {
    FXMenubar *src;
    FXObject *dest;
    src = (FXMenubar *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_Menubar_onFocusLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusLeft(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onFocusLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onFocusLeft",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onFocusLeft. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onFocusLeft. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onFocusLeft(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onFocusRight(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusRight(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onFocusRight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onFocusRight",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onFocusRight. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onFocusRight. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onFocusRight(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onEnter(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onEnter",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onEnter. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onEnter. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onEnter(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onLeave(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeave(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onLeave",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onLeave. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onLeave. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onLeave(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onMotion(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onMotion(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onMotion(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onMotion",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onMotion. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onMotion. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onMotion(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onButtonPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onButtonPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onButtonPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onButtonPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onButtonPress. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onButtonPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onButtonPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onButtonRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onButtonRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onButtonRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onButtonRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onButtonRelease. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onButtonRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onButtonRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_Menubar_onCmdUnpost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdUnpost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_Menubar_onCmdUnpost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_Menubar_onCmdUnpost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_Menubar_onCmdUnpost. Expected _FXMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_Menubar_onCmdUnpost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_Menubar_onCmdUnpost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

static void *SwigFXPyMenubarToFXMenubar(void *ptr) {
    FXPyMenubar *src;
    FXMenubar *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXMenubar *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXToolbar(void *ptr) {
    FXPyMenubar *src;
    FXToolbar *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXToolbar *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXPacker(void *ptr) {
    FXPyMenubar *src;
    FXPacker *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXPacker *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXComposite(void *ptr) {
    FXPyMenubar *src;
    FXComposite *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXComposite *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXWindow(void *ptr) {
    FXPyMenubar *src;
    FXWindow *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXDrawable(void *ptr) {
    FXPyMenubar *src;
    FXDrawable *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXId(void *ptr) {
    FXPyMenubar *src;
    FXId *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenubarToFXObject(void *ptr) {
    FXPyMenubar *src;
    FXObject *dest;
    src = (FXPyMenubar *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FXMenubar_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenubar_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenubar * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenubar_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_onDefault. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenubar_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenubar_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenubar_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_create. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenubar_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_destroy. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenubar_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_detach. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenubar_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenubar_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_resize. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenubar_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_getDefaultWidth. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenubar_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenubar_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenubar_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_getDefaultHeight. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenubar_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenubar_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenubar_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_show. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenubar_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_hide. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenubar_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_enable. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenubar_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_disable. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenubar_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_canFocus. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenubar_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenubar_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenubar_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_setFocus. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenubar_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_killFocus. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenubar_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenubar_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_setDefault. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenubar_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_recalc. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenubar_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_layout. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenubar_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_lower. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenubar_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenubar_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_move. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenubar_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenubar_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_position. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenubar_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_isComposite. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenubar_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenubar_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenubar_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenubar * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenubar_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_contains. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenubar_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenubar_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenubar_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenubar * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenubar_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_getWidthForHeight. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenubar_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenubar_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenubar_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenubar * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenubar_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_getHeightForWidth. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenubar_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenubar_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenubar_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_doesSaveUnder. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenubar_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenubar_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenubar_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenubar_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_reparent. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenubar_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenubar_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenubar_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_setBackColor. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_dock(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_dock(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenubar_dock(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    FXuint  _arg1 = (FXuint ) LAYOUT_SIDE_TOP;
    FXWindow * _arg2 = (FXWindow *) -1;
    PyObject * _argo0 = 0;
    PyObject * _obj2 = 0;
    char *_kwnames[] = { "self","side","after", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:FXMenubar_dock",_kwnames,&_argo0,&_arg1,&_obj2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_dock. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXWindow_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_dock(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenubar_undock(_swigobj)  (_swigobj->_undock())
static PyObject *_wrap_FXMenubar_undock(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenubar * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenubar_undock",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenubar_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenubar_undock. Expected _FXPyMenubar_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenubar_undock(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static void *SwigFXMenuButtonToFXLabel(void *ptr) {
    FXMenuButton *src;
    FXLabel *dest;
    src = (FXMenuButton *) ptr;
    dest = (FXLabel *) src;
    return (void *) dest;
}

static void *SwigFXMenuButtonToFXFrame(void *ptr) {
    FXMenuButton *src;
    FXFrame *dest;
    src = (FXMenuButton *) ptr;
    dest = (FXFrame *) src;
    return (void *) dest;
}

static void *SwigFXMenuButtonToFXWindow(void *ptr) {
    FXMenuButton *src;
    FXWindow *dest;
    src = (FXMenuButton *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuButtonToFXDrawable(void *ptr) {
    FXMenuButton *src;
    FXDrawable *dest;
    src = (FXMenuButton *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuButtonToFXId(void *ptr) {
    FXMenuButton *src;
    FXId *dest;
    src = (FXMenuButton *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuButtonToFXObject(void *ptr) {
    FXMenuButton *src;
    FXObject *dest;
    src = (FXMenuButton *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_MenuButton_onPaint(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onPaint(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onPaint",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onPaint. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onPaint. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onPaint(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onUpdate(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onUpdate(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onUpdate",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onUpdate. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onUpdate. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onUpdate(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onEnter(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onEnter",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onEnter. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onEnter. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onEnter(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onLeave(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeave(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onLeave",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onLeave. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onLeave. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onLeave(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onFocusIn(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusIn(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onFocusIn(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onFocusIn",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onFocusIn. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onFocusIn. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onFocusIn(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onFocusOut(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusOut(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onFocusOut(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onFocusOut",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onFocusOut. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onFocusOut. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onFocusOut(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onUngrabbed(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onUngrabbed(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onUngrabbed(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onUngrabbed",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onUngrabbed. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onUngrabbed. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onUngrabbed(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onMotion(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onMotion(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onMotion(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onMotion",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onMotion. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onMotion. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onMotion(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onLeftBtnPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeftBtnPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onLeftBtnPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onLeftBtnPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onLeftBtnPress. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onLeftBtnPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onLeftBtnPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onLeftBtnRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeftBtnRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onLeftBtnRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onLeftBtnRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onLeftBtnRelease. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onLeftBtnRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onLeftBtnRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onKeyPress. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onKeyRelease. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onHotKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onHotKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onHotKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onHotKeyPress. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onHotKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onHotKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onHotKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onHotKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onHotKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onHotKeyRelease. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onHotKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onHotKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onCmdPost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdPost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onCmdPost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onCmdPost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onCmdPost. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onCmdPost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onCmdPost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuButton_onCmdUnpost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdUnpost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuButton_onCmdUnpost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuButton_onCmdUnpost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_onCmdUnpost. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuButton_onCmdUnpost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuButton_onCmdUnpost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_FX_MenuButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11,_swigarg12) (new FXMenuButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11,_swigarg12))
static PyObject *_wrap_new_FX_MenuButton(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXPopup * _arg3 = (FXPopup *) NULL;
    FXuint  _arg4 = (FXuint ) JUSTIFY_NORMAL|ICON_BEFORE_TEXT|(MENUBUTTON_DOWN);
    FXint  _arg5 = (FXint ) 0;
    FXint  _arg6 = (FXint ) 0;
    FXint  _arg7 = (FXint ) 0;
    FXint  _arg8 = (FXint ) 0;
    FXint  _arg9 = (FXint ) DEFAULT_PAD;
    FXint  _arg10 = (FXint ) DEFAULT_PAD;
    FXint  _arg11 = (FXint ) DEFAULT_PAD;
    FXint  _arg12 = (FXint ) DEFAULT_PAD;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "p","text","ic","pup","opts","x","y","w","h","pl","pr","pt","pb", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOiiiiiiiii:new_FX_MenuButton",_kwnames,&_argo0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10,&_arg11,&_arg12)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FX_MenuButton. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_FX_MenuButton. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuButton *)new_FX_MenuButton(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11,_arg12);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuButton_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuButton_setMenu(_swigobj,_swigarg0)  (_swigobj->setMenu(_swigarg0))
static PyObject *_wrap_FX_MenuButton_setMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _arg0;
    FXPopup * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","pup", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuButton_setMenu",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_setMenu. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FX_MenuButton_setMenu. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuButton_setMenu(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuButton_getMenu(_swigobj)  (_swigobj->getMenu())
static PyObject *_wrap_FX_MenuButton_getMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPopup * _result;
    FXMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuButton_getMenu",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_getMenu. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPopup *)FX_MenuButton_getMenu(_arg0);

    FXPy_END_ALLOW_THREADS
}{
    if (_result) {
	_resultobj = FXPyMakeShadowObject(_result);
    } else {
	Py_INCREF(Py_None);
	_resultobj = Py_None;
    }
}
    return _resultobj;
}

#define FX_MenuButton_setXOffset(_swigobj,_swigarg0)  (_swigobj->setXOffset(_swigarg0))
static PyObject *_wrap_FX_MenuButton_setXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","offx", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuButton_setXOffset",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_setXOffset. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuButton_setXOffset(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuButton_getXOffset(_swigobj)  (_swigobj->getXOffset())
static PyObject *_wrap_FX_MenuButton_getXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuButton_getXOffset",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_getXOffset. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FX_MenuButton_getXOffset(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuButton_setYOffset(_swigobj,_swigarg0)  (_swigobj->setYOffset(_swigarg0))
static PyObject *_wrap_FX_MenuButton_setYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","offy", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuButton_setYOffset",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_setYOffset. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuButton_setYOffset(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuButton_getYOffset(_swigobj)  (_swigobj->getYOffset())
static PyObject *_wrap_FX_MenuButton_getYOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuButton_getYOffset",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_getYOffset. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FX_MenuButton_getYOffset(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuButton_setButtonStyle(_swigobj,_swigarg0)  (_swigobj->setButtonStyle(_swigarg0))
static PyObject *_wrap_FX_MenuButton_setButtonStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _arg0;
    FXuint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","style", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuButton_setButtonStyle",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_setButtonStyle. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuButton_setButtonStyle(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuButton_getButtonStyle(_swigobj)  (_swigobj->getButtonStyle())
static PyObject *_wrap_FX_MenuButton_getButtonStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXuint  _result;
    FXMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuButton_getButtonStyle",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_getButtonStyle. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXuint )FX_MenuButton_getButtonStyle(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuButton_setPopupStyle(_swigobj,_swigarg0)  (_swigobj->setPopupStyle(_swigarg0))
static PyObject *_wrap_FX_MenuButton_setPopupStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _arg0;
    FXuint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","style", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuButton_setPopupStyle",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_setPopupStyle. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuButton_setPopupStyle(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuButton_getPopupStyle(_swigobj)  (_swigobj->getPopupStyle())
static PyObject *_wrap_FX_MenuButton_getPopupStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXuint  _result;
    FXMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuButton_getPopupStyle",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_getPopupStyle. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXuint )FX_MenuButton_getPopupStyle(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuButton_setAttachment(_swigobj,_swigarg0)  (_swigobj->setAttachment(_swigarg0))
static PyObject *_wrap_FX_MenuButton_setAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuButton * _arg0;
    FXuint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","att", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FX_MenuButton_setAttachment",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_setAttachment. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuButton_setAttachment(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuButton_getAttachment(_swigobj)  (_swigobj->getAttachment())
static PyObject *_wrap_FX_MenuButton_getAttachment(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXuint  _result;
    FXMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuButton_getAttachment",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuButton_getAttachment. Expected _FXMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXuint )FX_MenuButton_getAttachment(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

static void *SwigFXPyMenuButtonToFXMenuButton(void *ptr) {
    FXPyMenuButton *src;
    FXMenuButton *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXMenuButton *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuButtonToFXLabel(void *ptr) {
    FXPyMenuButton *src;
    FXLabel *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXLabel *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuButtonToFXFrame(void *ptr) {
    FXPyMenuButton *src;
    FXFrame *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXFrame *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuButtonToFXWindow(void *ptr) {
    FXPyMenuButton *src;
    FXWindow *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuButtonToFXDrawable(void *ptr) {
    FXPyMenuButton *src;
    FXDrawable *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuButtonToFXId(void *ptr) {
    FXPyMenuButton *src;
    FXId *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuButtonToFXObject(void *ptr) {
    FXPyMenuButton *src;
    FXObject *dest;
    src = (FXPyMenuButton *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11,_swigarg12) (new FXPyMenuButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10,_swigarg11,_swigarg12))
static PyObject *_wrap_new_FXMenuButton(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXPopup * _arg3 = (FXPopup *) NULL;
    FXuint  _arg4 = (FXuint ) JUSTIFY_NORMAL|ICON_BEFORE_TEXT|(MENUBUTTON_DOWN);
    FXint  _arg5 = (FXint ) 0;
    FXint  _arg6 = (FXint ) 0;
    FXint  _arg7 = (FXint ) 0;
    FXint  _arg8 = (FXint ) 0;
    FXint  _arg9 = (FXint ) DEFAULT_PAD;
    FXint  _arg10 = (FXint ) DEFAULT_PAD;
    FXint  _arg11 = (FXint ) DEFAULT_PAD;
    FXint  _arg12 = (FXint ) DEFAULT_PAD;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "p","text","ic","pup","opts","x","y","w","h","pl","pr","pt","pb", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOiiiiiiiii:new_FXMenuButton",_kwnames,&_argo0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10,&_arg11,&_arg12)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FXMenuButton. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_FXMenuButton. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuButton *)new_FXMenuButton(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9,_arg10,_arg11,_arg12);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuButton_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FXMenuButton_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuButton_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuButton * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuButton_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_onDefault. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuButton_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuButton_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuButton_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_create. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuButton_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_destroy. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuButton_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_detach. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuButton_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuButton_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_resize. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuButton_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_getDefaultWidth. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuButton_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuButton_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuButton_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_getDefaultHeight. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuButton_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuButton_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuButton_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_show. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuButton_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_hide. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuButton_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_enable. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuButton_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_disable. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuButton_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_canFocus. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuButton_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuButton_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuButton_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_setFocus. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuButton_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_killFocus. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuButton_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuButton_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_setDefault. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuButton_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_recalc. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuButton_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_layout. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuButton_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_lower. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuButton_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuButton_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_move. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuButton_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuButton_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_position. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuButton_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_isComposite. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuButton_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuButton_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuButton_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuButton * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuButton_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_contains. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuButton_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuButton_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuButton_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuButton * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuButton_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_getWidthForHeight. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuButton_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuButton_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuButton_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuButton * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuButton_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_getHeightForWidth. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuButton_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuButton_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuButton_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuButton * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuButton_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_doesSaveUnder. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuButton_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuButton_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuButton_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuButton_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_reparent. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuButton_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuButton_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuButton_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuButton * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuButton_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuButton_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuButton_setBackColor. Expected _FXPyMenuButton_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuButton_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static void *SwigFXMenuCascadeToFXMenuCaption(void *ptr) {
    FXMenuCascade *src;
    FXMenuCaption *dest;
    src = (FXMenuCascade *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXMenuCascadeToFXWindow(void *ptr) {
    FXMenuCascade *src;
    FXWindow *dest;
    src = (FXMenuCascade *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuCascadeToFXDrawable(void *ptr) {
    FXMenuCascade *src;
    FXDrawable *dest;
    src = (FXMenuCascade *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuCascadeToFXId(void *ptr) {
    FXMenuCascade *src;
    FXId *dest;
    src = (FXMenuCascade *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuCascadeToFXObject(void *ptr) {
    FXMenuCascade *src;
    FXObject *dest;
    src = (FXMenuCascade *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_MenuCascade_onPaint(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onPaint(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onPaint",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onPaint. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onPaint. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onPaint(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onEnter(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onEnter",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onEnter. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onEnter. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onEnter(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onLeave(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeave(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onLeave",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onLeave. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onLeave. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onLeave(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onTimeout(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onTimeout(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onTimeout",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onTimeout. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onTimeout. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onTimeout(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onButtonPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onButtonPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onButtonPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onButtonPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onButtonPress. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onButtonPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onButtonPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onButtonRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onButtonRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onButtonRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onButtonRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onButtonRelease. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onButtonRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onButtonRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onKeyPress. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onKeyRelease. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onHotKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onHotKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onHotKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onHotKeyPress. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onHotKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onHotKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onHotKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onHotKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onHotKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onHotKeyRelease. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onHotKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onHotKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onCmdPost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdPost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onCmdPost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onCmdPost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onCmdPost. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onCmdPost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onCmdPost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCascade_onCmdUnpost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdUnpost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCascade_onCmdUnpost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCascade_onCmdUnpost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_onCmdUnpost. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCascade_onCmdUnpost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCascade_onCmdUnpost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_FX_MenuCascade(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new FXMenuCascade(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
static PyObject *_wrap_new_FX_MenuCascade(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCascade * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXMenuPane * _arg3 = (FXMenuPane *) NULL;
    FXuint  _arg4 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "p","text","ic","pup","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOi:new_FX_MenuCascade",_kwnames,&_argo0,&_obj1,&_obj2,&_argo3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FX_MenuCascade. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_FXMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_FX_MenuCascade. Expected _FXMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuCascade *)new_FX_MenuCascade(_arg0,*_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuCascade_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuCascade_setMenu(_swigobj,_swigarg0)  (_swigobj->setMenu(_swigarg0))
static PyObject *_wrap_FX_MenuCascade_setMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCascade * _arg0;
    FXPopup * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","pup", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuCascade_setMenu",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_setMenu. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FX_MenuCascade_setMenu. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCascade_setMenu(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCascade_getMenu(_swigobj)  (_swigobj->getMenu())
static PyObject *_wrap_FX_MenuCascade_getMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPopup * _result;
    FXMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCascade_getMenu",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCascade_getMenu. Expected _FXMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPopup *)FX_MenuCascade_getMenu(_arg0);

    FXPy_END_ALLOW_THREADS
}{
    if (_result) {
	_resultobj = FXPyMakeShadowObject(_result);
    } else {
	Py_INCREF(Py_None);
	_resultobj = Py_None;
    }
}
    return _resultobj;
}

static int _wrap_FXMenuCascade__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCascade_deleteType'(FXDragType )");
        return 1; 
    }
    FXMenuCascade::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCascade__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCascade::deleteType);
    return pyobj;
}

static int _wrap_FXMenuCascade__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCascade_textType'(FXDragType )");
        return 1; 
    }
    FXMenuCascade::textType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCascade__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCascade::textType);
    return pyobj;
}

static int _wrap_FXMenuCascade__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCascade_stringType'(FXDragType )");
        return 1; 
    }
    FXMenuCascade::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCascade__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCascade::stringType);
    return pyobj;
}

static int _wrap_FXMenuCascade__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCascade_colorType'(FXDragType )");
        return 1; 
    }
    FXMenuCascade::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCascade__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCascade::colorType);
    return pyobj;
}

static int _wrap_FXMenuCascade__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCascade_urilistType'(FXDragType )");
        return 1; 
    }
    FXMenuCascade::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCascade__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCascade::urilistType);
    return pyobj;
}

static void *SwigFXPyMenuCascadeToFXMenuCascade(void *ptr) {
    FXPyMenuCascade *src;
    FXMenuCascade *dest;
    src = (FXPyMenuCascade *) ptr;
    dest = (FXMenuCascade *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCascadeToFXMenuCaption(void *ptr) {
    FXPyMenuCascade *src;
    FXMenuCaption *dest;
    src = (FXPyMenuCascade *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCascadeToFXWindow(void *ptr) {
    FXPyMenuCascade *src;
    FXWindow *dest;
    src = (FXPyMenuCascade *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCascadeToFXDrawable(void *ptr) {
    FXPyMenuCascade *src;
    FXDrawable *dest;
    src = (FXPyMenuCascade *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCascadeToFXId(void *ptr) {
    FXPyMenuCascade *src;
    FXId *dest;
    src = (FXPyMenuCascade *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCascadeToFXObject(void *ptr) {
    FXPyMenuCascade *src;
    FXObject *dest;
    src = (FXPyMenuCascade *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuCascade(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new FXPyMenuCascade(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
static PyObject *_wrap_new_FXMenuCascade(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXMenuPane * _arg3 = (FXMenuPane *) NULL;
    FXuint  _arg4 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "p","text","ic","pup","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOi:new_FXMenuCascade",_kwnames,&_argo0,&_obj1,&_obj2,&_argo3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FXMenuCascade. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_FXMenuPane_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_FXMenuCascade. Expected _FXMenuPane_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuCascade *)new_FXMenuCascade(_arg0,*_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuCascade_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FXMenuCascade_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuCascade_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuCascade * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuCascade_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_onDefault. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuCascade_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuCascade_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuCascade_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_create. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuCascade_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_destroy. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuCascade_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_detach. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCascade_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCascade_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_resize. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuCascade_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_getDefaultWidth. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCascade_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCascade_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuCascade_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_getDefaultHeight. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCascade_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCascade_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuCascade_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_show. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuCascade_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_hide. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuCascade_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_enable. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuCascade_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_disable. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuCascade_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_canFocus. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCascade_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCascade_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuCascade_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_setFocus. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuCascade_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_killFocus. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuCascade_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuCascade_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_setDefault. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuCascade_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_recalc. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuCascade_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_layout. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuCascade_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_lower. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCascade_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCascade_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_move. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuCascade_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuCascade_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_position. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuCascade_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_isComposite. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCascade_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCascade_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCascade_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCascade * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCascade_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_contains. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCascade_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCascade_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuCascade_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCascade * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCascade_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_getWidthForHeight. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCascade_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCascade_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuCascade_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCascade * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCascade_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_getHeightForWidth. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCascade_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCascade_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuCascade_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCascade * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCascade_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_doesSaveUnder. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCascade_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCascade_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuCascade_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuCascade_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_reparent. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuCascade_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCascade_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuCascade_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCascade * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCascade_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCascade_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCascade_setBackColor. Expected _FXPyMenuCascade_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCascade_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static int _wrap_FXPyMenuCascade__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCascade_deleteType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCascade::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCascade__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCascade::deleteType);
    return pyobj;
}

static int _wrap_FXPyMenuCascade__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCascade_textType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCascade::textType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCascade__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCascade::textType);
    return pyobj;
}

static int _wrap_FXPyMenuCascade__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCascade_stringType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCascade::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCascade__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCascade::stringType);
    return pyobj;
}

static int _wrap_FXPyMenuCascade__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCascade_colorType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCascade::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCascade__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCascade::colorType);
    return pyobj;
}

static int _wrap_FXPyMenuCascade__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCascade_urilistType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCascade::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCascade__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCascade::urilistType);
    return pyobj;
}

static void *SwigFXMenuCommandToFXMenuCaption(void *ptr) {
    FXMenuCommand *src;
    FXMenuCaption *dest;
    src = (FXMenuCommand *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXMenuCommandToFXWindow(void *ptr) {
    FXMenuCommand *src;
    FXWindow *dest;
    src = (FXMenuCommand *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuCommandToFXDrawable(void *ptr) {
    FXMenuCommand *src;
    FXDrawable *dest;
    src = (FXMenuCommand *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuCommandToFXId(void *ptr) {
    FXMenuCommand *src;
    FXId *dest;
    src = (FXMenuCommand *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuCommandToFXObject(void *ptr) {
    FXMenuCommand *src;
    FXObject *dest;
    src = (FXMenuCommand *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_MenuCommand_onPaint(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onPaint(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onPaint",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onPaint. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onPaint. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onPaint(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onEnter(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onEnter",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onEnter. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onEnter. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onEnter(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onLeave(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeave(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onLeave",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onLeave. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onLeave. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onLeave(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onButtonPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onButtonPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onButtonPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onButtonPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onButtonPress. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onButtonPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onButtonPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onButtonRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onButtonRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onButtonRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onButtonRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onButtonRelease. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onButtonRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onButtonRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onKeyPress. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onKeyRelease. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onHotKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onHotKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onHotKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onHotKeyPress. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onHotKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onHotKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onHotKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onHotKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onHotKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onHotKeyRelease. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onHotKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onHotKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onCheck(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCheck(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onCheck(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onCheck",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onCheck. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onCheck. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onCheck(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onUncheck(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onUncheck(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onUncheck(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onUncheck",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onUncheck. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onUncheck. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onUncheck(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onCmdSetValue(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdSetValue(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onCmdSetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onCmdSetValue",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onCmdSetValue. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onCmdSetValue. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onCmdSetValue(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onCmdSetIntValue(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdSetIntValue(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onCmdSetIntValue(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onCmdSetIntValue",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onCmdSetIntValue. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onCmdSetIntValue. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onCmdSetIntValue(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onCmdGetIntValue(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdGetIntValue(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onCmdGetIntValue(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onCmdGetIntValue",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onCmdGetIntValue. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onCmdGetIntValue. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onCmdGetIntValue(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuCommand_onCmdAccel(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdAccel(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuCommand_onCmdAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuCommand_onCmdAccel",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_onCmdAccel. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuCommand_onCmdAccel. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuCommand_onCmdAccel(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_FX_MenuCommand(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new FXMenuCommand(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_FX_MenuCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCommand * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXObject * _arg3 = (FXObject *) NULL;
    FXSelector  _arg4 = (FXSelector ) 0;
    FXuint  _arg5 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "p","text","ic","tgt","sel","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOii:new_FX_MenuCommand",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_arg4,&_arg5)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FX_MenuCommand. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_obj3)
{
    if (_obj3 == Py_None)
	_arg3 = NULL;
    else
	SWIG_GetPtrObj(_obj3, (void**) &_arg3, "_FXObject_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuCommand *)new_FX_MenuCommand(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuCommand_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuCommand_check(_swigobj)  (_swigobj->check())
static PyObject *_wrap_FX_MenuCommand_check(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_check",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_check. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCommand_check(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCommand_uncheck(_swigobj)  (_swigobj->uncheck())
static PyObject *_wrap_FX_MenuCommand_uncheck(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_uncheck",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_uncheck. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCommand_uncheck(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCommand_isChecked(_swigobj)  (_swigobj->isChecked())
static PyObject *_wrap_FX_MenuCommand_isChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_isChecked",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_isChecked. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FX_MenuCommand_isChecked(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCommand_checkRadio(_swigobj)  (_swigobj->checkRadio())
static PyObject *_wrap_FX_MenuCommand_checkRadio(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_checkRadio",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_checkRadio. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCommand_checkRadio(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCommand_uncheckRadio(_swigobj)  (_swigobj->uncheckRadio())
static PyObject *_wrap_FX_MenuCommand_uncheckRadio(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_uncheckRadio",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_uncheckRadio. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCommand_uncheckRadio(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuCommand_isRadioChecked(_swigobj)  (_swigobj->isRadioChecked())
static PyObject *_wrap_FX_MenuCommand_isRadioChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_isRadioChecked",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_isRadioChecked. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FX_MenuCommand_isRadioChecked(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FX_MenuCommand_setAccelText(_swigobj,_swigarg0)  (_swigobj->setAccelText(_swigarg0))
static PyObject *_wrap_FX_MenuCommand_setAccelText(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuCommand * _arg0;
    FXString * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    char *_kwnames[] = { "self","text", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuCommand_setAccelText",_kwnames,&_argo0,&_obj1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_setAccelText. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuCommand_setAccelText(_arg0,*_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuCommand_getAccelText(_swigobj)  (_swigobj->getAccelText())
static PyObject *_wrap_FX_MenuCommand_getAccelText(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXString * _result;
    FXMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuCommand_getAccelText",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuCommand_getAccelText. Expected _FXMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = new FXString (FX_MenuCommand_getAccelText(_arg0));

    FXPy_END_ALLOW_THREADS
}{
    _resultobj = PyString_FromString(_result->text());
}
{
    delete _result;
}
    return _resultobj;
}

static int _wrap_FXMenuCommand__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCommand_deleteType'(FXDragType )");
        return 1; 
    }
    FXMenuCommand::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCommand__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCommand::deleteType);
    return pyobj;
}

static int _wrap_FXMenuCommand__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCommand_textType'(FXDragType )");
        return 1; 
    }
    FXMenuCommand::textType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCommand__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCommand::textType);
    return pyobj;
}

static int _wrap_FXMenuCommand__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCommand_stringType'(FXDragType )");
        return 1; 
    }
    FXMenuCommand::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCommand__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCommand::stringType);
    return pyobj;
}

static int _wrap_FXMenuCommand__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCommand_colorType'(FXDragType )");
        return 1; 
    }
    FXMenuCommand::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCommand__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCommand::colorType);
    return pyobj;
}

static int _wrap_FXMenuCommand__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuCommand_urilistType'(FXDragType )");
        return 1; 
    }
    FXMenuCommand::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuCommand__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuCommand::urilistType);
    return pyobj;
}

static void *SwigFXPyMenuCommandToFXMenuCommand(void *ptr) {
    FXPyMenuCommand *src;
    FXMenuCommand *dest;
    src = (FXPyMenuCommand *) ptr;
    dest = (FXMenuCommand *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCommandToFXMenuCaption(void *ptr) {
    FXPyMenuCommand *src;
    FXMenuCaption *dest;
    src = (FXPyMenuCommand *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCommandToFXWindow(void *ptr) {
    FXPyMenuCommand *src;
    FXWindow *dest;
    src = (FXPyMenuCommand *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCommandToFXDrawable(void *ptr) {
    FXPyMenuCommand *src;
    FXDrawable *dest;
    src = (FXPyMenuCommand *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCommandToFXId(void *ptr) {
    FXPyMenuCommand *src;
    FXId *dest;
    src = (FXPyMenuCommand *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuCommandToFXObject(void *ptr) {
    FXPyMenuCommand *src;
    FXObject *dest;
    src = (FXPyMenuCommand *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuCommand(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new FXPyMenuCommand(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_FXMenuCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXObject * _arg3 = (FXObject *) NULL;
    FXSelector  _arg4 = (FXSelector ) 0;
    FXuint  _arg5 = (FXuint ) 0;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "p","text","ic","tgt","sel","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOii:new_FXMenuCommand",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3,&_arg4,&_arg5)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FXMenuCommand. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_obj3)
{
    if (_obj3 == Py_None)
	_arg3 = NULL;
    else
	SWIG_GetPtrObj(_obj3, (void**) &_arg3, "_FXObject_p");
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuCommand *)new_FXMenuCommand(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuCommand_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FXMenuCommand_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuCommand_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuCommand * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuCommand_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_onDefault. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuCommand_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuCommand_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuCommand_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_create. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuCommand_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_destroy. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuCommand_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_detach. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCommand_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCommand_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_resize. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuCommand_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_getDefaultWidth. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCommand_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCommand_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuCommand_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_getDefaultHeight. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCommand_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCommand_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuCommand_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_show. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuCommand_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_hide. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuCommand_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_enable. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuCommand_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_disable. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuCommand_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_canFocus. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCommand_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCommand_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuCommand_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_setFocus. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuCommand_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_killFocus. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuCommand_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuCommand_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_setDefault. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuCommand_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_recalc. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuCommand_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_layout. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuCommand_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_lower. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCommand_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCommand_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_move. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuCommand_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuCommand_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_position. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuCommand_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_isComposite. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCommand_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCommand_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuCommand_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCommand * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuCommand_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_contains. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCommand_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCommand_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuCommand_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCommand * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCommand_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_getWidthForHeight. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCommand_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCommand_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuCommand_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuCommand * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCommand_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_getHeightForWidth. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuCommand_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuCommand_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuCommand_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuCommand * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuCommand_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_doesSaveUnder. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuCommand_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuCommand_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuCommand_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuCommand_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_reparent. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuCommand_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuCommand_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuCommand_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuCommand * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuCommand_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuCommand_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuCommand_setBackColor. Expected _FXPyMenuCommand_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuCommand_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static int _wrap_FXPyMenuCommand__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCommand_deleteType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCommand::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCommand__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCommand::deleteType);
    return pyobj;
}

static int _wrap_FXPyMenuCommand__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCommand_textType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCommand::textType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCommand__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCommand::textType);
    return pyobj;
}

static int _wrap_FXPyMenuCommand__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCommand_stringType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCommand::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCommand__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCommand::stringType);
    return pyobj;
}

static int _wrap_FXPyMenuCommand__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCommand_colorType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCommand::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCommand__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCommand::colorType);
    return pyobj;
}

static int _wrap_FXPyMenuCommand__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuCommand_urilistType'(FXDragType )");
        return 1; 
    }
    FXPyMenuCommand::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuCommand__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuCommand::urilistType);
    return pyobj;
}

static void *SwigFXMenuTitleToFXMenuCaption(void *ptr) {
    FXMenuTitle *src;
    FXMenuCaption *dest;
    src = (FXMenuTitle *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXMenuTitleToFXWindow(void *ptr) {
    FXMenuTitle *src;
    FXWindow *dest;
    src = (FXMenuTitle *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXMenuTitleToFXDrawable(void *ptr) {
    FXMenuTitle *src;
    FXDrawable *dest;
    src = (FXMenuTitle *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXMenuTitleToFXId(void *ptr) {
    FXMenuTitle *src;
    FXId *dest;
    src = (FXMenuTitle *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXMenuTitleToFXObject(void *ptr) {
    FXMenuTitle *src;
    FXObject *dest;
    src = (FXMenuTitle *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define FX_MenuTitle_onPaint(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onPaint(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onPaint",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onPaint. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onPaint. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onPaint(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onEnter(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onEnter(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onEnter",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onEnter. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onEnter. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onEnter(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onLeave(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeave(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onLeave",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onLeave. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onLeave. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onLeave(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onLeftBtnPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeftBtnPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onLeftBtnPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onLeftBtnPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onLeftBtnPress. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onLeftBtnPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onLeftBtnPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onLeftBtnRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onLeftBtnRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onLeftBtnRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onLeftBtnRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onLeftBtnRelease. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onLeftBtnRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onLeftBtnRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onKeyPress. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onKeyRelease. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onHotKeyPress(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyPress(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onHotKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onHotKeyPress",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onHotKeyPress. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onHotKeyPress. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onHotKeyPress(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onHotKeyRelease(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onHotKeyRelease(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onHotKeyRelease(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onHotKeyRelease",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onHotKeyRelease. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onHotKeyRelease. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onHotKeyRelease(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onFocusUp(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusUp(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onFocusUp(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onFocusUp",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onFocusUp. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onFocusUp. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onFocusUp(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onFocusDown(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusDown(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onFocusDown(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onFocusDown",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onFocusDown. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onFocusDown. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onFocusDown(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onFocusIn(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusIn(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onFocusIn(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onFocusIn",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onFocusIn. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onFocusIn. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onFocusIn(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onFocusOut(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onFocusOut(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onFocusOut(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onFocusOut",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onFocusOut. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onFocusOut. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onFocusOut(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onCmdPost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdPost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onCmdPost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onCmdPost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onCmdPost. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onCmdPost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onCmdPost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FX_MenuTitle_onCmdUnpost(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->onCmdUnpost(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FX_MenuTitle_onCmdUnpost(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","arg4", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FX_MenuTitle_onCmdUnpost",_kwnames,&_argo0,&_obj1,&_arg2,&_argo3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_onCmdUnpost. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,(char *) 0 )) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of FX_MenuTitle_onCmdUnpost. Expected _void_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FX_MenuTitle_onCmdUnpost(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define new_FX_MenuTitle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new FXMenuTitle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
static PyObject *_wrap_new_FX_MenuTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuTitle * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXPopup * _arg3 = (FXPopup *) NULL;
    FXuint  _arg4 = (FXuint ) LAYOUT_LEFT;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "p","text","ic","pup","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOi:new_FX_MenuTitle",_kwnames,&_argo0,&_obj1,&_obj2,&_argo3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FX_MenuTitle. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_FX_MenuTitle. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXMenuTitle *)new_FX_MenuTitle(_arg0,*_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXMenuTitle_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FX_MenuTitle_setMenu(_swigobj,_swigarg0)  (_swigobj->setMenu(_swigarg0))
static PyObject *_wrap_FX_MenuTitle_setMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXMenuTitle * _arg0;
    FXPopup * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","menu", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FX_MenuTitle_setMenu",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_setMenu. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FX_MenuTitle_setMenu. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FX_MenuTitle_setMenu(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FX_MenuTitle_getMenu(_swigobj)  (_swigobj->getMenu())
static PyObject *_wrap_FX_MenuTitle_getMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPopup * _result;
    FXMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FX_MenuTitle_getMenu",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FX_MenuTitle_getMenu. Expected _FXMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPopup *)FX_MenuTitle_getMenu(_arg0);

    FXPy_END_ALLOW_THREADS
}{
    if (_result) {
	_resultobj = FXPyMakeShadowObject(_result);
    } else {
	Py_INCREF(Py_None);
	_resultobj = Py_None;
    }
}
    return _resultobj;
}

static int _wrap_FXMenuTitle__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuTitle_deleteType'(FXDragType )");
        return 1; 
    }
    FXMenuTitle::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuTitle__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuTitle::deleteType);
    return pyobj;
}

static int _wrap_FXMenuTitle__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuTitle_textType'(FXDragType )");
        return 1; 
    }
    FXMenuTitle::textType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuTitle__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuTitle::textType);
    return pyobj;
}

static int _wrap_FXMenuTitle__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuTitle_stringType'(FXDragType )");
        return 1; 
    }
    FXMenuTitle::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuTitle__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuTitle::stringType);
    return pyobj;
}

static int _wrap_FXMenuTitle__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuTitle_colorType'(FXDragType )");
        return 1; 
    }
    FXMenuTitle::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuTitle__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuTitle::colorType);
    return pyobj;
}

static int _wrap_FXMenuTitle__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FX_MenuTitle_urilistType'(FXDragType )");
        return 1; 
    }
    FXMenuTitle::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXMenuTitle__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXMenuTitle::urilistType);
    return pyobj;
}

static void *SwigFXPyMenuTitleToFXMenuTitle(void *ptr) {
    FXPyMenuTitle *src;
    FXMenuTitle *dest;
    src = (FXPyMenuTitle *) ptr;
    dest = (FXMenuTitle *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuTitleToFXMenuCaption(void *ptr) {
    FXPyMenuTitle *src;
    FXMenuCaption *dest;
    src = (FXPyMenuTitle *) ptr;
    dest = (FXMenuCaption *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuTitleToFXWindow(void *ptr) {
    FXPyMenuTitle *src;
    FXWindow *dest;
    src = (FXPyMenuTitle *) ptr;
    dest = (FXWindow *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuTitleToFXDrawable(void *ptr) {
    FXPyMenuTitle *src;
    FXDrawable *dest;
    src = (FXPyMenuTitle *) ptr;
    dest = (FXDrawable *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuTitleToFXId(void *ptr) {
    FXPyMenuTitle *src;
    FXId *dest;
    src = (FXPyMenuTitle *) ptr;
    dest = (FXId *) src;
    return (void *) dest;
}

static void *SwigFXPyMenuTitleToFXObject(void *ptr) {
    FXPyMenuTitle *src;
    FXObject *dest;
    src = (FXPyMenuTitle *) ptr;
    dest = (FXObject *) src;
    return (void *) dest;
}

#define new_FXMenuTitle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new FXPyMenuTitle(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
static PyObject *_wrap_new_FXMenuTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _result;
    FXComposite * _arg0;
    FXString * _arg1;
    FXIcon * _arg2 = (FXIcon *) NULL;
    FXPopup * _arg3 = (FXPopup *) NULL;
    FXuint  _arg4 = (FXuint ) LAYOUT_LEFT;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj2 = 0;
    PyObject * _argo3 = 0;
    char *_kwnames[] = { "p","text","ic","pup","opts", NULL };
    char _ptemp[128];

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|OOi:new_FXMenuTitle",_kwnames,&_argo0,&_obj1,&_obj2,&_argo3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_FXMenuTitle. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = new FXString;
    else if (!PyString_Check(_obj1)) {
	PyErr_SetString(PyExc_TypeError, "not a string");
	return NULL;
    }
    else
	_arg1 = new FXString(PyString_AsString(_obj1));
}
    if (_obj2)
{
    if (_obj2 == Py_None)
	_arg2 = NULL;
    else
	SWIG_GetPtrObj(_obj2, (void**) &_arg2, "_FXIcon_p");
}
    if (_argo3) {
        if (_argo3 == Py_None) { _arg3 = NULL; }
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_FXPopup_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_FXMenuTitle. Expected _FXPopup_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXPyMenuTitle *)new_FXMenuTitle(_arg0,*_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    if (_result) {
        SWIG_MakePtr(_ptemp, (char *) _result,"_FXPyMenuTitle_p");
        _resultobj = Py_BuildValue("s",_ptemp);
    } else {
        Py_INCREF(Py_None);
        _resultobj = Py_None;
    }
{
    delete _arg1;
}
    return _resultobj;
}

#define FXMenuTitle_onDefault(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->_onDefault(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_FXMenuTitle_onDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    long  _result;
    FXPyMenuTitle * _arg0;
    FXObject * _arg1;
    FXSelector  _arg2;
    void * _arg3;
    PyObject * _argo0 = 0;
    PyObject * _obj1 = 0;
    PyObject * _obj3 = 0;
    char *_kwnames[] = { "self","arg2","arg3","ptr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO:FXMenuTitle_onDefault",_kwnames,&_argo0,&_obj1,&_arg2,&_obj3)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_onDefault. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    if (_obj1 == Py_None)
	_arg1 = NULL;
    else
	SWIG_GetPtrObj(_obj1, (void**) &_arg1, "_FXObject_p");
}
{
    _arg3 = NULL;
    if (PyObject_HasAttrString(_obj3, "this")) {
	PyObject *obj = PyObject_GetAttrString(_obj3, "this");
	char *str = PyString_AsString(obj);
	if (str) {
	    if (!strcmp(str, "NULL"))
		_arg3 = NULL;
	}
	else
	    _arg3 = (void*) _obj3;
	Py_DECREF(obj);
    }
    else
	_arg3 = (void*) _obj3;
}
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (long )FXMenuTitle_onDefault(_arg0,_arg1,_arg2,_arg3);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("l",_result);
    return _resultobj;
}

#define FXMenuTitle_create(_swigobj)  (_swigobj->_create())
static PyObject *_wrap_FXMenuTitle_create(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_create",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_create. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_create(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_destroy(_swigobj)  (_swigobj->_destroy())
static PyObject *_wrap_FXMenuTitle_destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_destroy",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_destroy. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_destroy(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_detach(_swigobj)  (_swigobj->_detach())
static PyObject *_wrap_FXMenuTitle_detach(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_detach",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_detach. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_detach(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_resize(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_resize(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuTitle_resize(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuTitle_resize",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_resize. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_resize(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_getDefaultWidth(_swigobj)  (_swigobj->_getDefaultWidth())
static PyObject *_wrap_FXMenuTitle_getDefaultWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_getDefaultWidth",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_getDefaultWidth. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuTitle_getDefaultWidth(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuTitle_getDefaultHeight(_swigobj)  (_swigobj->_getDefaultHeight())
static PyObject *_wrap_FXMenuTitle_getDefaultHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_getDefaultHeight",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_getDefaultHeight. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuTitle_getDefaultHeight(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuTitle_show(_swigobj)  (_swigobj->_show())
static PyObject *_wrap_FXMenuTitle_show(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_show",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_show. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_show(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_hide(_swigobj)  (_swigobj->_hide())
static PyObject *_wrap_FXMenuTitle_hide(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_hide",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_hide. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_hide(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_enable(_swigobj)  (_swigobj->_enable())
static PyObject *_wrap_FXMenuTitle_enable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_enable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_enable. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_enable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_disable(_swigobj)  (_swigobj->_disable())
static PyObject *_wrap_FXMenuTitle_disable(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_disable",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_disable. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_disable(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_canFocus(_swigobj)  (_swigobj->_canFocus())
static PyObject *_wrap_FXMenuTitle_canFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_canFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_canFocus. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuTitle_canFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuTitle_setFocus(_swigobj)  (_swigobj->_setFocus())
static PyObject *_wrap_FXMenuTitle_setFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_setFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_setFocus. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_setFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_killFocus(_swigobj)  (_swigobj->_killFocus())
static PyObject *_wrap_FXMenuTitle_killFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_killFocus",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_killFocus. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_killFocus(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_setDefault(_swigobj,_swigarg0)  (_swigobj->_setDefault(_swigarg0))
static PyObject *_wrap_FXMenuTitle_setDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    FXbool  _arg1 = (FXbool ) TRUE;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","enable", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|b:FXMenuTitle_setDefault",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_setDefault. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_setDefault(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_recalc(_swigobj)  (_swigobj->_recalc())
static PyObject *_wrap_FXMenuTitle_recalc(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_recalc",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_recalc. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_recalc(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_layout(_swigobj)  (_swigobj->_layout())
static PyObject *_wrap_FXMenuTitle_layout(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_layout",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_layout. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_layout(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_lower(_swigobj)  (_swigobj->_lowerWindow())
static PyObject *_wrap_FXMenuTitle_lower(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_lower",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_lower. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_lower(_arg0);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_move(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_move(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuTitle_move(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuTitle_move",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_move. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_move(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_position(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->_position(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
static PyObject *_wrap_FXMenuTitle_position(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    FXint  _arg3;
    FXint  _arg4;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y","w","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:FXMenuTitle_position",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_position. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_position(_arg0,_arg1,_arg2,_arg3,_arg4);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_isComposite(_swigobj)  (_swigobj->_isComposite())
static PyObject *_wrap_FXMenuTitle_isComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_isComposite",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_isComposite. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuTitle_isComposite(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuTitle_contains(_swigobj,_swigarg0,_swigarg1)  (_swigobj->_contains(_swigarg0,_swigarg1))
static PyObject *_wrap_FXMenuTitle_contains(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuTitle * _arg0;
    FXint  _arg1;
    FXint  _arg2;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","x","y", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:FXMenuTitle_contains",_kwnames,&_argo0,&_arg1,&_arg2)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_contains. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuTitle_contains(_arg0,_arg1,_arg2);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuTitle_getWidthForHeight(_swigobj,_swigarg0)  (_swigobj->_getWidthForHeight(_swigarg0))
static PyObject *_wrap_FXMenuTitle_getWidthForHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuTitle * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","h", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuTitle_getWidthForHeight",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_getWidthForHeight. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuTitle_getWidthForHeight(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuTitle_getHeightForWidth(_swigobj,_swigarg0)  (_swigobj->_getHeightForWidth(_swigarg0))
static PyObject *_wrap_FXMenuTitle_getHeightForWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXint  _result;
    FXPyMenuTitle * _arg0;
    FXint  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","w", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuTitle_getHeightForWidth",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_getHeightForWidth. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXint )FXMenuTitle_getHeightForWidth(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("i",_result);
    return _resultobj;
}

#define FXMenuTitle_doesSaveUnder(_swigobj)  (_swigobj->_doesSaveUnder())
static PyObject *_wrap_FXMenuTitle_doesSaveUnder(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXbool  _result;
    FXPyMenuTitle * _arg0;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:FXMenuTitle_doesSaveUnder",_kwnames,&_argo0)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_doesSaveUnder. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        _result = (FXbool )FXMenuTitle_doesSaveUnder(_arg0);

    FXPy_END_ALLOW_THREADS
}    _resultobj = Py_BuildValue("b",_result);
    return _resultobj;
}

#define FXMenuTitle_reparent(_swigobj,_swigarg0)  (_swigobj->_reparent(_swigarg0))
static PyObject *_wrap_FXMenuTitle_reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    FXComposite * _arg1;
    PyObject * _argo0 = 0;
    PyObject * _argo1 = 0;
    char *_kwnames[] = { "self","newparent", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:FXMenuTitle_reparent",_kwnames,&_argo0,&_argo1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_reparent. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
    if (_argo1) {
        if (_argo1 == Py_None) { _arg1 = NULL; }
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_FXComposite_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of FXMenuTitle_reparent. Expected _FXComposite_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_reparent(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

#define FXMenuTitle_setBackColor(_swigobj,_swigarg0)  (_swigobj->_setBackColor(_swigarg0))
static PyObject *_wrap_FXMenuTitle_setBackColor(PyObject *self, PyObject *args, PyObject *kwargs) {
    PyObject * _resultobj;
    FXPyMenuTitle * _arg0;
    FXColor  _arg1;
    PyObject * _argo0 = 0;
    char *_kwnames[] = { "self","clr", NULL };

    self = self;
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:FXMenuTitle_setBackColor",_kwnames,&_argo0,&_arg1)) 
        return NULL;
    if (_argo0) {
        if (_argo0 == Py_None) { _arg0 = NULL; }
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_FXPyMenuTitle_p")) {
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of FXMenuTitle_setBackColor. Expected _FXPyMenuTitle_p.");
        return NULL;
        }
    }
{
    FXPy_BEGIN_ALLOW_THREADS
        FXMenuTitle_setBackColor(_arg0,_arg1);

    FXPy_END_ALLOW_THREADS
}    Py_INCREF(Py_None);
    _resultobj = Py_None;
    return _resultobj;
}

static int _wrap_FXPyMenuTitle__deleteType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuTitle_deleteType'(FXDragType )");
        return 1; 
    }
    FXPyMenuTitle::deleteType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuTitle__deleteType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuTitle::deleteType);
    return pyobj;
}

static int _wrap_FXPyMenuTitle__textType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuTitle_textType'(FXDragType )");
        return 1; 
    }
    FXPyMenuTitle::textType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuTitle__textType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuTitle::textType);
    return pyobj;
}

static int _wrap_FXPyMenuTitle__stringType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuTitle_stringType'(FXDragType )");
        return 1; 
    }
    FXPyMenuTitle::stringType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuTitle__stringType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuTitle::stringType);
    return pyobj;
}

static int _wrap_FXPyMenuTitle__colorType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuTitle_colorType'(FXDragType )");
        return 1; 
    }
    FXPyMenuTitle::colorType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuTitle__colorType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuTitle::colorType);
    return pyobj;
}

static int _wrap_FXPyMenuTitle__urilistType_set(PyObject *val) {
    FXDragType  tval;

    tval = (FXDragType )PyInt_AsLong(val);
    if (PyErr_Occurred()) {
        PyErr_SetString(PyExc_TypeError,"C variable 'FXMenuTitle_urilistType'(FXDragType )");
        return 1; 
    }
    FXPyMenuTitle::urilistType = tval;
    return 0;
}

static PyObject *_wrap_FXPyMenuTitle__urilistType_get() {
    PyObject * pyobj;

    pyobj = PyInt_FromLong((long) FXPyMenuTitle::urilistType);
    return pyobj;
}

static PyMethodDef menuscMethods[] = {
	 { "FXMenuTitle_setBackColor", (PyCFunction) _wrap_FXMenuTitle_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_reparent", (PyCFunction) _wrap_FXMenuTitle_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_doesSaveUnder", (PyCFunction) _wrap_FXMenuTitle_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_getHeightForWidth", (PyCFunction) _wrap_FXMenuTitle_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_getWidthForHeight", (PyCFunction) _wrap_FXMenuTitle_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_contains", (PyCFunction) _wrap_FXMenuTitle_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_isComposite", (PyCFunction) _wrap_FXMenuTitle_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_position", (PyCFunction) _wrap_FXMenuTitle_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_move", (PyCFunction) _wrap_FXMenuTitle_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_lower", (PyCFunction) _wrap_FXMenuTitle_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_layout", (PyCFunction) _wrap_FXMenuTitle_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_recalc", (PyCFunction) _wrap_FXMenuTitle_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_setDefault", (PyCFunction) _wrap_FXMenuTitle_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_killFocus", (PyCFunction) _wrap_FXMenuTitle_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_setFocus", (PyCFunction) _wrap_FXMenuTitle_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_canFocus", (PyCFunction) _wrap_FXMenuTitle_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_disable", (PyCFunction) _wrap_FXMenuTitle_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_enable", (PyCFunction) _wrap_FXMenuTitle_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_hide", (PyCFunction) _wrap_FXMenuTitle_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_show", (PyCFunction) _wrap_FXMenuTitle_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_getDefaultHeight", (PyCFunction) _wrap_FXMenuTitle_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_getDefaultWidth", (PyCFunction) _wrap_FXMenuTitle_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_resize", (PyCFunction) _wrap_FXMenuTitle_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_detach", (PyCFunction) _wrap_FXMenuTitle_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_destroy", (PyCFunction) _wrap_FXMenuTitle_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_create", (PyCFunction) _wrap_FXMenuTitle_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuTitle_onDefault", (PyCFunction) _wrap_FXMenuTitle_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuTitle", (PyCFunction) _wrap_new_FXMenuTitle, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_getMenu", (PyCFunction) _wrap_FX_MenuTitle_getMenu, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_setMenu", (PyCFunction) _wrap_FX_MenuTitle_setMenu, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuTitle", (PyCFunction) _wrap_new_FX_MenuTitle, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onCmdUnpost", (PyCFunction) _wrap_FX_MenuTitle_onCmdUnpost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onCmdPost", (PyCFunction) _wrap_FX_MenuTitle_onCmdPost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onFocusOut", (PyCFunction) _wrap_FX_MenuTitle_onFocusOut, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onFocusIn", (PyCFunction) _wrap_FX_MenuTitle_onFocusIn, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onFocusDown", (PyCFunction) _wrap_FX_MenuTitle_onFocusDown, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onFocusUp", (PyCFunction) _wrap_FX_MenuTitle_onFocusUp, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onHotKeyRelease", (PyCFunction) _wrap_FX_MenuTitle_onHotKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onHotKeyPress", (PyCFunction) _wrap_FX_MenuTitle_onHotKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onKeyRelease", (PyCFunction) _wrap_FX_MenuTitle_onKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onKeyPress", (PyCFunction) _wrap_FX_MenuTitle_onKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onLeftBtnRelease", (PyCFunction) _wrap_FX_MenuTitle_onLeftBtnRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onLeftBtnPress", (PyCFunction) _wrap_FX_MenuTitle_onLeftBtnPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onLeave", (PyCFunction) _wrap_FX_MenuTitle_onLeave, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onEnter", (PyCFunction) _wrap_FX_MenuTitle_onEnter, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuTitle_onPaint", (PyCFunction) _wrap_FX_MenuTitle_onPaint, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_setBackColor", (PyCFunction) _wrap_FXMenuCommand_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_reparent", (PyCFunction) _wrap_FXMenuCommand_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_doesSaveUnder", (PyCFunction) _wrap_FXMenuCommand_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_getHeightForWidth", (PyCFunction) _wrap_FXMenuCommand_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_getWidthForHeight", (PyCFunction) _wrap_FXMenuCommand_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_contains", (PyCFunction) _wrap_FXMenuCommand_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_isComposite", (PyCFunction) _wrap_FXMenuCommand_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_position", (PyCFunction) _wrap_FXMenuCommand_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_move", (PyCFunction) _wrap_FXMenuCommand_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_lower", (PyCFunction) _wrap_FXMenuCommand_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_layout", (PyCFunction) _wrap_FXMenuCommand_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_recalc", (PyCFunction) _wrap_FXMenuCommand_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_setDefault", (PyCFunction) _wrap_FXMenuCommand_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_killFocus", (PyCFunction) _wrap_FXMenuCommand_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_setFocus", (PyCFunction) _wrap_FXMenuCommand_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_canFocus", (PyCFunction) _wrap_FXMenuCommand_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_disable", (PyCFunction) _wrap_FXMenuCommand_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_enable", (PyCFunction) _wrap_FXMenuCommand_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_hide", (PyCFunction) _wrap_FXMenuCommand_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_show", (PyCFunction) _wrap_FXMenuCommand_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_getDefaultHeight", (PyCFunction) _wrap_FXMenuCommand_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_getDefaultWidth", (PyCFunction) _wrap_FXMenuCommand_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_resize", (PyCFunction) _wrap_FXMenuCommand_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_detach", (PyCFunction) _wrap_FXMenuCommand_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_destroy", (PyCFunction) _wrap_FXMenuCommand_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_create", (PyCFunction) _wrap_FXMenuCommand_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCommand_onDefault", (PyCFunction) _wrap_FXMenuCommand_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuCommand", (PyCFunction) _wrap_new_FXMenuCommand, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_getAccelText", (PyCFunction) _wrap_FX_MenuCommand_getAccelText, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_setAccelText", (PyCFunction) _wrap_FX_MenuCommand_setAccelText, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_isRadioChecked", (PyCFunction) _wrap_FX_MenuCommand_isRadioChecked, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_uncheckRadio", (PyCFunction) _wrap_FX_MenuCommand_uncheckRadio, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_checkRadio", (PyCFunction) _wrap_FX_MenuCommand_checkRadio, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_isChecked", (PyCFunction) _wrap_FX_MenuCommand_isChecked, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_uncheck", (PyCFunction) _wrap_FX_MenuCommand_uncheck, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_check", (PyCFunction) _wrap_FX_MenuCommand_check, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuCommand", (PyCFunction) _wrap_new_FX_MenuCommand, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onCmdAccel", (PyCFunction) _wrap_FX_MenuCommand_onCmdAccel, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onCmdGetIntValue", (PyCFunction) _wrap_FX_MenuCommand_onCmdGetIntValue, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onCmdSetIntValue", (PyCFunction) _wrap_FX_MenuCommand_onCmdSetIntValue, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onCmdSetValue", (PyCFunction) _wrap_FX_MenuCommand_onCmdSetValue, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onUncheck", (PyCFunction) _wrap_FX_MenuCommand_onUncheck, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onCheck", (PyCFunction) _wrap_FX_MenuCommand_onCheck, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onHotKeyRelease", (PyCFunction) _wrap_FX_MenuCommand_onHotKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onHotKeyPress", (PyCFunction) _wrap_FX_MenuCommand_onHotKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onKeyRelease", (PyCFunction) _wrap_FX_MenuCommand_onKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onKeyPress", (PyCFunction) _wrap_FX_MenuCommand_onKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onButtonRelease", (PyCFunction) _wrap_FX_MenuCommand_onButtonRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onButtonPress", (PyCFunction) _wrap_FX_MenuCommand_onButtonPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onLeave", (PyCFunction) _wrap_FX_MenuCommand_onLeave, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onEnter", (PyCFunction) _wrap_FX_MenuCommand_onEnter, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCommand_onPaint", (PyCFunction) _wrap_FX_MenuCommand_onPaint, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_setBackColor", (PyCFunction) _wrap_FXMenuCascade_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_reparent", (PyCFunction) _wrap_FXMenuCascade_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_doesSaveUnder", (PyCFunction) _wrap_FXMenuCascade_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_getHeightForWidth", (PyCFunction) _wrap_FXMenuCascade_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_getWidthForHeight", (PyCFunction) _wrap_FXMenuCascade_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_contains", (PyCFunction) _wrap_FXMenuCascade_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_isComposite", (PyCFunction) _wrap_FXMenuCascade_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_position", (PyCFunction) _wrap_FXMenuCascade_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_move", (PyCFunction) _wrap_FXMenuCascade_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_lower", (PyCFunction) _wrap_FXMenuCascade_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_layout", (PyCFunction) _wrap_FXMenuCascade_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_recalc", (PyCFunction) _wrap_FXMenuCascade_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_setDefault", (PyCFunction) _wrap_FXMenuCascade_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_killFocus", (PyCFunction) _wrap_FXMenuCascade_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_setFocus", (PyCFunction) _wrap_FXMenuCascade_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_canFocus", (PyCFunction) _wrap_FXMenuCascade_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_disable", (PyCFunction) _wrap_FXMenuCascade_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_enable", (PyCFunction) _wrap_FXMenuCascade_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_hide", (PyCFunction) _wrap_FXMenuCascade_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_show", (PyCFunction) _wrap_FXMenuCascade_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_getDefaultHeight", (PyCFunction) _wrap_FXMenuCascade_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_getDefaultWidth", (PyCFunction) _wrap_FXMenuCascade_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_resize", (PyCFunction) _wrap_FXMenuCascade_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_detach", (PyCFunction) _wrap_FXMenuCascade_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_destroy", (PyCFunction) _wrap_FXMenuCascade_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_create", (PyCFunction) _wrap_FXMenuCascade_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCascade_onDefault", (PyCFunction) _wrap_FXMenuCascade_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuCascade", (PyCFunction) _wrap_new_FXMenuCascade, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_getMenu", (PyCFunction) _wrap_FX_MenuCascade_getMenu, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_setMenu", (PyCFunction) _wrap_FX_MenuCascade_setMenu, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuCascade", (PyCFunction) _wrap_new_FX_MenuCascade, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onCmdUnpost", (PyCFunction) _wrap_FX_MenuCascade_onCmdUnpost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onCmdPost", (PyCFunction) _wrap_FX_MenuCascade_onCmdPost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onHotKeyRelease", (PyCFunction) _wrap_FX_MenuCascade_onHotKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onHotKeyPress", (PyCFunction) _wrap_FX_MenuCascade_onHotKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onKeyRelease", (PyCFunction) _wrap_FX_MenuCascade_onKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onKeyPress", (PyCFunction) _wrap_FX_MenuCascade_onKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onButtonRelease", (PyCFunction) _wrap_FX_MenuCascade_onButtonRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onButtonPress", (PyCFunction) _wrap_FX_MenuCascade_onButtonPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onTimeout", (PyCFunction) _wrap_FX_MenuCascade_onTimeout, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onLeave", (PyCFunction) _wrap_FX_MenuCascade_onLeave, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onEnter", (PyCFunction) _wrap_FX_MenuCascade_onEnter, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCascade_onPaint", (PyCFunction) _wrap_FX_MenuCascade_onPaint, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_setBackColor", (PyCFunction) _wrap_FXMenuButton_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_reparent", (PyCFunction) _wrap_FXMenuButton_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_doesSaveUnder", (PyCFunction) _wrap_FXMenuButton_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_getHeightForWidth", (PyCFunction) _wrap_FXMenuButton_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_getWidthForHeight", (PyCFunction) _wrap_FXMenuButton_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_contains", (PyCFunction) _wrap_FXMenuButton_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_isComposite", (PyCFunction) _wrap_FXMenuButton_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_position", (PyCFunction) _wrap_FXMenuButton_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_move", (PyCFunction) _wrap_FXMenuButton_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_lower", (PyCFunction) _wrap_FXMenuButton_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_layout", (PyCFunction) _wrap_FXMenuButton_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_recalc", (PyCFunction) _wrap_FXMenuButton_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_setDefault", (PyCFunction) _wrap_FXMenuButton_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_killFocus", (PyCFunction) _wrap_FXMenuButton_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_setFocus", (PyCFunction) _wrap_FXMenuButton_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_canFocus", (PyCFunction) _wrap_FXMenuButton_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_disable", (PyCFunction) _wrap_FXMenuButton_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_enable", (PyCFunction) _wrap_FXMenuButton_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_hide", (PyCFunction) _wrap_FXMenuButton_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_show", (PyCFunction) _wrap_FXMenuButton_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_getDefaultHeight", (PyCFunction) _wrap_FXMenuButton_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_getDefaultWidth", (PyCFunction) _wrap_FXMenuButton_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_resize", (PyCFunction) _wrap_FXMenuButton_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_detach", (PyCFunction) _wrap_FXMenuButton_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_destroy", (PyCFunction) _wrap_FXMenuButton_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_create", (PyCFunction) _wrap_FXMenuButton_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuButton_onDefault", (PyCFunction) _wrap_FXMenuButton_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuButton", (PyCFunction) _wrap_new_FXMenuButton, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_getAttachment", (PyCFunction) _wrap_FX_MenuButton_getAttachment, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_setAttachment", (PyCFunction) _wrap_FX_MenuButton_setAttachment, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_getPopupStyle", (PyCFunction) _wrap_FX_MenuButton_getPopupStyle, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_setPopupStyle", (PyCFunction) _wrap_FX_MenuButton_setPopupStyle, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_getButtonStyle", (PyCFunction) _wrap_FX_MenuButton_getButtonStyle, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_setButtonStyle", (PyCFunction) _wrap_FX_MenuButton_setButtonStyle, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_getYOffset", (PyCFunction) _wrap_FX_MenuButton_getYOffset, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_setYOffset", (PyCFunction) _wrap_FX_MenuButton_setYOffset, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_getXOffset", (PyCFunction) _wrap_FX_MenuButton_getXOffset, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_setXOffset", (PyCFunction) _wrap_FX_MenuButton_setXOffset, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_getMenu", (PyCFunction) _wrap_FX_MenuButton_getMenu, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_setMenu", (PyCFunction) _wrap_FX_MenuButton_setMenu, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuButton", (PyCFunction) _wrap_new_FX_MenuButton, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onCmdUnpost", (PyCFunction) _wrap_FX_MenuButton_onCmdUnpost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onCmdPost", (PyCFunction) _wrap_FX_MenuButton_onCmdPost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onHotKeyRelease", (PyCFunction) _wrap_FX_MenuButton_onHotKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onHotKeyPress", (PyCFunction) _wrap_FX_MenuButton_onHotKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onKeyRelease", (PyCFunction) _wrap_FX_MenuButton_onKeyRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onKeyPress", (PyCFunction) _wrap_FX_MenuButton_onKeyPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onLeftBtnRelease", (PyCFunction) _wrap_FX_MenuButton_onLeftBtnRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onLeftBtnPress", (PyCFunction) _wrap_FX_MenuButton_onLeftBtnPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onMotion", (PyCFunction) _wrap_FX_MenuButton_onMotion, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onUngrabbed", (PyCFunction) _wrap_FX_MenuButton_onUngrabbed, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onFocusOut", (PyCFunction) _wrap_FX_MenuButton_onFocusOut, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onFocusIn", (PyCFunction) _wrap_FX_MenuButton_onFocusIn, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onLeave", (PyCFunction) _wrap_FX_MenuButton_onLeave, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onEnter", (PyCFunction) _wrap_FX_MenuButton_onEnter, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onUpdate", (PyCFunction) _wrap_FX_MenuButton_onUpdate, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuButton_onPaint", (PyCFunction) _wrap_FX_MenuButton_onPaint, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_undock", (PyCFunction) _wrap_FXMenubar_undock, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_dock", (PyCFunction) _wrap_FXMenubar_dock, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_setBackColor", (PyCFunction) _wrap_FXMenubar_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_reparent", (PyCFunction) _wrap_FXMenubar_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_doesSaveUnder", (PyCFunction) _wrap_FXMenubar_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_getHeightForWidth", (PyCFunction) _wrap_FXMenubar_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_getWidthForHeight", (PyCFunction) _wrap_FXMenubar_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_contains", (PyCFunction) _wrap_FXMenubar_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_isComposite", (PyCFunction) _wrap_FXMenubar_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_position", (PyCFunction) _wrap_FXMenubar_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_move", (PyCFunction) _wrap_FXMenubar_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_lower", (PyCFunction) _wrap_FXMenubar_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_layout", (PyCFunction) _wrap_FXMenubar_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_recalc", (PyCFunction) _wrap_FXMenubar_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_setDefault", (PyCFunction) _wrap_FXMenubar_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_killFocus", (PyCFunction) _wrap_FXMenubar_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_setFocus", (PyCFunction) _wrap_FXMenubar_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_canFocus", (PyCFunction) _wrap_FXMenubar_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_disable", (PyCFunction) _wrap_FXMenubar_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_enable", (PyCFunction) _wrap_FXMenubar_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_hide", (PyCFunction) _wrap_FXMenubar_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_show", (PyCFunction) _wrap_FXMenubar_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_getDefaultHeight", (PyCFunction) _wrap_FXMenubar_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_getDefaultWidth", (PyCFunction) _wrap_FXMenubar_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_resize", (PyCFunction) _wrap_FXMenubar_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_detach", (PyCFunction) _wrap_FXMenubar_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_destroy", (PyCFunction) _wrap_FXMenubar_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_create", (PyCFunction) _wrap_FXMenubar_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenubar_onDefault", (PyCFunction) _wrap_FXMenubar_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onCmdUnpost", (PyCFunction) _wrap_FX_Menubar_onCmdUnpost, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onButtonRelease", (PyCFunction) _wrap_FX_Menubar_onButtonRelease, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onButtonPress", (PyCFunction) _wrap_FX_Menubar_onButtonPress, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onMotion", (PyCFunction) _wrap_FX_Menubar_onMotion, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onLeave", (PyCFunction) _wrap_FX_Menubar_onLeave, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onEnter", (PyCFunction) _wrap_FX_Menubar_onEnter, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onFocusRight", (PyCFunction) _wrap_FX_Menubar_onFocusRight, METH_VARARGS | METH_KEYWORDS },
	 { "FX_Menubar_onFocusLeft", (PyCFunction) _wrap_FX_Menubar_onFocusLeft, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_popdown", (PyCFunction) _wrap_FXMenuPane_popdown, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_popup", (PyCFunction) _wrap_FXMenuPane_popup, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_setBackColor", (PyCFunction) _wrap_FXMenuPane_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_reparent", (PyCFunction) _wrap_FXMenuPane_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_doesSaveUnder", (PyCFunction) _wrap_FXMenuPane_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_getHeightForWidth", (PyCFunction) _wrap_FXMenuPane_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_getWidthForHeight", (PyCFunction) _wrap_FXMenuPane_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_contains", (PyCFunction) _wrap_FXMenuPane_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_isComposite", (PyCFunction) _wrap_FXMenuPane_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_position", (PyCFunction) _wrap_FXMenuPane_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_move", (PyCFunction) _wrap_FXMenuPane_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_lower", (PyCFunction) _wrap_FXMenuPane_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_layout", (PyCFunction) _wrap_FXMenuPane_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_recalc", (PyCFunction) _wrap_FXMenuPane_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_setDefault", (PyCFunction) _wrap_FXMenuPane_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_killFocus", (PyCFunction) _wrap_FXMenuPane_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_setFocus", (PyCFunction) _wrap_FXMenuPane_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_canFocus", (PyCFunction) _wrap_FXMenuPane_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_disable", (PyCFunction) _wrap_FXMenuPane_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_enable", (PyCFunction) _wrap_FXMenuPane_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_hide", (PyCFunction) _wrap_FXMenuPane_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_show", (PyCFunction) _wrap_FXMenuPane_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_getDefaultHeight", (PyCFunction) _wrap_FXMenuPane_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_getDefaultWidth", (PyCFunction) _wrap_FXMenuPane_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_resize", (PyCFunction) _wrap_FXMenuPane_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_detach", (PyCFunction) _wrap_FXMenuPane_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_destroy", (PyCFunction) _wrap_FXMenuPane_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_create", (PyCFunction) _wrap_FXMenuPane_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuPane_onDefault", (PyCFunction) _wrap_FXMenuPane_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuPane", (PyCFunction) _wrap_new_FXMenuPane, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuPane", (PyCFunction) _wrap_new_FX_MenuPane, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_setBackColor", (PyCFunction) _wrap_FXMenuCaption_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_reparent", (PyCFunction) _wrap_FXMenuCaption_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_doesSaveUnder", (PyCFunction) _wrap_FXMenuCaption_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_getHeightForWidth", (PyCFunction) _wrap_FXMenuCaption_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_getWidthForHeight", (PyCFunction) _wrap_FXMenuCaption_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_contains", (PyCFunction) _wrap_FXMenuCaption_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_isComposite", (PyCFunction) _wrap_FXMenuCaption_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_position", (PyCFunction) _wrap_FXMenuCaption_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_move", (PyCFunction) _wrap_FXMenuCaption_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_lower", (PyCFunction) _wrap_FXMenuCaption_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_layout", (PyCFunction) _wrap_FXMenuCaption_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_recalc", (PyCFunction) _wrap_FXMenuCaption_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_setDefault", (PyCFunction) _wrap_FXMenuCaption_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_killFocus", (PyCFunction) _wrap_FXMenuCaption_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_setFocus", (PyCFunction) _wrap_FXMenuCaption_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_canFocus", (PyCFunction) _wrap_FXMenuCaption_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_disable", (PyCFunction) _wrap_FXMenuCaption_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_enable", (PyCFunction) _wrap_FXMenuCaption_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_hide", (PyCFunction) _wrap_FXMenuCaption_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_show", (PyCFunction) _wrap_FXMenuCaption_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_getDefaultHeight", (PyCFunction) _wrap_FXMenuCaption_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_getDefaultWidth", (PyCFunction) _wrap_FXMenuCaption_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_resize", (PyCFunction) _wrap_FXMenuCaption_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_detach", (PyCFunction) _wrap_FXMenuCaption_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_destroy", (PyCFunction) _wrap_FXMenuCaption_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_create", (PyCFunction) _wrap_FXMenuCaption_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuCaption_onDefault", (PyCFunction) _wrap_FXMenuCaption_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuCaption", (PyCFunction) _wrap_new_FXMenuCaption, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getHelpText", (PyCFunction) _wrap_FX_MenuCaption_getHelpText, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setHelpText", (PyCFunction) _wrap_FX_MenuCaption_setHelpText, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getShadowColor", (PyCFunction) _wrap_FX_MenuCaption_getShadowColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setShadowColor", (PyCFunction) _wrap_FX_MenuCaption_setShadowColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getHiliteColor", (PyCFunction) _wrap_FX_MenuCaption_getHiliteColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setHiliteColor", (PyCFunction) _wrap_FX_MenuCaption_setHiliteColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setSelTextColor", (PyCFunction) _wrap_FX_MenuCaption_setSelTextColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getSelTextColor", (PyCFunction) _wrap_FX_MenuCaption_getSelTextColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setSelBackColor", (PyCFunction) _wrap_FX_MenuCaption_setSelBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getSelBackColor", (PyCFunction) _wrap_FX_MenuCaption_getSelBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setTextColor", (PyCFunction) _wrap_FX_MenuCaption_setTextColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getTextColor", (PyCFunction) _wrap_FX_MenuCaption_getTextColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getFont", (PyCFunction) _wrap_FX_MenuCaption_getFont, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setFont", (PyCFunction) _wrap_FX_MenuCaption_setFont, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getIcon", (PyCFunction) _wrap_FX_MenuCaption_getIcon, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setIcon", (PyCFunction) _wrap_FX_MenuCaption_setIcon, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_getText", (PyCFunction) _wrap_FX_MenuCaption_getText, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_setText", (PyCFunction) _wrap_FX_MenuCaption_setText, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuCaption", (PyCFunction) _wrap_new_FX_MenuCaption, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_onCmdSetStringValue", (PyCFunction) _wrap_FX_MenuCaption_onCmdSetStringValue, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_onCmdGetStringValue", (PyCFunction) _wrap_FX_MenuCaption_onCmdGetStringValue, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_onUpdate", (PyCFunction) _wrap_FX_MenuCaption_onUpdate, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_onQueryHelp", (PyCFunction) _wrap_FX_MenuCaption_onQueryHelp, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuCaption_onPaint", (PyCFunction) _wrap_FX_MenuCaption_onPaint, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_setBackColor", (PyCFunction) _wrap_FXMenuSeparator_setBackColor, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_reparent", (PyCFunction) _wrap_FXMenuSeparator_reparent, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_doesSaveUnder", (PyCFunction) _wrap_FXMenuSeparator_doesSaveUnder, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_getHeightForWidth", (PyCFunction) _wrap_FXMenuSeparator_getHeightForWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_getWidthForHeight", (PyCFunction) _wrap_FXMenuSeparator_getWidthForHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_contains", (PyCFunction) _wrap_FXMenuSeparator_contains, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_isComposite", (PyCFunction) _wrap_FXMenuSeparator_isComposite, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_position", (PyCFunction) _wrap_FXMenuSeparator_position, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_move", (PyCFunction) _wrap_FXMenuSeparator_move, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_lower", (PyCFunction) _wrap_FXMenuSeparator_lower, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_layout", (PyCFunction) _wrap_FXMenuSeparator_layout, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_recalc", (PyCFunction) _wrap_FXMenuSeparator_recalc, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_setDefault", (PyCFunction) _wrap_FXMenuSeparator_setDefault, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_killFocus", (PyCFunction) _wrap_FXMenuSeparator_killFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_setFocus", (PyCFunction) _wrap_FXMenuSeparator_setFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_canFocus", (PyCFunction) _wrap_FXMenuSeparator_canFocus, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_disable", (PyCFunction) _wrap_FXMenuSeparator_disable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_enable", (PyCFunction) _wrap_FXMenuSeparator_enable, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_hide", (PyCFunction) _wrap_FXMenuSeparator_hide, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_show", (PyCFunction) _wrap_FXMenuSeparator_show, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_getDefaultHeight", (PyCFunction) _wrap_FXMenuSeparator_getDefaultHeight, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_getDefaultWidth", (PyCFunction) _wrap_FXMenuSeparator_getDefaultWidth, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_resize", (PyCFunction) _wrap_FXMenuSeparator_resize, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_detach", (PyCFunction) _wrap_FXMenuSeparator_detach, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_destroy", (PyCFunction) _wrap_FXMenuSeparator_destroy, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_create", (PyCFunction) _wrap_FXMenuSeparator_create, METH_VARARGS | METH_KEYWORDS },
	 { "FXMenuSeparator_onDefault", (PyCFunction) _wrap_FXMenuSeparator_onDefault, METH_VARARGS | METH_KEYWORDS },
	 { "new_FXMenuSeparator", (PyCFunction) _wrap_new_FXMenuSeparator, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuSeparator_getShadowColor", (PyCFunction) _wrap_FX_MenuSeparator_getShadowColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuSeparator_setShadowColor", (PyCFunction) _wrap_FX_MenuSeparator_setShadowColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuSeparator_getHiliteColor", (PyCFunction) _wrap_FX_MenuSeparator_getHiliteColor, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuSeparator_setHiliteColor", (PyCFunction) _wrap_FX_MenuSeparator_setHiliteColor, METH_VARARGS | METH_KEYWORDS },
	 { "new_FX_MenuSeparator", (PyCFunction) _wrap_new_FX_MenuSeparator, METH_VARARGS | METH_KEYWORDS },
	 { "FX_MenuSeparator_onPaint", (PyCFunction) _wrap_FX_MenuSeparator_onPaint, METH_VARARGS | METH_KEYWORDS },
	 { "CreateNonFloatingMenubar", (PyCFunction) _wrap_CreateNonFloatingMenubar, METH_VARARGS | METH_KEYWORDS },
	 { "CreateFloatingMenubar", (PyCFunction) _wrap_CreateFloatingMenubar, METH_VARARGS | METH_KEYWORDS },
	 { NULL, NULL }
};
#ifdef __cplusplus
}
#endif
/*
 * This table is used by the pointer type-checker
 */
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
    { "_class_FXPyBMPImage","_FXPyBMPImage",0},
    { "_class_FXPyICOImage","_FXPyICOImage",0},
    { "_FXPyDelegator","_class_FXPyDelegator",0},
    { "_FX4Splitter","_class_FX4Splitter",0},
    { "_class_FXButton","_FXButton",0},
    { "_FXPyRadioButton","_class_FXPyRadioButton",0},
    { "_FXOption","_class_FXOption",0},
    { "_class_FXPyStatusbar","_FXPyStatusbar",0},
    { "_signed_long","_FXTime",0},
    { "_signed_long","_long",0},
    { "_class_FXPyPCXImage","_FXPyPCXImage",0},
    { "_class_FXPyToolbarTab","_FXPyToolbarTab",0},
    { "_class_FXTIFIcon","_FXTIFIcon",0},
    { "_FXPyHorizontalFrame","_class_FXPyHorizontalFrame",0},
    { "_double","_FXdouble",0},
    { "_FXPyObject","_class_FXPyObject",0},
    { "_FXPyGIFIcon","_class_FXPyGIFIcon",0},
    { "_FXBMPIcon","_class_FXBMPIcon",0},
    { "_FXICOIcon","_class_FXICOIcon",0},
    { "_class_FXList","_FXList",0},
    { "_class_FXSettings","_FXSettings",0},
    { "_class_FXRegistry","_FXRegistry",0},
    { "_class_FXMainWindow","_FXMainWindow",0},
    { "_class_FXPyOption","_FXPyOption",0},
    { "_FXPySpinner","_class_FXPySpinner",0},
    { "_class_FXColorBar","_FXColorBar",0},
    { "_class_FXPyMenubar","_FXPyMenubar",0},
    { "_FXTopWindow","_class_FXTopWindow",0},
    { "_FXPySwitcher","_class_FXPySwitcher",0},
    { "_FXShutterItem","_class_FXShutterItem",0},
    { "_FXTextField","_class_FXTextField",0},
    { "_class_FXTooltip","_FXTooltip",0},
    { "_FXPyMenuCaption","_class_FXPyMenuCaption",0},
    { "_class_FXVisual","_FXVisual",0},
    { "_FXIcon","_class_FXIcon",0},
    { "_FXPyMatrix","_class_FXPyMatrix",0},
    { "_class_FXStatusbar","_FXStatusbar",0},
    { "_class_FXDCPrint","_FXDCPrint",0},
    { "_class_FXGroupBox","_FXGroupBox",0},
    { "_FXToolbar","_class_FXPyMenubar",SwigFXPyMenubarToFXToolbar},
    { "_FXToolbar","_FXPyMenubar",SwigFXPyMenubarToFXToolbar},
    { "_FXToolbar","_class_FXMenubar",SwigFXMenubarToFXToolbar},
    { "_FXToolbar","_FXMenubar",SwigFXMenubarToFXToolbar},
    { "_FXToolbar","_class_FXToolbar",0},
    { "_FXTGAImage","_class_FXTGAImage",0},
    { "_class_FXPyTGAIcon","_FXPyTGAIcon",0},
    { "_FXPyStream","_class_FXPyStream",0},
    { "_class_FXPyDict","_FXPyDict",0},
    { "_class_FXRegion","_FXRegion",0},
    { "_FXShutter","_class_FXShutter",0},
    { "_class_FXPyToggleButton","_FXPyToggleButton",0},
    { "_class_FXTabBook","_FXTabBook",0},
    { "_FXPyPNGImage","_class_FXPyPNGImage",0},
    { "_class_FXAccelTable","_FXAccelTable",0},
    { "_class_FXToggleButton","_FXToggleButton",0},
    { "_FXPyApp","_class_FXPyApp",0},
    { "_FXDCWindow","_class_FXDCWindow",0},
    { "_FXPyScrollArea","_class_FXPyScrollArea",0},
    { "_class_FXDragCorner","_FXDragCorner",0},
    { "_class_FXHeader","_FXHeader",0},
    { "_class_FXPyId","_FXPyId",0},
    { "_class_FXCanvas","_FXCanvas",0},
    { "_class_FXPyMenuCascade","_FXPyMenuCascade",0},
    { "_FXPyMenuCommand","_class_FXPyMenuCommand",0},
    { "_FXApp","_class_FXApp",0},
    { "_class_FXPyRecentFiles","_FXPyRecentFiles",0},
    { "_class_FXPyDebugTarget","_FXPyDebugTarget",0},
    { "_class_FXCommand","_FXCommand",0},
    { "_class_FXPyFrame","_FXPyFrame",0},
    { "_class_FXListItem","_FXListItem",0},
    { "_long","_FXPixel",0},
    { "_long","_FXTime",0},
    { "_long","_unsigned_long",0},
    { "_long","_signed_long",0},
    { "_FXComposite","_class_FXPyMenubar",SwigFXPyMenubarToFXComposite},
    { "_FXComposite","_FXPyMenubar",SwigFXPyMenubarToFXComposite},
    { "_FXComposite","_class_FXMenubar",SwigFXMenubarToFXComposite},
    { "_FXComposite","_FXMenubar",SwigFXMenubarToFXComposite},
    { "_FXComposite","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXComposite},
    { "_FXComposite","_FXPyMenuPane",SwigFXPyMenuPaneToFXComposite},
    { "_FXComposite","_class_FXMenuPane",SwigFXMenuPaneToFXComposite},
    { "_FXComposite","_FXMenuPane",SwigFXMenuPaneToFXComposite},
    { "_FXComposite","_class_FXComposite",0},
    { "_struct_FXArc","_FXArc",0},
    { "_class_FXPyMenuButton","_FXPyMenuButton",0},
    { "_FXRGBIcon","_class_FXRGBIcon",0},
    { "_FXScrollArea","_class_FXScrollArea",0},
    { "_FXLabel","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXLabel},
    { "_FXLabel","_FXPyMenuButton",SwigFXPyMenuButtonToFXLabel},
    { "_FXLabel","_class_FXMenuButton",SwigFXMenuButtonToFXLabel},
    { "_FXLabel","_FXMenuButton",SwigFXMenuButtonToFXLabel},
    { "_FXLabel","_class_FXLabel",0},
    { "_class_FXPyColorWell","_FXPyColorWell",0},
    { "_FXPrinter","_struct_FXPrinter",0},
    { "_class_FXId","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXId},
    { "_class_FXId","_FXPyMenuTitle",SwigFXPyMenuTitleToFXId},
    { "_class_FXId","_class_FXMenuTitle",SwigFXMenuTitleToFXId},
    { "_class_FXId","_FXMenuTitle",SwigFXMenuTitleToFXId},
    { "_class_FXId","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXId},
    { "_class_FXId","_FXPyMenuCommand",SwigFXPyMenuCommandToFXId},
    { "_class_FXId","_class_FXMenuCommand",SwigFXMenuCommandToFXId},
    { "_class_FXId","_FXMenuCommand",SwigFXMenuCommandToFXId},
    { "_class_FXId","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXId},
    { "_class_FXId","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXId},
    { "_class_FXId","_class_FXMenuCascade",SwigFXMenuCascadeToFXId},
    { "_class_FXId","_FXMenuCascade",SwigFXMenuCascadeToFXId},
    { "_class_FXId","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXId},
    { "_class_FXId","_FXPyMenuButton",SwigFXPyMenuButtonToFXId},
    { "_class_FXId","_class_FXMenuButton",SwigFXMenuButtonToFXId},
    { "_class_FXId","_FXMenuButton",SwigFXMenuButtonToFXId},
    { "_class_FXId","_class_FXPyMenubar",SwigFXPyMenubarToFXId},
    { "_class_FXId","_FXPyMenubar",SwigFXPyMenubarToFXId},
    { "_class_FXId","_class_FXMenubar",SwigFXMenubarToFXId},
    { "_class_FXId","_FXMenubar",SwigFXMenubarToFXId},
    { "_class_FXId","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXId},
    { "_class_FXId","_FXPyMenuPane",SwigFXPyMenuPaneToFXId},
    { "_class_FXId","_class_FXMenuPane",SwigFXMenuPaneToFXId},
    { "_class_FXId","_FXMenuPane",SwigFXMenuPaneToFXId},
    { "_class_FXId","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXId},
    { "_class_FXId","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXId},
    { "_class_FXId","_class_FXMenuCaption",SwigFXMenuCaptionToFXId},
    { "_class_FXId","_FXMenuCaption",SwigFXMenuCaptionToFXId},
    { "_class_FXId","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXId},
    { "_class_FXId","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXId},
    { "_class_FXId","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXId},
    { "_class_FXId","_FXMenuSeparator",SwigFXMenuSeparatorToFXId},
    { "_class_FXId","_FXId",0},
    { "_FXPyHorizontalSeparator","_class_FXPyHorizontalSeparator",0},
    { "_class_FXPyRadioButton","_FXPyRadioButton",0},
    { "_FXProgressBar","_class_FXProgressBar",0},
    { "_FXPyMenuSeparator","_class_FXPyMenuSeparator",0},
    { "_float","_FXfloat",0},
    { "_FXPyDrawable","_class_FXPyDrawable",0},
    { "_class_FXPyXPMIcon","_FXPyXPMIcon",0},
    { "_FXPyScrollWindow","_class_FXPyScrollWindow",0},
    { "_FXPyHeaderItem","_class_FXPyHeaderItem",0},
    { "_FXshort","_short",0},
    { "_FXshort","_signed_short",0},
    { "_FXshort","_unsigned_short",0},
    { "_FXshort","_FXushort",0},
    { "_FXFontDesc","_struct_FXFontDesc",0},
    { "_FXArc","_struct_FXArc",0},
    { "_FXSize","_class_FXSize",0},
    { "_class_FXBMPIcon","_FXBMPIcon",0},
    { "_class_FXICOIcon","_FXICOIcon",0},
    { "_FXPyShell","_class_FXPyShell",0},
    { "_class_FXPyTIFIcon","_FXPyTIFIcon",0},
    { "_FXSegment","_struct_FXSegment",0},
    { "_FXPyButton","_class_FXPyButton",0},
    { "_FXHeaderItem","_class_FXHeaderItem",0},
    { "_FXJPGImage","_class_FXJPGImage",0},
    { "_class_FXPySwitcher","_FXPySwitcher",0},
    { "_FXTabBar","_class_FXTabBar",0},
    { "_class_FXTIFImage","_FXTIFImage",0},
    { "_FXPyPCXIcon","_class_FXPyPCXIcon",0},
    { "_FXDC","_class_FXDC",0},
    { "_class_FXColorWell","_FXColorWell",0},
    { "_FXPyArrowButton","_class_FXPyArrowButton",0},
    { "_class_FXPyColorWheel","_FXPyColorWheel",0},
    { "_class_FXPyMenuCaption","_FXPyMenuCaption",0},
    { "_class_FXIcon","_FXIcon",0},
    { "_FXPopup","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXPopup},
    { "_FXPopup","_FXPyMenuPane",SwigFXPyMenuPaneToFXPopup},
    { "_FXPopup","_class_FXMenuPane",SwigFXMenuPaneToFXPopup},
    { "_FXPopup","_FXMenuPane",SwigFXMenuPaneToFXPopup},
    { "_FXPopup","_class_FXPopup",0},
    { "_FXScrollbar","_class_FXScrollbar",0},
    { "_FXPy4Splitter","_class_FXPy4Splitter",0},
    { "_class_FXPyTooltip","_FXPyTooltip",0},
    { "_FXPyTabItem","_class_FXPyTabItem",0},
    { "_class_FXToolbar","_class_FXPyMenubar",SwigFXPyMenubarToFXToolbar},
    { "_class_FXToolbar","_FXPyMenubar",SwigFXPyMenubarToFXToolbar},
    { "_class_FXToolbar","_class_FXMenubar",SwigFXMenubarToFXToolbar},
    { "_class_FXToolbar","_FXMenubar",SwigFXMenubarToFXToolbar},
    { "_class_FXToolbar","_FXToolbar",0},
    { "_class_FXMenuPane","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXMenuPane},
    { "_class_FXMenuPane","_FXPyMenuPane",SwigFXPyMenuPaneToFXMenuPane},
    { "_class_FXMenuPane","_FXMenuPane",0},
    { "_FXint","_FXInputHandle",0},
    { "_FXint","_FXDragType",0},
    { "_FXint","_FXHotKey",0},
    { "_FXint","_FXColor",0},
    { "_FXint","_FXID",0},
    { "_FXint","_FXSelector",0},
    { "_FXint","_int",0},
    { "_FXint","_signed_int",0},
    { "_FXint","_unsigned_int",0},
    { "_FXint","_FXuint",0},
    { "_FXPyPNGIcon","_class_FXPyPNGIcon",0},
    { "_class_FXWindow","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXWindow},
    { "_class_FXWindow","_FXPyMenuTitle",SwigFXPyMenuTitleToFXWindow},
    { "_class_FXWindow","_class_FXMenuTitle",SwigFXMenuTitleToFXWindow},
    { "_class_FXWindow","_FXMenuTitle",SwigFXMenuTitleToFXWindow},
    { "_class_FXWindow","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXWindow},
    { "_class_FXWindow","_FXPyMenuCommand",SwigFXPyMenuCommandToFXWindow},
    { "_class_FXWindow","_class_FXMenuCommand",SwigFXMenuCommandToFXWindow},
    { "_class_FXWindow","_FXMenuCommand",SwigFXMenuCommandToFXWindow},
    { "_class_FXWindow","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXWindow},
    { "_class_FXWindow","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXWindow},
    { "_class_FXWindow","_class_FXMenuCascade",SwigFXMenuCascadeToFXWindow},
    { "_class_FXWindow","_FXMenuCascade",SwigFXMenuCascadeToFXWindow},
    { "_class_FXWindow","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXWindow},
    { "_class_FXWindow","_FXPyMenuButton",SwigFXPyMenuButtonToFXWindow},
    { "_class_FXWindow","_class_FXMenuButton",SwigFXMenuButtonToFXWindow},
    { "_class_FXWindow","_FXMenuButton",SwigFXMenuButtonToFXWindow},
    { "_class_FXWindow","_class_FXPyMenubar",SwigFXPyMenubarToFXWindow},
    { "_class_FXWindow","_FXPyMenubar",SwigFXPyMenubarToFXWindow},
    { "_class_FXWindow","_class_FXMenubar",SwigFXMenubarToFXWindow},
    { "_class_FXWindow","_FXMenubar",SwigFXMenubarToFXWindow},
    { "_class_FXWindow","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXWindow},
    { "_class_FXWindow","_FXPyMenuPane",SwigFXPyMenuPaneToFXWindow},
    { "_class_FXWindow","_class_FXMenuPane",SwigFXMenuPaneToFXWindow},
    { "_class_FXWindow","_FXMenuPane",SwigFXMenuPaneToFXWindow},
    { "_class_FXWindow","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXWindow},
    { "_class_FXWindow","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXWindow},
    { "_class_FXWindow","_class_FXMenuCaption",SwigFXMenuCaptionToFXWindow},
    { "_class_FXWindow","_FXMenuCaption",SwigFXMenuCaptionToFXWindow},
    { "_class_FXWindow","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXWindow},
    { "_class_FXWindow","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXWindow},
    { "_class_FXWindow","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXWindow},
    { "_class_FXWindow","_FXMenuSeparator",SwigFXMenuSeparatorToFXWindow},
    { "_class_FXWindow","_FXWindow",0},
    { "_FXPyRootWindow","_class_FXPyRootWindow",0},
    { "_class_FXShutter","_FXShutter",0},
    { "_class_FXPyTabBar","_FXPyTabBar",0},
    { "_FXDriveBox","_class_FXDriveBox",0},
    { "_FXushort","_FXshort",0},
    { "_FXushort","_unsigned_short",0},
    { "_FXushort","_short",0},
    { "_class_FXPoint","_FXPoint",0},
    { "_class_FXPyPNGImage","_FXPyPNGImage",0},
    { "_class_FXPyDCPrint","_FXPyDCPrint",0},
    { "_FXPyCheckButton","_class_FXPyCheckButton",0},
    { "_class_FXComboBox","_FXComboBox",0},
    { "_FXPyVisual","_class_FXPyVisual",0},
    { "_class_FXPyTabBook","_FXPyTabBook",0},
    { "_class_FXRectangle","_FXRectangle",0},
    { "_class_FXPyFont","_FXPyFont",0},
    { "_FXPyFileStream","_class_FXPyFileStream",0},
    { "_class_FXPyStatusline","_FXPyStatusline",0},
    { "_class_FXPyMenuCommand","_FXPyMenuCommand",0},
    { "_FXRGBImage","_class_FXRGBImage",0},
    { "_FXRootWindow","_class_FXRootWindow",0},
    { "_class_FXPacker","_class_FXPyMenubar",SwigFXPyMenubarToFXPacker},
    { "_class_FXPacker","_FXPyMenubar",SwigFXPyMenubarToFXPacker},
    { "_class_FXPacker","_class_FXMenubar",SwigFXMenubarToFXPacker},
    { "_class_FXPacker","_FXMenubar",SwigFXMenubarToFXPacker},
    { "_class_FXPacker","_FXPacker",0},
    { "_FXPyToolbarShell","_class_FXPyToolbarShell",0},
    { "_FXPyXPMImage","_class_FXPyXPMImage",0},
    { "_FXPyDataTarget","_class_FXPyDataTarget",0},
    { "_FXPyTopWindow","_class_FXPyTopWindow",0},
    { "_FXPyScrollCorner","_class_FXPyScrollCorner",0},
    { "_FXMenuCascade","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCascade},
    { "_FXMenuCascade","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCascade},
    { "_FXMenuCascade","_class_FXMenuCascade",0},
    { "_FXObject","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXObject},
    { "_FXObject","_FXPyMenuTitle",SwigFXPyMenuTitleToFXObject},
    { "_FXObject","_class_FXMenuTitle",SwigFXMenuTitleToFXObject},
    { "_FXObject","_FXMenuTitle",SwigFXMenuTitleToFXObject},
    { "_FXObject","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXObject},
    { "_FXObject","_FXPyMenuCommand",SwigFXPyMenuCommandToFXObject},
    { "_FXObject","_class_FXMenuCommand",SwigFXMenuCommandToFXObject},
    { "_FXObject","_FXMenuCommand",SwigFXMenuCommandToFXObject},
    { "_FXObject","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXObject},
    { "_FXObject","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXObject},
    { "_FXObject","_class_FXMenuCascade",SwigFXMenuCascadeToFXObject},
    { "_FXObject","_FXMenuCascade",SwigFXMenuCascadeToFXObject},
    { "_FXObject","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXObject},
    { "_FXObject","_FXPyMenuButton",SwigFXPyMenuButtonToFXObject},
    { "_FXObject","_class_FXMenuButton",SwigFXMenuButtonToFXObject},
    { "_FXObject","_FXMenuButton",SwigFXMenuButtonToFXObject},
    { "_FXObject","_class_FXPyMenubar",SwigFXPyMenubarToFXObject},
    { "_FXObject","_FXPyMenubar",SwigFXPyMenubarToFXObject},
    { "_FXObject","_class_FXMenubar",SwigFXMenubarToFXObject},
    { "_FXObject","_FXMenubar",SwigFXMenubarToFXObject},
    { "_FXObject","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXObject},
    { "_FXObject","_FXPyMenuPane",SwigFXPyMenuPaneToFXObject},
    { "_FXObject","_class_FXMenuPane",SwigFXMenuPaneToFXObject},
    { "_FXObject","_FXMenuPane",SwigFXMenuPaneToFXObject},
    { "_FXObject","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXObject},
    { "_FXObject","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXObject},
    { "_FXObject","_class_FXMenuCaption",SwigFXMenuCaptionToFXObject},
    { "_FXObject","_FXMenuCaption",SwigFXMenuCaptionToFXObject},
    { "_FXObject","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXObject},
    { "_FXObject","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXObject},
    { "_FXObject","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXObject},
    { "_FXObject","_FXMenuSeparator",SwigFXMenuSeparatorToFXObject},
    { "_FXObject","_class_FXObject",0},
    { "_FXPyGIFImage","_class_FXPyGIFImage",0},
    { "_FXBMPImage","_class_FXBMPImage",0},
    { "_FXICOImage","_class_FXICOImage",0},
    { "_class_FXRGBIcon","_FXRGBIcon",0},
    { "_FXRecentFiles","_class_FXRecentFiles",0},
    { "_FXDebugTarget","_class_FXDebugTarget",0},
    { "_class_FXPyCommand","_FXPyCommand",0},
    { "_class_FXScrollArea","_FXScrollArea",0},
    { "_FXPySplitter","_class_FXPySplitter",0},
    { "_FXPyTextField","_class_FXPyTextField",0},
    { "_FXPyHeader","_class_FXPyHeader",0},
    { "_FXPCXImage","_class_FXPCXImage",0},
    { "_FXFileStream","_class_FXFileStream",0},
    { "_class_FXPyDelegator","_FXPyDelegator",0},
    { "_FXPyCanvas","_class_FXPyCanvas",0},
    { "_class_FXPyDrawable","_FXPyDrawable",0},
    { "_FXPyImage","_class_FXPyImage",0},
    { "_FXGIFIcon","_class_FXGIFIcon",0},
    { "_FXPyDial","_class_FXPyDial",0},
    { "_class_FXPyOptionMenu","_FXPyOptionMenu",0},
    { "_FXPyListBox","_class_FXPyListBox",0},
    { "_FXColor","_FXInputHandle",0},
    { "_FXColor","_FXDragType",0},
    { "_FXColor","_FXHotKey",0},
    { "_FXColor","_FXuint",0},
    { "_FXColor","_int",0},
    { "_FXColor","_unsigned_int",0},
    { "_FXColor","_FXint",0},
    { "_FXColor","_FXSelector",0},
    { "_FXColor","_FXID",0},
    { "_FXPyJPGIcon","_class_FXPyJPGIcon",0},
    { "_FXDataTarget","_class_FXDataTarget",0},
    { "_class_FXPyHorizontalFrame","_FXPyHorizontalFrame",0},
    { "_FXRadioButton","_class_FXRadioButton",0},
    { "_class_FXPyList","_FXPyList",0},
    { "_FXTime","_FXPixel",0},
    { "_FXTime","_long",0},
    { "_FXTime","_signed_long",0},
    { "_FXTime","_unsigned_long",0},
    { "_FXHotKey","_FXInputHandle",0},
    { "_FXHotKey","_FXDragType",0},
    { "_FXHotKey","_FXuint",0},
    { "_FXHotKey","_int",0},
    { "_FXHotKey","_unsigned_int",0},
    { "_FXHotKey","_FXint",0},
    { "_FXHotKey","_FXSelector",0},
    { "_FXHotKey","_FXID",0},
    { "_FXHotKey","_FXColor",0},
    { "_class_FXSize","_FXSize",0},
    { "_class_FXPyObject","_FXPyObject",0},
    { "_class_FXPyShell","_FXPyShell",0},
    { "_FXPyDC","_class_FXPyDC",0},
    { "_FXSpinner","_class_FXSpinner",0},
    { "_struct_FXFontDesc","_FXFontDesc",0},
    { "_FXMatrix","_class_FXMatrix",0},
    { "_class_FXPyBMPIcon","_FXPyBMPIcon",0},
    { "_class_FXPyICOIcon","_FXPyICOIcon",0},
    { "_class_FXHeaderItem","_FXHeaderItem",0},
    { "_char","_FXchar",0},
    { "_FXdouble","_double",0},
    { "_FXStream","_class_FXStream",0},
    { "_FXPyStringDict","_class_FXPyStringDict",0},
    { "_FXFrame","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXFrame},
    { "_FXFrame","_FXPyMenuButton",SwigFXPyMenuButtonToFXFrame},
    { "_FXFrame","_class_FXMenuButton",SwigFXMenuButtonToFXFrame},
    { "_FXFrame","_FXMenuButton",SwigFXMenuButtonToFXFrame},
    { "_FXFrame","_class_FXFrame",0},
    { "_class_FXPicker","_FXPicker",0},
    { "_FXPyToolbarGrip","_class_FXPyToolbarGrip",0},
    { "_FXPyColorBar","_class_FXPyColorBar",0},
    { "_FXObjectPtr","_FXObject_p",0},
    { "_FXPyComposite","_class_FXPyComposite",0},
    { "_class_FXShutterItem","_FXShutterItem",0},
    { "_class_FXPyArrowButton","_FXPyArrowButton",0},
    { "_class_FXDelegator","_FXDelegator",0},
    { "_FXVerticalFrame","_class_FXVerticalFrame",0},
    { "_class_FXPyMatrix","_FXPyMatrix",0},
    { "_class_FXSlider","_FXSlider",0},
    { "_FXMenuCaption","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuCaption},
    { "_FXMenuCaption","_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuCaption},
    { "_FXMenuCaption","_class_FXMenuTitle",SwigFXMenuTitleToFXMenuCaption},
    { "_FXMenuCaption","_FXMenuTitle",SwigFXMenuTitleToFXMenuCaption},
    { "_FXMenuCaption","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCaption},
    { "_FXMenuCaption","_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCaption},
    { "_FXMenuCaption","_class_FXMenuCommand",SwigFXMenuCommandToFXMenuCaption},
    { "_FXMenuCaption","_FXMenuCommand",SwigFXMenuCommandToFXMenuCaption},
    { "_FXMenuCaption","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCaption},
    { "_FXMenuCaption","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCaption},
    { "_FXMenuCaption","_class_FXMenuCascade",SwigFXMenuCascadeToFXMenuCaption},
    { "_FXMenuCaption","_FXMenuCascade",SwigFXMenuCascadeToFXMenuCaption},
    { "_FXMenuCaption","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXMenuCaption},
    { "_FXMenuCaption","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXMenuCaption},
    { "_FXMenuCaption","_class_FXMenuCaption",0},
    { "_FXbool","_FXuchar",0},
    { "_FXbool","_unsigned_char",0},
    { "_class_FXTGAImage","_FXTGAImage",0},
    { "_class_FXPyStream","_FXPyStream",0},
    { "_FXStringDict","_class_FXStringDict",0},
    { "_FXPyGroupBox","_class_FXPyGroupBox",0},
    { "_class_FXPyCheckButton","_FXPyCheckButton",0},
    { "_class_FXPyToolbar","_FXPyToolbar",0},
    { "_class_FXPyApp","_FXPyApp",0},
    { "_class_FXDCWindow","_FXDCWindow",0},
    { "_class_FXPyShutter","_FXPyShutter",0},
    { "_FXPyWindow","_class_FXPyWindow",0},
    { "_class_FXRootWindow","_FXRootWindow",0},
    { "_FXMenuTitle","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuTitle},
    { "_FXMenuTitle","_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuTitle},
    { "_FXMenuTitle","_class_FXMenuTitle",0},
    { "_class_FXPyXPMImage","_FXPyXPMImage",0},
    { "_FXPyListItem","_class_FXPyListItem",0},
    { "_FXMenuCommand","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCommand},
    { "_FXMenuCommand","_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCommand},
    { "_FXMenuCommand","_class_FXMenuCommand",0},
    { "_class_FXPyGIFImage","_FXPyGIFImage",0},
    { "_class_FXPyVerticalFrame","_FXPyVerticalFrame",0},
    { "_class_FXPySplitter","_FXPySplitter",0},
    { "_class_FXLabel","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXLabel},
    { "_class_FXLabel","_FXPyMenuButton",SwigFXPyMenuButtonToFXLabel},
    { "_class_FXLabel","_class_FXMenuButton",SwigFXMenuButtonToFXLabel},
    { "_class_FXLabel","_FXMenuButton",SwigFXMenuButtonToFXLabel},
    { "_class_FXLabel","_FXLabel",0},
    { "_class_FXFileStream","_FXFileStream",0},
    { "_class_FXPyMainWindow","_FXPyMainWindow",0},
    { "_class_FXHorizontalFrame","_FXHorizontalFrame",0},
    { "_FXButton","_class_FXButton",0},
    { "_FXPyScrollbar","_class_FXPyScrollbar",0},
    { "_class_FXProgressBar","_FXProgressBar",0},
    { "_class_FXPyImage","_FXPyImage",0},
    { "_class_FXGIFIcon","_FXGIFIcon",0},
    { "_class_FXPyRGBIcon","_FXPyRGBIcon",0},
    { "_FXPyPacker","_class_FXPyPacker",0},
    { "_class_FXPyScrollWindow","_FXPyScrollWindow",0},
    { "_FXPyToolbarTab","_class_FXPyToolbarTab",0},
    { "_unsigned_long","_FXPixel",0},
    { "_unsigned_long","_FXTime",0},
    { "_unsigned_long","_long",0},
    { "_class_FXDataTarget","_FXDataTarget",0},
    { "_class_FXScrollWindow","_FXScrollWindow",0},
    { "_FXDial","_class_FXDial",0},
    { "_class_FXPyDC","_FXPyDC",0},
    { "_FXPyVerticalSeparator","_class_FXPyVerticalSeparator",0},
    { "_class_FXSpinner","_FXSpinner",0},
    { "_class_FXPyButton","_FXPyButton",0},
    { "_FXPCXIcon","_class_FXPCXIcon",0},
    { "_FXSwitcher","_class_FXSwitcher",0},
    { "_FXToolbarTab","_class_FXToolbarTab",0},
    { "_FXPyMenubar","_class_FXPyMenubar",0},
    { "_class_FXJPGImage","_FXJPGImage",0},
    { "_class_FXPyToolbarGrip","_FXPyToolbarGrip",0},
    { "_class_FXPyColorBar","_FXPyColorBar",0},
    { "_class_FXPyIcon","_FXPyIcon",0},
    { "_class_FXPyAccelTable","_FXPyAccelTable",0},
    { "_class_FXDC","_FXDC",0},
    { "_FXTabItem","_class_FXTabItem",0},
    { "_FXVisual","_class_FXVisual",0},
    { "_FXPyTIFImage","_class_FXPyTIFImage",0},
    { "_FXPNGIcon","_class_FXPNGIcon",0},
    { "_class_FXPopup","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXPopup},
    { "_class_FXPopup","_FXPyMenuPane",SwigFXPyMenuPaneToFXPopup},
    { "_class_FXPopup","_class_FXMenuPane",SwigFXMenuPaneToFXPopup},
    { "_class_FXPopup","_FXMenuPane",SwigFXMenuPaneToFXPopup},
    { "_class_FXPopup","_FXPopup",0},
    { "_class_FXVerticalFrame","_FXVerticalFrame",0},
    { "_class_FXPyDragCorner","_FXPyDragCorner",0},
    { "_FXStatusbar","_class_FXStatusbar",0},
    { "_signed_int","_FXInputHandle",0},
    { "_signed_int","_FXint",0},
    { "_signed_int","_int",0},
    { "_class_FXPy4Splitter","_FXPy4Splitter",0},
    { "_FXArrowButton","_class_FXArrowButton",0},
    { "_FXPNGImage","_class_FXPNGImage",0},
    { "_FXPyTGAIcon","_class_FXPyTGAIcon",0},
    { "_FXPyDict","_class_FXPyDict",0},
    { "_class_FXStringDict","_FXStringDict",0},
    { "_FXRegion","_class_FXRegion",0},
    { "_class_FXPyGroupBox","_FXPyGroupBox",0},
    { "_FXPyPicker","_class_FXPyPicker",0},
    { "_class_FXDriveBox","_FXDriveBox",0},
    { "_FXPyMenuPane","_class_FXPyMenuPane",0},
    { "_FXVerticalSeparator","_class_FXVerticalSeparator",0},
    { "_FXToggleButton","_class_FXToggleButton",0},
    { "_FXRawEvent","__XEvent",0},
    { "_class_FXPyVisual","_FXPyVisual",0},
    { "_FXShell","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXShell},
    { "_FXShell","_FXPyMenuPane",SwigFXPyMenuPaneToFXShell},
    { "_FXShell","_class_FXMenuPane",SwigFXMenuPaneToFXShell},
    { "_FXShell","_FXMenuPane",SwigFXMenuPaneToFXShell},
    { "_FXShell","_class_FXShell",0},
    { "_FXPyComboBox","_class_FXPyComboBox",0},
    { "_FXHeader","_class_FXHeader",0},
    { "_FXCanvas","_class_FXCanvas",0},
    { "_FXCheckButton","_class_FXCheckButton",0},
    { "_FXPySlider","_class_FXPySlider",0},
    { "_class_FXRGBImage","_FXRGBImage",0},
    { "_class_FXPyToolbarShell","_FXPyToolbarShell",0},
    { "_unsigned_short","_FXshort",0},
    { "_unsigned_short","_FXushort",0},
    { "_unsigned_short","_short",0},
    { "_class_FXPyTopWindow","_FXPyTopWindow",0},
    { "_class_FXPyScrollCorner","_FXPyScrollCorner",0},
    { "_class_FXPyListItem","_FXPyListItem",0},
    { "_class_FXToolbarShell","_FXToolbarShell",0},
    { "_FXPyMenuButton","_class_FXPyMenuButton",0},
    { "_class_FXMenuCascade","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCascade},
    { "_class_FXMenuCascade","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCascade},
    { "_class_FXMenuCascade","_FXMenuCascade",0},
    { "_class_FXBMPImage","_FXBMPImage",0},
    { "_class_FXICOImage","_FXICOImage",0},
    { "_class_FXRecentFiles","_FXRecentFiles",0},
    { "_class_FXDebugTarget","_FXDebugTarget",0},
    { "_class_FXPyTextField","_FXPyTextField",0},
    { "_class_FXScrollCorner","_FXScrollCorner",0},
    { "_class_FXPyHeader","_FXPyHeader",0},
    { "_FXListBox","_class_FXListBox",0},
    { "_FXDrawable","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXDrawable},
    { "_FXDrawable","_FXPyMenuTitle",SwigFXPyMenuTitleToFXDrawable},
    { "_FXDrawable","_class_FXMenuTitle",SwigFXMenuTitleToFXDrawable},
    { "_FXDrawable","_FXMenuTitle",SwigFXMenuTitleToFXDrawable},
    { "_FXDrawable","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXDrawable},
    { "_FXDrawable","_FXPyMenuCommand",SwigFXPyMenuCommandToFXDrawable},
    { "_FXDrawable","_class_FXMenuCommand",SwigFXMenuCommandToFXDrawable},
    { "_FXDrawable","_FXMenuCommand",SwigFXMenuCommandToFXDrawable},
    { "_FXDrawable","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXDrawable},
    { "_FXDrawable","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXDrawable},
    { "_FXDrawable","_class_FXMenuCascade",SwigFXMenuCascadeToFXDrawable},
    { "_FXDrawable","_FXMenuCascade",SwigFXMenuCascadeToFXDrawable},
    { "_FXDrawable","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXDrawable},
    { "_FXDrawable","_FXPyMenuButton",SwigFXPyMenuButtonToFXDrawable},
    { "_FXDrawable","_class_FXMenuButton",SwigFXMenuButtonToFXDrawable},
    { "_FXDrawable","_FXMenuButton",SwigFXMenuButtonToFXDrawable},
    { "_FXDrawable","_class_FXPyMenubar",SwigFXPyMenubarToFXDrawable},
    { "_FXDrawable","_FXPyMenubar",SwigFXPyMenubarToFXDrawable},
    { "_FXDrawable","_class_FXMenubar",SwigFXMenubarToFXDrawable},
    { "_FXDrawable","_FXMenubar",SwigFXMenubarToFXDrawable},
    { "_FXDrawable","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXDrawable},
    { "_FXDrawable","_FXPyMenuPane",SwigFXPyMenuPaneToFXDrawable},
    { "_FXDrawable","_class_FXMenuPane",SwigFXMenuPaneToFXDrawable},
    { "_FXDrawable","_FXMenuPane",SwigFXMenuPaneToFXDrawable},
    { "_FXDrawable","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXDrawable},
    { "_FXDrawable","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXDrawable},
    { "_FXDrawable","_class_FXMenuCaption",SwigFXMenuCaptionToFXDrawable},
    { "_FXDrawable","_FXMenuCaption",SwigFXMenuCaptionToFXDrawable},
    { "_FXDrawable","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXDrawable},
    { "_FXDrawable","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXDrawable},
    { "_FXDrawable","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXDrawable},
    { "_FXDrawable","_FXMenuSeparator",SwigFXMenuSeparatorToFXDrawable},
    { "_FXDrawable","_class_FXDrawable",0},
    { "_class_FXPCXImage","_FXPCXImage",0},
    { "_FXJPGIcon","_class_FXJPGIcon",0},
    { "_class_FXPyCanvas","_FXPyCanvas",0},
    { "_class_FX4Splitter","_FX4Splitter",0},
    { "_class_FXOption","_FXOption",0},
    { "_FXPyXPMIcon","_class_FXPyXPMIcon",0},
    { "_FXObject_p","_FXObjectPtr",0},
    { "_FXID","_FXInputHandle",0},
    { "_FXID","_FXDragType",0},
    { "_FXID","_FXHotKey",0},
    { "_FXID","_FXColor",0},
    { "_FXID","_unsigned_int",0},
    { "_FXID","_int",0},
    { "_FXID","_FXuint",0},
    { "_FXID","_FXint",0},
    { "_FXID","_FXSelector",0},
    { "_FXHorizontalSeparator","_class_FXHorizontalSeparator",0},
    { "_class_FXDial","_FXDial",0},
    { "_class_FXRadioButton","_FXRadioButton",0},
    { "_FXMenuButton","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXMenuButton},
    { "_FXMenuButton","_FXPyMenuButton",SwigFXPyMenuButtonToFXMenuButton},
    { "_FXMenuButton","_class_FXMenuButton",0},
    { "_class_FXPyGIFIcon","_FXPyGIFIcon",0},
    { "_class_FXPyVerticalSeparator","_FXPyVerticalSeparator",0},
    { "_struct_FXPrinter","_FXPrinter",0},
    { "_FXPyTIFIcon","_class_FXPyTIFIcon",0},
    { "_class_FXPCXIcon","_FXPCXIcon",0},
    { "_class_FXPySpinner","_FXPySpinner",0},
    { "_class_FXToolbarTab","_FXToolbarTab",0},
    { "_signed_short","_FXshort",0},
    { "_signed_short","_short",0},
    { "_class_FXFrame","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXFrame},
    { "_class_FXFrame","_FXPyMenuButton",SwigFXPyMenuButtonToFXFrame},
    { "_class_FXFrame","_class_FXMenuButton",SwigFXMenuButtonToFXFrame},
    { "_class_FXFrame","_FXMenuButton",SwigFXMenuButtonToFXFrame},
    { "_class_FXFrame","_FXFrame",0},
    { "_class_FXTopWindow","_FXTopWindow",0},
    { "_FXPyMenuTitle","_class_FXPyMenuTitle",0},
    { "_FXfloat","_float",0},
    { "_FXEvent","_struct_FXEvent",0},
    { "_class_FXPyComposite","_FXPyComposite",0},
    { "_FXColorWell","_class_FXColorWell",0},
    { "_class_FXTextField","_FXTextField",0},
    { "_class_FXTabItem","_FXTabItem",0},
    { "_FXPyColorWheel","_class_FXPyColorWheel",0},
    { "_class_FXPyTIFImage","_FXPyTIFImage",0},
    { "_class_FXPNGIcon","_FXPNGIcon",0},
    { "_struct_FXSegment","_FXSegment",0},
    { "_FXToolbarGrip","_class_FXToolbarGrip",0},
    { "_FXPyTooltip","_class_FXPyTooltip",0},
    { "_FXMenuSeparator","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXMenuSeparator},
    { "_FXMenuSeparator","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXMenuSeparator},
    { "_FXMenuSeparator","_class_FXMenuSeparator",0},
    { "_class_FXMenuCaption","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuCaption},
    { "_class_FXMenuCaption","_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuCaption},
    { "_class_FXMenuCaption","_class_FXMenuTitle",SwigFXMenuTitleToFXMenuCaption},
    { "_class_FXMenuCaption","_FXMenuTitle",SwigFXMenuTitleToFXMenuCaption},
    { "_class_FXMenuCaption","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCaption},
    { "_class_FXMenuCaption","_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCaption},
    { "_class_FXMenuCaption","_class_FXMenuCommand",SwigFXMenuCommandToFXMenuCaption},
    { "_class_FXMenuCaption","_FXMenuCommand",SwigFXMenuCommandToFXMenuCaption},
    { "_class_FXMenuCaption","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCaption},
    { "_class_FXMenuCaption","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXMenuCaption},
    { "_class_FXMenuCaption","_class_FXMenuCascade",SwigFXMenuCascadeToFXMenuCaption},
    { "_class_FXMenuCaption","_FXMenuCascade",SwigFXMenuCascadeToFXMenuCaption},
    { "_class_FXMenuCaption","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXMenuCaption},
    { "_class_FXMenuCaption","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXMenuCaption},
    { "_class_FXMenuCaption","_FXMenuCaption",0},
    { "_unsigned_char","_FXbool",0},
    { "_unsigned_char","_FXuchar",0},
    { "_FXPixel","_unsigned_long",0},
    { "_FXPixel","_long",0},
    { "_FXPixel","_FXTime",0},
    { "_FXImage","_class_FXImage",0},
    { "_FXWindow","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXWindow},
    { "_FXWindow","_FXPyMenuTitle",SwigFXPyMenuTitleToFXWindow},
    { "_FXWindow","_class_FXMenuTitle",SwigFXMenuTitleToFXWindow},
    { "_FXWindow","_FXMenuTitle",SwigFXMenuTitleToFXWindow},
    { "_FXWindow","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXWindow},
    { "_FXWindow","_FXPyMenuCommand",SwigFXPyMenuCommandToFXWindow},
    { "_FXWindow","_class_FXMenuCommand",SwigFXMenuCommandToFXWindow},
    { "_FXWindow","_FXMenuCommand",SwigFXMenuCommandToFXWindow},
    { "_FXWindow","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXWindow},
    { "_FXWindow","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXWindow},
    { "_FXWindow","_class_FXMenuCascade",SwigFXMenuCascadeToFXWindow},
    { "_FXWindow","_FXMenuCascade",SwigFXMenuCascadeToFXWindow},
    { "_FXWindow","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXWindow},
    { "_FXWindow","_FXPyMenuButton",SwigFXPyMenuButtonToFXWindow},
    { "_FXWindow","_class_FXMenuButton",SwigFXMenuButtonToFXWindow},
    { "_FXWindow","_FXMenuButton",SwigFXMenuButtonToFXWindow},
    { "_FXWindow","_class_FXPyMenubar",SwigFXPyMenubarToFXWindow},
    { "_FXWindow","_FXPyMenubar",SwigFXPyMenubarToFXWindow},
    { "_FXWindow","_class_FXMenubar",SwigFXMenubarToFXWindow},
    { "_FXWindow","_FXMenubar",SwigFXMenubarToFXWindow},
    { "_FXWindow","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXWindow},
    { "_FXWindow","_FXPyMenuPane",SwigFXPyMenuPaneToFXWindow},
    { "_FXWindow","_class_FXMenuPane",SwigFXMenuPaneToFXWindow},
    { "_FXWindow","_FXMenuPane",SwigFXMenuPaneToFXWindow},
    { "_FXWindow","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXWindow},
    { "_FXWindow","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXWindow},
    { "_FXWindow","_class_FXMenuCaption",SwigFXMenuCaptionToFXWindow},
    { "_FXWindow","_FXMenuCaption",SwigFXMenuCaptionToFXWindow},
    { "_FXWindow","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXWindow},
    { "_FXWindow","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXWindow},
    { "_FXWindow","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXWindow},
    { "_FXWindow","_FXMenuSeparator",SwigFXMenuSeparatorToFXWindow},
    { "_FXWindow","_class_FXWindow",0},
    { "_class_FXPyMenuPane","_FXPyMenuPane",0},
    { "_unsigned_int","_FXInputHandle",0},
    { "_unsigned_int","_FXDragType",0},
    { "_unsigned_int","_FXHotKey",0},
    { "_unsigned_int","_FXColor",0},
    { "_unsigned_int","_FXID",0},
    { "_unsigned_int","_FXSelector",0},
    { "_unsigned_int","_FXint",0},
    { "_unsigned_int","_FXuint",0},
    { "_unsigned_int","_int",0},
    { "_FXPyTGAImage","_class_FXPyTGAImage",0},
    { "_FXDict","_class_FXDict",0},
    { "_FXPyDCPrint","_class_FXPyDCPrint",0},
    { "_FXColorWheel","_class_FXColorWheel",0},
    { "_FXuint","_FXInputHandle",0},
    { "_FXuint","_FXDragType",0},
    { "_FXuint","_FXHotKey",0},
    { "_FXuint","_FXColor",0},
    { "_FXuint","_FXID",0},
    { "_FXuint","_FXSelector",0},
    { "_FXuint","_FXint",0},
    { "_FXuint","_unsigned_int",0},
    { "_FXuint","_int",0},
    { "_class_FXPyScrollArea","_FXPyScrollArea",0},
    { "_FXPyTabBook","_class_FXPyTabBook",0},
    { "_class_FXPyComboBox","_FXPyComboBox",0},
    { "_short","_FXshort",0},
    { "_short","_FXushort",0},
    { "_short","_unsigned_short",0},
    { "_short","_signed_short",0},
    { "_FXRectangle","_class_FXRectangle",0},
    { "_FXPyFont","_class_FXPyFont",0},
    { "_FXPyDCWindow","_class_FXPyDCWindow",0},
    { "_FXPyStatusline","_class_FXPyStatusline",0},
    { "_class_FXApp","_FXApp",0},
    { "_FXXPMImage","_class_FXXPMImage",0},
    { "_class_FXPyWindow","_FXPyWindow",0},
    { "_FXPacker","_class_FXPyMenubar",SwigFXPyMenubarToFXPacker},
    { "_FXPacker","_FXPyMenubar",SwigFXPyMenubarToFXPacker},
    { "_FXPacker","_class_FXMenubar",SwigFXMenubarToFXPacker},
    { "_FXPacker","_FXMenubar",SwigFXMenubarToFXPacker},
    { "_FXPacker","_class_FXPacker",0},
    { "_FXGIFImage","_class_FXGIFImage",0},
    { "_class_FXComposite","_class_FXPyMenubar",SwigFXPyMenubarToFXComposite},
    { "_class_FXComposite","_FXPyMenubar",SwigFXPyMenubarToFXComposite},
    { "_class_FXComposite","_class_FXMenubar",SwigFXMenubarToFXComposite},
    { "_class_FXComposite","_FXMenubar",SwigFXMenubarToFXComposite},
    { "_class_FXComposite","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXComposite},
    { "_class_FXComposite","_FXPyMenuPane",SwigFXPyMenuPaneToFXComposite},
    { "_class_FXComposite","_class_FXMenuPane",SwigFXMenuPaneToFXComposite},
    { "_class_FXComposite","_FXMenuPane",SwigFXMenuPaneToFXComposite},
    { "_class_FXComposite","_FXComposite",0},
    { "_FXSplitter","_class_FXSplitter",0},
    { "_class_FXMenuCommand","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCommand},
    { "_class_FXMenuCommand","_FXPyMenuCommand",SwigFXPyMenuCommandToFXMenuCommand},
    { "_class_FXMenuCommand","_FXMenuCommand",0},
    { "_FXPyCommand","_class_FXPyCommand",0},
    { "_class_FXListBox","_FXListBox",0},
    { "_class_FXJPGIcon","_FXJPGIcon",0},
    { "_class_FXPyHorizontalSeparator","_FXPyHorizontalSeparator",0},
    { "_class_FXPyScrollbar","_FXPyScrollbar",0},
    { "_FXStatusline","_class_FXStatusline",0},
    { "_FXPyStatusbar","_class_FXPyStatusbar",0},
    { "_class_FXPyMenuSeparator","_FXPyMenuSeparator",0},
    { "_FXchar","_char",0},
    { "_class_FXPyPacker","_FXPyPacker",0},
    { "_FXPyOptionMenu","_class_FXPyOptionMenu",0},
    { "_class_FXPyHeaderItem","_FXPyHeaderItem",0},
    { "_FXuchar","_FXbool",0},
    { "_FXuchar","_unsigned_char",0},
    { "_class_FXHorizontalSeparator","_FXHorizontalSeparator",0},
    { "_FXPyList","_class_FXPyList",0},
    { "_class_FXMenuButton","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXMenuButton},
    { "_class_FXMenuButton","_FXPyMenuButton",SwigFXPyMenuButtonToFXMenuButton},
    { "_class_FXMenuButton","_FXMenuButton",0},
    { "_int","_FXInputHandle",0},
    { "_int","_FXDragType",0},
    { "_int","_FXHotKey",0},
    { "_int","_FXColor",0},
    { "_int","_FXID",0},
    { "_int","_FXSelector",0},
    { "_int","_FXint",0},
    { "_int","_FXuint",0},
    { "_int","_unsigned_int",0},
    { "_int","_signed_int",0},
    { "_FXDragType","_FXInputHandle",0},
    { "_FXDragType","_FXID",0},
    { "_FXDragType","_FXSelector",0},
    { "_FXDragType","_FXint",0},
    { "_FXDragType","_FXuint",0},
    { "_FXDragType","_int",0},
    { "_FXDragType","_unsigned_int",0},
    { "_FXDragType","_FXColor",0},
    { "_FXDragType","_FXHotKey",0},
    { "_FXMenubar","_class_FXPyMenubar",SwigFXPyMenubarToFXMenubar},
    { "_FXMenubar","_FXPyMenubar",SwigFXPyMenubarToFXMenubar},
    { "_FXMenubar","_class_FXMenubar",0},
    { "_FXSettings","_class_FXSettings",0},
    { "_FXRegistry","_class_FXRegistry",0},
    { "_FXPyOption","_class_FXPyOption",0},
    { "_FXPyBMPIcon","_class_FXPyBMPIcon",0},
    { "_FXPyICOIcon","_class_FXPyICOIcon",0},
    { "_class_FXSwitcher","_FXSwitcher",0},
    { "_FXPyShutterItem","_class_FXPyShutterItem",0},
    { "_FXOptionMenu","_class_FXOptionMenu",0},
    { "_FXColorBar","_class_FXColorBar",0},
    { "_FXPicker","_class_FXPicker",0},
    { "_class_FXTabBar","_FXTabBar",0},
    { "_FXPSBounds","_struct_FXPSBounds",0},
    { "_FXPyJPGImage","_class_FXPyJPGImage",0},
    { "_class_FXPyPCXIcon","_FXPyPCXIcon",0},
    { "_FXPyLabel","_class_FXPyLabel",0},
    { "_FXTGAIcon","_class_FXTGAIcon",0},
    { "_FXDelegator","_class_FXDelegator",0},
    { "_class_FXScrollbar","_FXScrollbar",0},
    { "_FXGroupBox","_class_FXGroupBox",0},
    { "_class_FXArrowButton","_FXArrowButton",0},
    { "_class_FXPyTabItem","_FXPyTabItem",0},
    { "_FXSlider","_class_FXSlider",0},
    { "_class_FXMenuSeparator","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXMenuSeparator},
    { "_class_FXMenuSeparator","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXMenuSeparator},
    { "_class_FXMenuSeparator","_FXMenuSeparator",0},
    { "_class_FXPNGImage","_FXPNGImage",0},
    { "_class_FXPyPNGIcon","_FXPyPNGIcon",0},
    { "_class_FXPyRootWindow","_FXPyRootWindow",0},
    { "_FXPyToggleButton","_class_FXPyToggleButton",0},
    { "_class_FXPyPicker","_FXPyPicker",0},
    { "_class_FXPyTGAImage","_FXPyTGAImage",0},
    { "_class_FXDict","_FXDict",0},
    { "_class_FXVerticalSeparator","_FXVerticalSeparator",0},
    { "_FXPyToolbar","_class_FXPyToolbar",0},
    { "_FXPyDriveBox","_class_FXPyDriveBox",0},
    { "_class_FXColorWheel","_FXColorWheel",0},
    { "_class_FXShell","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXShell},
    { "_class_FXShell","_FXPyMenuPane",SwigFXPyMenuPaneToFXShell},
    { "_class_FXShell","_class_FXMenuPane",SwigFXMenuPaneToFXShell},
    { "_class_FXShell","_FXMenuPane",SwigFXMenuPaneToFXShell},
    { "_class_FXShell","_FXShell",0},
    { "_FXPyShutter","_class_FXPyShutter",0},
    { "_FXInputHandle","_FXint",0},
    { "_FXInputHandle","_FXuint",0},
    { "_FXInputHandle","_unsigned_int",0},
    { "_FXInputHandle","_signed_int",0},
    { "_FXInputHandle","_int",0},
    { "_FXInputHandle","_FXSelector",0},
    { "_FXInputHandle","_FXID",0},
    { "_FXInputHandle","_FXColor",0},
    { "_FXInputHandle","_FXHotKey",0},
    { "_FXInputHandle","_FXDragType",0},
    { "_class_FXPyFileStream","_FXPyFileStream",0},
    { "_class_FXPyDCWindow","_FXPyDCWindow",0},
    { "_class_FXCheckButton","_FXCheckButton",0},
    { "_class_FXPySlider","_FXPySlider",0},
    { "_FXFont","_class_FXFont",0},
    { "_FXListItem","_class_FXListItem",0},
    { "_FXPyRGBImage","_class_FXPyRGBImage",0},
    { "_class_FXPyDataTarget","_FXPyDataTarget",0},
    { "_FXPyProgressBar","_class_FXPyProgressBar",0},
    { "_class_FXObject","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXObject},
    { "_class_FXObject","_FXPyMenuTitle",SwigFXPyMenuTitleToFXObject},
    { "_class_FXObject","_class_FXMenuTitle",SwigFXMenuTitleToFXObject},
    { "_class_FXObject","_FXMenuTitle",SwigFXMenuTitleToFXObject},
    { "_class_FXObject","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXObject},
    { "_class_FXObject","_FXPyMenuCommand",SwigFXPyMenuCommandToFXObject},
    { "_class_FXObject","_class_FXMenuCommand",SwigFXMenuCommandToFXObject},
    { "_class_FXObject","_FXMenuCommand",SwigFXMenuCommandToFXObject},
    { "_class_FXObject","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXObject},
    { "_class_FXObject","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXObject},
    { "_class_FXObject","_class_FXMenuCascade",SwigFXMenuCascadeToFXObject},
    { "_class_FXObject","_FXMenuCascade",SwigFXMenuCascadeToFXObject},
    { "_class_FXObject","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXObject},
    { "_class_FXObject","_FXPyMenuButton",SwigFXPyMenuButtonToFXObject},
    { "_class_FXObject","_class_FXMenuButton",SwigFXMenuButtonToFXObject},
    { "_class_FXObject","_FXMenuButton",SwigFXMenuButtonToFXObject},
    { "_class_FXObject","_class_FXPyMenubar",SwigFXPyMenubarToFXObject},
    { "_class_FXObject","_FXPyMenubar",SwigFXPyMenubarToFXObject},
    { "_class_FXObject","_class_FXMenubar",SwigFXMenubarToFXObject},
    { "_class_FXObject","_FXMenubar",SwigFXMenubarToFXObject},
    { "_class_FXObject","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXObject},
    { "_class_FXObject","_FXPyMenuPane",SwigFXPyMenuPaneToFXObject},
    { "_class_FXObject","_class_FXMenuPane",SwigFXMenuPaneToFXObject},
    { "_class_FXObject","_FXMenuPane",SwigFXMenuPaneToFXObject},
    { "_class_FXObject","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXObject},
    { "_class_FXObject","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXObject},
    { "_class_FXObject","_class_FXMenuCaption",SwigFXMenuCaptionToFXObject},
    { "_class_FXObject","_FXMenuCaption",SwigFXMenuCaptionToFXObject},
    { "_class_FXObject","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXObject},
    { "_class_FXObject","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXObject},
    { "_class_FXObject","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXObject},
    { "_class_FXObject","_FXMenuSeparator",SwigFXMenuSeparatorToFXObject},
    { "_class_FXObject","_FXObject",0},
    { "_FXXPMIcon","_class_FXXPMIcon",0},
    { "_FXPyPopup","_class_FXPyPopup",0},
    { "_FXPyVerticalFrame","_class_FXPyVerticalFrame",0},
    { "_FXPyColorWell","_class_FXPyColorWell",0},
    { "_FXId","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXId},
    { "_FXId","_FXPyMenuTitle",SwigFXPyMenuTitleToFXId},
    { "_FXId","_class_FXMenuTitle",SwigFXMenuTitleToFXId},
    { "_FXId","_FXMenuTitle",SwigFXMenuTitleToFXId},
    { "_FXId","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXId},
    { "_FXId","_FXPyMenuCommand",SwigFXPyMenuCommandToFXId},
    { "_FXId","_class_FXMenuCommand",SwigFXMenuCommandToFXId},
    { "_FXId","_FXMenuCommand",SwigFXMenuCommandToFXId},
    { "_FXId","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXId},
    { "_FXId","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXId},
    { "_FXId","_class_FXMenuCascade",SwigFXMenuCascadeToFXId},
    { "_FXId","_FXMenuCascade",SwigFXMenuCascadeToFXId},
    { "_FXId","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXId},
    { "_FXId","_FXPyMenuButton",SwigFXPyMenuButtonToFXId},
    { "_FXId","_class_FXMenuButton",SwigFXMenuButtonToFXId},
    { "_FXId","_FXMenuButton",SwigFXMenuButtonToFXId},
    { "_FXId","_class_FXPyMenubar",SwigFXPyMenubarToFXId},
    { "_FXId","_FXPyMenubar",SwigFXPyMenubarToFXId},
    { "_FXId","_class_FXMenubar",SwigFXMenubarToFXId},
    { "_FXId","_FXMenubar",SwigFXMenubarToFXId},
    { "_FXId","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXId},
    { "_FXId","_FXPyMenuPane",SwigFXPyMenuPaneToFXId},
    { "_FXId","_class_FXMenuPane",SwigFXMenuPaneToFXId},
    { "_FXId","_FXMenuPane",SwigFXMenuPaneToFXId},
    { "_FXId","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXId},
    { "_FXId","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXId},
    { "_FXId","_class_FXMenuCaption",SwigFXMenuCaptionToFXId},
    { "_FXId","_FXMenuCaption",SwigFXMenuCaptionToFXId},
    { "_FXId","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXId},
    { "_FXId","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXId},
    { "_FXId","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXId},
    { "_FXId","_FXMenuSeparator",SwigFXMenuSeparatorToFXId},
    { "_FXId","_class_FXId",0},
    { "_class_FXDrawable","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuTitle",SwigFXPyMenuTitleToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuTitle",SwigFXMenuTitleToFXDrawable},
    { "_class_FXDrawable","_FXMenuTitle",SwigFXMenuTitleToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenuCommand",SwigFXPyMenuCommandToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuCommand",SwigFXPyMenuCommandToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuCommand",SwigFXMenuCommandToFXDrawable},
    { "_class_FXDrawable","_FXMenuCommand",SwigFXMenuCommandToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenuCascade",SwigFXPyMenuCascadeToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuCascade",SwigFXPyMenuCascadeToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuCascade",SwigFXMenuCascadeToFXDrawable},
    { "_class_FXDrawable","_FXMenuCascade",SwigFXMenuCascadeToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenuButton",SwigFXPyMenuButtonToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuButton",SwigFXPyMenuButtonToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuButton",SwigFXMenuButtonToFXDrawable},
    { "_class_FXDrawable","_FXMenuButton",SwigFXMenuButtonToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenubar",SwigFXPyMenubarToFXDrawable},
    { "_class_FXDrawable","_FXPyMenubar",SwigFXPyMenubarToFXDrawable},
    { "_class_FXDrawable","_class_FXMenubar",SwigFXMenubarToFXDrawable},
    { "_class_FXDrawable","_FXMenubar",SwigFXMenubarToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuPane",SwigFXPyMenuPaneToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuPane",SwigFXMenuPaneToFXDrawable},
    { "_class_FXDrawable","_FXMenuPane",SwigFXMenuPaneToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenuCaption",SwigFXPyMenuCaptionToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuCaption",SwigFXPyMenuCaptionToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuCaption",SwigFXMenuCaptionToFXDrawable},
    { "_class_FXDrawable","_FXMenuCaption",SwigFXMenuCaptionToFXDrawable},
    { "_class_FXDrawable","_class_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXDrawable},
    { "_class_FXDrawable","_FXPyMenuSeparator",SwigFXPyMenuSeparatorToFXDrawable},
    { "_class_FXDrawable","_class_FXMenuSeparator",SwigFXMenuSeparatorToFXDrawable},
    { "_class_FXDrawable","_FXMenuSeparator",SwigFXMenuSeparatorToFXDrawable},
    { "_class_FXDrawable","_FXDrawable",0},
    { "_FXPyBMPImage","_class_FXPyBMPImage",0},
    { "_FXPyICOImage","_class_FXPyICOImage",0},
    { "_FXPyMainWindow","_class_FXPyMainWindow",0},
    { "_FXHorizontalFrame","_class_FXHorizontalFrame",0},
    { "_class_FXStatusline","_FXStatusline",0},
    { "_FXPyPCXImage","_class_FXPyPCXImage",0},
    { "_FXPyRGBIcon","_class_FXPyRGBIcon",0},
    { "_class_FXPyDial","_FXPyDial",0},
    { "_class_FXPyListBox","_FXPyListBox",0},
    { "_class_FXPyJPGIcon","_FXPyJPGIcon",0},
    { "_FXTIFIcon","_class_FXTIFIcon",0},
    { "_FXScrollWindow","_class_FXScrollWindow",0},
    { "_FXList","_class_FXList",0},
    { "_class_FXMenubar","_class_FXPyMenubar",SwigFXPyMenubarToFXMenubar},
    { "_class_FXMenubar","_FXPyMenubar",SwigFXPyMenubarToFXMenubar},
    { "_class_FXMenubar","_FXMenubar",0},
    { "_FXMainWindow","_class_FXMainWindow",0},
    { "_class_FXMatrix","_FXMatrix",0},
    { "__XEvent","_FXRawEvent",0},
    { "_class_FXPyShutterItem","_FXPyShutterItem",0},
    { "_class_FXOptionMenu","_FXOptionMenu",0},
    { "_struct_FXEvent","_FXEvent",0},
    { "_class_FXStream","_FXStream",0},
    { "_class_FXPyStringDict","_FXPyStringDict",0},
    { "_class_FXPyMenuTitle","_FXPyMenuTitle",0},
    { "_class_FXPyJPGImage","_FXPyJPGImage",0},
    { "_FXTIFImage","_class_FXTIFImage",0},
    { "_FXPyIcon","_class_FXPyIcon",0},
    { "_FXPyAccelTable","_class_FXPyAccelTable",0},
    { "_class_FXPyLabel","_FXPyLabel",0},
    { "_FXTooltip","_class_FXTooltip",0},
    { "_class_FXTGAIcon","_FXTGAIcon",0},
    { "_FXPyDragCorner","_class_FXPyDragCorner",0},
    { "_class_FXToolbarGrip","_FXToolbarGrip",0},
    { "_struct_FXPSBounds","_FXPSBounds",0},
    { "_FXDCPrint","_class_FXDCPrint",0},
    { "_FXMenuPane","_class_FXPyMenuPane",SwigFXPyMenuPaneToFXMenuPane},
    { "_FXMenuPane","_FXPyMenuPane",SwigFXPyMenuPaneToFXMenuPane},
    { "_FXMenuPane","_class_FXMenuPane",0},
    { "_class_FXImage","_FXImage",0},
    { "_FXPyTabBar","_class_FXPyTabBar",0},
    { "_FXTabBook","_class_FXTabBook",0},
    { "_FXPoint","_class_FXPoint",0},
    { "_FXAccelTable","_class_FXAccelTable",0},
    { "_FXComboBox","_class_FXComboBox",0},
    { "_class_FXPyDriveBox","_FXPyDriveBox",0},
    { "_FXDragCorner","_class_FXDragCorner",0},
    { "_FXPyId","_class_FXPyId",0},
    { "_FXPyMenuCascade","_class_FXPyMenuCascade",0},
    { "_FXSelector","_FXInputHandle",0},
    { "_FXSelector","_FXDragType",0},
    { "_FXSelector","_FXHotKey",0},
    { "_FXSelector","_FXColor",0},
    { "_FXSelector","_FXID",0},
    { "_FXSelector","_FXuint",0},
    { "_FXSelector","_int",0},
    { "_FXSelector","_unsigned_int",0},
    { "_FXSelector","_FXint",0},
    { "_class_FXFont","_FXFont",0},
    { "_class_FXXPMImage","_FXXPMImage",0},
    { "_FXPyRecentFiles","_class_FXPyRecentFiles",0},
    { "_FXPyDebugTarget","_class_FXPyDebugTarget",0},
    { "_FXCommand","_class_FXCommand",0},
    { "_FXPyFrame","_class_FXPyFrame",0},
    { "_class_FXMenuTitle","_class_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuTitle},
    { "_class_FXMenuTitle","_FXPyMenuTitle",SwigFXPyMenuTitleToFXMenuTitle},
    { "_class_FXMenuTitle","_FXMenuTitle",0},
    { "_class_FXGIFImage","_FXGIFImage",0},
    { "_class_FXPyRGBImage","_FXPyRGBImage",0},
    { "_class_FXSplitter","_FXSplitter",0},
    { "_class_FXPyProgressBar","_FXPyProgressBar",0},
    { "_FXToolbarShell","_class_FXToolbarShell",0},
    { "_class_FXXPMIcon","_FXXPMIcon",0},
    { "_class_FXPyPopup","_FXPyPopup",0},
    { "_FXScrollCorner","_class_FXScrollCorner",0},
{0,0,0}};

static PyObject *SWIG_globals;
#ifdef __cplusplus
extern "C" 
#endif
SWIGEXPORT(void) initmenusc() {
	 PyObject *m, *d;
	 SWIG_globals = SWIG_newvarlink();
	 m = Py_InitModule("menusc", menuscMethods);
	 d = PyModule_GetDict(m);
	 PyDict_SetItemString(d,"MENU_AUTOGRAY", PyInt_FromLong((long) MENU_AUTOGRAY));
	 PyDict_SetItemString(d,"MENU_AUTOHIDE", PyInt_FromLong((long) MENU_AUTOHIDE));
	 PyDict_SetItemString(d,"MENUBUTTON_AUTOGRAY", PyInt_FromLong((long) MENUBUTTON_AUTOGRAY));
	 PyDict_SetItemString(d,"MENUBUTTON_AUTOHIDE", PyInt_FromLong((long) MENUBUTTON_AUTOHIDE));
	 PyDict_SetItemString(d,"MENUBUTTON_TOOLBAR", PyInt_FromLong((long) MENUBUTTON_TOOLBAR));
	 PyDict_SetItemString(d,"MENUBUTTON_DOWN", PyInt_FromLong((long) MENUBUTTON_DOWN));
	 PyDict_SetItemString(d,"MENUBUTTON_UP", PyInt_FromLong((long) MENUBUTTON_UP));
	 PyDict_SetItemString(d,"MENUBUTTON_LEFT", PyInt_FromLong((long) MENUBUTTON_LEFT));
	 PyDict_SetItemString(d,"MENUBUTTON_RIGHT", PyInt_FromLong((long) MENUBUTTON_RIGHT));
	 PyDict_SetItemString(d,"MENUBUTTON_NOARROWS", PyInt_FromLong((long) MENUBUTTON_NOARROWS));
	 PyDict_SetItemString(d,"MENUBUTTON_ATTACH_LEFT", PyInt_FromLong((long) MENUBUTTON_ATTACH_LEFT));
	 PyDict_SetItemString(d,"MENUBUTTON_ATTACH_TOP", PyInt_FromLong((long) MENUBUTTON_ATTACH_TOP));
	 PyDict_SetItemString(d,"MENUBUTTON_ATTACH_RIGHT", PyInt_FromLong((long) MENUBUTTON_ATTACH_RIGHT));
	 PyDict_SetItemString(d,"MENUBUTTON_ATTACH_BOTTOM", PyInt_FromLong((long) MENUBUTTON_ATTACH_BOTTOM));
	 PyDict_SetItemString(d,"MENUBUTTON_ATTACH_CENTER", PyInt_FromLong((long) MENUBUTTON_ATTACH_CENTER));
	 PyDict_SetItemString(d,"MENUBUTTON_ATTACH_BOTH", PyInt_FromLong((long) MENUBUTTON_ATTACH_BOTH));
	 PyDict_SetItemString(d,"MENUSTATE_NORMAL", PyInt_FromLong((long) MENUSTATE_NORMAL));
	 PyDict_SetItemString(d,"MENUSTATE_CHECKED", PyInt_FromLong((long) MENUSTATE_CHECKED));
	 PyDict_SetItemString(d,"MENUSTATE_RCHECKED", PyInt_FromLong((long) MENUSTATE_RCHECKED));
	 PyDict_SetItemString(d,"cvar", SWIG_globals);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuSeparator_deleteType",_wrap_FXMenuSeparator__deleteType_get, _wrap_FXMenuSeparator__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuSeparator_textType",_wrap_FXMenuSeparator__textType_get, _wrap_FXMenuSeparator__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuSeparator_stringType",_wrap_FXMenuSeparator__stringType_get, _wrap_FXMenuSeparator__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuSeparator_colorType",_wrap_FXMenuSeparator__colorType_get, _wrap_FXMenuSeparator__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuSeparator_urilistType",_wrap_FXMenuSeparator__urilistType_get, _wrap_FXMenuSeparator__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuSeparator_deleteType",_wrap_FXPyMenuSeparator__deleteType_get, _wrap_FXPyMenuSeparator__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuSeparator_textType",_wrap_FXPyMenuSeparator__textType_get, _wrap_FXPyMenuSeparator__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuSeparator_stringType",_wrap_FXPyMenuSeparator__stringType_get, _wrap_FXPyMenuSeparator__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuSeparator_colorType",_wrap_FXPyMenuSeparator__colorType_get, _wrap_FXPyMenuSeparator__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuSeparator_urilistType",_wrap_FXPyMenuSeparator__urilistType_get, _wrap_FXPyMenuSeparator__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCaption_deleteType",_wrap_FXMenuCaption__deleteType_get, _wrap_FXMenuCaption__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCaption_textType",_wrap_FXMenuCaption__textType_get, _wrap_FXMenuCaption__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCaption_stringType",_wrap_FXMenuCaption__stringType_get, _wrap_FXMenuCaption__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCaption_colorType",_wrap_FXMenuCaption__colorType_get, _wrap_FXMenuCaption__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCaption_urilistType",_wrap_FXMenuCaption__urilistType_get, _wrap_FXMenuCaption__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCaption_deleteType",_wrap_FXPyMenuCaption__deleteType_get, _wrap_FXPyMenuCaption__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCaption_textType",_wrap_FXPyMenuCaption__textType_get, _wrap_FXPyMenuCaption__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCaption_stringType",_wrap_FXPyMenuCaption__stringType_get, _wrap_FXPyMenuCaption__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCaption_colorType",_wrap_FXPyMenuCaption__colorType_get, _wrap_FXPyMenuCaption__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCaption_urilistType",_wrap_FXPyMenuCaption__urilistType_get, _wrap_FXPyMenuCaption__urilistType_set);
	 PyDict_SetItemString(d,"FX_MenuCascade_ID_MENUTIMER", PyInt_FromLong((long) FXMenuCascade::ID_MENUTIMER));
	 PyDict_SetItemString(d,"FX_MenuCascade_ID_LAST", PyInt_FromLong((long) FXMenuCascade::ID_LAST));
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCascade_deleteType",_wrap_FXMenuCascade__deleteType_get, _wrap_FXMenuCascade__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCascade_textType",_wrap_FXMenuCascade__textType_get, _wrap_FXMenuCascade__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCascade_stringType",_wrap_FXMenuCascade__stringType_get, _wrap_FXMenuCascade__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCascade_colorType",_wrap_FXMenuCascade__colorType_get, _wrap_FXMenuCascade__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCascade_urilistType",_wrap_FXMenuCascade__urilistType_get, _wrap_FXMenuCascade__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCascade_deleteType",_wrap_FXPyMenuCascade__deleteType_get, _wrap_FXPyMenuCascade__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCascade_textType",_wrap_FXPyMenuCascade__textType_get, _wrap_FXPyMenuCascade__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCascade_stringType",_wrap_FXPyMenuCascade__stringType_get, _wrap_FXPyMenuCascade__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCascade_colorType",_wrap_FXPyMenuCascade__colorType_get, _wrap_FXPyMenuCascade__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCascade_urilistType",_wrap_FXPyMenuCascade__urilistType_get, _wrap_FXPyMenuCascade__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCommand_deleteType",_wrap_FXMenuCommand__deleteType_get, _wrap_FXMenuCommand__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCommand_textType",_wrap_FXMenuCommand__textType_get, _wrap_FXMenuCommand__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCommand_stringType",_wrap_FXMenuCommand__stringType_get, _wrap_FXMenuCommand__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCommand_colorType",_wrap_FXMenuCommand__colorType_get, _wrap_FXMenuCommand__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuCommand_urilistType",_wrap_FXMenuCommand__urilistType_get, _wrap_FXMenuCommand__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCommand_deleteType",_wrap_FXPyMenuCommand__deleteType_get, _wrap_FXPyMenuCommand__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCommand_textType",_wrap_FXPyMenuCommand__textType_get, _wrap_FXPyMenuCommand__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCommand_stringType",_wrap_FXPyMenuCommand__stringType_get, _wrap_FXPyMenuCommand__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCommand_colorType",_wrap_FXPyMenuCommand__colorType_get, _wrap_FXPyMenuCommand__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuCommand_urilistType",_wrap_FXPyMenuCommand__urilistType_get, _wrap_FXPyMenuCommand__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuTitle_deleteType",_wrap_FXMenuTitle__deleteType_get, _wrap_FXMenuTitle__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuTitle_textType",_wrap_FXMenuTitle__textType_get, _wrap_FXMenuTitle__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuTitle_stringType",_wrap_FXMenuTitle__stringType_get, _wrap_FXMenuTitle__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuTitle_colorType",_wrap_FXMenuTitle__colorType_get, _wrap_FXMenuTitle__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FX_MenuTitle_urilistType",_wrap_FXMenuTitle__urilistType_get, _wrap_FXMenuTitle__urilistType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuTitle_deleteType",_wrap_FXPyMenuTitle__deleteType_get, _wrap_FXPyMenuTitle__deleteType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuTitle_textType",_wrap_FXPyMenuTitle__textType_get, _wrap_FXPyMenuTitle__textType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuTitle_stringType",_wrap_FXPyMenuTitle__stringType_get, _wrap_FXPyMenuTitle__stringType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuTitle_colorType",_wrap_FXPyMenuTitle__colorType_get, _wrap_FXPyMenuTitle__colorType_set);
	 SWIG_addvarlink(SWIG_globals,"FXMenuTitle_urilistType",_wrap_FXPyMenuTitle__urilistType_get, _wrap_FXPyMenuTitle__urilistType_set);
{
   int i;
   for (i = 0; _swig_mapping[i].n1; i++)
        SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
}
}
