Py_DECREF(strDashes);
wxPyEndBlockThreads(blocked);
}
-bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : False; }
-bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : True; }
+bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : false; }
+bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : true; }
#include <wx/image.h>
self->SetWidth(size.x);
self->SetHeight(size.y);
}
-bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : False; }
-bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : True; }
+bool wxBitmap___eq__(wxBitmap *self,wxBitmap const *other){ return other ? (*self == *other) : false; }
+bool wxBitmap___ne__(wxBitmap *self,wxBitmap const *other){ return other ? (*self != *other) : true; }
wxMask *new_wxMask(wxBitmap const &bitmap,wxColour const &colour){
if ( !colour.Ok() )
return new wxMask(bitmap, *wxBLACK);
wxCursor *new_wxCursor(wxString const *cursorName,long type,int hotSpotX,int hotSpotY){
#ifdef __WXGTK__
- wxCHECK_MSG(False, NULL,
+ wxCHECK_MSG(false, NULL,
wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
#else
return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
wxFont *new_wxFont(int pointSize,wxFontFamily family,int flags,wxString const &face,wxFontEncoding encoding){
return wxFont::New(pointSize, family, flags, face, encoding);
}
-bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : False; }
-bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : True; }
+wxFont *new_wxFont(wxSize const &pixelSize,int family,int style,int weight,bool underlined,wxString const &face,wxFontEncoding encoding){
+ return wxFontBase::New(pixelSize, family,
+ style, weight, underlined,
+ face, encoding);
+ }
+bool wxFont___eq__(wxFont *self,wxFont const *other){ return other ? (*self == *other) : false; }
+bool wxFont___ne__(wxFont *self,wxFont const *other){ return other ? (*self != *other) : true; }
class wxPyFontEnumerator : public wxFontEnumerator {
public:
return PyList_New(0);
}
+#include <locale.h>
wxLocale *new_wxLocale(int language,int flags){
+ wxLocale* loc;
if (language == -1)
- return new wxLocale();
+ loc = new wxLocale();
else
- return new wxLocale(language, flags);
+ loc = new wxLocale(language, flags);
+ // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
+ // for the floating point conversions and such to work right.
+#if PY_VERSION_HEX < 0x02040000
+ setlocale(LC_NUMERIC, "C");
+#endif
+ return loc;
+ }
+bool wxLocale_Init1(wxLocale *self,wxString const &szName,wxString const &szShort,wxString const &szLocale,bool bLoadDefault,bool bConvertEncoding){
+ bool rc = self->Init(szName, szShort, szLocale, bLoadDefault, bConvertEncoding);
+ // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
+ // for the floating point conversions and such to work right.
+#if PY_VERSION_HEX < 0x02040000
+ setlocale(LC_NUMERIC, "C");
+#endif
+ return rc;
+ }
+bool wxLocale_Init2(wxLocale *self,int language,int flags){
+ bool rc = self->Init(language, flags);
+ // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
+ // for the floating point conversions and such to work right.
+#if PY_VERSION_HEX < 0x02040000
+ setlocale(LC_NUMERIC, "C");
+#endif
+ return rc;
}
#include "wx/wxPython/pydrawxxx.h"
PyObject *resultobj;
wxString *arg1 = 0 ;
wxColour *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "colorName", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
PyObject *resultobj;
wxColour *arg1 = (wxColour *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
}
+static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxBrush *arg1 = (wxBrush *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Brush_IsHatch",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBrush,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxBrush const *)arg1)->IsHatch();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxBrush *arg1 = (wxBrush *) 0 ;
wxString *arg1 = 0 ;
int arg2 = (int) wxBITMAP_TYPE_ANY ;
wxBitmap *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
if (obj1) {
arg2 = (int)SWIG_As_int(obj1);
int arg3 ;
wxPalette *arg4 = (wxPalette *) NULL ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg2 = 0 ;
int arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
}
+static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxBitmap *arg1 = (wxBitmap *) 0 ;
+ wxPalette *result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Bitmap_GetPalette",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxPalette *)((wxBitmap const *)arg1)->GetPalette();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPalette, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxBitmap *arg1 = (wxBitmap *) 0 ;
int arg3 = (int) -1 ;
int arg4 = (int) -1 ;
wxIcon *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (int)SWIG_As_int(obj1);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg2 = 0 ;
int arg3 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg1 = (wxString *) &wxPyEmptyString ;
int arg2 = (int) 0 ;
wxIconLocation *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
PyObject *resultobj;
wxIconLocation *arg1 = (wxIconLocation *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg1 = 0 ;
long arg2 ;
wxIconBundle *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
wxIconBundle *arg1 = (wxIconBundle *) 0 ;
wxString *arg2 = 0 ;
long arg3 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (long)SWIG_As_long(obj2);
if (PyErr_Occurred()) SWIG_fail;
int arg3 = (int) 0 ;
int arg4 = (int) 0 ;
wxCursor *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
arg2 = (long)SWIG_As_long(obj1);
if (PyErr_Occurred()) SWIG_fail;
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->facename = *arg2;
wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFontMapper *arg1 = (wxFontMapper *) 0 ;
wxString *arg2 = 0 ;
- bool arg3 = (bool) True ;
+ bool arg3 = (bool) true ;
int result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
arg3 = (bool)SWIG_As_bool(obj2);
PyObject *resultobj;
wxString *arg1 = 0 ;
int result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "name", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFontMapper *arg1 = (wxFontMapper *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
- bool arg4 = (bool) True ;
+ bool arg4 = (bool) true ;
PyObject *result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
bool result;
- bool temp3 = False ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxFontMapper *arg1 = (wxFontMapper *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int arg2 ;
int arg3 ;
int arg4 ;
- bool arg5 = (bool) False ;
+ bool arg5 = (bool) false ;
wxString const &arg6_defvalue = wxPyEmptyString ;
wxString *arg6 = (wxString *) &arg6_defvalue ;
int arg7 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
- bool temp6 = False ;
+ bool temp6 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg6 = wxString_in_helper(obj5);
if (arg6 == NULL) SWIG_fail;
- temp6 = True;
+ temp6 = true;
}
}
if (obj6) {
PyObject *resultobj;
wxString *arg1 = 0 ;
wxFont *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "info", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
if (!wxPyCheckForApp()) SWIG_fail;
wxString *arg4 = (wxString *) &arg4_defvalue ;
int arg5 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
- bool temp4 = False ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
}
+static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxSize *arg1 = 0 ;
+ int arg2 ;
+ int arg3 ;
+ int arg4 ;
+ bool arg5 = (bool) false ;
+ wxString const &arg6_defvalue = wxEmptyString ;
+ wxString *arg6 = (wxString *) &arg6_defvalue ;
+ int arg7 = (int) wxFONTENCODING_DEFAULT ;
+ wxFont *result;
+ wxSize temp1 ;
+ bool temp6 = false ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ PyObject * obj2 = 0 ;
+ PyObject * obj3 = 0 ;
+ PyObject * obj4 = 0 ;
+ PyObject * obj5 = 0 ;
+ PyObject * obj6 = 0 ;
+ char *kwnames[] = {
+ (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
+ {
+ arg1 = &temp1;
+ if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
+ }
+ arg2 = (int)SWIG_As_int(obj1);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg3 = (int)SWIG_As_int(obj2);
+ if (PyErr_Occurred()) SWIG_fail;
+ arg4 = (int)SWIG_As_int(obj3);
+ if (PyErr_Occurred()) SWIG_fail;
+ if (obj4) {
+ arg5 = (bool)SWIG_As_bool(obj4);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ if (obj5) {
+ {
+ arg6 = wxString_in_helper(obj5);
+ if (arg6 == NULL) SWIG_fail;
+ temp6 = true;
+ }
+ }
+ if (obj6) {
+ arg7 = (int)SWIG_As_int(obj6);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ if (!wxPyCheckForApp()) SWIG_fail;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 1);
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return resultobj;
+ fail:
+ {
+ if (temp6)
+ delete arg6;
+ }
+ return NULL;
+}
+
+
static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
}
+static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxFont *arg1 = (wxFont *) 0 ;
+ wxSize result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_GetPixelSize",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = ((wxFont const *)arg1)->GetPixelSize();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ wxSize * resultptr;
+ resultptr = new wxSize((wxSize &) result);
+ resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
+static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxFont *arg1 = (wxFont *) 0 ;
+ bool result;
+ PyObject * obj0 = 0 ;
+ char *kwnames[] = {
+ (char *) "self", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_IsUsingSizeInPixels",kwnames,&obj0)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (bool)((wxFont const *)arg1)->IsUsingSizeInPixels();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ {
+ resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+ }
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
}
+static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxFont *arg1 = (wxFont *) 0 ;
+ wxSize *arg2 = 0 ;
+ wxSize temp2 ;
+ PyObject * obj0 = 0 ;
+ PyObject * obj1 = 0 ;
+ char *kwnames[] = {
+ (char *) "self",(char *) "pixelSize", NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Font_SetPixelSize",kwnames,&obj0,&obj1)) goto fail;
+ if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFont,
+ SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
+ {
+ arg2 = &temp2;
+ if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
+ }
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ (arg1)->SetPixelSize((wxSize const &)*arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ Py_INCREF(Py_None); resultobj = Py_None;
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
wxString *arg2 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxFont *arg1 = (wxFont *) 0 ;
- bool arg2 = (bool) True ;
+ bool arg2 = (bool) true ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
PyObject *resultobj;
wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ;
int arg2 = (int) wxFONTENCODING_SYSTEM ;
- bool arg3 = (bool) False ;
+ bool arg3 = (bool) false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
}
{
PyObject *resultobj;
wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->CanonicalName = *arg2;
PyObject *resultobj;
wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ;
wxString *arg2 = (wxString *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (arg1) (arg1)->Description = *arg2;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
- bool arg5 = (bool) True ;
- bool arg6 = (bool) False ;
+ bool arg5 = (bool) true ;
+ bool arg6 = (bool) false ;
bool result;
- bool temp2 = False ;
- bool temp3 = False ;
- bool temp4 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
if (obj3) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
if (obj4) {
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->Init((wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
+ result = (bool)wxLocale_Init1(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- result = (bool)(arg1)->Init(arg2,arg3);
+ result = (bool)wxLocale_Init2(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxString *arg1 = 0 ;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "prefix", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxLocale *arg1 = (wxLocale *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxLocale *arg1 = (wxLocale *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
PyObject *resultobj;
wxString *arg1 = 0 ;
wxLanguageInfo *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "locale", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxString result;
- bool temp2 = False ;
- bool temp3 = False ;
+ bool temp2 = false ;
+ bool temp3 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
{
arg3 = wxString_in_helper(obj2);
if (arg3 == NULL) SWIG_fail;
- temp3 = True;
+ temp3 = true;
}
}
{
PyObject *resultobj;
wxString *arg1 = 0 ;
wxString result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
if(!PyArg_ParseTuple(args,(char *)"O:GetTranslation",&obj0)) goto fail;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
size_t arg3 ;
wxString result;
- bool temp1 = False ;
- bool temp2 = False ;
+ bool temp1 = false ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ;
wxString *arg2 = 0 ;
wxString result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxBitmap *arg2 = 0 ;
int arg3 ;
int arg4 ;
- bool arg5 = (bool) False ;
+ bool arg5 = (bool) false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
wxDC *arg1 = (wxDC *) 0 ;
wxBitmap *arg2 = 0 ;
wxPoint *arg3 = 0 ;
- bool arg4 = (bool) False ;
+ bool arg4 = (bool) false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxString *arg2 = 0 ;
int arg3 ;
int arg4 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxDC *arg1 = (wxDC *) 0 ;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg3 ;
int arg4 ;
double arg5 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
wxString *arg2 = 0 ;
wxPoint *arg3 = 0 ;
double arg4 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxPoint temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg7 ;
int arg8 ;
int arg9 = (int) wxCOPY ;
- bool arg10 = (bool) False ;
+ bool arg10 = (bool) false ;
int arg11 = (int) -1 ;
int arg12 = (int) -1 ;
bool result;
wxDC *arg4 = (wxDC *) 0 ;
wxPoint *arg5 = 0 ;
int arg6 = (int) wxCOPY ;
- bool arg7 = (bool) False ;
+ bool arg7 = (bool) false ;
wxPoint const &arg8_defvalue = wxDefaultPosition ;
wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
bool result;
wxRect *arg3 = 0 ;
int arg4 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
int arg5 = (int) -1 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxRect temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg5 = (int) wxALIGN_LEFT|wxALIGN_TOP ;
int arg6 = (int) -1 ;
wxRect result;
- bool temp2 = False ;
+ bool temp2 = false ;
wxRect temp4 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
SWIG_POINTER_EXCEPTION | 0)) == -1)
wxDC *arg1 = (wxDC *) 0 ;
wxString *arg2 = 0 ;
bool result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString *arg2 = 0 ;
int *arg3 = (int *) 0 ;
int *arg4 = (int *) 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
int *arg5 = (int *) 0 ;
int *arg6 = (int *) 0 ;
wxFont *arg7 = (wxFont *) NULL ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
int *arg4 = (int *) 0 ;
int *arg5 = (int *) 0 ;
wxFont *arg6 = (wxFont *) NULL ;
- bool temp2 = False ;
+ bool temp2 = false ;
int temp3 ;
int res3 = 0 ;
int temp4 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
if (obj2) {
if ((SWIG_ConvertPtr(obj2,(void **)(&arg6),SWIGTYPE_p_wxFont,
wxDC *arg1 = (wxDC *) 0 ;
wxString *arg2 = 0 ;
wxArrayInt result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxString const &arg1_defvalue = wxPyEmptyString ;
wxString *arg1 = (wxString *) &arg1_defvalue ;
wxMetaFile *result;
- bool temp1 = False ;
+ bool temp1 = false ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "filename", NULL
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
{
wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxMetaFileDC *result;
- bool temp1 = False ;
- bool temp4 = False ;
+ bool temp1 = false ;
+ bool temp4 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg1 = wxString_in_helper(obj0);
if (arg1 == NULL) SWIG_fail;
- temp1 = True;
+ temp1 = true;
}
}
if (obj1) {
{
arg4 = wxString_in_helper(obj3);
if (arg4 == NULL) SWIG_fail;
- temp4 = True;
+ temp4 = true;
}
}
{
PyObject *resultobj;
int arg1 ;
int arg2 ;
- int arg3 = (int) True ;
+ int arg3 = (int) true ;
int arg4 = (int) 1 ;
wxImageList *result;
PyObject * obj0 = 0 ;
int arg4 ;
int arg5 ;
int arg6 = (int) wxIMAGELIST_DRAW_NORMAL ;
- bool arg7 = (bool) (bool)False ;
+ bool arg7 = (bool) (bool)false ;
bool result;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
wxString *arg2 = 0 ;
wxColour result;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxColourDatabase *arg1 = (wxColourDatabase *) 0 ;
wxString *arg2 = 0 ;
wxColour *arg3 = 0 ;
- bool temp2 = False ;
+ bool temp2 = false ;
wxColour temp3 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
{
arg3 = &temp3;
int arg3 ;
int arg4 ;
int arg5 ;
- bool temp2 = False ;
+ bool temp2 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg2 = wxString_in_helper(obj1);
if (arg2 == NULL) SWIG_fail;
- temp2 = True;
+ temp2 = true;
}
arg3 = (int)SWIG_As_int(obj2);
if (PyErr_Occurred()) SWIG_fail;
int arg3 ;
int arg4 ;
int arg5 ;
- bool arg6 = (bool) False ;
+ bool arg6 = (bool) false ;
wxString const &arg7_defvalue = wxPyEmptyString ;
wxString *arg7 = (wxString *) &arg7_defvalue ;
int arg8 = (int) wxFONTENCODING_DEFAULT ;
wxFont *result;
- bool temp7 = False ;
+ bool temp7 = false ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
{
arg7 = wxString_in_helper(obj6);
if (arg7 == NULL) SWIG_fail;
- temp7 = True;
+ temp7 = true;
}
}
if (obj7) {
{ (char *)"Brush_GetColour", (PyCFunction) _wrap_Brush_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Brush_GetStyle", (PyCFunction) _wrap_Brush_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Brush_GetStipple", (PyCFunction) _wrap_Brush_GetStipple, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Brush_IsHatch", (PyCFunction) _wrap_Brush_IsHatch, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Brush_Ok", (PyCFunction) _wrap_Brush_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Brush_swigregister", Brush_swigregister, METH_VARARGS, NULL },
{ (char *)"new_Bitmap", (PyCFunction) _wrap_new_Bitmap, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Bitmap_GetSubBitmap", (PyCFunction) _wrap_Bitmap_GetSubBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Bitmap_SaveFile", (PyCFunction) _wrap_Bitmap_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Bitmap_LoadFile", (PyCFunction) _wrap_Bitmap_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Bitmap_GetPalette", (PyCFunction) _wrap_Bitmap_GetPalette, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Bitmap_CopyFromIcon", (PyCFunction) _wrap_Bitmap_CopyFromIcon, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Bitmap_SetHeight", (PyCFunction) _wrap_Bitmap_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Bitmap_SetWidth", (PyCFunction) _wrap_Bitmap_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_FontFromNativeInfo", (PyCFunction) _wrap_new_FontFromNativeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_FontFromNativeInfoString", (PyCFunction) _wrap_new_FontFromNativeInfoString, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"new_Font2", (PyCFunction) _wrap_new_Font2, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"new_FontFromPixelSize", (PyCFunction) _wrap_new_FontFromPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_Ok", (PyCFunction) _wrap_Font_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font___eq__", (PyCFunction) _wrap_Font___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font___ne__", (PyCFunction) _wrap_Font___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetPointSize", (PyCFunction) _wrap_Font_GetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Font_GetPixelSize", (PyCFunction) _wrap_Font_GetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Font_IsUsingSizeInPixels", (PyCFunction) _wrap_Font_IsUsingSizeInPixels, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetFamily", (PyCFunction) _wrap_Font_GetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetStyle", (PyCFunction) _wrap_Font_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetWeight", (PyCFunction) _wrap_Font_GetWeight, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetNativeFontInfoDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoDesc, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction) _wrap_Font_GetNativeFontInfoUserDesc, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetPointSize", (PyCFunction) _wrap_Font_SetPointSize, METH_VARARGS | METH_KEYWORDS, NULL },
+ { (char *)"Font_SetPixelSize", (PyCFunction) _wrap_Font_SetPixelSize, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetFamily", (PyCFunction) _wrap_Font_SetFamily, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetStyle", (PyCFunction) _wrap_Font_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
{ (char *)"Font_SetWeight", (PyCFunction) _wrap_Font_SetWeight, METH_VARARGS | METH_KEYWORDS, NULL },