Prep for wxPython 2.1b3 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,6 +14,7 @@ __init__.pyc
|
||||
__init__.pyc
|
||||
__init__.pyo
|
||||
__init__.pyo
|
||||
build.local
|
||||
cmndlgs.py
|
||||
cmndlgs.py
|
||||
cmndlgs.pyc
|
||||
@@ -104,6 +105,7 @@ wx.py
|
||||
wx.pyc
|
||||
wx.pyc
|
||||
wx.pyo
|
||||
wxPython.doc
|
||||
wxc.ilk
|
||||
wxc.pdb
|
||||
wxc.pyd
|
||||
|
||||
@@ -48,13 +48,36 @@ Or you can send mail directly to the list using this address:
|
||||
What's new in 2.1b3
|
||||
--------------------
|
||||
|
||||
This release is syncronized with release 2.1 snapshot 9 of wxWindows.
|
||||
|
||||
Switched to using SWIG from CVS (see http://swig.cs.uchicago.edu/cvs.html)
|
||||
for some of the new features and such. Also they have encorporated my
|
||||
patches so there is really no reason to stick with the current (very
|
||||
old) release...
|
||||
old) release... This version of SWIG gives the following new
|
||||
features:
|
||||
|
||||
1. Keyword arguments. You no longer have to specify all the
|
||||
parameters with defaults to a method just to specify a
|
||||
non-default value on the end. You can now do this instead:
|
||||
|
||||
win = wxWindow(parent, -1, style = mystyle)
|
||||
|
||||
2. There is now an an equivalence between Python's None and C++'s
|
||||
NULL. This means that any methods that might return NULL will
|
||||
now return None and you can use none where wxWindows might be
|
||||
expecting NULL. This makes things much more snake-ish.
|
||||
|
||||
|
||||
There is a new build system based on a new Python program instead of
|
||||
raw makefiles. Now wxPython builds are virtually the same on MSW or
|
||||
Unix systems. See the end of this file for new build instructions and
|
||||
see distrib/build.py for more details.
|
||||
|
||||
wxDC.Bilt now includes the useMask parameter, and has been split into
|
||||
two different versions. wxDC.BlitXY is like what was there before and
|
||||
takes raw coordinants and sizes, and the new wxDC.Blit is for the new
|
||||
interface using wxPoints and a wxSize.
|
||||
|
||||
New build system based on a Python program. Now wxPython builds are
|
||||
the same on MSW or Unix systems. See distrib/build.py for details.
|
||||
|
||||
|
||||
|
||||
@@ -337,6 +360,9 @@ below.)
|
||||
|
||||
You can use whatever flags you want, but I know these work.
|
||||
|
||||
For Win32 systems I use Visual C++ 6.0, but 5.0 should work. The
|
||||
build utility currently does not support any other win32 compilers.
|
||||
|
||||
2. At this point you may want to make an alias or symlink, script,
|
||||
batch file, whatever on the PATH that invokes
|
||||
$(WXWIN)/utils/wxPython/distrib/build.py to help simplify matters
|
||||
@@ -353,7 +379,7 @@ below.)
|
||||
The build.py script actually generates a Makefile based on what it
|
||||
finds on your system and information found in the build.cfg file.
|
||||
If you have troubles building or you want it built or installed in
|
||||
a different way, take a look at the docstring in build.py, you may
|
||||
a different way, take a look at the docstring in build.py. You may
|
||||
be able to override configuration options in a file named
|
||||
build.local.
|
||||
|
||||
|
||||
@@ -109,21 +109,20 @@ class wxPythonDemo(wxFrame):
|
||||
self.nb = wxNotebook(splitter2, -1)
|
||||
|
||||
# Set up a TextCtrl on the Overview Notebook page
|
||||
self.ovr = wxTextCtrl(self.nb, -1, '', wxDefaultPosition, wxDefaultSize,
|
||||
wxTE_MULTILINE|wxTE_READONLY)
|
||||
self.ovr = wxTextCtrl(self.nb, -1, style = wxTE_MULTILINE|wxTE_READONLY)
|
||||
self.nb.AddPage(self.ovr, "Overview")
|
||||
|
||||
|
||||
# Set up a TextCtrl on the Demo Code Notebook page
|
||||
self.txt = wxTextCtrl(self.nb, -1, '', wxDefaultPosition, wxDefaultSize,
|
||||
wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
|
||||
self.txt = wxTextCtrl(self.nb, -1,
|
||||
style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
|
||||
self.txt.SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false))
|
||||
self.nb.AddPage(self.txt, "Demo Code")
|
||||
|
||||
|
||||
# Set up a log on the View Log Notebook page
|
||||
self.log = wxTextCtrl(splitter2, -1, '', wxDefaultPosition, wxDefaultSize,
|
||||
wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
|
||||
self.log = wxTextCtrl(splitter2, -1,
|
||||
style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
|
||||
(w, self.charHeight) = self.log.GetTextExtent('X')
|
||||
#self.WriteText('wxPython Demo Log:\n')
|
||||
|
||||
@@ -154,7 +153,7 @@ class wxPythonDemo(wxFrame):
|
||||
numLines = h/self.charHeight
|
||||
x, y = self.log.PositionToXY(self.log.GetLastPosition())
|
||||
self.log.ShowPosition(self.log.XYToPosition(x, y-numLines))
|
||||
## self.log.ShowPosition(self.log.GetLastPosition())
|
||||
##self.log.ShowPosition(self.log.GetLastPosition())
|
||||
self.log.SetInsertionPointEnd()
|
||||
|
||||
def write(self, txt):
|
||||
|
||||
77
utils/wxPython/demo/htmlview.py
Normal file
77
utils/wxPython/demo/htmlview.py
Normal file
@@ -0,0 +1,77 @@
|
||||
from wxPython.wx import *
|
||||
from wxPython.html import *
|
||||
import sys
|
||||
|
||||
default_page = """
|
||||
<H1>HTML Viewer</H1>Please select <I>File->Open</I>
|
||||
to open a HTML file, or edit this page in the
|
||||
text control below and select <I>File->Update</I>
|
||||
<P>
|
||||
The python source can be seen
|
||||
<a href="%s">here</a>.
|
||||
""" % (sys.argv[0], )
|
||||
|
||||
class HtmlViewer(wxFrame):
|
||||
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
|
||||
wxFrame.__init__(self, parent, id, title, pos, size)
|
||||
self.CreateStatusBar(1)
|
||||
split = wxSplitterWindow(self, -1)
|
||||
self.html = wxHtmlWindow(split)
|
||||
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
|
||||
self.html.SetRelatedStatusBar(0)
|
||||
self.txt = wxTextCtrl(split, -1, default_page,
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
wxTE_MULTILINE)
|
||||
split.SplitHorizontally(self.html, self.txt, size.y/2)
|
||||
mbar = wxMenuBar()
|
||||
menu = wxMenu()
|
||||
menu.Append(1500, "Open")
|
||||
menu.Append(1501, "Reset")
|
||||
menu.Append(1502, "Update HTML")
|
||||
menu.AppendSeparator()
|
||||
menu.Append(1503, "Exit")
|
||||
mbar.Append(menu, "File")
|
||||
menu = wxMenu()
|
||||
menu.Append(1510, "Back")
|
||||
menu.Append(1511, "Forward")
|
||||
mbar.Append(menu, "Go")
|
||||
self.SetMenuBar(mbar)
|
||||
self.filename = ""
|
||||
EVT_MENU(self, 1500, self.OnFileOpen)
|
||||
EVT_MENU(self, 1501, self.OnFileReset)
|
||||
EVT_MENU(self, 1502, self.OnFileUpdate)
|
||||
EVT_MENU(self, 1503, self.OnClose)
|
||||
EVT_MENU(self, 1510, self.OnGoBack)
|
||||
EVT_MENU(self, 1511, self.OnGoForward)
|
||||
# A default opening text
|
||||
self.html.SetPage( default_page )
|
||||
def OnFileOpen(self, event):
|
||||
dlg = wxFileDialog(NULL, "Open file")
|
||||
if dlg.ShowModal() == wxID_OK:
|
||||
self.filename = dlg.GetPath()
|
||||
self.html.LoadPage(self.filename)
|
||||
def OnFileReset(self, event):
|
||||
self.html.SetPage( default_page )
|
||||
self.txt.SetValue( default_page )
|
||||
def OnFileUpdate(self, event):
|
||||
self.html.SetPage( self.txt.GetValue() )
|
||||
def OnGoBack(self, event):
|
||||
self.html.HistoryBack()
|
||||
def OnGoForward(self, event):
|
||||
self.html.HistoryForward()
|
||||
def OnClose(self,event):
|
||||
self.Destroy()
|
||||
|
||||
class MyApp(wxApp):
|
||||
def OnInit(self):
|
||||
frame = HtmlViewer(NULL, -1, "HTML Viewer")
|
||||
frame.Show(TRUE)
|
||||
self.SetTopWindow(frame)
|
||||
return TRUE
|
||||
|
||||
wxImage_AddHandler(wxPNGHandler())
|
||||
wxImage_AddHandler(wxGIFHandler())
|
||||
wxImage_AddHandler(wxJPEGHandler())
|
||||
|
||||
theApp = MyApp(0)
|
||||
theApp.MainLoop()
|
||||
97
utils/wxPython/demo/htmlwidget.py
Normal file
97
utils/wxPython/demo/htmlwidget.py
Normal file
@@ -0,0 +1,97 @@
|
||||
from wxPython.wx import *
|
||||
from wxPython.html import *
|
||||
import sys,string
|
||||
|
||||
# A bunch of simple widgets, all somehow derived from wxWindow
|
||||
class Widget1(wxWindow):
|
||||
def __init__(self, parent, param):
|
||||
wxWindow.__init__(self, parent, -1)
|
||||
self.text = wxTextCtrl(self, -1, param['param_str'], wxPoint(5,5),
|
||||
wxSize(200,150), wxTE_MULTILINE)
|
||||
but = wxButton(self, 1001, "Click me", wxPoint(50,160), wxSize(100,30))
|
||||
EVT_BUTTON(self, 1001, self.OnButton)
|
||||
self.SetSize(wxSize(210,200))
|
||||
def OnButton(self, event):
|
||||
self.text.AppendText( "Click!\n" )
|
||||
|
||||
class Widget2(wxButton):
|
||||
def __init__(self, parent, param):
|
||||
wxButton.__init__(self, parent, int(param['id']), param['title'])
|
||||
|
||||
class Widget3(wxTextCtrl):
|
||||
def __init__(self, parent, param):
|
||||
wxTextCtrl.__init__(self, parent, -1, "No clicks")
|
||||
self.clicked = 0;
|
||||
EVT_BUTTON(parent, int(param['button_id']), self.OnButton)
|
||||
def OnButton(self, event):
|
||||
self.clicked = self.clicked + 1
|
||||
self.SetValue("%d clicks" % (self.clicked,))
|
||||
|
||||
# make the widgets known in the widget module (aka htmlc)
|
||||
widget.Widget1 = Widget1
|
||||
widget.Widget2 = Widget2
|
||||
widget.Widget3 = Widget3
|
||||
|
||||
# our default page
|
||||
default_page = """
|
||||
<H2>wxPython widgets go HTML</H2>
|
||||
A bunch of wxPython widgets are scattered on this HTML page.
|
||||
Here's one:
|
||||
<center><python class="Widget1" greeting="Hello World"></center>
|
||||
<hr>
|
||||
Here's another:
|
||||
<center><python class="Widget2" float=70 id=1002 title="Button A"></center>
|
||||
It should always take up 70% of the page width.
|
||||
<p>And then there's this, listening to button A:
|
||||
<python class="Widget3" button_id=1002></p>
|
||||
"""
|
||||
|
||||
# our explanation
|
||||
apology = """
|
||||
For some bizarre reason, it takes forever and a day to display the
|
||||
widgets if they are constructed in the frame's constructor. This
|
||||
only happens in MSW, wxGTK works fine.
|
||||
<p>Select <I>File->Show it</I> to draw the widgets."""
|
||||
|
||||
default_page = default_page + "The HTML code for this page is\n <pre>" + default_page + "</pre>"
|
||||
|
||||
|
||||
class HtmlViewer(wxFrame):
|
||||
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
|
||||
wxFrame.__init__(self, parent, id, title, pos, size)
|
||||
self.CreateStatusBar(1)
|
||||
self.html = wxHtmlWindow(self)
|
||||
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
|
||||
self.html.SetRelatedStatusBar(0)
|
||||
mbar = wxMenuBar()
|
||||
menu = wxMenu()
|
||||
menu.Append(1500, "Show it")
|
||||
menu.Append(1503, "Exit")
|
||||
mbar.Append(menu, "File")
|
||||
EVT_MENU(self, 1500, self.OnShowIt)
|
||||
EVT_MENU(self, 1503, self.OnClose)
|
||||
self.SetMenuBar(mbar)
|
||||
# change apology below to default_page, if you dare!
|
||||
self.html.SetPage( default_page )
|
||||
def OnClose(self,event):
|
||||
self.Destroy()
|
||||
def OnShowIt(self,event):
|
||||
self.html.SetPage( default_page )
|
||||
# now quickly remove the menu option, to hide that
|
||||
# other bug; namely that widgets aren't removed when the
|
||||
# HTML page is.
|
||||
self.GetMenuBar().Enable(1500, FALSE)
|
||||
|
||||
class MyApp(wxApp):
|
||||
def OnInit(self):
|
||||
frame = HtmlViewer(NULL, -1, "HTML Viewer")
|
||||
frame.Show(TRUE)
|
||||
self.SetTopWindow(frame)
|
||||
return TRUE
|
||||
|
||||
wxImage_AddHandler(wxPNGHandler())
|
||||
wxImage_AddHandler(wxGIFHandler())
|
||||
wxImage_AddHandler(wxJPEGHandler())
|
||||
|
||||
theApp = MyApp(0)
|
||||
theApp.MainLoop()
|
||||
@@ -8,7 +8,7 @@ def runTest(frame, nb, log):
|
||||
|
||||
wxStaticText(win, -1, "This is a wxDialog", wxPoint(20, 20))
|
||||
wxButton(win, wxID_OK, " OK ", wxPoint(75, 120), wxDefaultSize).SetDefault()
|
||||
wxButton(win, wxID_CANCEL, " Cancel ", wxPoint(150, 120), wxDefaultSize)
|
||||
wxButton(win, wxID_CANCEL, " Cancel ", wxPoint(200, 120), wxDefaultSize)
|
||||
|
||||
val = win.ShowModal()
|
||||
if val == wxID_OK:
|
||||
|
||||
@@ -29,7 +29,7 @@ class TestTimerWin(wxPanel):
|
||||
wxPoint(15, 30))
|
||||
|
||||
wxButton(self, 11101, ' Start ', wxPoint(15, 75), wxDefaultSize)
|
||||
wxButton(self, 11102, ' Stop ', wxPoint(77, 75), wxDefaultSize)
|
||||
wxButton(self, 11102, ' Stop ', wxPoint(115, 75), wxDefaultSize)
|
||||
EVT_BUTTON(self, 11101, self.OnStart)
|
||||
EVT_BUTTON(self, 11102, self.OnStop)
|
||||
|
||||
|
||||
@@ -220,7 +220,7 @@ class BuildConfig:
|
||||
self.VERSION = __version__
|
||||
self.MODULE = ''
|
||||
self.SWIGFILES = []
|
||||
self.SWIGFLAGS = '-c++ -shadow -python -dnone -I$(WXPSRCDIR)'
|
||||
self.SWIGFLAGS = '-c++ -shadow -python -keyword -dnone -I$(WXPSRCDIR)'
|
||||
self.SOURCES = []
|
||||
self.PYFILES = []
|
||||
self.LFLAGS = ''
|
||||
@@ -230,6 +230,7 @@ class BuildConfig:
|
||||
self.OTHERLIBS = ''
|
||||
self.OTHERTARGETS = ''
|
||||
self.OTHERINSTALLTARGETS = ''
|
||||
self.OTHERUNINSTALLTARGETS = ''
|
||||
self.OTHERRULES = ''
|
||||
self.DEFAULTRULE = 'default: $(GENCODEDIR) $(TARGET)'
|
||||
self.PYVERSION = sys.version[:3]
|
||||
@@ -469,8 +470,8 @@ WXDIR = %(WXDIR)s
|
||||
VERSION = %(VERSION)s
|
||||
MODULE = %(MODULE)s
|
||||
SWIGFLAGS = %(SWIGFLAGS)s %(SWIGTOOLKITFLAG)s %(OTHERSWIGFLAGS)s
|
||||
CFLAGS = %(CFLAGS)s %(OTHERCFLAGS)s
|
||||
LFLAGS = %(LFLAGS)s %(OTHERLFLAGS)s
|
||||
CFLAGS = %(CFLAGS)s
|
||||
LFLAGS = %(LFLAGS)s
|
||||
PYVERSION = %(PYVERSION)s
|
||||
PYPREFIX = %(PYPREFIX)s
|
||||
EXECPREFIX = %(EXECPREFIX)s
|
||||
@@ -505,8 +506,8 @@ THREAD=-DWXP_USE_THREAD=1
|
||||
|
||||
|
||||
NOPCH=1
|
||||
OVERRIDEFLAGS=%(OVERRIDEFLAGS)s %(OTHERCFLAGS)s
|
||||
EXTRAFLAGS = %(CFLAGS)s
|
||||
OVERRIDEFLAGS=%(OVERRIDEFLAGS)s
|
||||
EXTRAFLAGS = $(CFLAGS) %(OTHERCFLAGS)s
|
||||
|
||||
LFLAGS = %(LFLAGS)s %(OTHERLFLAGS)s
|
||||
EXTRALIBS = %(LIBS)s %(OTHERLIBS)s
|
||||
@@ -537,7 +538,7 @@ clean:
|
||||
-erase $(TARGET)
|
||||
|
||||
|
||||
uninstall:
|
||||
uninstall: %(OTHERUNINSTALLTARGETS)s
|
||||
-erase $(TARGETDIR)\\$(TARGET)
|
||||
%(PYCLEANUP)s
|
||||
|
||||
@@ -611,6 +612,13 @@ $(GENCODEDIR):
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
showflags:
|
||||
@echo CPPFLAGS:
|
||||
@echo $(CPPFLAGS)
|
||||
@echo LFLAGS:
|
||||
@echo $(LFLAGS)
|
||||
|
||||
|
||||
|
||||
%(OTHERRULES)s
|
||||
'''
|
||||
@@ -631,7 +639,7 @@ WXDIR = %(WXDIR)s
|
||||
VERSION = %(VERSION)s
|
||||
MODULE = %(MODULE)s
|
||||
SWIGFLAGS = %(SWIGFLAGS)s %(SWIGTOOLKITFLAG)s %(OTHERSWIGFLAGS)s
|
||||
CFLAGS = %(CFLAGS)s %(OTHERCFLAGS)s
|
||||
CFLAGS = %(CFLAGS)s $(OPT) %(OTHERCFLAGS)s
|
||||
LFLAGS = %(LFLAGS)s %(OTHERLFLAGS)s
|
||||
LIBS = %(LIBS)s %(OTHERLIBS)s
|
||||
PYVERSION = %(PYVERSION)s
|
||||
@@ -679,7 +687,7 @@ clean:
|
||||
-rm -f *.o *$(SO) *~
|
||||
-rm -f $(TARGET)
|
||||
|
||||
uninstall:
|
||||
uninstall: %(OTHERUNINSTALLTARGETS)s
|
||||
-rm -f $(TARGETDIR)/$(TARGET)
|
||||
%(PYCLEANUP)s
|
||||
|
||||
|
||||
@@ -9,12 +9,15 @@ wxPython/demo/bitmaps/*.jpg
|
||||
wxPython/demo/README.txt
|
||||
wxPython/demo/*.xml
|
||||
|
||||
wxPython/distrib/build.py
|
||||
|
||||
wxPython/lib/*.py
|
||||
wxPython/lib/*.txt
|
||||
wxPython/lib/sizers/*.py
|
||||
wxPython/lib/sizers/*.txt
|
||||
|
||||
|
||||
wxPython/src/build.cfg
|
||||
wxPython/src/*.i
|
||||
wxPython/src/*.py
|
||||
wxPython/src/*.cpp
|
||||
@@ -23,9 +26,6 @@ wxPython/src/*.h
|
||||
wxPython/src/*.ico
|
||||
wxPython/src/*.def
|
||||
wxPython/src/*.rc
|
||||
wxPython/src/makefile.*
|
||||
wxPython/src/Makefile.pre.in
|
||||
wxPython/src/Setup.*
|
||||
|
||||
wxPython/src/msw/*.cpp
|
||||
wxPython/src/msw/*.h
|
||||
@@ -39,8 +39,64 @@ wxpython/src/motif/*.cpp
|
||||
wxPython/src/motif/*.h
|
||||
wxPython/src/motif/*.py
|
||||
|
||||
wxPython/src/qt/*.cpp
|
||||
wxPython/src/qt/*.h
|
||||
wxPython/src/qt/*.py
|
||||
|
||||
wxPython/SWIG.patches/*.patch
|
||||
wxPython/modules/html/build.cfg
|
||||
wxPython/modules/html/*.i
|
||||
wxPython/modules/html/*.py
|
||||
wxPython/modules/html/*.cpp
|
||||
wxPython/modules/html/*.c
|
||||
wxPython/modules/html/*.h
|
||||
wxPython/modules/html/*.def
|
||||
wxPython/modules/html/*.rc
|
||||
wxPython/modules/html/msw/*.cpp
|
||||
wxPython/modules/html/msw/*.h
|
||||
wxPython/modules/html/msw/*.py
|
||||
wxPython/modules/html/gtk/*.cpp
|
||||
wxPython/modules/html/gtk/*.h
|
||||
wxPython/modules/html/gtk/*.py
|
||||
|
||||
wxPython/modules/glcanvas/build.cfg
|
||||
wxPython/modules/glcanvas/*.i
|
||||
wxPython/modules/glcanvas/*.py
|
||||
wxPython/modules/glcanvas/*.cpp
|
||||
wxPython/modules/glcanvas/*.c
|
||||
wxPython/modules/glcanvas/*.h
|
||||
wxPython/modules/glcanvas/*.def
|
||||
wxPython/modules/glcanvas/*.rc
|
||||
wxPython/modules/glcanvas/msw/*.cpp
|
||||
wxPython/modules/glcanvas/msw/*.h
|
||||
wxPython/modules/glcanvas/msw/*.py
|
||||
wxPython/modules/glcanvas/gtk/*.cpp
|
||||
wxPython/modules/glcanvas/gtk/*.h
|
||||
wxPython/modules/glcanvas/gtk/*.py
|
||||
|
||||
wxPython/modules/utils/build.cfg
|
||||
wxPython/modules/utils/*.i
|
||||
wxPython/modules/utils/*.py
|
||||
wxPython/modules/utils/*.cpp
|
||||
wxPython/modules/utils/*.c
|
||||
wxPython/modules/utils/*.h
|
||||
wxPython/modules/utils/*.def
|
||||
wxPython/modules/utils/*.rc
|
||||
wxPython/modules/utils/msw/*.cpp
|
||||
wxPython/modules/utils/msw/*.h
|
||||
wxPython/modules/utils/msw/*.py
|
||||
wxPython/modules/utils/gtk/*.cpp
|
||||
wxPython/modules/utils/gtk/*.h
|
||||
wxPython/modules/utils/gtk/*.py
|
||||
|
||||
wxPython/modules/ogl/build.cfg
|
||||
wxPython/modules/ogl/*.i
|
||||
wxPython/modules/ogl/*.py
|
||||
wxPython/modules/ogl/*.cpp
|
||||
wxPython/modules/ogl/*.c
|
||||
wxPython/modules/ogl/*.h
|
||||
wxPython/modules/ogl/*.def
|
||||
wxPython/modules/ogl/*.rc
|
||||
wxPython/modules/ogl/msw/*.cpp
|
||||
wxPython/modules/ogl/msw/*.h
|
||||
wxPython/modules/ogl/msw/*.py
|
||||
wxPython/modules/ogl/gtk/*.cpp
|
||||
wxPython/modules/ogl/gtk/*.h
|
||||
wxPython/modules/ogl/gtk/*.py
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ item: Global
|
||||
Patch Flags=0000000000001001
|
||||
Patch Threshold=85
|
||||
Patch Memory=4000
|
||||
EXE Filename=wxPython-2.1b2.exe
|
||||
EXE Filename=wxPython-2.1b3.exe
|
||||
FTP Cluster Size=20
|
||||
Per-User Version ID=1
|
||||
Dialogs Version=6
|
||||
@@ -822,8 +822,8 @@ item: Install File
|
||||
Flags=0000001010000011
|
||||
end
|
||||
item: Install File
|
||||
Source=e:\projects\wx\lib\wx21b8.dll
|
||||
Destination=%SYS%\wx21b8.dll
|
||||
Source=e:\projects\wx\lib\wx21b9.dll
|
||||
Destination=%SYS%\wx21b9.dll
|
||||
Flags=0000001010010010
|
||||
end
|
||||
item: Install File
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,7 @@ import sys
|
||||
|
||||
MODULE = 'glcanvasc'
|
||||
SWIGFILES = ['glcanvas.i', ]
|
||||
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\%s' % (GENCODEDIR,)
|
||||
|
||||
|
||||
# Special action; for win32 we require you make the glcanvas lib. The
|
||||
# makefile will copy it to WXWIN\lib
|
||||
@@ -11,10 +11,12 @@ OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\%s' % (GENCODEDIR,)
|
||||
# file ourselves...
|
||||
if sys.platform == 'win32':
|
||||
OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
|
||||
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\win'
|
||||
else:
|
||||
SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
|
||||
print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\
|
||||
" if you have native GL!"
|
||||
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\gtk'
|
||||
OTHERLIBS = "-lMesaGL -lMesaGLU"
|
||||
OTHERRULES = """
|
||||
$(GENCODEDIR)/_glcanvas.cpp :
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,5 +2,6 @@ Makefile
|
||||
build.local
|
||||
utilsc.exp
|
||||
utilsc.ilk
|
||||
utilsc.pch
|
||||
utilsc.pyd
|
||||
wxp.pch
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 802)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -133,7 +133,7 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
extern "C" {
|
||||
#endif
|
||||
#define new_wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxConfig(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
||||
static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxConfig * _result;
|
||||
wxString * _arg0 = (wxString *) &wxPyEmptyStr;
|
||||
@@ -145,10 +145,11 @@ static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _obj3 = 0;
|
||||
char *_kwnames[] = { "appName","vendorName","localFilename","globalFilename","style", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"|OOOOl:new_wxConfig",&_obj0,&_obj1,&_obj2,&_obj3,&_arg4))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOOl:new_wxConfig",_kwnames,&_obj0,&_obj1,&_obj2,&_obj3,&_arg4))
|
||||
return NULL;
|
||||
if (_obj0)
|
||||
{
|
||||
@@ -214,13 +215,14 @@ static PyObject *_wrap_new_wxConfig(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define delete_wxConfig(_swigobj) (delete _swigobj)
|
||||
static PyObject *_wrap_delete_wxConfig(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_delete_wxConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:delete_wxConfig",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxConfig",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -240,13 +242,14 @@ static PyObject *_wrap_delete_wxConfig(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_DontCreateOnDemand(_swigobj) (_swigobj->DontCreateOnDemand())
|
||||
static PyObject *_wrap_wxConfig_DontCreateOnDemand(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_DontCreateOnDemand",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_DontCreateOnDemand",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -266,14 +269,15 @@ static PyObject *_wrap_wxConfig_DontCreateOnDemand(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxConfig_DeleteAll(_swigobj) (_swigobj->DeleteAll())
|
||||
static PyObject *_wrap_wxConfig_DeleteAll(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_DeleteAll",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_DeleteAll",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -292,7 +296,7 @@ static PyObject *_wrap_wxConfig_DeleteAll(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_DeleteEntry(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteEntry(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_DeleteEntry(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -301,9 +305,10 @@ static PyObject *_wrap_wxConfig_DeleteEntry(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
int tempbool2 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","key","bDeleteGroupIfEmpty", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|i:wxConfig_DeleteEntry",&_argo0,&_obj1,&tempbool2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxConfig_DeleteEntry",_kwnames,&_argo0,&_obj1,&tempbool2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -334,16 +339,17 @@ static PyObject *_wrap_wxConfig_DeleteEntry(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_DeleteGroup(_swigobj,_swigarg0) (_swigobj->DeleteGroup(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_DeleteGroup(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","key", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxConfig_DeleteGroup",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfig_DeleteGroup",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -373,16 +379,17 @@ static PyObject *_wrap_wxConfig_DeleteGroup(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_Exists(_swigobj,_swigarg0) (_swigobj->Exists(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_Exists(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","strName", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxConfig_Exists",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfig_Exists",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -412,16 +419,17 @@ static PyObject *_wrap_wxConfig_Exists(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_Flush(_swigobj,_swigarg0) (_swigobj->Flush(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_Flush(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
bool _arg1 = (bool ) FALSE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) FALSE;
|
||||
char *_kwnames[] = { "self","bCurrentOnly", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxConfig_Flush",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfig_Flush",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -441,14 +449,15 @@ static PyObject *_wrap_wxConfig_Flush(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_GetAppName(_swigobj) (_swigobj->GetAppName())
|
||||
static PyObject *_wrap_wxConfig_GetAppName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_GetAppName",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_GetAppName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -479,14 +488,15 @@ static PyObject * wxConfig_GetFirstGroup(wxConfig *self) {
|
||||
cont = self->GetFirstGroup(value, index);
|
||||
return __EnumerationHelper(cont, value, index);
|
||||
}
|
||||
static PyObject *_wrap_wxConfig_GetFirstGroup(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_GetFirstGroup",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_GetFirstGroup",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -514,14 +524,15 @@ static PyObject * wxConfig_GetFirstEntry(wxConfig *self) {
|
||||
cont = self->GetFirstEntry(value, index);
|
||||
return __EnumerationHelper(cont, value, index);
|
||||
}
|
||||
static PyObject *_wrap_wxConfig_GetFirstEntry(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_GetFirstEntry",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_GetFirstEntry",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -548,15 +559,16 @@ static PyObject * wxConfig_GetNextGroup(wxConfig *self,long index) {
|
||||
cont = self->GetNextGroup(value, index);
|
||||
return __EnumerationHelper(cont, value, index);
|
||||
}
|
||||
static PyObject *_wrap_wxConfig_GetNextGroup(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
wxConfig * _arg0;
|
||||
long _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","index", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Ol:wxConfig_GetNextGroup",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxConfig_GetNextGroup",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -583,15 +595,16 @@ static PyObject * wxConfig_GetNextEntry(wxConfig *self,long index) {
|
||||
cont = self->GetNextEntry(value, index);
|
||||
return __EnumerationHelper(cont, value, index);
|
||||
}
|
||||
static PyObject *_wrap_wxConfig_GetNextEntry(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
wxConfig * _arg0;
|
||||
long _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","index", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Ol:wxConfig_GetNextEntry",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxConfig_GetNextEntry",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -612,16 +625,17 @@ static PyObject *_wrap_wxConfig_GetNextEntry(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_GetNumberOfEntries(_swigobj,_swigarg0) (_swigobj->GetNumberOfEntries(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_GetNumberOfEntries(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxConfig * _arg0;
|
||||
bool _arg1 = (bool ) FALSE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) FALSE;
|
||||
char *_kwnames[] = { "self","bRecursive", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxConfig_GetNumberOfEntries",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfig_GetNumberOfEntries",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -641,16 +655,17 @@ static PyObject *_wrap_wxConfig_GetNumberOfEntries(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxConfig_GetNumberOfGroups(_swigobj,_swigarg0) (_swigobj->GetNumberOfGroups(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_GetNumberOfGroups(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxConfig * _arg0;
|
||||
bool _arg1 = (bool ) FALSE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) FALSE;
|
||||
char *_kwnames[] = { "self","bRecursive", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxConfig_GetNumberOfGroups",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfig_GetNumberOfGroups",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -670,14 +685,15 @@ static PyObject *_wrap_wxConfig_GetNumberOfGroups(PyObject *self, PyObject *args
|
||||
}
|
||||
|
||||
#define wxConfig_GetPath(_swigobj) (_swigobj->GetPath())
|
||||
static PyObject *_wrap_wxConfig_GetPath(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_GetPath",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_GetPath",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -701,14 +717,15 @@ static PyObject *_wrap_wxConfig_GetPath(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_GetVendorName(_swigobj) (_swigobj->GetVendorName())
|
||||
static PyObject *_wrap_wxConfig_GetVendorName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_GetVendorName",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_GetVendorName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -732,16 +749,17 @@ static PyObject *_wrap_wxConfig_GetVendorName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_HasEntry(_swigobj,_swigarg0) (_swigobj->HasEntry(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_HasEntry(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","strName", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxConfig_HasEntry",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfig_HasEntry",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -771,16 +789,17 @@ static PyObject *_wrap_wxConfig_HasEntry(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_HasGroup(_swigobj,_swigarg0) (_swigobj->HasGroup(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_HasGroup(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","strName", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxConfig_HasGroup",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfig_HasGroup",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -810,14 +829,15 @@ static PyObject *_wrap_wxConfig_HasGroup(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_IsExpandingEnvVars(_swigobj) (_swigobj->IsExpandingEnvVars())
|
||||
static PyObject *_wrap_wxConfig_IsExpandingEnvVars(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_IsExpandingEnvVars",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_IsExpandingEnvVars",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -836,14 +856,15 @@ static PyObject *_wrap_wxConfig_IsExpandingEnvVars(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxConfig_IsRecordingDefaults(_swigobj) (_swigobj->IsRecordingDefaults())
|
||||
static PyObject *_wrap_wxConfig_IsRecordingDefaults(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxConfig_IsRecordingDefaults",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxConfig_IsRecordingDefaults",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -862,7 +883,7 @@ static PyObject *_wrap_wxConfig_IsRecordingDefaults(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxConfig_Read(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_Read(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -871,9 +892,10 @@ static PyObject *_wrap_wxConfig_Read(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","key","defaultVal", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|O:wxConfig_Read",&_argo0,&_obj1,&_obj2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxConfig_Read",_kwnames,&_argo0,&_obj1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -920,7 +942,7 @@ static PyObject *_wrap_wxConfig_Read(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_ReadInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_ReadInt(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
long _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -928,9 +950,10 @@ static PyObject *_wrap_wxConfig_ReadInt(PyObject *self, PyObject *args) {
|
||||
long _arg2 = (long ) 0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","key","defaultVal", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|l:wxConfig_ReadInt",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|l:wxConfig_ReadInt",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -960,7 +983,7 @@ static PyObject *_wrap_wxConfig_ReadInt(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_ReadFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Read(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_ReadFloat(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
double _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -968,9 +991,10 @@ static PyObject *_wrap_wxConfig_ReadFloat(PyObject *self, PyObject *args) {
|
||||
double _arg2 = (double ) 0.0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","key","defaultVal", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|d:wxConfig_ReadFloat",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|d:wxConfig_ReadFloat",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1000,15 +1024,16 @@ static PyObject *_wrap_wxConfig_ReadFloat(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_SetExpandEnvVars(_swigobj,_swigarg0) (_swigobj->SetExpandEnvVars(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_SetExpandEnvVars(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxConfig * _arg0;
|
||||
bool _arg1 = (bool ) TRUE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","bDoIt", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxConfig_SetExpandEnvVars",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfig_SetExpandEnvVars",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1029,15 +1054,16 @@ static PyObject *_wrap_wxConfig_SetExpandEnvVars(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxConfig_SetPath(_swigobj,_swigarg0) (_swigobj->SetPath(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_SetPath(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxConfig * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","strPath", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxConfig_SetPath",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxConfig_SetPath",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1068,15 +1094,16 @@ static PyObject *_wrap_wxConfig_SetPath(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_SetRecordDefaults(_swigobj,_swigarg0) (_swigobj->SetRecordDefaults(_swigarg0))
|
||||
static PyObject *_wrap_wxConfig_SetRecordDefaults(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxConfig * _arg0;
|
||||
bool _arg1 = (bool ) TRUE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","bDoIt", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxConfig_SetRecordDefaults",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxConfig_SetRecordDefaults",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1097,7 +1124,7 @@ static PyObject *_wrap_wxConfig_SetRecordDefaults(PyObject *self, PyObject *args
|
||||
}
|
||||
|
||||
#define wxConfig_Write(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_Write(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -1106,9 +1133,10 @@ static PyObject *_wrap_wxConfig_Write(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","key","value", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOO:wxConfig_Write",&_argo0,&_obj1,&_obj2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxConfig_Write",_kwnames,&_argo0,&_obj1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1149,7 +1177,7 @@ static PyObject *_wrap_wxConfig_Write(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_WriteInt(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_WriteInt(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -1157,9 +1185,10 @@ static PyObject *_wrap_wxConfig_WriteInt(PyObject *self, PyObject *args) {
|
||||
long _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","key","value", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOl:wxConfig_WriteInt",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOl:wxConfig_WriteInt",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1189,7 +1218,7 @@ static PyObject *_wrap_wxConfig_WriteInt(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxConfig_WriteFloat(_swigobj,_swigarg0,_swigarg1) (_swigobj->Write(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxConfig_WriteFloat(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxConfig_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxConfig * _arg0;
|
||||
@@ -1197,9 +1226,10 @@ static PyObject *_wrap_wxConfig_WriteFloat(PyObject *self, PyObject *args) {
|
||||
double _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","key","value", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOd:wxConfig_WriteFloat",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxConfig_WriteFloat",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1229,36 +1259,36 @@ static PyObject *_wrap_wxConfig_WriteFloat(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef utilscMethods[] = {
|
||||
{ "wxConfig_WriteFloat", _wrap_wxConfig_WriteFloat, METH_VARARGS },
|
||||
{ "wxConfig_WriteInt", _wrap_wxConfig_WriteInt, METH_VARARGS },
|
||||
{ "wxConfig_Write", _wrap_wxConfig_Write, METH_VARARGS },
|
||||
{ "wxConfig_SetRecordDefaults", _wrap_wxConfig_SetRecordDefaults, METH_VARARGS },
|
||||
{ "wxConfig_SetPath", _wrap_wxConfig_SetPath, METH_VARARGS },
|
||||
{ "wxConfig_SetExpandEnvVars", _wrap_wxConfig_SetExpandEnvVars, METH_VARARGS },
|
||||
{ "wxConfig_ReadFloat", _wrap_wxConfig_ReadFloat, METH_VARARGS },
|
||||
{ "wxConfig_ReadInt", _wrap_wxConfig_ReadInt, METH_VARARGS },
|
||||
{ "wxConfig_Read", _wrap_wxConfig_Read, METH_VARARGS },
|
||||
{ "wxConfig_IsRecordingDefaults", _wrap_wxConfig_IsRecordingDefaults, METH_VARARGS },
|
||||
{ "wxConfig_IsExpandingEnvVars", _wrap_wxConfig_IsExpandingEnvVars, METH_VARARGS },
|
||||
{ "wxConfig_HasGroup", _wrap_wxConfig_HasGroup, METH_VARARGS },
|
||||
{ "wxConfig_HasEntry", _wrap_wxConfig_HasEntry, METH_VARARGS },
|
||||
{ "wxConfig_GetVendorName", _wrap_wxConfig_GetVendorName, METH_VARARGS },
|
||||
{ "wxConfig_GetPath", _wrap_wxConfig_GetPath, METH_VARARGS },
|
||||
{ "wxConfig_GetNumberOfGroups", _wrap_wxConfig_GetNumberOfGroups, METH_VARARGS },
|
||||
{ "wxConfig_GetNumberOfEntries", _wrap_wxConfig_GetNumberOfEntries, METH_VARARGS },
|
||||
{ "wxConfig_GetNextEntry", _wrap_wxConfig_GetNextEntry, METH_VARARGS },
|
||||
{ "wxConfig_GetNextGroup", _wrap_wxConfig_GetNextGroup, METH_VARARGS },
|
||||
{ "wxConfig_GetFirstEntry", _wrap_wxConfig_GetFirstEntry, METH_VARARGS },
|
||||
{ "wxConfig_GetFirstGroup", _wrap_wxConfig_GetFirstGroup, METH_VARARGS },
|
||||
{ "wxConfig_GetAppName", _wrap_wxConfig_GetAppName, METH_VARARGS },
|
||||
{ "wxConfig_Flush", _wrap_wxConfig_Flush, METH_VARARGS },
|
||||
{ "wxConfig_Exists", _wrap_wxConfig_Exists, METH_VARARGS },
|
||||
{ "wxConfig_DeleteGroup", _wrap_wxConfig_DeleteGroup, METH_VARARGS },
|
||||
{ "wxConfig_DeleteEntry", _wrap_wxConfig_DeleteEntry, METH_VARARGS },
|
||||
{ "wxConfig_DeleteAll", _wrap_wxConfig_DeleteAll, METH_VARARGS },
|
||||
{ "wxConfig_DontCreateOnDemand", _wrap_wxConfig_DontCreateOnDemand, METH_VARARGS },
|
||||
{ "delete_wxConfig", _wrap_delete_wxConfig, METH_VARARGS },
|
||||
{ "new_wxConfig", _wrap_new_wxConfig, METH_VARARGS },
|
||||
{ "wxConfig_WriteFloat", (PyCFunction) _wrap_wxConfig_WriteFloat, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_WriteInt", (PyCFunction) _wrap_wxConfig_WriteInt, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_Write", (PyCFunction) _wrap_wxConfig_Write, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_SetRecordDefaults", (PyCFunction) _wrap_wxConfig_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_SetPath", (PyCFunction) _wrap_wxConfig_SetPath, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_SetExpandEnvVars", (PyCFunction) _wrap_wxConfig_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_ReadFloat", (PyCFunction) _wrap_wxConfig_ReadFloat, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_ReadInt", (PyCFunction) _wrap_wxConfig_ReadInt, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_Read", (PyCFunction) _wrap_wxConfig_Read, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_IsRecordingDefaults", (PyCFunction) _wrap_wxConfig_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_IsExpandingEnvVars", (PyCFunction) _wrap_wxConfig_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_HasGroup", (PyCFunction) _wrap_wxConfig_HasGroup, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_HasEntry", (PyCFunction) _wrap_wxConfig_HasEntry, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetVendorName", (PyCFunction) _wrap_wxConfig_GetVendorName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetPath", (PyCFunction) _wrap_wxConfig_GetPath, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetNumberOfGroups", (PyCFunction) _wrap_wxConfig_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetNumberOfEntries", (PyCFunction) _wrap_wxConfig_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetNextEntry", (PyCFunction) _wrap_wxConfig_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetNextGroup", (PyCFunction) _wrap_wxConfig_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetFirstEntry", (PyCFunction) _wrap_wxConfig_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetFirstGroup", (PyCFunction) _wrap_wxConfig_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_GetAppName", (PyCFunction) _wrap_wxConfig_GetAppName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_Flush", (PyCFunction) _wrap_wxConfig_Flush, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_Exists", (PyCFunction) _wrap_wxConfig_Exists, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_DeleteGroup", (PyCFunction) _wrap_wxConfig_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_DeleteEntry", (PyCFunction) _wrap_wxConfig_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_DeleteAll", (PyCFunction) _wrap_wxConfig_DeleteAll, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxConfig_DontCreateOnDemand", (PyCFunction) _wrap_wxConfig_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxConfig", (PyCFunction) _wrap_delete_wxConfig, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxConfig", (PyCFunction) _wrap_new_wxConfig, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -24,14 +24,17 @@ dist:
|
||||
else:
|
||||
DEFAULTRULE = 'default: $(GENCODEDIR) lib$(HELPERLIB)$(SO) $(TARGET)'
|
||||
OTHERINSTALLTARGETS = 'installLibDemo installHelpers '
|
||||
OTHERUNINSTALLTARGETS = 'uninstallLibDemo uninstallHelpers '
|
||||
|
||||
|
||||
OTHERRULES = """
|
||||
lib$(HELPERLIB)$(SO) : helpers.o libpy.o
|
||||
$(LDSHARED) helpers.o libpy.o $(LFLAGS) -o $@
|
||||
|
||||
|
||||
installHelpers: $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
|
||||
|
||||
|
||||
$(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) : lib$(HELPERLIB)$(SO)
|
||||
cp $< $@
|
||||
@echo ---------------------------------------------------------
|
||||
@@ -60,6 +63,20 @@ installLibDemo:
|
||||
fi
|
||||
|
||||
|
||||
|
||||
uninstallLibDemo:
|
||||
@if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
|
||||
rm -rf $(TARGETDIR)/lib; \\
|
||||
rm -rf $(TARGETDIR)/demo; \\
|
||||
fi
|
||||
|
||||
|
||||
uninstallHelpers:
|
||||
rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
dist: tgz rpm
|
||||
|
||||
tgz:
|
||||
|
||||
@@ -274,8 +274,15 @@ public:
|
||||
~wxDC();
|
||||
|
||||
void BeginDrawing();
|
||||
bool Blit(long xdest, long ydest, long width, long height,
|
||||
wxDC *source, long xsrc, long ysrc, long logical_func);
|
||||
// %name(BlitXY)
|
||||
bool Blit(long xdest, long ydest,
|
||||
long width, long height,
|
||||
wxDC *source, long xsrc, long ysrc,
|
||||
int logicalFunc = wxCOPY, int useMask = FALSE);
|
||||
// bool Blit(const wxPoint& destPt, const wxSize& sz,
|
||||
// wxDC *source, const wxPoint& srcPt,
|
||||
// int logicalFunc = wxCOPY, int useMask = FALSE);
|
||||
|
||||
void Clear();
|
||||
void CrossHair(long x, long y);
|
||||
void DestroyClippingRegion();
|
||||
@@ -354,21 +361,26 @@ public:
|
||||
void StartPage();
|
||||
|
||||
|
||||
%addmethods {
|
||||
// This one is my own creation...
|
||||
void DrawBitmap(wxBitmap& bitmap, long x, long y, bool swapPalette=TRUE) {
|
||||
wxMemoryDC* memDC = new wxMemoryDC;
|
||||
memDC->SelectObject(bitmap);
|
||||
#ifdef __WXMSW__
|
||||
if (swapPalette)
|
||||
self->SetPalette(*bitmap.GetPalette());
|
||||
#endif
|
||||
self->Blit(x, y, bitmap.GetWidth(), bitmap.GetHeight(), memDC,
|
||||
0, 0, self->GetLogicalFunction());
|
||||
memDC->SelectObject(wxNullBitmap);
|
||||
delete memDC;
|
||||
}
|
||||
}
|
||||
// Don't need this one anymore as wxWindows has one...
|
||||
// %addmethods {
|
||||
// // This one is my own creation...
|
||||
// void DrawBitmap(wxBitmap& bitmap, long x, long y, bool swapPalette=TRUE) {
|
||||
// wxMemoryDC* memDC = new wxMemoryDC;
|
||||
// memDC->SelectObject(bitmap);
|
||||
// #ifdef __WXMSW__
|
||||
// if (swapPalette)
|
||||
// self->SetPalette(*bitmap.GetPalette());
|
||||
// #endif
|
||||
// self->Blit(x, y, bitmap.GetWidth(), bitmap.GetHeight(), memDC,
|
||||
// 0, 0, self->GetLogicalFunction());
|
||||
// memDC->SelectObject(wxNullBitmap);
|
||||
// delete memDC;
|
||||
// }
|
||||
// }
|
||||
|
||||
void DrawBitmap(const wxBitmap& bitmap, long x, long y,
|
||||
int useMask = FALSE);
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -498,6 +510,7 @@ extern wxCursor *wxHOURGLASS_CURSOR;
|
||||
extern wxCursor *wxCROSS_CURSOR;
|
||||
|
||||
extern wxBitmap wxNullBitmap;
|
||||
//extern wxMask wxNullMask;
|
||||
extern wxIcon wxNullIcon;
|
||||
extern wxCursor wxNullCursor;
|
||||
extern wxPen wxNullPen;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#include "gtk/gtk.h"
|
||||
#include <gtk/gtk.h>
|
||||
#endif
|
||||
|
||||
#undef DEBUG
|
||||
|
||||
@@ -36,6 +36,14 @@ extern PyThreadState* wxPyEventThreadState;
|
||||
extern bool wxPyInEvent;
|
||||
#endif
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
# define HELPEREXPORT __declspec(dllexport)
|
||||
#else
|
||||
# define HELPEREXPORT
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
class wxPyApp: public wxApp
|
||||
@@ -59,7 +67,8 @@ extern PyObject* wxPython_dict;
|
||||
PyObject* __wxSetDictionary(PyObject*, PyObject* args);
|
||||
|
||||
void wxPyEventThunker(wxObject*, wxEvent& event);
|
||||
PyObject* wxPyConstructObject(void* ptr, char* className);
|
||||
|
||||
HELPEREXPORT PyObject* wxPyConstructObject(void* ptr, char* className);
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
@@ -147,7 +156,7 @@ private:
|
||||
// wxPyCallbackHelper.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
class wxPyCallbackHelper {
|
||||
class HELPEREXPORT wxPyCallbackHelper {
|
||||
public:
|
||||
wxPyCallbackHelper();
|
||||
~wxPyCallbackHelper();
|
||||
@@ -171,6 +180,27 @@ private:
|
||||
// return type, if any as well as any parameter types.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__(PCLASS, CBNAME) \
|
||||
void CBNAME() { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("()")); \
|
||||
else \
|
||||
PCLASS::CBNAME(); \
|
||||
} \
|
||||
void base_##CBNAME() { \
|
||||
PCLASS::CBNAME(); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYPRIVATE \
|
||||
void _setSelf(PyObject* self) { \
|
||||
m_myInst.setSelf(self); \
|
||||
} \
|
||||
private: wxPyCallbackHelper m_myInst;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
|
||||
bool CBNAME(int a, int b) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
@@ -195,6 +225,8 @@ private:
|
||||
return PCLASS::CBNAME(a); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK_BOOL_INT_pure(PCLASS, CBNAME) \
|
||||
bool CBNAME(int a) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
@@ -205,26 +237,214 @@ private:
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__(PCLASS, CBNAME) \
|
||||
void CBNAME() { \
|
||||
#define PYCALLBACK__DC(PCLASS, CBNAME) \
|
||||
void CBNAME(wxDC& a) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("()")); \
|
||||
m_myInst.callCallback(Py_BuildValue("(O)", \
|
||||
wxPyConstructObject(&a, "wxDC"))); \
|
||||
else \
|
||||
PCLASS::CBNAME(); \
|
||||
PCLASS::CBNAME(a); \
|
||||
} \
|
||||
void base_##CBNAME() { \
|
||||
PCLASS::CBNAME(); \
|
||||
void base_##CBNAME(wxDC& a) { \
|
||||
PCLASS::CBNAME(a); \
|
||||
}
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__DCBOOL(PCLASS, CBNAME) \
|
||||
void CBNAME(wxDC& a, bool b) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Oi)", \
|
||||
wxPyConstructObject(&a, "wxDC"), (int)b)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
} \
|
||||
void base_##CBNAME(wxDC& a, bool b) { \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYPRIVATE \
|
||||
void _setSelf(PyObject* self) { \
|
||||
m_myInst.setSelf(self); \
|
||||
} \
|
||||
private: wxPyCallbackHelper m_myInst;
|
||||
#define PYCALLBACK__DCBOOL(PCLASS, CBNAME) \
|
||||
void CBNAME(wxDC& a, bool b) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Oi)", \
|
||||
wxPyConstructObject(&a, "wxDC"), (int)b)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
} \
|
||||
void base_##CBNAME(wxDC& a, bool b) { \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__2DBL(PCLASS, CBNAME) \
|
||||
void CBNAME(double a, double b) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(dd)",a,b)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
} \
|
||||
void base_##CBNAME(double a, double b) { \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__2DBL2INT(PCLASS, CBNAME) \
|
||||
void CBNAME(double a, double b, int c, int d) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(ddii)", \
|
||||
a,b,c,d)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d); \
|
||||
} \
|
||||
void base_##CBNAME(double a, double b, int c, int d) { \
|
||||
PCLASS::CBNAME(a, b, c, d); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__DC4DBLBOOL(PCLASS, CBNAME) \
|
||||
void CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Oddddi)", \
|
||||
wxPyConstructObject(&a, "wxDC"), \
|
||||
b, c, d, e, (int)f)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d, e, f); \
|
||||
} \
|
||||
void base_##CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
|
||||
PCLASS::CBNAME(a, b, c, d, e, f); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK_BOOL_DC4DBLBOOL(PCLASS, CBNAME) \
|
||||
bool CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
return m_myInst.callCallback(Py_BuildValue("(Oddddi)", \
|
||||
wxPyConstructObject(&a, "wxDC"), \
|
||||
b, c, d, e, (int)f)); \
|
||||
else \
|
||||
return PCLASS::CBNAME(a, b, c, d, e, f); \
|
||||
} \
|
||||
bool base_##CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
|
||||
return PCLASS::CBNAME(a, b, c, d, e, f); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__BOOL2DBL2INT(PCLASS, CBNAME) \
|
||||
void CBNAME(bool a, double b, double c, int d, int e) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(idii)", \
|
||||
(int)a,b,c,d,e)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d, e); \
|
||||
} \
|
||||
void base_##CBNAME(bool a, double b, double c, int d, int e) { \
|
||||
PCLASS::CBNAME(a, b, c, d, e); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__DC4DBL(PCLASS, CBNAME) \
|
||||
void CBNAME(wxDC& a, double b, double c, double d, double e) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Odddd)", \
|
||||
wxPyConstructObject(&a, "wxDC"), \
|
||||
b, c, d, e)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d, e); \
|
||||
} \
|
||||
void base_##CBNAME(wxDC& a, double b, double c, double d, double e) {\
|
||||
PCLASS::CBNAME(a, b, c, d, e); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__DCBOOL(PCLASS, CBNAME) \
|
||||
void CBNAME(wxDC& a, bool b) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Oi)", \
|
||||
wxPyConstructObject(&a, "wxDC"), \
|
||||
(int)b)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
} \
|
||||
void base_##CBNAME(wxDC& a, bool b) { \
|
||||
PCLASS::CBNAME(a, b); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__WXCPBOOL2DBL2INT(PCLASS, CBNAME) \
|
||||
void CBNAME(wxControlPoint* a, bool b, double c, double d, \
|
||||
int e, int f) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Oiddii)", \
|
||||
wxPyConstructObject(a, "wxControlPoint"),\
|
||||
(int)b, c, d, e, f)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d, e, f); \
|
||||
} \
|
||||
void base_##CBNAME(wxControlPoint* a, bool b, double c, double d, \
|
||||
int e, int f) { \
|
||||
PCLASS::CBNAME(a, b, c, d, e, f); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__WXCP2DBL2INT(PCLASS, CBNAME) \
|
||||
void CBNAME(wxControlPoint* a, double b, double c, int d, int e) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(Oddii)", \
|
||||
wxPyConstructObject(a, "wxControlPoint"),\
|
||||
b, c, d, e)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d, e); \
|
||||
} \
|
||||
void base_##CBNAME(wxControlPoint* a, double b, double c, \
|
||||
int d, int e) { \
|
||||
PCLASS::CBNAME(a, b, c, d, e); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__2DBLINT(PCLASS, CBNAME) \
|
||||
void CBNAME(double a, double b, int c) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(ddi)", a,b,c)); \
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c); \
|
||||
} \
|
||||
void base_##CBNAME(double a, double b, int c) { \
|
||||
PCLASS::CBNAME(a, b, c); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#define PYCALLBACK__BOOL2DBLINT(PCLASS, CBNAME) \
|
||||
void CBNAME(bool a, double b, double c, int d) { \
|
||||
if (m_myInst.findCallback(#CBNAME)) \
|
||||
m_myInst.callCallback(Py_BuildValue("(iddi)", (int)a,b,c,d));\
|
||||
else \
|
||||
PCLASS::CBNAME(a, b, c, d); \
|
||||
} \
|
||||
void base_##CBNAME(bool a, double b, double c, int d) { \
|
||||
PCLASS::CBNAME(a, b, c, d); \
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -68,8 +68,24 @@ public:
|
||||
double y;
|
||||
wxRealPoint(double x=0.0, double y=0.0);
|
||||
~wxRealPoint();
|
||||
|
||||
%addmethods {
|
||||
void Set(double x, double y) {
|
||||
self->x = x;
|
||||
self->y = y;
|
||||
}
|
||||
PyObject* asTuple() {
|
||||
PyObject* tup = PyTuple_New(2);
|
||||
PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
|
||||
PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
|
||||
return tup;
|
||||
}
|
||||
}
|
||||
%pragma(python) addtoclass = "def __str__(self): return str(self.asTuple())"
|
||||
%pragma(python) addtoclass = "def __repr__(self): return str(self.asTuple())"
|
||||
};
|
||||
|
||||
|
||||
class wxPoint {
|
||||
public:
|
||||
long x;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 794)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -135,7 +135,7 @@ static void *SwigwxFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -149,10 +149,11 @@ static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -202,14 +203,15 @@ static PyObject *_wrap_new_wxFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
int _arg1 = (int ) wxBOTH;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","direction", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxFrame_Centre",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxFrame_Centre",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -229,14 +231,15 @@ static PyObject *_wrap_wxFrame_Centre(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","id", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxFrame_Command",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Command",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -256,7 +259,7 @@ static PyObject *_wrap_wxFrame_Command(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_CreateStatusBar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CreateStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||
static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStatusBar * _result;
|
||||
wxFrame * _arg0;
|
||||
@@ -265,10 +268,11 @@ static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
|
||||
wxWindowID _arg3 = (wxWindowID ) -1;
|
||||
char * _arg4 = (char *) "statusBar";
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","number","style","id","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|ilis:wxFrame_CreateStatusBar",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ilis:wxFrame_CreateStatusBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -293,7 +297,7 @@ static PyObject *_wrap_wxFrame_CreateStatusBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_CreateToolBar(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CreateToolBar(_swigarg0,_swigarg1,_swigarg2))
|
||||
static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolBar * _result;
|
||||
wxFrame * _arg0;
|
||||
@@ -301,10 +305,11 @@ static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) {
|
||||
wxWindowID _arg2 = (wxWindowID ) -1;
|
||||
char * _arg3 = (char *) "toolBar";
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","style","id","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|lis:wxFrame_CreateToolBar",&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|lis:wxFrame_CreateToolBar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -329,15 +334,16 @@ static PyObject *_wrap_wxFrame_CreateToolBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetMenuBar(_swigobj) (_swigobj->GetMenuBar())
|
||||
static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMenuBar * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetMenuBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetMenuBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -362,15 +368,16 @@ static PyObject *_wrap_wxFrame_GetMenuBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetStatusBar(_swigobj) (_swigobj->GetStatusBar())
|
||||
static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxStatusBar * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetStatusBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetStatusBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -395,14 +402,15 @@ static PyObject *_wrap_wxFrame_GetStatusBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetTitle(_swigobj) (_swigobj->GetTitle())
|
||||
static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetTitle",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetTitle",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -426,15 +434,16 @@ static PyObject *_wrap_wxFrame_GetTitle(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
|
||||
static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolBar * _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_GetToolBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_GetToolBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -459,15 +468,16 @@ static PyObject *_wrap_wxFrame_GetToolBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Iconize(_swigobj,_swigarg0) (_swigobj->Iconize(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","iconize", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxFrame_Iconize",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Iconize",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -488,14 +498,15 @@ static PyObject *_wrap_wxFrame_Iconize(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_IsIconized(_swigobj) (_swigobj->IsIconized())
|
||||
static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxFrame_IsIconized",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFrame_IsIconized",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -514,15 +525,16 @@ static PyObject *_wrap_wxFrame_IsIconized(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","maximize", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxFrame_Maximize",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFrame_Maximize",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -543,15 +555,16 @@ static PyObject *_wrap_wxFrame_Maximize(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxAcceleratorTable * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","accel", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetAcceleratorTable",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetAcceleratorTable",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -578,15 +591,16 @@ static PyObject *_wrap_wxFrame_SetAcceleratorTable(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxFrame_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxIcon * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","icon", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetIcon",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetIcon",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -613,15 +627,16 @@ static PyObject *_wrap_wxFrame_SetIcon(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxMenuBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","menuBar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetMenuBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetMenuBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -648,15 +663,16 @@ static PyObject *_wrap_wxFrame_SetMenuBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetStatusBar(_swigobj,_swigarg0) (_swigobj->SetStatusBar(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxStatusBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","statusBar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetStatusBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -683,16 +699,17 @@ static PyObject *_wrap_wxFrame_SetStatusBar(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxString * _arg1;
|
||||
int _arg2 = (int ) 0;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","text","number", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|i:wxFrame_SetStatusText",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxFrame_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -723,16 +740,17 @@ static PyObject *_wrap_wxFrame_SetStatusText(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
int _arg1;
|
||||
int * _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","LIST", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetStatusWidths",&_argo0,&_obj2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetStatusWidths",_kwnames,&_argo0,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -770,15 +788,16 @@ static PyObject *_wrap_wxFrame_SetStatusWidths(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","title", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetTitle",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetTitle",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -809,15 +828,16 @@ static PyObject *_wrap_wxFrame_SetTitle(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
|
||||
static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxFrame * _arg0;
|
||||
wxToolBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","toolbar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxFrame_SetToolBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -868,7 +888,7 @@ static void *SwigwxMiniFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMiniFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMiniFrame * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -882,10 +902,11 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMiniFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMiniFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -935,27 +956,27 @@ static PyObject *_wrap_new_wxMiniFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef framescMethods[] = {
|
||||
{ "new_wxMiniFrame", _wrap_new_wxMiniFrame, METH_VARARGS },
|
||||
{ "wxFrame_SetToolBar", _wrap_wxFrame_SetToolBar, METH_VARARGS },
|
||||
{ "wxFrame_SetTitle", _wrap_wxFrame_SetTitle, METH_VARARGS },
|
||||
{ "wxFrame_SetStatusWidths", _wrap_wxFrame_SetStatusWidths, METH_VARARGS },
|
||||
{ "wxFrame_SetStatusText", _wrap_wxFrame_SetStatusText, METH_VARARGS },
|
||||
{ "wxFrame_SetStatusBar", _wrap_wxFrame_SetStatusBar, METH_VARARGS },
|
||||
{ "wxFrame_SetMenuBar", _wrap_wxFrame_SetMenuBar, METH_VARARGS },
|
||||
{ "wxFrame_SetIcon", _wrap_wxFrame_SetIcon, METH_VARARGS },
|
||||
{ "wxFrame_SetAcceleratorTable", _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS },
|
||||
{ "wxFrame_Maximize", _wrap_wxFrame_Maximize, METH_VARARGS },
|
||||
{ "wxFrame_IsIconized", _wrap_wxFrame_IsIconized, METH_VARARGS },
|
||||
{ "wxFrame_Iconize", _wrap_wxFrame_Iconize, METH_VARARGS },
|
||||
{ "wxFrame_GetToolBar", _wrap_wxFrame_GetToolBar, METH_VARARGS },
|
||||
{ "wxFrame_GetTitle", _wrap_wxFrame_GetTitle, METH_VARARGS },
|
||||
{ "wxFrame_GetStatusBar", _wrap_wxFrame_GetStatusBar, METH_VARARGS },
|
||||
{ "wxFrame_GetMenuBar", _wrap_wxFrame_GetMenuBar, METH_VARARGS },
|
||||
{ "wxFrame_CreateToolBar", _wrap_wxFrame_CreateToolBar, METH_VARARGS },
|
||||
{ "wxFrame_CreateStatusBar", _wrap_wxFrame_CreateStatusBar, METH_VARARGS },
|
||||
{ "wxFrame_Command", _wrap_wxFrame_Command, METH_VARARGS },
|
||||
{ "wxFrame_Centre", _wrap_wxFrame_Centre, METH_VARARGS },
|
||||
{ "new_wxFrame", _wrap_new_wxFrame, METH_VARARGS },
|
||||
{ "new_wxMiniFrame", (PyCFunction) _wrap_new_wxMiniFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetToolBar", (PyCFunction) _wrap_wxFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetTitle", (PyCFunction) _wrap_wxFrame_SetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetStatusWidths", (PyCFunction) _wrap_wxFrame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetStatusText", (PyCFunction) _wrap_wxFrame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetStatusBar", (PyCFunction) _wrap_wxFrame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetMenuBar", (PyCFunction) _wrap_wxFrame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetIcon", (PyCFunction) _wrap_wxFrame_SetIcon, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_SetAcceleratorTable", (PyCFunction) _wrap_wxFrame_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Maximize", (PyCFunction) _wrap_wxFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_IsIconized", (PyCFunction) _wrap_wxFrame_IsIconized, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Iconize", (PyCFunction) _wrap_wxFrame_Iconize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetToolBar", (PyCFunction) _wrap_wxFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetTitle", (PyCFunction) _wrap_wxFrame_GetTitle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetStatusBar", (PyCFunction) _wrap_wxFrame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_GetMenuBar", (PyCFunction) _wrap_wxFrame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_CreateToolBar", (PyCFunction) _wrap_wxFrame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_CreateStatusBar", (PyCFunction) _wrap_wxFrame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Command", (PyCFunction) _wrap_wxFrame_Command, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFrame_Centre", (PyCFunction) _wrap_wxFrame_Centre, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxFrame", (PyCFunction) _wrap_new_wxFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 802)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -3424,7 +3424,7 @@ static PyObject *_wrap_wxDC_BeginDrawing(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
#define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
|
||||
#define wxDC_Blit(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Blit(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
|
||||
static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
@@ -3436,12 +3436,13 @@ static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args) {
|
||||
wxDC * _arg5;
|
||||
long _arg6;
|
||||
long _arg7;
|
||||
long _arg8;
|
||||
int _arg8 = (int ) wxCOPY;
|
||||
int _arg9 = (int ) FALSE;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo5 = 0;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OllllOlll:wxDC_Blit",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8))
|
||||
if(!PyArg_ParseTuple(args,"OllllOll|ii:wxDC_Blit",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6,&_arg7,&_arg8,&_arg9))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -3459,7 +3460,7 @@ static PyObject *_wrap_wxDC_Blit(PyObject *self, PyObject *args) {
|
||||
}
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
_result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8);
|
||||
_result = (bool )wxDC_Blit(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
|
||||
|
||||
wxPy_END_ALLOW_THREADS;
|
||||
} _resultobj = Py_BuildValue("i",_result);
|
||||
@@ -5640,31 +5641,19 @@ static PyObject *_wrap_wxDC_StartPage(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static void wxDC_DrawBitmap(wxDC *self,wxBitmap & bitmap,long x,long y,bool swapPalette) {
|
||||
wxMemoryDC* memDC = new wxMemoryDC;
|
||||
memDC->SelectObject(bitmap);
|
||||
#ifdef __WXMSW__
|
||||
if (swapPalette)
|
||||
self->SetPalette(*bitmap.GetPalette());
|
||||
#endif
|
||||
self->Blit(x, y, bitmap.GetWidth(), bitmap.GetHeight(), memDC,
|
||||
0, 0, self->GetLogicalFunction());
|
||||
memDC->SelectObject(wxNullBitmap);
|
||||
delete memDC;
|
||||
}
|
||||
#define wxDC_DrawBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||
static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args) {
|
||||
PyObject * _resultobj;
|
||||
wxDC * _arg0;
|
||||
wxBitmap * _arg1;
|
||||
long _arg2;
|
||||
long _arg3;
|
||||
bool _arg4 = (bool ) TRUE;
|
||||
int _arg4 = (int ) FALSE;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
int tempbool4 = (int) TRUE;
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOll|i:wxDC_DrawBitmap",&_argo0,&_argo1,&_arg2,&_arg3,&tempbool4))
|
||||
if(!PyArg_ParseTuple(args,"OOll|i:wxDC_DrawBitmap",&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -5680,7 +5669,6 @@ static PyObject *_wrap_wxDC_DrawBitmap(PyObject *self, PyObject *args) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
_arg4 = (bool ) tempbool4;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
wxDC_DrawBitmap(_arg0,*_arg1,_arg2,_arg3,_arg4);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 794)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -138,13 +138,14 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static PyObject *_wrap_wxNullImage(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxNullImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":wxNullImage"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxNullImage",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -161,15 +162,16 @@ static PyObject *_wrap_wxNullImage(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxEmptyImage(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxEmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _result;
|
||||
int _arg0;
|
||||
int _arg1;
|
||||
char *_kwnames[] = { "width","height", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ii:wxEmptyImage",&_arg0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ii:wxEmptyImage",_kwnames,&_arg0,&_arg1))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -186,17 +188,18 @@ static PyObject *_wrap_wxEmptyImage(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxImageFromMime(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _result;
|
||||
wxString * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "name","mimetype", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxImageFromMime",&_obj0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageFromMime",_kwnames,&_obj0,&_obj1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -235,15 +238,16 @@ static PyObject *_wrap_wxImageFromMime(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxImageFromBitmap(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _result;
|
||||
wxBitmap * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "bitmap", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImageFromBitmap",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageFromBitmap",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -267,13 +271,14 @@ static PyObject *_wrap_wxImageFromBitmap(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxImage_AddHandler(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImageHandler * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "handler", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_AddHandler",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_AddHandler",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -293,13 +298,14 @@ static PyObject *_wrap_wxImage_AddHandler(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define new_wxImageHandler() (new wxImageHandler())
|
||||
static PyObject *_wrap_new_wxImageHandler(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxImageHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImageHandler * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxImageHandler"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxImageHandler",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -317,14 +323,15 @@ static PyObject *_wrap_new_wxImageHandler(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImageHandler_GetName(_swigobj) (_swigobj->GetName())
|
||||
static PyObject *_wrap_wxImageHandler_GetName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxImageHandler * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImageHandler_GetName",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageHandler_GetName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -348,14 +355,15 @@ static PyObject *_wrap_wxImageHandler_GetName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImageHandler_GetExtension(_swigobj) (_swigobj->GetExtension())
|
||||
static PyObject *_wrap_wxImageHandler_GetExtension(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxImageHandler * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImageHandler_GetExtension",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageHandler_GetExtension",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -379,14 +387,15 @@ static PyObject *_wrap_wxImageHandler_GetExtension(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxImageHandler_GetType(_swigobj) (_swigobj->GetType())
|
||||
static PyObject *_wrap_wxImageHandler_GetType(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
long _result;
|
||||
wxImageHandler * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImageHandler_GetType",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageHandler_GetType",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -405,14 +414,15 @@ static PyObject *_wrap_wxImageHandler_GetType(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImageHandler_GetMimeType(_swigobj) (_swigobj->GetMimeType())
|
||||
static PyObject *_wrap_wxImageHandler_GetMimeType(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxImageHandler * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImageHandler_GetMimeType",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImageHandler_GetMimeType",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -436,15 +446,16 @@ static PyObject *_wrap_wxImageHandler_GetMimeType(PyObject *self, PyObject *args
|
||||
}
|
||||
|
||||
#define wxImageHandler_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
|
||||
static PyObject *_wrap_wxImageHandler_SetName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImageHandler * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxImageHandler_SetName",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageHandler_SetName",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -475,15 +486,16 @@ static PyObject *_wrap_wxImageHandler_SetName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImageHandler_SetExtension(_swigobj,_swigarg0) (_swigobj->SetExtension(_swigarg0))
|
||||
static PyObject *_wrap_wxImageHandler_SetExtension(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImageHandler * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","extension", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxImageHandler_SetExtension",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageHandler_SetExtension",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -514,14 +526,15 @@ static PyObject *_wrap_wxImageHandler_SetExtension(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxImageHandler_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
|
||||
static PyObject *_wrap_wxImageHandler_SetType(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImageHandler * _arg0;
|
||||
long _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","type", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Ol:wxImageHandler_SetType",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxImageHandler_SetType",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -541,15 +554,16 @@ static PyObject *_wrap_wxImageHandler_SetType(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImageHandler_SetMimeType(_swigobj,_swigarg0) (_swigobj->SetMimeType(_swigarg0))
|
||||
static PyObject *_wrap_wxImageHandler_SetMimeType(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImageHandler * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","mimetype", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxImageHandler_SetMimeType",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImageHandler_SetMimeType",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -588,13 +602,14 @@ static void *SwigwxPNGHandlerTowxImageHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxPNGHandler() (new wxPNGHandler())
|
||||
static PyObject *_wrap_new_wxPNGHandler(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxPNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPNGHandler * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxPNGHandler"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPNGHandler",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -620,13 +635,14 @@ static void *SwigwxJPEGHandlerTowxImageHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxJPEGHandler() (new wxJPEGHandler())
|
||||
static PyObject *_wrap_new_wxJPEGHandler(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxJPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxJPEGHandler * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxJPEGHandler"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxJPEGHandler",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -652,13 +668,14 @@ static void *SwigwxBMPHandlerTowxImageHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxBMPHandler() (new wxBMPHandler())
|
||||
static PyObject *_wrap_new_wxBMPHandler(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxBMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBMPHandler * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxBMPHandler"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxBMPHandler",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -684,13 +701,14 @@ static void *SwigwxGIFHandlerTowxImageHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxGIFHandler() (new wxGIFHandler())
|
||||
static PyObject *_wrap_new_wxGIFHandler(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxGIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxGIFHandler * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxGIFHandler"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxGIFHandler",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -708,16 +726,17 @@ static PyObject *_wrap_new_wxGIFHandler(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define new_wxImage(_swigarg0,_swigarg1) (new wxImage(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_new_wxImage(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _result;
|
||||
wxString * _arg0;
|
||||
long _arg1 = (long ) wxBITMAP_TYPE_PNG;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "name","type", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|l:new_wxImage",&_obj0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:new_wxImage",_kwnames,&_obj0,&_arg1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -746,13 +765,14 @@ static PyObject *_wrap_new_wxImage(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define delete_wxImage(_swigobj) (delete _swigobj)
|
||||
static PyObject *_wrap_delete_wxImage(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_delete_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:delete_wxImage",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxImage",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -772,15 +792,16 @@ static PyObject *_wrap_delete_wxImage(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
|
||||
static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxBitmap * _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_ConvertToBitmap",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_ConvertToBitmap",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -800,15 +821,16 @@ static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_Create(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width","height", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxImage_Create",&_argo0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_Create",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -828,13 +850,14 @@ static PyObject *_wrap_wxImage_Create(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_Destroy(_swigobj) (_swigobj->Destroy())
|
||||
static PyObject *_wrap_wxImage_Destroy(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_Destroy",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_Destroy",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -854,17 +877,18 @@ static PyObject *_wrap_wxImage_Destroy(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_Scale(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _result;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width","height", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxImage_Scale",&_argo0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -884,15 +908,16 @@ static PyObject *_wrap_wxImage_Scale(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_Rescale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Rescale(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_Rescale(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width","height", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxImage_Rescale",&_argo0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_Rescale",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -912,7 +937,7 @@ static PyObject *_wrap_wxImage_Rescale(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_SetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
||||
static PyObject *_wrap_wxImage_SetRGB(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
@@ -921,9 +946,10 @@ static PyObject *_wrap_wxImage_SetRGB(PyObject *self, PyObject *args) {
|
||||
unsigned char _arg4;
|
||||
unsigned char _arg5;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","x","y","r","g","b", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oiibbb:wxImage_SetRGB",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiibbb:wxImage_SetRGB",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -943,16 +969,17 @@ static PyObject *_wrap_wxImage_SetRGB(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetRed(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRed(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_GetRed(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
unsigned char _result;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","x","y", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxImage_GetRed",&_argo0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_GetRed",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -971,16 +998,17 @@ static PyObject *_wrap_wxImage_GetRed(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetGreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetGreen(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_GetGreen(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
unsigned char _result;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","x","y", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxImage_GetGreen",&_argo0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_GetGreen",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -999,16 +1027,17 @@ static PyObject *_wrap_wxImage_GetGreen(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetBlue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBlue(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_GetBlue(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
unsigned char _result;
|
||||
wxImage * _arg0;
|
||||
int _arg1;
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","x","y", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxImage_GetBlue",&_argo0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxImage_GetBlue",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1027,7 +1056,7 @@ static PyObject *_wrap_wxImage_GetBlue(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_LoadFile(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxImage * _arg0;
|
||||
@@ -1035,9 +1064,10 @@ static PyObject *_wrap_wxImage_LoadFile(PyObject *self, PyObject *args) {
|
||||
long _arg2 = (long ) wxBITMAP_TYPE_PNG;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","name","type", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|l:wxImage_LoadFile",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|l:wxImage_LoadFile",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1067,7 +1097,7 @@ static PyObject *_wrap_wxImage_LoadFile(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_LoadMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxImage * _arg0;
|
||||
@@ -1076,9 +1106,10 @@ static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","name","mimetype", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOO:wxImage_LoadMimeFile",&_argo0,&_obj1,&_obj2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImage_LoadMimeFile",_kwnames,&_argo0,&_obj1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1119,7 +1150,7 @@ static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_SaveFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_SaveFile(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxImage * _arg0;
|
||||
@@ -1127,9 +1158,10 @@ static PyObject *_wrap_wxImage_SaveFile(PyObject *self, PyObject *args) {
|
||||
int _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","name","type", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOi:wxImage_SaveFile",&_argo0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxImage_SaveFile",_kwnames,&_argo0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1159,7 +1191,7 @@ static PyObject *_wrap_wxImage_SaveFile(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_SaveMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxImage * _arg0;
|
||||
@@ -1168,9 +1200,10 @@ static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
PyObject * _obj2 = 0;
|
||||
char *_kwnames[] = { "self","name","mimetype", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OOO:wxImage_SaveMimeFile",&_argo0,&_obj1,&_obj2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxImage_SaveMimeFile",_kwnames,&_argo0,&_obj1,&_obj2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1211,14 +1244,15 @@ static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_Ok(_swigobj) (_swigobj->Ok())
|
||||
static PyObject *_wrap_wxImage_Ok(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_Ok",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_Ok",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1237,14 +1271,15 @@ static PyObject *_wrap_wxImage_Ok(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetWidth(_swigobj) (_swigobj->GetWidth())
|
||||
static PyObject *_wrap_wxImage_GetWidth(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_GetWidth",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_GetWidth",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1263,14 +1298,15 @@ static PyObject *_wrap_wxImage_GetWidth(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetHeight(_swigobj) (_swigobj->GetHeight())
|
||||
static PyObject *_wrap_wxImage_GetHeight(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_GetHeight",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_GetHeight",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1293,14 +1329,15 @@ static PyObject * wxImage_GetData(wxImage *self) {
|
||||
int len = self->GetWidth() * self->GetHeight() * 3;
|
||||
return PyString_FromStringAndSize((char*)data, len);
|
||||
}
|
||||
static PyObject *_wrap_wxImage_GetData(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_GetData",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_GetData",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1330,15 +1367,16 @@ static void wxImage_SetData(wxImage *self,PyObject * data) {
|
||||
dataPtr = (unsigned char*)PyString_AsString(data);
|
||||
self->SetData(dataPtr);
|
||||
}
|
||||
static PyObject *_wrap_wxImage_SetData(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
PyObject * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","data", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxImage_SetData",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxImage_SetData",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1361,16 +1399,17 @@ static PyObject *_wrap_wxImage_SetData(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_SetMaskColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetMaskColour(_swigarg0,_swigarg1,_swigarg2))
|
||||
static PyObject *_wrap_wxImage_SetMaskColour(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
unsigned char _arg1;
|
||||
unsigned char _arg2;
|
||||
unsigned char _arg3;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","r","g","b", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Obbb:wxImage_SetMaskColour",&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Obbb:wxImage_SetMaskColour",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1390,14 +1429,15 @@ static PyObject *_wrap_wxImage_SetMaskColour(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetMaskRed(_swigobj) (_swigobj->GetMaskRed())
|
||||
static PyObject *_wrap_wxImage_GetMaskRed(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
unsigned char _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_GetMaskRed",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_GetMaskRed",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1416,14 +1456,15 @@ static PyObject *_wrap_wxImage_GetMaskRed(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetMaskGreen(_swigobj) (_swigobj->GetMaskGreen())
|
||||
static PyObject *_wrap_wxImage_GetMaskGreen(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
unsigned char _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_GetMaskGreen",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_GetMaskGreen",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1442,14 +1483,15 @@ static PyObject *_wrap_wxImage_GetMaskGreen(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_GetMaskBlue(_swigobj) (_swigobj->GetMaskBlue())
|
||||
static PyObject *_wrap_wxImage_GetMaskBlue(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
unsigned char _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_GetMaskBlue",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_GetMaskBlue",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1468,15 +1510,16 @@ static PyObject *_wrap_wxImage_GetMaskBlue(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
|
||||
static PyObject *_wrap_wxImage_SetMask(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxImage * _arg0;
|
||||
bool _arg1 = (bool ) TRUE;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1 = (int) TRUE;
|
||||
char *_kwnames[] = { "self","mask", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|i:wxImage_SetMask",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxImage_SetMask",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1497,14 +1540,15 @@ static PyObject *_wrap_wxImage_SetMask(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxImage_HasMask(_swigobj) (_swigobj->HasMask())
|
||||
static PyObject *_wrap_wxImage_HasMask(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxImage_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxImage * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxImage_HasMask",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxImage_HasMask",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1523,50 +1567,50 @@ static PyObject *_wrap_wxImage_HasMask(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef imagecMethods[] = {
|
||||
{ "wxImage_HasMask", _wrap_wxImage_HasMask, METH_VARARGS },
|
||||
{ "wxImage_SetMask", _wrap_wxImage_SetMask, METH_VARARGS },
|
||||
{ "wxImage_GetMaskBlue", _wrap_wxImage_GetMaskBlue, METH_VARARGS },
|
||||
{ "wxImage_GetMaskGreen", _wrap_wxImage_GetMaskGreen, METH_VARARGS },
|
||||
{ "wxImage_GetMaskRed", _wrap_wxImage_GetMaskRed, METH_VARARGS },
|
||||
{ "wxImage_SetMaskColour", _wrap_wxImage_SetMaskColour, METH_VARARGS },
|
||||
{ "wxImage_SetData", _wrap_wxImage_SetData, METH_VARARGS },
|
||||
{ "wxImage_GetData", _wrap_wxImage_GetData, METH_VARARGS },
|
||||
{ "wxImage_GetHeight", _wrap_wxImage_GetHeight, METH_VARARGS },
|
||||
{ "wxImage_GetWidth", _wrap_wxImage_GetWidth, METH_VARARGS },
|
||||
{ "wxImage_Ok", _wrap_wxImage_Ok, METH_VARARGS },
|
||||
{ "wxImage_SaveMimeFile", _wrap_wxImage_SaveMimeFile, METH_VARARGS },
|
||||
{ "wxImage_SaveFile", _wrap_wxImage_SaveFile, METH_VARARGS },
|
||||
{ "wxImage_LoadMimeFile", _wrap_wxImage_LoadMimeFile, METH_VARARGS },
|
||||
{ "wxImage_LoadFile", _wrap_wxImage_LoadFile, METH_VARARGS },
|
||||
{ "wxImage_GetBlue", _wrap_wxImage_GetBlue, METH_VARARGS },
|
||||
{ "wxImage_GetGreen", _wrap_wxImage_GetGreen, METH_VARARGS },
|
||||
{ "wxImage_GetRed", _wrap_wxImage_GetRed, METH_VARARGS },
|
||||
{ "wxImage_SetRGB", _wrap_wxImage_SetRGB, METH_VARARGS },
|
||||
{ "wxImage_Rescale", _wrap_wxImage_Rescale, METH_VARARGS },
|
||||
{ "wxImage_Scale", _wrap_wxImage_Scale, METH_VARARGS },
|
||||
{ "wxImage_Destroy", _wrap_wxImage_Destroy, METH_VARARGS },
|
||||
{ "wxImage_Create", _wrap_wxImage_Create, METH_VARARGS },
|
||||
{ "wxImage_ConvertToBitmap", _wrap_wxImage_ConvertToBitmap, METH_VARARGS },
|
||||
{ "delete_wxImage", _wrap_delete_wxImage, METH_VARARGS },
|
||||
{ "new_wxImage", _wrap_new_wxImage, METH_VARARGS },
|
||||
{ "new_wxGIFHandler", _wrap_new_wxGIFHandler, METH_VARARGS },
|
||||
{ "new_wxBMPHandler", _wrap_new_wxBMPHandler, METH_VARARGS },
|
||||
{ "new_wxJPEGHandler", _wrap_new_wxJPEGHandler, METH_VARARGS },
|
||||
{ "new_wxPNGHandler", _wrap_new_wxPNGHandler, METH_VARARGS },
|
||||
{ "wxImageHandler_SetMimeType", _wrap_wxImageHandler_SetMimeType, METH_VARARGS },
|
||||
{ "wxImageHandler_SetType", _wrap_wxImageHandler_SetType, METH_VARARGS },
|
||||
{ "wxImageHandler_SetExtension", _wrap_wxImageHandler_SetExtension, METH_VARARGS },
|
||||
{ "wxImageHandler_SetName", _wrap_wxImageHandler_SetName, METH_VARARGS },
|
||||
{ "wxImageHandler_GetMimeType", _wrap_wxImageHandler_GetMimeType, METH_VARARGS },
|
||||
{ "wxImageHandler_GetType", _wrap_wxImageHandler_GetType, METH_VARARGS },
|
||||
{ "wxImageHandler_GetExtension", _wrap_wxImageHandler_GetExtension, METH_VARARGS },
|
||||
{ "wxImageHandler_GetName", _wrap_wxImageHandler_GetName, METH_VARARGS },
|
||||
{ "new_wxImageHandler", _wrap_new_wxImageHandler, METH_VARARGS },
|
||||
{ "wxImage_AddHandler", _wrap_wxImage_AddHandler, METH_VARARGS },
|
||||
{ "wxImageFromBitmap", _wrap_wxImageFromBitmap, METH_VARARGS },
|
||||
{ "wxImageFromMime", _wrap_wxImageFromMime, METH_VARARGS },
|
||||
{ "wxEmptyImage", _wrap_wxEmptyImage, METH_VARARGS },
|
||||
{ "wxNullImage", _wrap_wxNullImage, METH_VARARGS },
|
||||
{ "wxImage_HasMask", (PyCFunction) _wrap_wxImage_HasMask, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_SetMask", (PyCFunction) _wrap_wxImage_SetMask, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetMaskBlue", (PyCFunction) _wrap_wxImage_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetMaskGreen", (PyCFunction) _wrap_wxImage_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetMaskRed", (PyCFunction) _wrap_wxImage_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_SetMaskColour", (PyCFunction) _wrap_wxImage_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_SetData", (PyCFunction) _wrap_wxImage_SetData, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetData", (PyCFunction) _wrap_wxImage_GetData, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetHeight", (PyCFunction) _wrap_wxImage_GetHeight, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetWidth", (PyCFunction) _wrap_wxImage_GetWidth, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Ok", (PyCFunction) _wrap_wxImage_Ok, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_SaveMimeFile", (PyCFunction) _wrap_wxImage_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_SaveFile", (PyCFunction) _wrap_wxImage_SaveFile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_LoadMimeFile", (PyCFunction) _wrap_wxImage_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_LoadFile", (PyCFunction) _wrap_wxImage_LoadFile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetBlue", (PyCFunction) _wrap_wxImage_GetBlue, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetGreen", (PyCFunction) _wrap_wxImage_GetGreen, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_GetRed", (PyCFunction) _wrap_wxImage_GetRed, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_SetRGB", (PyCFunction) _wrap_wxImage_SetRGB, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Rescale", (PyCFunction) _wrap_wxImage_Rescale, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Scale", (PyCFunction) _wrap_wxImage_Scale, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Destroy", (PyCFunction) _wrap_wxImage_Destroy, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_Create", (PyCFunction) _wrap_wxImage_Create, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_ConvertToBitmap", (PyCFunction) _wrap_wxImage_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxImage", (PyCFunction) _wrap_delete_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxImage", (PyCFunction) _wrap_new_wxImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxGIFHandler", (PyCFunction) _wrap_new_wxGIFHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxBMPHandler", (PyCFunction) _wrap_new_wxBMPHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxJPEGHandler", (PyCFunction) _wrap_new_wxJPEGHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPNGHandler", (PyCFunction) _wrap_new_wxPNGHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_SetMimeType", (PyCFunction) _wrap_wxImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_SetType", (PyCFunction) _wrap_wxImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_SetExtension", (PyCFunction) _wrap_wxImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_SetName", (PyCFunction) _wrap_wxImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_GetMimeType", (PyCFunction) _wrap_wxImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_GetType", (PyCFunction) _wrap_wxImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_GetExtension", (PyCFunction) _wrap_wxImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageHandler_GetName", (PyCFunction) _wrap_wxImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxImageHandler", (PyCFunction) _wrap_new_wxImageHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImage_AddHandler", (PyCFunction) _wrap_wxImage_AddHandler, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageFromBitmap", (PyCFunction) _wrap_wxImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxImageFromMime", (PyCFunction) _wrap_wxImageFromMime, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxEmptyImage", (PyCFunction) _wrap_wxEmptyImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxNullImage", (PyCFunction) _wrap_wxNullImage, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 794)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -142,7 +142,7 @@ static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -156,10 +156,11 @@ static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMDIParentFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIParentFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -209,13 +210,14 @@ static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ActivateNext",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivateNext",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -235,13 +237,14 @@ static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ActivatePrevious",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivatePrevious",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -261,13 +264,14 @@ static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
|
||||
static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ArrangeIcons",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ArrangeIcons",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -287,13 +291,14 @@ static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
|
||||
static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_Cascade",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Cascade",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -313,15 +318,16 @@ static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetActiveChild",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetActiveChild",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -346,15 +352,16 @@ static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIClientWindow * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetClientWindow",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetClientWindow",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -379,15 +386,16 @@ static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetToolBar",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetToolBar",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -412,15 +420,16 @@ static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
|
||||
static PyObject *_wrap_wxMDIParentFrame_SetToolBar(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
wxToolBar * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","toolbar", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxMDIParentFrame_SetToolBar",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMDIParentFrame_SetToolBar",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -447,13 +456,14 @@ static PyObject *_wrap_wxMDIParentFrame_SetToolBar(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
|
||||
static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIParentFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_Tile",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Tile",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -497,7 +507,7 @@ static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
|
||||
static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
@@ -511,10 +521,11 @@ static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
|
||||
PyObject * _obj2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
PyObject * _argo4 = 0;
|
||||
char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMDIChildFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIChildFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -564,13 +575,14 @@ static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
|
||||
static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIChildFrame_Activate",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Activate",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -590,15 +602,16 @@ static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
|
||||
static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","maximize", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxMDIChildFrame_Maximize",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMDIChildFrame_Maximize",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -619,13 +632,14 @@ static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
|
||||
static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIChildFrame * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxMDIChildFrame_Restore",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Restore",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -661,16 +675,17 @@ static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxMDIClientWindow * _result;
|
||||
wxMDIParentFrame * _arg0;
|
||||
long _arg1 = (long ) 0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "parent","style", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|l:new_wxMDIClientWindow",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:new_wxMDIClientWindow",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -695,21 +710,21 @@ static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef mdicMethods[] = {
|
||||
{ "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow, METH_VARARGS },
|
||||
{ "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore, METH_VARARGS },
|
||||
{ "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize, METH_VARARGS },
|
||||
{ "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate, METH_VARARGS },
|
||||
{ "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_SetToolBar", _wrap_wxMDIParentFrame_SetToolBar, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS },
|
||||
{ "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS },
|
||||
{ "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame, METH_VARARGS },
|
||||
{ "new_wxMDIClientWindow", (PyCFunction) _wrap_new_wxMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIChildFrame_Restore", (PyCFunction) _wrap_wxMDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIChildFrame_Maximize", (PyCFunction) _wrap_wxMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIChildFrame_Activate", (PyCFunction) _wrap_wxMDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxMDIChildFrame", (PyCFunction) _wrap_new_wxMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_Tile", (PyCFunction) _wrap_wxMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_SetToolBar", (PyCFunction) _wrap_wxMDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_GetToolBar", (PyCFunction) _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_GetClientWindow", (PyCFunction) _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_GetActiveChild", (PyCFunction) _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_Cascade", (PyCFunction) _wrap_wxMDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxMDIParentFrame_ActivateNext", (PyCFunction) _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxMDIParentFrame", (PyCFunction) _wrap_new_wxMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -74,6 +74,12 @@ class wxRealPointPtr :
|
||||
def __del__(self,miscc=miscc):
|
||||
if self.thisown == 1 :
|
||||
miscc.delete_wxRealPoint(self)
|
||||
def Set(self, *_args, **_kwargs):
|
||||
val = apply(miscc.wxRealPoint_Set,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def asTuple(self, *_args, **_kwargs):
|
||||
val = apply(miscc.wxRealPoint_asTuple,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __setattr__(self,name,value):
|
||||
if name == "x" :
|
||||
miscc.wxRealPoint_x_set(self,value)
|
||||
@@ -90,6 +96,8 @@ class wxRealPointPtr :
|
||||
raise AttributeError,name
|
||||
def __repr__(self):
|
||||
return "<C wxRealPoint instance at %s>" % (self.this,)
|
||||
def __str__(self): return str(self.asTuple())
|
||||
def __repr__(self): return str(self.asTuple())
|
||||
class wxRealPoint(wxRealPointPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(miscc.new_wxRealPoint,_args,_kwargs)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 794)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -127,17 +127,18 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = (wxWindow *) NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "label","parent", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|O:wxFindWindowByLabel",&_obj0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -172,17 +173,18 @@ static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = (wxWindow *) NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "name","parent", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|O:wxFindWindowByName",&_obj0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -217,13 +219,14 @@ static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _arg0;
|
||||
int tempbool0;
|
||||
char *_kwnames[] = { "flag", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxToolTip_Enable",&tempbool0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
{
|
||||
@@ -236,12 +239,13 @@ static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
long _arg0;
|
||||
char *_kwnames[] = { "milliseconds", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"l:wxToolTip_SetDelay",&_arg0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -254,15 +258,16 @@ static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "tip", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -291,15 +296,16 @@ static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","tip", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxToolTip_SetTip",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -330,14 +336,15 @@ static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxToolTip * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxToolTip_GetTip",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -361,15 +368,16 @@ static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxToolTip * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxToolTip_GetWindow",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -394,14 +402,14 @@ static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow, METH_VARARGS },
|
||||
{ "wxToolTip_GetTip", _wrap_wxToolTip_GetTip, METH_VARARGS },
|
||||
{ "wxToolTip_SetTip", _wrap_wxToolTip_SetTip, METH_VARARGS },
|
||||
{ "new_wxToolTip", _wrap_new_wxToolTip, METH_VARARGS },
|
||||
{ "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay, METH_VARARGS },
|
||||
{ "wxToolTip_Enable", _wrap_wxToolTip_Enable, METH_VARARGS },
|
||||
{ "wxFindWindowByName", _wrap_wxFindWindowByName, METH_VARARGS },
|
||||
{ "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, METH_VARARGS },
|
||||
{ "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -544,6 +544,9 @@ class wxMenuPtr(wxEvtHandlerPtr):
|
||||
def UpdateUI(self, *_args, **_kwargs):
|
||||
val = apply(windowsc.wxMenu_UpdateUI,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def Destroy(self, *_args, **_kwargs):
|
||||
val = apply(windowsc.wxMenu_Destroy,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxMenu instance at %s>" % (self.this,)
|
||||
class wxMenu(wxMenuPtr):
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 794)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -136,14 +136,15 @@ static void *SwigwxSashEventTowxEvent(void *ptr) {
|
||||
}
|
||||
|
||||
#define wxSashEvent_SetEdge(_swigobj,_swigarg0) (_swigobj->SetEdge(_swigarg0))
|
||||
static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashEvent * _arg0;
|
||||
wxSashEdgePosition _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","edge", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashEvent_SetEdge",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetEdge",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -163,14 +164,15 @@ static PyObject *_wrap_wxSashEvent_SetEdge(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashEvent_GetEdge(_swigobj) (_swigobj->GetEdge())
|
||||
static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashEdgePosition _result;
|
||||
wxSashEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashEvent_GetEdge",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetEdge",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -189,15 +191,16 @@ static PyObject *_wrap_wxSashEvent_GetEdge(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashEvent_SetDragRect(_swigobj,_swigarg0) (_swigobj->SetDragRect(_swigarg0))
|
||||
static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashEvent * _arg0;
|
||||
wxRect * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","rect", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxSashEvent_SetDragRect",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashEvent_SetDragRect",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -224,15 +227,16 @@ static PyObject *_wrap_wxSashEvent_SetDragRect(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashEvent_GetDragRect(_swigobj) (_swigobj->GetDragRect())
|
||||
static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxRect * _result;
|
||||
wxSashEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashEvent_GetDragRect",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragRect",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -252,14 +256,15 @@ static PyObject *_wrap_wxSashEvent_GetDragRect(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashEvent_SetDragStatus(_swigobj,_swigarg0) (_swigobj->SetDragStatus(_swigarg0))
|
||||
static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashEvent * _arg0;
|
||||
wxSashDragStatus _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","status", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashEvent_SetDragStatus",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashEvent_SetDragStatus",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -279,14 +284,15 @@ static PyObject *_wrap_wxSashEvent_SetDragStatus(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxSashEvent_GetDragStatus(_swigobj) (_swigobj->GetDragStatus())
|
||||
static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashDragStatus _result;
|
||||
wxSashEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashEvent_GetDragStatus",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashEvent_GetDragStatus",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -321,7 +327,7 @@ static void *SwigwxSashWindowTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
||||
static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -333,10 +339,11 @@ static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi|OOls:new_wxSashWindow",&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -375,15 +382,16 @@ static PyObject *_wrap_new_wxSashWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetSashVisible(_swigobj,_swigarg0) (_swigobj->GetSashVisible(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxSashWindow * _arg0;
|
||||
wxSashEdgePosition _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","edge", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_GetSashVisible",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetSashVisible",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -402,14 +410,15 @@ static PyObject *_wrap_wxSashWindow_GetSashVisible(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetDefaultBorderSize(_swigobj) (_swigobj->GetDefaultBorderSize())
|
||||
static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetDefaultBorderSize",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetDefaultBorderSize",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -428,15 +437,16 @@ static PyObject *_wrap_wxSashWindow_GetDefaultBorderSize(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetEdgeMargin(_swigobj,_swigarg0) (_swigobj->GetEdgeMargin(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
wxSashEdgePosition _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","edge", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_GetEdgeMargin",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_GetEdgeMargin",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -455,14 +465,15 @@ static PyObject *_wrap_wxSashWindow_GetEdgeMargin(PyObject *self, PyObject *args
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetExtraBorderSize(_swigobj) (_swigobj->GetExtraBorderSize())
|
||||
static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetExtraBorderSize",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetExtraBorderSize",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -481,14 +492,15 @@ static PyObject *_wrap_wxSashWindow_GetExtraBorderSize(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetMaximumSizeX(_swigobj) (_swigobj->GetMaximumSizeX())
|
||||
static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMaximumSizeX",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeX",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -507,14 +519,15 @@ static PyObject *_wrap_wxSashWindow_GetMaximumSizeX(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetMaximumSizeY(_swigobj) (_swigobj->GetMaximumSizeY())
|
||||
static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMaximumSizeY",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMaximumSizeY",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -533,14 +546,15 @@ static PyObject *_wrap_wxSashWindow_GetMaximumSizeY(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetMinimumSizeX(_swigobj) (_swigobj->GetMinimumSizeX())
|
||||
static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMinimumSizeX",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeX",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -559,14 +573,15 @@ static PyObject *_wrap_wxSashWindow_GetMinimumSizeX(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_GetMinimumSizeY(_swigobj) (_swigobj->GetMinimumSizeY())
|
||||
static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxSashWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashWindow_GetMinimumSizeY",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashWindow_GetMinimumSizeY",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -585,15 +600,16 @@ static PyObject *_wrap_wxSashWindow_GetMinimumSizeY(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_HasBorder(_swigobj,_swigarg0) (_swigobj->HasBorder(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxSashWindow * _arg0;
|
||||
wxSashEdgePosition _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","edge", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_HasBorder",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_HasBorder",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -612,14 +628,15 @@ static PyObject *_wrap_wxSashWindow_HasBorder(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetDefaultBorderSize(_swigobj,_swigarg0) (_swigobj->SetDefaultBorderSize(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetDefaultBorderSize",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetDefaultBorderSize",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -639,14 +656,15 @@ static PyObject *_wrap_wxSashWindow_SetDefaultBorderSize(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetExtraBorderSize(_swigobj,_swigarg0) (_swigobj->SetExtraBorderSize(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","width", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetExtraBorderSize",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetExtraBorderSize",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -666,14 +684,15 @@ static PyObject *_wrap_wxSashWindow_SetExtraBorderSize(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetMaximumSizeX(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeX(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","min", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMaximumSizeX",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeX",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -693,14 +712,15 @@ static PyObject *_wrap_wxSashWindow_SetMaximumSizeX(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetMaximumSizeY(_swigobj,_swigarg0) (_swigobj->SetMaximumSizeY(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","min", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMaximumSizeY",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMaximumSizeY",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -720,14 +740,15 @@ static PyObject *_wrap_wxSashWindow_SetMaximumSizeY(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetMinimumSizeX(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeX(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","min", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMinimumSizeX",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeX",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -747,14 +768,15 @@ static PyObject *_wrap_wxSashWindow_SetMinimumSizeX(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetMinimumSizeY(_swigobj,_swigarg0) (_swigobj->SetMinimumSizeY(_swigarg0))
|
||||
static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","min", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashWindow_SetMinimumSizeY",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashWindow_SetMinimumSizeY",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -774,16 +796,17 @@ static PyObject *_wrap_wxSashWindow_SetMinimumSizeY(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetSashVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashVisible(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
wxSashEdgePosition _arg1;
|
||||
bool _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool2;
|
||||
char *_kwnames[] = { "self","edge","visible", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxSashWindow_SetSashVisible",&_argo0,&_arg1,&tempbool2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -804,16 +827,17 @@ static PyObject *_wrap_wxSashWindow_SetSashVisible(PyObject *self, PyObject *arg
|
||||
}
|
||||
|
||||
#define wxSashWindow_SetSashBorder(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashBorder(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashWindow * _arg0;
|
||||
wxSashEdgePosition _arg1;
|
||||
bool _arg2;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool2;
|
||||
char *_kwnames[] = { "self","edge","hasBorder", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oii:wxSashWindow_SetSashBorder",&_argo0,&_arg1,&tempbool2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSashWindow_SetSashBorder",_kwnames,&_argo0,&_arg1,&tempbool2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -842,14 +866,15 @@ static void *SwigwxQueryLayoutInfoEventTowxEvent(void *ptr) {
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_SetRequestedLength(_swigobj,_swigarg0) (_swigobj->SetRequestedLength(_swigarg0))
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","length", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetRequestedLength",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -869,14 +894,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetRequestedLength(PyObject *self,
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_GetRequestedLength(_swigobj) (_swigobj->GetRequestedLength())
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetRequestedLength",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetRequestedLength",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -895,14 +921,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_GetRequestedLength(PyObject *self,
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","flags", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetFlags",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetFlags",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -922,14 +949,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetFlags",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetFlags",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -948,15 +976,16 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
wxSize * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","size", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxQueryLayoutInfoEvent_SetSize",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxQueryLayoutInfoEvent_SetSize",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -983,15 +1012,16 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_GetSize(_swigobj) (_swigobj->GetSize())
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSize * _result;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetSize",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetSize",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1011,14 +1041,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
wxLayoutOrientation _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","orient", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetOrientation",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetOrientation",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1038,14 +1069,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetOrientation(PyObject *self, PyO
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_GetOrientation(_swigobj) (_swigobj->GetOrientation())
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxLayoutOrientation _result;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetOrientation",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetOrientation",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1064,14 +1096,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_GetOrientation(PyObject *self, PyO
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
wxLayoutAlignment _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","align", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxQueryLayoutInfoEvent_SetAlignment",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxQueryLayoutInfoEvent_SetAlignment",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1091,14 +1124,15 @@ static PyObject *_wrap_wxQueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObj
|
||||
}
|
||||
|
||||
#define wxQueryLayoutInfoEvent_GetAlignment(_swigobj) (_swigobj->GetAlignment())
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxQueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxLayoutAlignment _result;
|
||||
wxQueryLayoutInfoEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxQueryLayoutInfoEvent_GetAlignment",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxQueryLayoutInfoEvent_GetAlignment",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1125,14 +1159,15 @@ static void *SwigwxCalculateLayoutEventTowxEvent(void *ptr) {
|
||||
}
|
||||
|
||||
#define wxCalculateLayoutEvent_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxCalculateLayoutEvent * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","flags", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxCalculateLayoutEvent_SetFlags",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCalculateLayoutEvent_SetFlags",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1152,14 +1187,15 @@ static PyObject *_wrap_wxCalculateLayoutEvent_SetFlags(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxCalculateLayoutEvent_GetFlags(_swigobj) (_swigobj->GetFlags())
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxCalculateLayoutEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxCalculateLayoutEvent_GetFlags",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetFlags",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1178,15 +1214,16 @@ static PyObject *_wrap_wxCalculateLayoutEvent_GetFlags(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxCalculateLayoutEvent_SetRect(_swigobj,_swigarg0) (_swigobj->SetRect(_swigarg0))
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxCalculateLayoutEvent * _arg0;
|
||||
wxRect * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","rect", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxCalculateLayoutEvent_SetRect",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCalculateLayoutEvent_SetRect",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1213,15 +1250,16 @@ static PyObject *_wrap_wxCalculateLayoutEvent_SetRect(PyObject *self, PyObject *
|
||||
}
|
||||
|
||||
#define wxCalculateLayoutEvent_GetRect(_swigobj) (_swigobj->GetRect())
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxCalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxRect * _result;
|
||||
wxCalculateLayoutEvent * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxCalculateLayoutEvent_GetRect",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCalculateLayoutEvent_GetRect",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1265,7 +1303,7 @@ static void *SwigwxSashLayoutWindowTowxEvtHandler(void *ptr) {
|
||||
}
|
||||
|
||||
#define new_wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSashLayoutWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
|
||||
static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashLayoutWindow * _result;
|
||||
wxWindow * _arg0;
|
||||
@@ -1277,10 +1315,11 @@ static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args) {
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
PyObject * _argo3 = 0;
|
||||
char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi|OOls:new_wxSashLayoutWindow",&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxSashLayoutWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1319,14 +1358,15 @@ static PyObject *_wrap_new_wxSashLayoutWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxSashLayoutWindow_GetAlignment(_swigobj) (_swigobj->GetAlignment())
|
||||
static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxLayoutAlignment _result;
|
||||
wxSashLayoutWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashLayoutWindow_GetAlignment",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetAlignment",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1345,14 +1385,15 @@ static PyObject *_wrap_wxSashLayoutWindow_GetAlignment(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxSashLayoutWindow_GetOrientation(_swigobj) (_swigobj->GetOrientation())
|
||||
static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxLayoutOrientation _result;
|
||||
wxSashLayoutWindow * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxSashLayoutWindow_GetOrientation",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSashLayoutWindow_GetOrientation",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1371,14 +1412,15 @@ static PyObject *_wrap_wxSashLayoutWindow_GetOrientation(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define wxSashLayoutWindow_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
|
||||
static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashLayoutWindow * _arg0;
|
||||
wxLayoutAlignment _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","alignment", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashLayoutWindow_SetAlignment",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetAlignment",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1398,15 +1440,16 @@ static PyObject *_wrap_wxSashLayoutWindow_SetAlignment(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxSashLayoutWindow_SetDefaultSize(_swigobj,_swigarg0) (_swigobj->SetDefaultSize(_swigarg0))
|
||||
static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashLayoutWindow * _arg0;
|
||||
wxSize * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","size", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxSashLayoutWindow_SetDefaultSize",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSashLayoutWindow_SetDefaultSize",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1433,14 +1476,15 @@ static PyObject *_wrap_wxSashLayoutWindow_SetDefaultSize(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define wxSashLayoutWindow_SetOrientation(_swigobj,_swigarg0) (_swigobj->SetOrientation(_swigarg0))
|
||||
static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxSashLayoutWindow * _arg0;
|
||||
wxLayoutOrientation _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","orientation", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxSashLayoutWindow_SetOrientation",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSashLayoutWindow_SetOrientation",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1460,13 +1504,14 @@ static PyObject *_wrap_wxSashLayoutWindow_SetOrientation(PyObject *self, PyObjec
|
||||
}
|
||||
|
||||
#define new_wxLayoutAlgorithm() (new wxLayoutAlgorithm())
|
||||
static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxLayoutAlgorithm * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxLayoutAlgorithm"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLayoutAlgorithm",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -1484,13 +1529,14 @@ static PyObject *_wrap_new_wxLayoutAlgorithm(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define delete_wxLayoutAlgorithm(_swigobj) (delete _swigobj)
|
||||
static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxLayoutAlgorithm * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:delete_wxLayoutAlgorithm",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLayoutAlgorithm",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1510,7 +1556,7 @@ static PyObject *_wrap_delete_wxLayoutAlgorithm(PyObject *self, PyObject *args)
|
||||
}
|
||||
|
||||
#define wxLayoutAlgorithm_LayoutMDIFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutMDIFrame(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxLayoutAlgorithm * _arg0;
|
||||
@@ -1519,9 +1565,10 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","frame","rect", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",&_argo0,&_argo1,&_argo2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutMDIFrame",_kwnames,&_argo0,&_argo1,&_argo2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1554,7 +1601,7 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject
|
||||
}
|
||||
|
||||
#define wxLayoutAlgorithm_LayoutFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutFrame(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxLayoutAlgorithm * _arg0;
|
||||
@@ -1563,9 +1610,10 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *a
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","frame","mainWindow", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|O:wxLayoutAlgorithm_LayoutFrame",&_argo0,&_argo1,&_argo2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutFrame",_kwnames,&_argo0,&_argo1,&_argo2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1598,7 +1646,7 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
#define wxLayoutAlgorithm_LayoutWindow(_swigobj,_swigarg0,_swigarg1) (_swigobj->LayoutWindow(_swigarg0,_swigarg1))
|
||||
static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxLayoutAlgorithm * _arg0;
|
||||
@@ -1607,9 +1655,10 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
PyObject * _argo2 = 0;
|
||||
char *_kwnames[] = { "self","parent","mainWindow", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|O:wxLayoutAlgorithm_LayoutWindow",&_argo0,&_argo1,&_argo2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxLayoutAlgorithm_LayoutWindow",_kwnames,&_argo0,&_argo1,&_argo2))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1642,55 +1691,55 @@ static PyObject *_wrap_wxLayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *
|
||||
}
|
||||
|
||||
static PyMethodDef windows3cMethods[] = {
|
||||
{ "wxLayoutAlgorithm_LayoutWindow", _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS },
|
||||
{ "wxLayoutAlgorithm_LayoutFrame", _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS },
|
||||
{ "wxLayoutAlgorithm_LayoutMDIFrame", _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS },
|
||||
{ "delete_wxLayoutAlgorithm", _wrap_delete_wxLayoutAlgorithm, METH_VARARGS },
|
||||
{ "new_wxLayoutAlgorithm", _wrap_new_wxLayoutAlgorithm, METH_VARARGS },
|
||||
{ "wxSashLayoutWindow_SetOrientation", _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS },
|
||||
{ "wxSashLayoutWindow_SetDefaultSize", _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS },
|
||||
{ "wxSashLayoutWindow_SetAlignment", _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS },
|
||||
{ "wxSashLayoutWindow_GetOrientation", _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS },
|
||||
{ "wxSashLayoutWindow_GetAlignment", _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS },
|
||||
{ "new_wxSashLayoutWindow", _wrap_new_wxSashLayoutWindow, METH_VARARGS },
|
||||
{ "wxCalculateLayoutEvent_GetRect", _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS },
|
||||
{ "wxCalculateLayoutEvent_SetRect", _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS },
|
||||
{ "wxCalculateLayoutEvent_GetFlags", _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS },
|
||||
{ "wxCalculateLayoutEvent_SetFlags", _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_GetAlignment", _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_SetAlignment", _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_GetOrientation", _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_SetOrientation", _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_GetSize", _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_SetSize", _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_GetFlags", _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_SetFlags", _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_GetRequestedLength", _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS },
|
||||
{ "wxQueryLayoutInfoEvent_SetRequestedLength", _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS },
|
||||
{ "wxSashWindow_SetSashBorder", _wrap_wxSashWindow_SetSashBorder, METH_VARARGS },
|
||||
{ "wxSashWindow_SetSashVisible", _wrap_wxSashWindow_SetSashVisible, METH_VARARGS },
|
||||
{ "wxSashWindow_SetMinimumSizeY", _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS },
|
||||
{ "wxSashWindow_SetMinimumSizeX", _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS },
|
||||
{ "wxSashWindow_SetMaximumSizeY", _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS },
|
||||
{ "wxSashWindow_SetMaximumSizeX", _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS },
|
||||
{ "wxSashWindow_SetExtraBorderSize", _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS },
|
||||
{ "wxSashWindow_SetDefaultBorderSize", _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS },
|
||||
{ "wxSashWindow_HasBorder", _wrap_wxSashWindow_HasBorder, METH_VARARGS },
|
||||
{ "wxSashWindow_GetMinimumSizeY", _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS },
|
||||
{ "wxSashWindow_GetMinimumSizeX", _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS },
|
||||
{ "wxSashWindow_GetMaximumSizeY", _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS },
|
||||
{ "wxSashWindow_GetMaximumSizeX", _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS },
|
||||
{ "wxSashWindow_GetExtraBorderSize", _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS },
|
||||
{ "wxSashWindow_GetEdgeMargin", _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS },
|
||||
{ "wxSashWindow_GetDefaultBorderSize", _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS },
|
||||
{ "wxSashWindow_GetSashVisible", _wrap_wxSashWindow_GetSashVisible, METH_VARARGS },
|
||||
{ "new_wxSashWindow", _wrap_new_wxSashWindow, METH_VARARGS },
|
||||
{ "wxSashEvent_GetDragStatus", _wrap_wxSashEvent_GetDragStatus, METH_VARARGS },
|
||||
{ "wxSashEvent_SetDragStatus", _wrap_wxSashEvent_SetDragStatus, METH_VARARGS },
|
||||
{ "wxSashEvent_GetDragRect", _wrap_wxSashEvent_GetDragRect, METH_VARARGS },
|
||||
{ "wxSashEvent_SetDragRect", _wrap_wxSashEvent_SetDragRect, METH_VARARGS },
|
||||
{ "wxSashEvent_GetEdge", _wrap_wxSashEvent_GetEdge, METH_VARARGS },
|
||||
{ "wxSashEvent_SetEdge", _wrap_wxSashEvent_SetEdge, METH_VARARGS },
|
||||
{ "wxLayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxLayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxLayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_wxLayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxLayoutAlgorithm", (PyCFunction) _wrap_delete_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxLayoutAlgorithm", (PyCFunction) _wrap_new_wxLayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashLayoutWindow_SetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_wxSashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashLayoutWindow_SetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashLayoutWindow_GetOrientation", (PyCFunction) _wrap_wxSashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashLayoutWindow_GetAlignment", (PyCFunction) _wrap_wxSashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxSashLayoutWindow", (PyCFunction) _wrap_new_wxSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxCalculateLayoutEvent_GetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxCalculateLayoutEvent_SetRect", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxCalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxCalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_wxCalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxQueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_wxQueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetSashBorder", (PyCFunction) _wrap_wxSashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetSashVisible", (PyCFunction) _wrap_wxSashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_HasBorder", (PyCFunction) _wrap_wxSashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetMinimumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetMinimumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetMaximumSizeY", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetMaximumSizeX", (PyCFunction) _wrap_wxSashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetExtraBorderSize", (PyCFunction) _wrap_wxSashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetEdgeMargin", (PyCFunction) _wrap_wxSashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_wxSashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashWindow_GetSashVisible", (PyCFunction) _wrap_wxSashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxSashWindow", (PyCFunction) _wrap_new_wxSashWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashEvent_GetDragStatus", (PyCFunction) _wrap_wxSashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashEvent_SetDragStatus", (PyCFunction) _wrap_wxSashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashEvent_GetDragRect", (PyCFunction) _wrap_wxSashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashEvent_SetDragRect", (PyCFunction) _wrap_wxSashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashEvent_GetEdge", (PyCFunction) _wrap_wxSashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxSashEvent_SetEdge", (PyCFunction) _wrap_wxSashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* This file was automatically generated by :
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* Version 1.1 (Patch 6)
|
||||
* Version 1.1 (Build 794)
|
||||
*
|
||||
* Portions Copyright (c) 1995-1998
|
||||
* The University of Utah and The Regents of the University of California.
|
||||
@@ -649,15 +649,16 @@ extern "C" SWIGEXPORT(void) initprintfwc();
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static PyObject *_wrap_ptrcast(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptrcast(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
PyObject * _arg0;
|
||||
char * _arg1;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "ptr","type", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Os:ptrcast",&_obj0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:ptrcast",_kwnames,&_obj0,&_arg1))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = _obj0;
|
||||
@@ -673,16 +674,17 @@ static PyObject *_wrap_ptrcast(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_ptrvalue(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptrvalue(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
PyObject * _arg0;
|
||||
int _arg1 = (int ) 0;
|
||||
char * _arg2 = (char *) 0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "ptr","index","type", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|is:ptrvalue",&_obj0,&_arg1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|is:ptrvalue",_kwnames,&_obj0,&_arg1,&_arg2))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = _obj0;
|
||||
@@ -698,7 +700,7 @@ static PyObject *_wrap_ptrvalue(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_ptrset(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptrset(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
PyObject * _arg0;
|
||||
@@ -707,9 +709,10 @@ static PyObject *_wrap_ptrset(PyObject *self, PyObject *args) {
|
||||
char * _arg3 = (char *) 0;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "ptr","value","index","type", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO|is:ptrset",&_obj0,&_obj1,&_arg2,&_arg3))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|is:ptrset",_kwnames,&_obj0,&_obj1,&_arg2,&_arg3))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = _obj0;
|
||||
@@ -728,16 +731,17 @@ static PyObject *_wrap_ptrset(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_ptrcreate(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptrcreate(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
char * _arg0;
|
||||
PyObject * _arg1 = (PyObject *) 0;
|
||||
int _arg2 = (int ) 1;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "type","value","nitems", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"s|Oi:ptrcreate",&_arg0,&_obj1,&_arg2))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|Oi:ptrcreate",_kwnames,&_arg0,&_obj1,&_arg2))
|
||||
return NULL;
|
||||
if (_obj1)
|
||||
{
|
||||
@@ -754,14 +758,15 @@ static PyObject *_wrap_ptrcreate(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_ptrfree(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptrfree(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
PyObject * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "ptr", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:ptrfree",&_obj0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:ptrfree",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = _obj0;
|
||||
@@ -777,15 +782,16 @@ static PyObject *_wrap_ptrfree(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_ptradd(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptradd(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
PyObject * _result;
|
||||
PyObject * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "ptr","offset", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:ptradd",&_obj0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:ptradd",_kwnames,&_obj0,&_arg1))
|
||||
return NULL;
|
||||
{
|
||||
_arg0 = _obj0;
|
||||
@@ -801,13 +807,14 @@ static PyObject *_wrap_ptradd(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_ptrmap(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_ptrmap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
char * _arg0;
|
||||
char * _arg1;
|
||||
char *_kwnames[] = { "type1","type2", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"ss:ptrmap",&_arg0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"ss:ptrmap",_kwnames,&_arg0,&_arg1))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -878,13 +885,14 @@ static wxPyApp *new_wxPyApp() {
|
||||
return wxPythonApp;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_new_wxPyApp(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxPyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new_wxPyApp"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyApp",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -902,13 +910,14 @@ static PyObject *_wrap_new_wxPyApp(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define delete_wxPyApp(_swigobj) (delete _swigobj)
|
||||
static PyObject *_wrap_delete_wxPyApp(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_delete_wxPyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:delete_wxPyApp",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyApp",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -928,14 +937,15 @@ static PyObject *_wrap_delete_wxPyApp(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetAppName(_swigobj) (_swigobj->GetAppName())
|
||||
static PyObject *_wrap_wxPyApp_GetAppName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetAppName",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetAppName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -959,14 +969,15 @@ static PyObject *_wrap_wxPyApp_GetAppName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetAuto3D(_swigobj) (_swigobj->GetAuto3D())
|
||||
static PyObject *_wrap_wxPyApp_GetAuto3D(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetAuto3D(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetAuto3D",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetAuto3D",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -985,14 +996,15 @@ static PyObject *_wrap_wxPyApp_GetAuto3D(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetClassName(_swigobj) (_swigobj->GetClassName())
|
||||
static PyObject *_wrap_wxPyApp_GetClassName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetClassName",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetClassName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1016,14 +1028,15 @@ static PyObject *_wrap_wxPyApp_GetClassName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetExitOnFrameDelete(_swigobj) (_swigobj->GetExitOnFrameDelete())
|
||||
static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetExitOnFrameDelete",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetExitOnFrameDelete",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1042,14 +1055,15 @@ static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxPyApp_GetPrintMode(_swigobj) (_swigobj->GetPrintMode())
|
||||
static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetPrintMode",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetPrintMode",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1068,15 +1082,16 @@ static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetTopWindow(_swigobj) (_swigobj->GetTopWindow())
|
||||
static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetTopWindow",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetTopWindow",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1101,14 +1116,15 @@ static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetVendorName(_swigobj) (_swigobj->GetVendorName())
|
||||
static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_GetVendorName",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_GetVendorName",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1132,13 +1148,14 @@ static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_Dispatch(_swigobj) (_swigobj->Dispatch())
|
||||
static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_Dispatch",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_Dispatch",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1158,13 +1175,14 @@ static PyObject *_wrap_wxPyApp_Dispatch(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_ExitMainLoop(_swigobj) (_swigobj->ExitMainLoop())
|
||||
static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_ExitMainLoop",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_ExitMainLoop",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1184,14 +1202,15 @@ static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_Initialized(_swigobj) (_swigobj->Initialized())
|
||||
static PyObject *_wrap_wxPyApp_Initialized(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_Initialized(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_Initialized",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_Initialized",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1210,14 +1229,15 @@ static PyObject *_wrap_wxPyApp_Initialized(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_MainLoop(_swigobj) (_swigobj->MainLoop())
|
||||
static PyObject *_wrap_wxPyApp_MainLoop(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
int _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_MainLoop",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_MainLoop",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1236,14 +1256,15 @@ static PyObject *_wrap_wxPyApp_MainLoop(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_Pending(_swigobj) (_swigobj->Pending())
|
||||
static PyObject *_wrap_wxPyApp_Pending(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_Pending",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_Pending",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1262,14 +1283,15 @@ static PyObject *_wrap_wxPyApp_Pending(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_ProcessIdle(_swigobj) (_swigobj->ProcessIdle())
|
||||
static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _result;
|
||||
wxPyApp * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxPyApp_ProcessIdle",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyApp_ProcessIdle",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1288,15 +1310,16 @@ static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_SetAppName(_swigobj,_swigarg0) (_swigobj->SetAppName(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetAppName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxPyApp_SetAppName",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyApp_SetAppName",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1327,15 +1350,16 @@ static PyObject *_wrap_wxPyApp_SetAppName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_SetAuto3D(_swigobj,_swigarg0) (_swigobj->SetAuto3D(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetAuto3D(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetAuto3D(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","auto3D", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxPyApp_SetAuto3D",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyApp_SetAuto3D",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1356,15 +1380,16 @@ static PyObject *_wrap_wxPyApp_SetAuto3D(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_SetClassName(_swigobj,_swigarg0) (_swigobj->SetClassName(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetClassName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxPyApp_SetClassName",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyApp_SetClassName",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1395,15 +1420,16 @@ static PyObject *_wrap_wxPyApp_SetClassName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_SetExitOnFrameDelete(_swigobj,_swigarg0) (_swigobj->SetExitOnFrameDelete(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
bool _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
int tempbool1;
|
||||
char *_kwnames[] = { "self","flag", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxPyApp_SetExitOnFrameDelete",&_argo0,&tempbool1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyApp_SetExitOnFrameDelete",_kwnames,&_argo0,&tempbool1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1424,14 +1450,15 @@ static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
#define wxPyApp_SetPrintMode(_swigobj,_swigarg0) (_swigobj->SetPrintMode(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","mode", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxPyApp_SetPrintMode",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyApp_SetPrintMode",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1451,15 +1478,16 @@ static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_SetTopWindow(_swigobj,_swigarg0) (_swigobj->SetTopWindow(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
wxWindow * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "self","window", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxPyApp_SetTopWindow",&_argo0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyApp_SetTopWindow",_kwnames,&_argo0,&_argo1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1486,15 +1514,16 @@ static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_SetVendorName(_swigobj,_swigarg0) (_swigobj->SetVendorName(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxPyApp * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","name", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxPyApp_SetVendorName",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyApp_SetVendorName",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1525,16 +1554,17 @@ static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxPyApp_GetStdIcon(_swigobj,_swigarg0) (_swigobj->GetStdIcon(_swigarg0))
|
||||
static PyObject *_wrap_wxPyApp_GetStdIcon(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxPyApp_GetStdIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxIcon * _result;
|
||||
wxPyApp * _arg0;
|
||||
int _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self","which", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"Oi:wxPyApp_GetStdIcon",&_argo0,&_arg1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyApp_GetStdIcon",_kwnames,&_argo0,&_arg1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1554,13 +1584,14 @@ static PyObject *_wrap_wxPyApp_GetStdIcon(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define new___wxPyCleanup() (new __wxPyCleanup())
|
||||
static PyObject *_wrap_new___wxPyCleanup(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new___wxPyCleanup(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
__wxPyCleanup * _result;
|
||||
char *_kwnames[] = { NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,":new___wxPyCleanup"))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new___wxPyCleanup",_kwnames))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -1578,13 +1609,14 @@ static PyObject *_wrap_new___wxPyCleanup(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define delete___wxPyCleanup(_swigobj) (delete _swigobj)
|
||||
static PyObject *_wrap_delete___wxPyCleanup(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_delete___wxPyCleanup(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
__wxPyCleanup * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:delete___wxPyCleanup",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete___wxPyCleanup",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -1604,40 +1636,40 @@ static PyObject *_wrap_delete___wxPyCleanup(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef wxcMethods[] = {
|
||||
{ "delete___wxPyCleanup", _wrap_delete___wxPyCleanup, METH_VARARGS },
|
||||
{ "new___wxPyCleanup", _wrap_new___wxPyCleanup, METH_VARARGS },
|
||||
{ "wxPyApp_GetStdIcon", _wrap_wxPyApp_GetStdIcon, METH_VARARGS },
|
||||
{ "wxPyApp_SetVendorName", _wrap_wxPyApp_SetVendorName, METH_VARARGS },
|
||||
{ "wxPyApp_SetTopWindow", _wrap_wxPyApp_SetTopWindow, METH_VARARGS },
|
||||
{ "wxPyApp_SetPrintMode", _wrap_wxPyApp_SetPrintMode, METH_VARARGS },
|
||||
{ "wxPyApp_SetExitOnFrameDelete", _wrap_wxPyApp_SetExitOnFrameDelete, METH_VARARGS },
|
||||
{ "wxPyApp_SetClassName", _wrap_wxPyApp_SetClassName, METH_VARARGS },
|
||||
{ "wxPyApp_SetAuto3D", _wrap_wxPyApp_SetAuto3D, METH_VARARGS },
|
||||
{ "wxPyApp_SetAppName", _wrap_wxPyApp_SetAppName, METH_VARARGS },
|
||||
{ "wxPyApp_ProcessIdle", _wrap_wxPyApp_ProcessIdle, METH_VARARGS },
|
||||
{ "wxPyApp_Pending", _wrap_wxPyApp_Pending, METH_VARARGS },
|
||||
{ "wxPyApp_MainLoop", _wrap_wxPyApp_MainLoop, METH_VARARGS },
|
||||
{ "wxPyApp_Initialized", _wrap_wxPyApp_Initialized, METH_VARARGS },
|
||||
{ "wxPyApp_ExitMainLoop", _wrap_wxPyApp_ExitMainLoop, METH_VARARGS },
|
||||
{ "wxPyApp_Dispatch", _wrap_wxPyApp_Dispatch, METH_VARARGS },
|
||||
{ "wxPyApp_GetVendorName", _wrap_wxPyApp_GetVendorName, METH_VARARGS },
|
||||
{ "wxPyApp_GetTopWindow", _wrap_wxPyApp_GetTopWindow, METH_VARARGS },
|
||||
{ "wxPyApp_GetPrintMode", _wrap_wxPyApp_GetPrintMode, METH_VARARGS },
|
||||
{ "wxPyApp_GetExitOnFrameDelete", _wrap_wxPyApp_GetExitOnFrameDelete, METH_VARARGS },
|
||||
{ "wxPyApp_GetClassName", _wrap_wxPyApp_GetClassName, METH_VARARGS },
|
||||
{ "wxPyApp_GetAuto3D", _wrap_wxPyApp_GetAuto3D, METH_VARARGS },
|
||||
{ "wxPyApp_GetAppName", _wrap_wxPyApp_GetAppName, METH_VARARGS },
|
||||
{ "delete_wxPyApp", _wrap_delete_wxPyApp, METH_VARARGS },
|
||||
{ "new_wxPyApp", _wrap_new_wxPyApp, METH_VARARGS },
|
||||
{ "_wxSetDictionary", __wxSetDictionary, METH_VARARGS },
|
||||
{ "_wxStart", __wxStart, METH_VARARGS },
|
||||
{ "ptrmap", _wrap_ptrmap, METH_VARARGS },
|
||||
{ "ptradd", _wrap_ptradd, METH_VARARGS },
|
||||
{ "ptrfree", _wrap_ptrfree, METH_VARARGS },
|
||||
{ "ptrcreate", _wrap_ptrcreate, METH_VARARGS },
|
||||
{ "ptrset", _wrap_ptrset, METH_VARARGS },
|
||||
{ "ptrvalue", _wrap_ptrvalue, METH_VARARGS },
|
||||
{ "ptrcast", _wrap_ptrcast, METH_VARARGS },
|
||||
{ "delete___wxPyCleanup", (PyCFunction) _wrap_delete___wxPyCleanup, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new___wxPyCleanup", (PyCFunction) _wrap_new___wxPyCleanup, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetStdIcon", (PyCFunction) _wrap_wxPyApp_GetStdIcon, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetVendorName", (PyCFunction) _wrap_wxPyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetTopWindow", (PyCFunction) _wrap_wxPyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetPrintMode", (PyCFunction) _wrap_wxPyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_wxPyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetClassName", (PyCFunction) _wrap_wxPyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetAuto3D", (PyCFunction) _wrap_wxPyApp_SetAuto3D, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_SetAppName", (PyCFunction) _wrap_wxPyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_ProcessIdle", (PyCFunction) _wrap_wxPyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_Pending", (PyCFunction) _wrap_wxPyApp_Pending, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_MainLoop", (PyCFunction) _wrap_wxPyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_Initialized", (PyCFunction) _wrap_wxPyApp_Initialized, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_ExitMainLoop", (PyCFunction) _wrap_wxPyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_Dispatch", (PyCFunction) _wrap_wxPyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetVendorName", (PyCFunction) _wrap_wxPyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetTopWindow", (PyCFunction) _wrap_wxPyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetPrintMode", (PyCFunction) _wrap_wxPyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_wxPyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetClassName", (PyCFunction) _wrap_wxPyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetAuto3D", (PyCFunction) _wrap_wxPyApp_GetAuto3D, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxPyApp_GetAppName", (PyCFunction) _wrap_wxPyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "delete_wxPyApp", (PyCFunction) _wrap_delete_wxPyApp, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxPyApp", (PyCFunction) _wrap_new_wxPyApp, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "_wxSetDictionary", (PyCFunction) __wxSetDictionary, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "_wxStart", (PyCFunction) __wxStart, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptrmap", (PyCFunction) _wrap_ptrmap, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptradd", (PyCFunction) _wrap_ptradd, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptrfree", (PyCFunction) _wrap_ptrfree, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptrcreate", (PyCFunction) _wrap_ptrcreate, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptrset", (PyCFunction) _wrap_ptrset, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptrvalue", (PyCFunction) _wrap_ptrvalue, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "ptrcast", (PyCFunction) _wrap_ptrcast, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -269,9 +269,7 @@ public:
|
||||
%pragma(python) addtomethod = "__init__:self._setSelf(self)"
|
||||
|
||||
%addmethods {
|
||||
void Destroy() {
|
||||
delete self;
|
||||
}
|
||||
void Destroy() { delete self; }
|
||||
}
|
||||
|
||||
wxDC* GetDC();
|
||||
|
||||
@@ -29,8 +29,7 @@
|
||||
%import gdi.i
|
||||
|
||||
%pragma(python) code = "import wx"
|
||||
//%pragma(python) code = "import controls"
|
||||
//%pragma(python) code = "wxButtonPtr = controls.wxWindowPtr"
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
@@ -51,6 +50,7 @@ public:
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
%apply int * INOUT { int* x, int* y };
|
||||
|
||||
class wxWindow : public wxEvtHandler {
|
||||
public:
|
||||
@@ -68,8 +68,11 @@ public:
|
||||
void Centre(int direction = wxBOTH);
|
||||
void CentreOnParent(int direction = wxBOTH );
|
||||
void CenterOnParent(int direction = wxBOTH );
|
||||
%name(ClientToScreenXY)void ClientToScreen(int *BOTH, int *BOTH);
|
||||
|
||||
// (uses apply'ed INOUT typemap, see above)
|
||||
%name(ClientToScreenXY)void ClientToScreen(int* x, int* y);
|
||||
wxPoint ClientToScreen(const wxPoint& pt);
|
||||
|
||||
bool Close(int force = FALSE);
|
||||
bool Destroy();
|
||||
void DestroyChildren();
|
||||
@@ -136,7 +139,8 @@ public:
|
||||
void ReleaseMouse();
|
||||
bool Reparent( wxWindow* newParent );
|
||||
|
||||
%name(ScreenToClientXY)void ScreenToClient(int *BOTH, int *BOTH);
|
||||
// (uses apply'ed INOUT typemap, see above)
|
||||
%name(ScreenToClientXY)void ScreenToClient(int *x, int *y);
|
||||
wxPoint ScreenToClient(const wxPoint& pt);
|
||||
|
||||
void ScrollWindow(int dx, int dy, const wxRect* rect = NULL);
|
||||
@@ -190,6 +194,10 @@ public:
|
||||
wxToolTip* GetToolTip();
|
||||
};
|
||||
|
||||
//%clear int* x, int* y;
|
||||
|
||||
|
||||
|
||||
%pragma(python) code = "
|
||||
def wxDLG_PNT(win, point_or_x, y=None):
|
||||
if y is None:
|
||||
@@ -223,6 +231,7 @@ wxWindow* wxWindow_FromHWND(unsigned long hWnd) {
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
class wxPanel : public wxWindow {
|
||||
@@ -336,6 +345,13 @@ public:
|
||||
bool IsEnabled(int id);
|
||||
void SetLabel(int id, const wxString& label);
|
||||
void UpdateUI(wxEvtHandler* source = NULL);
|
||||
|
||||
%addmethods {
|
||||
void Destroy() {
|
||||
delete self;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -419,165 +435,5 @@ public:
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.18 1999/07/31 07:54:35 RD
|
||||
// wxPython 2.1b1:
|
||||
//
|
||||
// Added the missing wxWindow.GetUpdateRegion() method.
|
||||
//
|
||||
// Made a new change in SWIG (update your patches everybody) that
|
||||
// provides a fix for global shadow objects that get an exception in
|
||||
// their __del__ when their extension module has already been deleted.
|
||||
// It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
|
||||
// line 496 if you want to do it by hand.
|
||||
//
|
||||
// It is now possible to run through MainLoop more than once in any one
|
||||
// process. The cleanup that used to happen as MainLoop completed (and
|
||||
// prevented it from running again) has been delayed until the wxc module
|
||||
// is being unloaded by Python.
|
||||
//
|
||||
// wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
|
||||
// wxWindow.PopupMenuXY to be consistent with some other methods.
|
||||
//
|
||||
// Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
|
||||
//
|
||||
// You can now provide your own app.MainLoop method. See
|
||||
// wxPython/demo/demoMainLoop.py for an example and some explaination.
|
||||
//
|
||||
// Got the in-place-edit for the wxTreeCtrl fixed and added some demo
|
||||
// code to show how to use it.
|
||||
//
|
||||
// Put the wxIcon constructor back in for GTK as it now has one that
|
||||
// matches MSW's.
|
||||
//
|
||||
// Added wxGrid.GetCells
|
||||
//
|
||||
// Added wxSystemSettings static methods as functions with names like
|
||||
// wxSystemSettings_GetSystemColour.
|
||||
//
|
||||
// Removed wxPyMenu since using menu callbacks have been depreciated in
|
||||
// wxWindows. Use wxMenu and events instead.
|
||||
//
|
||||
// Added alternate wxBitmap constructor (for MSW only) as
|
||||
// wxBitmapFromData(data, type, width, height, depth = 1)
|
||||
//
|
||||
// Added a helper function named wxPyTypeCast that can convert shadow
|
||||
// objects of one type into shadow objects of another type. (Like doing
|
||||
// a down-cast.) See the implementation in wx.py for some docs.
|
||||
//
|
||||
// Revision 1.17 1999/06/22 07:03:03 RD
|
||||
//
|
||||
// wxPython 2.1b1 for wxMSW (wxGTK coming soon)
|
||||
// Lots of changes, see the README.txt for details...
|
||||
//
|
||||
// Revision 1.16 1999/05/15 00:56:04 RD
|
||||
//
|
||||
// fixes for GetReturnCode/SetReturnCode
|
||||
//
|
||||
// Revision 1.15 1999/04/30 03:29:19 RD
|
||||
//
|
||||
// wxPython 2.0b9, first phase (win32)
|
||||
// Added gobs of stuff, see wxPython/README.txt for details
|
||||
//
|
||||
// Revision 1.14.4.3 1999/03/27 23:29:15 RD
|
||||
//
|
||||
// wxPython 2.0b8
|
||||
// Python thread support
|
||||
// various minor additions
|
||||
// various minor fixes
|
||||
//
|
||||
// Revision 1.14.4.2 1999/03/16 06:26:29 RD
|
||||
//
|
||||
// wxPython 2.0b7
|
||||
//
|
||||
// Revision 1.14.4.1 1999/03/16 06:04:04 RD
|
||||
//
|
||||
// wxPython 2.0b7
|
||||
//
|
||||
// Revision 1.14 1999/02/23 23:48:33 RD
|
||||
//
|
||||
// reenabled some methods for wxPython on wxGTK
|
||||
//
|
||||
// Revision 1.13 1999/02/20 10:02:38 RD
|
||||
//
|
||||
// Changes needed to enable wxGTK compatibility.
|
||||
//
|
||||
// Revision 1.12 1999/02/20 09:03:03 RD
|
||||
// Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
|
||||
// window handle. If you can get the window handle into the python code,
|
||||
// it should just work... More news on this later.
|
||||
//
|
||||
// Added wxImageList, wxToolTip.
|
||||
//
|
||||
// Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
|
||||
// wxRegConfig class.
|
||||
//
|
||||
// As usual, some bug fixes, tweaks, etc.
|
||||
//
|
||||
// Revision 1.11 1998/12/18 15:49:10 RR
|
||||
//
|
||||
// wxClipboard now serves the primary selection as well
|
||||
// wxPython fixes
|
||||
// warning mesages
|
||||
//
|
||||
// Revision 1.10 1998/12/17 17:52:20 RD
|
||||
//
|
||||
// wxPython 0.5.2
|
||||
// Minor fixes and SWIG code generation for RR's changes. MSW and GTK
|
||||
// versions are much closer now!
|
||||
//
|
||||
// Revision 1.9 1998/12/17 14:07:46 RR
|
||||
//
|
||||
// Removed minor differences between wxMSW and wxGTK
|
||||
//
|
||||
// Revision 1.8 1998/12/16 22:10:56 RD
|
||||
//
|
||||
// Tweaks needed to be able to build wxPython with wxGTK.
|
||||
//
|
||||
// Revision 1.7 1998/12/15 20:41:25 RD
|
||||
// Changed the import semantics from "from wxPython import *" to "from
|
||||
// wxPython.wx import *" This is for people who are worried about
|
||||
// namespace pollution, they can use "from wxPython import wx" and then
|
||||
// prefix all the wxPython identifiers with "wx."
|
||||
//
|
||||
// Added wxTaskbarIcon for wxMSW.
|
||||
//
|
||||
// Made the events work for wxGrid.
|
||||
//
|
||||
// Added wxConfig.
|
||||
//
|
||||
// Added wxMiniFrame for wxGTK, (untested.)
|
||||
//
|
||||
// Changed many of the args and return values that were pointers to gdi
|
||||
// objects to references to reflect changes in the wxWindows API.
|
||||
//
|
||||
// Other assorted fixes and additions.
|
||||
//
|
||||
// Revision 1.6 1998/10/02 06:40:43 RD
|
||||
//
|
||||
// Version 0.4 of wxPython for MSW.
|
||||
//
|
||||
// Revision 1.5 1998/08/17 18:29:40 RD
|
||||
// Removed an extra method definition
|
||||
//
|
||||
// Revision 1.4 1998/08/16 04:31:11 RD
|
||||
// More wxGTK work.
|
||||
//
|
||||
// Revision 1.3 1998/08/15 07:36:47 RD
|
||||
// - Moved the header in the .i files out of the code that gets put into
|
||||
// the .cpp files. It caused CVS conflicts because of the RCS ID being
|
||||
// different each time.
|
||||
//
|
||||
// - A few minor fixes.
|
||||
//
|
||||
// Revision 1.2 1998/08/14 23:36:46 RD
|
||||
// Beginings of wxGTK compatibility
|
||||
//
|
||||
// Revision 1.1 1998/08/09 08:25:52 RD
|
||||
// Initial version
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user