%addtofunc --> %pythonAppend
Also used %pythonPrepend to provide backwards compatibility for a few parameter name changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -116,7 +116,7 @@ enum {
|
||||
|
||||
class wxGLCanvas : public wxWindow {
|
||||
public:
|
||||
%addtofunc wxGLCanvas "self._setOORInfo(self)"
|
||||
%pythonAppend wxGLCanvas "self._setOORInfo(self)"
|
||||
wxGLCanvas(wxWindow *parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
int *attribList = NULL,
|
||||
const wxPalette& palette = wxNullPalette);
|
||||
|
||||
%addtofunc wxGLCanvas "val._setOORInfo(val)"
|
||||
%pythonAppend wxGLCanvas "val._setOORInfo(val)"
|
||||
%name(GLCanvasWithContext)
|
||||
wxGLCanvas( wxWindow *parent,
|
||||
const wxGLContext *shared = NULL,
|
||||
|
Reference in New Issue
Block a user