Better error message, flags --> style in wxHtmlWindow, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -168,6 +168,7 @@ if UNICODE and os.name != 'nt':
|
|||||||
|
|
||||||
if UNICODE:
|
if UNICODE:
|
||||||
BUILD_BASE = BUILD_BASE + '.unicode'
|
BUILD_BASE = BUILD_BASE + '.unicode'
|
||||||
|
VERSION = VERSION + 'u'
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
@@ -659,7 +659,7 @@ class _wxPyDeadObject:
|
|||||||
prevent crashes due to referencing a bogus C++ pointer.
|
prevent crashes due to referencing a bogus C++ pointer.
|
||||||
"""
|
"""
|
||||||
reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
|
reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
|
||||||
attrStr = "The C++ %s object has been deleted, attribute access no longer allowed."
|
attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed."
|
||||||
|
|
||||||
def __repr__( self ):
|
def __repr__( self ):
|
||||||
if not hasattr(self, "_name"):
|
if not hasattr(self, "_name"):
|
||||||
|
@@ -546,14 +546,14 @@ public:
|
|||||||
wxPyHtmlWindow(wxWindow *parent, int id = -1,
|
wxPyHtmlWindow(wxWindow *parent, int id = -1,
|
||||||
wxPoint& pos = wxDefaultPosition,
|
wxPoint& pos = wxDefaultPosition,
|
||||||
wxSize& size = wxDefaultSize,
|
wxSize& size = wxDefaultSize,
|
||||||
int flags=wxHW_SCROLLBAR_AUTO,
|
int style=wxHW_SCROLLBAR_AUTO,
|
||||||
const wxString& name = wxPyHtmlWindowNameStr);
|
const wxString& name = wxPyHtmlWindowNameStr);
|
||||||
%name(wxPreHtmlWindow)wxPyHtmlWindow();
|
%name(wxPreHtmlWindow)wxPyHtmlWindow();
|
||||||
|
|
||||||
bool Create(wxWindow *parent, int id = -1,
|
bool Create(wxWindow *parent, int id = -1,
|
||||||
wxPoint& pos = wxDefaultPosition,
|
wxPoint& pos = wxDefaultPosition,
|
||||||
wxSize& size = wxDefaultSize,
|
wxSize& size = wxDefaultSize,
|
||||||
int flags=wxHW_SCROLLBAR_AUTO,
|
int style=wxHW_SCROLLBAR_AUTO,
|
||||||
const wxString& name = wxPyHtmlWindowNameStr);
|
const wxString& name = wxPyHtmlWindowNameStr);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -4066,7 +4066,7 @@ static PyObject *_wrap_new_wxHtmlWindow(PyObject *self, PyObject *args, PyObject
|
|||||||
wxSize temp0;
|
wxSize temp0;
|
||||||
PyObject * _obj3 = 0;
|
PyObject * _obj3 = 0;
|
||||||
PyObject * _obj5 = 0;
|
PyObject * _obj5 = 0;
|
||||||
char *_kwnames[] = { "parent","id","pos","size","flags","name", NULL };
|
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
@@ -4161,7 +4161,7 @@ static PyObject *_wrap_wxHtmlWindow_Create(PyObject *self, PyObject *args, PyObj
|
|||||||
wxSize temp0;
|
wxSize temp0;
|
||||||
PyObject * _obj4 = 0;
|
PyObject * _obj4 = 0;
|
||||||
PyObject * _obj6 = 0;
|
PyObject * _obj6 = 0;
|
||||||
char *_kwnames[] = { "self","parent","id","pos","size","flags","name", NULL };
|
char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOiO:wxHtmlWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOiO:wxHtmlWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
|
||||||
|
@@ -1567,7 +1567,7 @@ class _wxPyDeadObject:
|
|||||||
prevent crashes due to referencing a bogus C++ pointer.
|
prevent crashes due to referencing a bogus C++ pointer.
|
||||||
"""
|
"""
|
||||||
reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
|
reprStr = "wxPython wrapper for DELETED %s object! (The C++ object no longer exists.)"
|
||||||
attrStr = "The C++ %s object has been deleted, attribute access no longer allowed."
|
attrStr = "The C++ part of the %s object has been deleted, attribute access no longer allowed."
|
||||||
|
|
||||||
def __repr__( self ):
|
def __repr__( self ):
|
||||||
if not hasattr(self, "_name"):
|
if not hasattr(self, "_name"):
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
%module wx
|
%module wx
|
||||||
|
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
%}
|
%}
|
||||||
|
Reference in New Issue
Block a user