From 1fded56b375bf7a4687af1cdb182899614c1b2a8 Mon Sep 17 00:00:00 2001
From: Robin Dunn
Date: Wed, 2 Jul 2003 23:13:10 +0000
Subject: [PATCH] wxPython Merge #2 of 2.4 branch --> HEAD (branch tag:
wxPy_2_4_merge_2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
wxPython/.cvsignore | 2 +
wxPython/BUILD.win32.txt | 1 +
wxPython/CHANGES.txt | 80 +-
wxPython/MANIFEST.in | 2 +
wxPython/contrib/dllwidget/dllwidget_.py | 10 +-
wxPython/contrib/gizmos/gizmos.cpp | 4423 ++++++++++++++
wxPython/contrib/gizmos/gizmos.i | 525 ++
wxPython/contrib/gizmos/gizmos.py | 499 +-
wxPython/contrib/gizmos/treelistctrl.cpp | 4764 +++++++++++++++
wxPython/contrib/gizmos/treelistctrl.h | 509 ++
wxPython/contrib/glcanvas/gtk/glcanvas.py | 34 +-
wxPython/contrib/glcanvas/mac/glcanvas.py | 24 +-
wxPython/contrib/glcanvas/msw/glcanvas.py | 34 +-
wxPython/contrib/iewin/iewin.py | 42 +-
wxPython/contrib/ogl/oglbasic.py | 468 +-
wxPython/contrib/ogl/oglcanvas.py | 94 +-
wxPython/contrib/ogl/oglhelpers.h | 5 +-
wxPython/contrib/ogl/oglshapes.py | 690 +--
wxPython/contrib/ogl/oglshapes2.py | 440 +-
wxPython/contrib/stc/gtk/stc_.cpp | 1070 +++-
wxPython/contrib/stc/gtk/stc_.py | 900 +--
wxPython/contrib/stc/mac/stc_.cpp | 1070 +++-
wxPython/contrib/stc/mac/stc_.py | 900 +--
wxPython/contrib/stc/msw/stc_.cpp | 1070 +++-
wxPython/contrib/stc/msw/stc_.py | 900 +--
wxPython/contrib/stc/stc_.i | 8 +
wxPython/contrib/xrc/xrc.py | 240 +-
wxPython/demo/About.py | 32 +-
wxPython/demo/AnalogClockWindow.py | 79 +
wxPython/demo/ColourDB.py | 7 +
wxPython/demo/ContextHelp.py | 7 +
wxPython/demo/DragAndDrop.py | 37 +-
wxPython/demo/FancyText.py | 8 +
wxPython/demo/FileBrowseButton.py | 9 +
wxPython/demo/FontEnumerator.py | 18 +-
wxPython/demo/GridDragAndDrop.py | 104 +
wxPython/demo/GridSimple.py | 5 +
wxPython/demo/ImageBrowser.py | 15 +-
wxPython/demo/LayoutAnchors.py | 5 +-
wxPython/demo/Layoutf.py | 9 +
wxPython/demo/Main.py | 398 +-
wxPython/demo/MaskedEditControls.py | 540 ++
wxPython/demo/NewNamespace.py | 47 +
wxPython/demo/OOR.py | 9 +
wxPython/demo/PopupMenu.py | 148 +
wxPython/demo/PrintFramework.py | 11 +-
wxPython/demo/PyCrust.py | 10 +-
wxPython/demo/PyCrustWithFilling.py | 28 -
wxPython/demo/PyShell.py | 23 +
wxPython/demo/PythonEvents.py | 7 +
wxPython/demo/ShapedWindow.py | 122 +
wxPython/demo/Sizers.py | 12 +-
wxPython/demo/SlashDot.py | 379 --
wxPython/demo/TablePrint.py | 9 +
wxPython/demo/Threads.py | 8 +
wxPython/demo/URLDragAndDrop.py | 9 +
wxPython/demo/Unicode.py | 9 +
wxPython/demo/XMLtreeview.py | 8 +
wxPython/demo/bmp_source/Tux.png | Bin 0 -> 31315 bytes
wxPython/demo/data/stc.h.html | 584 +-
wxPython/demo/data/wxPackage.html | 290 +
wxPython/demo/demoMainLoop.py | 56 +-
wxPython/demo/encode_bitmaps.py | 1 +
wxPython/demo/images.py | 1317 +++-
wxPython/demo/infoframe.py | 8 +-
wxPython/demo/run.py | 34 +-
wxPython/demo/simple.py | 31 +-
wxPython/demo/template.py | 6 +-
wxPython/demo/wxCalendar.py | 28 +-
wxPython/demo/wxCalendarCtrl.py | 14 +-
wxPython/demo/wxCheckBox.py | 10 +-
wxPython/demo/wxCheckListBox.py | 10 +-
wxPython/demo/wxChoice.py | 10 +
wxPython/demo/wxColourDialog.py | 10 +
wxPython/demo/wxComboBox.py | 6 +
wxPython/demo/wxEditableListBox.py | 9 +
wxPython/demo/wxFileDialog.py | 23 +-
wxPython/demo/wxFileDialog_Save.py | 44 +
wxPython/demo/wxFindReplaceDialog.py | 9 +
wxPython/demo/wxFloatBar.py | 13 +-
wxPython/demo/wxFrame.py | 9 +
wxPython/demo/wxGauge.py | 9 +
wxPython/demo/wxGenericDirCtrl.py | 7 +
wxPython/demo/wxGrid.py | 6 +-
wxPython/demo/wxGrid_MegaExample.py | 451 ++
wxPython/demo/wxImageFromStream.py | 9 +
wxPython/demo/wxJoystick.py | 9 +
wxPython/demo/wxLEDNumberCtrl.py | 8 +
wxPython/demo/wxLayoutConstraints.py | 30 +-
wxPython/demo/wxListCtrl.py | 28 +-
wxPython/demo/wxListCtrl_virtual.py | 2 +-
wxPython/demo/wxMDIWindows.py | 9 +
wxPython/demo/wxMVCTree.py | 22 +-
wxPython/demo/wxMenu.py | 71 +-
wxPython/demo/wxMessageDialog.py | 37 +-
wxPython/demo/wxMimeTypesManager.py | 8 +
wxPython/demo/wxMiniFrame.py | 9 +
wxPython/demo/wxMultipleChoiceDialog.py | 9 +
wxPython/demo/wxNotebook.py | 17 +-
wxPython/demo/wxOGL.py | 2 +-
wxPython/demo/wxPageSetupDialog.py | 10 +-
wxPython/demo/wxPlotCanvas.py | 8 +
wxPython/demo/wxPrintDialog.py | 24 +-
wxPython/demo/wxProcess.py | 9 +
wxPython/demo/wxProgressDialog.py | 9 +-
wxPython/demo/wxRightTextCtrl.py | 7 +
wxPython/demo/wxSashWindow.py | 16 +-
wxPython/demo/wxScrolledMessageDialog.py | 10 +-
wxPython/demo/wxScrolledPanel.py | 8 +-
wxPython/demo/wxScrolledWindow.py | 31 +-
wxPython/demo/wxSingleChoiceDialog.py | 18 +-
wxPython/demo/wxSpinButton.py | 7 +
wxPython/demo/wxSpinCtrl.py | 9 +
wxPython/demo/wxSplitterWindow.py | 46 +-
wxPython/demo/wxStaticBitmap.py | 10 +-
wxPython/demo/wxStaticText.py | 5 +-
wxPython/demo/wxStatusBar.py | 15 +-
wxPython/demo/wxStyledTextCtrl_1.py | 5 +-
wxPython/demo/wxStyledTextCtrl_2.py | 38 +-
wxPython/demo/wxTextEntryDialog.py | 11 +-
wxPython/demo/wxTimeCtrl.py | 289 +-
wxPython/demo/wxTimer.py | 17 +-
wxPython/demo/wxToggleButton.py | 9 +
wxPython/demo/wxToolBar.py | 12 +-
wxPython/demo/wxTreeCtrl.py | 2 +-
wxPython/demo/wxTreeListCtrl.py | 103 +
wxPython/demo/wxWave.py | 9 +
wxPython/demo/wxXmlResourceHandler.py | 2 +-
wxPython/distrib/README.1st.txt | 19 +-
wxPython/distrib/README.viewdocs.txt | 2 +-
wxPython/distrib/mac/wxPythonOSX/build | 3 +
.../mac/wxPythonOSX/resources/Welcome.txt | 4 +-
.../mac/wxPythonOSX/resources/postflight | 8 +-
wxPython/distrib/make_installer.py | 138 +-
wxPython/distrib/make_static_setup.py | 111 +
wxPython/distrib/makerpm | 8 +-
wxPython/distrib/wxPythonFull.spec.in | 66 +-
wxPython/distrib/wx_conv.py | 220 +
wxPython/distrib/wx_create.py | 116 +
wxPython/docs/PyManual.txt | 225 +
wxPython/docs/default.css | 208 +
wxPython/docs/docutils.conf | 6 +
wxPython/docs/screenshots/hello-linux.png | Bin 0 -> 62715 bytes
wxPython/docs/screenshots/hello-mac.png | Bin 0 -> 61195 bytes
wxPython/docs/screenshots/hello-win98.png | Bin 0 -> 49310 bytes
wxPython/docs/wxPackage.txt | 180 +
wxPython/docs/wxPythonDocs.txt | 77 +
wxPython/docs/wxPythonExamples.txt | 118 +
wxPython/docs/wxPythonManual.txt | 1040 ++++
wxPython/docs/wxPythonTutorial.txt | 43 +
wxPython/samples/doodle/doodle.py | 65 +-
wxPython/samples/doodle/sample.ddl | 257 +
wxPython/samples/doodle/superdoodle.py | 195 +-
wxPython/{demo => samples/hangman}/hangman.py | 0
.../samples/wx_examples/basic/__init__.py | 1 +
wxPython/samples/wx_examples/basic/app.py | 27 +
wxPython/samples/wx_examples/basic/frame.py | 33 +
.../samples/wx_examples/hello/__init__.py | 1 +
wxPython/samples/wx_examples/hello/hello.py | 38 +
.../samples/wx_examples/hello/wxPython.jpg | Bin 0 -> 14557 bytes
wxPython/scripts/CreateBatchFiles.py | 16 +-
wxPython/scripts/helpviewer.bat | 2 +-
wxPython/scripts/img2png.bat | 2 +-
wxPython/scripts/img2py.bat | 2 +-
wxPython/scripts/img2xpm.bat | 2 +-
wxPython/scripts/pyalacarte | 4 +
wxPython/scripts/pyalacarte.bat | 3 +
wxPython/scripts/pyalamode | 4 +
wxPython/scripts/pyalamode.bat | 3 +
wxPython/scripts/pycrust | 2 +-
wxPython/scripts/pycrust.bat | 2 +-
wxPython/scripts/pycwrap | 7 -
wxPython/scripts/pycwrap.bat | 3 -
wxPython/scripts/pyshell | 2 +-
wxPython/scripts/pyshell.bat | 2 +-
wxPython/scripts/pywrap | 4 +
wxPython/scripts/pywrap.bat | 3 +
wxPython/scripts/xrced.bat | 2 +-
wxPython/setup.py | 206 +-
wxPython/src/__init__.py | 3 +-
wxPython/src/__version__.py | 13 +-
wxPython/src/_defs.i | 2 +
wxPython/src/_extras.py | 162 +-
wxPython/src/controls.i | 25 +-
wxPython/src/controls2.i | 83 +-
wxPython/src/drawlist.cpp | 1 -
wxPython/src/fonts.i | 6 +-
wxPython/src/gdi.i | 57 +-
wxPython/src/grid.i | 11 +-
wxPython/src/gtk/calendar.py | 108 +-
wxPython/src/gtk/clip_dnd.py | 200 +-
wxPython/src/gtk/cmndlgs.py | 206 +-
wxPython/src/gtk/controls.cpp | 36 +-
wxPython/src/gtk/controls.py | 589 +-
wxPython/src/gtk/controls2.cpp | 288 +-
wxPython/src/gtk/controls2.py | 569 +-
wxPython/src/gtk/events.py | 450 +-
wxPython/src/gtk/filesys.py | 86 +-
wxPython/src/gtk/fonts.py | 198 +-
wxPython/src/gtk/frames.cpp | 37 +
wxPython/src/gtk/frames.py | 131 +-
wxPython/src/gtk/gdi.cpp | 231 +-
wxPython/src/gtk/gdi.py | 581 +-
wxPython/src/gtk/grid.cpp | 232 +-
wxPython/src/gtk/grid.py | 894 +--
wxPython/src/gtk/help.cpp | 12 +-
wxPython/src/gtk/help.py | 48 +-
wxPython/src/gtk/html.cpp | 73 +-
wxPython/src/gtk/html.py | 367 +-
wxPython/src/gtk/htmlhelp.py | 126 +-
wxPython/src/gtk/image.py | 193 +-
wxPython/src/gtk/mdi.py | 46 +-
wxPython/src/gtk/misc.py | 224 +-
wxPython/src/gtk/misc2.cpp | 6 +-
wxPython/src/gtk/misc2.py | 513 +-
wxPython/src/gtk/printfw.cpp | 4262 +++++++++----
wxPython/src/gtk/printfw.py | 633 +-
wxPython/src/gtk/sizers.cpp | 1326 +---
wxPython/src/gtk/sizers.py | 421 +-
wxPython/src/gtk/stattool.py | 194 +-
wxPython/src/gtk/streams.py | 40 +-
wxPython/src/gtk/utils.py | 402 +-
wxPython/src/gtk/windows.cpp | 99 +
wxPython/src/gtk/windows.py | 669 ++-
wxPython/src/gtk/windows2.cpp | 2 +-
wxPython/src/gtk/windows2.py | 252 +-
wxPython/src/gtk/windows3.cpp | 2 -
wxPython/src/gtk/windows3.py | 152 +-
wxPython/src/gtk/wizard.py | 104 +-
wxPython/src/gtk/wx.cpp | 16 +-
wxPython/src/gtk/wx.py | 221 +-
wxPython/src/help.i | 4 +-
wxPython/src/helpers.cpp | 40 +-
wxPython/src/helpers.h | 216 +-
wxPython/src/html.i | 12 +-
wxPython/src/image.i | 2 +
wxPython/src/misc2.i | 16 +-
wxPython/src/my_typemaps.i | 1 +
wxPython/src/printfw.i | 383 +-
wxPython/src/pytree.h | 47 +
wxPython/src/sizers.i | 379 +-
wxPython/src/windows.i | 16 +-
wxPython/src/windows2.i | 2 +-
wxPython/src/windows3.i | 36 +-
wxPython/src/wx.i | 16 +-
wxPython/tests/.cvsignore | 13 -
wxPython/tests/README.txt | 12 -
wxPython/tests/TstLstIcon.py | 108 -
wxPython/tests/alternateThread.py | 52 -
wxPython/tests/atom.bmp | Bin 630 -> 0 bytes
wxPython/tests/bitmaps/copy.bmp | Bin 238 -> 0 bytes
wxPython/tests/bitmaps/mondrian.ico | Bin 766 -> 0 bytes
wxPython/tests/bitmaps/new.bmp | Bin 238 -> 0 bytes
wxPython/tests/bitmaps/open.bmp | Bin 238 -> 0 bytes
wxPython/tests/bitmaps/paste.bmp | Bin 238 -> 0 bytes
wxPython/tests/bitmaps/smiles.bmp | Bin 246 -> 0 bytes
wxPython/tests/bitmaps/smiles.ico | Bin 766 -> 0 bytes
wxPython/tests/bitmaps/test2.bmp | Bin 12342 -> 0 bytes
wxPython/tests/bitmaps/tog1.bmp | Bin 238 -> 0 bytes
wxPython/tests/bitmaps/tog2.bmp | Bin 238 -> 0 bytes
wxPython/tests/blit.py | 54 -
wxPython/tests/dynamicform.py | 62 -
wxPython/tests/fs_test.py | 41 -
wxPython/tests/getvalues.py | 48 -
wxPython/tests/grid.py | 24 -
wxPython/tests/gridtest.py | 219 -
wxPython/tests/hangman.py | 390 --
wxPython/tests/hook.py | 45 -
wxPython/tests/info.bmp | Bin 370 -> 0 bytes
wxPython/tests/leave.py | 26 -
wxPython/tests/listGetItem.py | 61 -
wxPython/tests/memleak.py | 157 -
wxPython/tests/menu_replace.py | 43 -
wxPython/tests/og.py | 69 -
wxPython/tests/paul.py | 28 -
wxPython/tests/popup.py | 123 -
wxPython/tests/pytree.py | 203 -
wxPython/tests/query.bmp | Bin 630 -> 0 bytes
wxPython/tests/runner.py | 36 -
wxPython/tests/scroll_paint.py | 38 -
wxPython/tests/spies.py | 136 -
wxPython/tests/spies2.py | 69 -
wxPython/tests/ste.py | 24 -
wxPython/tests/table.bmp | Bin 630 -> 0 bytes
wxPython/tests/tabs.py | 37 -
wxPython/tests/test1.py | 83 -
wxPython/tests/test2.py | 212 -
wxPython/tests/test3.py | 216 -
wxPython/tests/test4.py | 1121 ----
wxPython/tests/test5.py | 91 -
wxPython/tests/test6.py | 81 -
wxPython/tests/test7.py | 123 -
wxPython/tests/test8.py | 85 -
wxPython/tests/testDlg.py | 49 -
wxPython/tests/testTree.py | 116 -
wxPython/tests/testi.py | 25 -
wxPython/tests/thrtest.py | 39 -
wxPython/tests/thtest.py | 29 -
wxPython/tests/txml.py | 87 -
wxPython/tests/val.py | 107 -
wxPython/tests/wxFrame1.py | 81 -
wxPython/tests/wxPlotCanvas.py | 459 --
wxPython/tests/wxSlash.py | 359 --
wxPython/tests/zigron.py | 75 -
wxPython/wx/__init__.py | 73 +
wxPython/wx/calendar.py | 11 +
wxPython/wx/dllwidget.py | 11 +
wxPython/wx/gizmos.py | 11 +
wxPython/wx/glcanvas.py | 11 +
wxPython/wx/grid.py | 11 +
wxPython/wx/help.py | 11 +
wxPython/wx/html.py | 11 +
wxPython/wx/iewin.py | 11 +
wxPython/wx/lib/CDate.py | 11 +
wxPython/wx/lib/ClickableHtmlWindow.py | 11 +
wxPython/wx/lib/ErrorDialogs.py | 11 +
wxPython/wx/lib/ErrorDialogs_wdr.py | 11 +
wxPython/wx/lib/PythonBitmaps.py | 11 +
wxPython/wx/lib/__init__.py | 1 +
wxPython/wx/lib/activexwrapper.py | 11 +
wxPython/wx/lib/analogclock.py | 11 +
wxPython/wx/lib/anchors.py | 11 +
wxPython/wx/lib/buttons.py | 11 +
wxPython/wx/lib/calendar.py | 11 +
wxPython/wx/lib/colourchooser/__init__.py | 1 +
wxPython/wx/lib/colourchooser/canvas.py | 11 +
wxPython/wx/lib/colourchooser/intl.py | 11 +
wxPython/wx/lib/colourchooser/pycolourbox.py | 11 +
.../wx/lib/colourchooser/pycolourchooser.py | 11 +
.../wx/lib/colourchooser/pycolourslider.py | 11 +
wxPython/wx/lib/colourchooser/pypalette.py | 11 +
wxPython/wx/lib/colourdb.py | 11 +
wxPython/wx/lib/colourselect.py | 11 +
wxPython/wx/lib/dialogs.py | 11 +
wxPython/wx/lib/editor/__init__.py | 1 +
wxPython/wx/lib/editor/editor.py | 11 +
wxPython/wx/lib/editor/images.py | 11 +
wxPython/wx/lib/editor/selection.py | 11 +
wxPython/wx/lib/evtmgr.py | 11 +
wxPython/wx/lib/fancytext.py | 11 +
wxPython/wx/lib/filebrowsebutton.py | 11 +
wxPython/wx/lib/floatbar.py | 11 +
wxPython/wx/lib/gridmovers.py | 11 +
wxPython/wx/lib/grids.py | 11 +
wxPython/wx/lib/imagebrowser.py | 11 +
wxPython/wx/lib/imageutils.py | 11 +
wxPython/wx/lib/infoframe.py | 11 +
wxPython/wx/lib/intctrl.py | 11 +
wxPython/wx/lib/layoutf.py | 11 +
wxPython/wx/lib/maskededit.py | 11 +
wxPython/wx/lib/mixins/__init__.py | 1 +
wxPython/wx/lib/mixins/grid.py | 11 +
wxPython/wx/lib/mixins/imagelist.py | 11 +
wxPython/wx/lib/mixins/listctrl.py | 11 +
wxPython/wx/lib/mixins/rubberband.py | 11 +
wxPython/wx/lib/multisash.py | 11 +
wxPython/wx/lib/mvctree.py | 11 +
wxPython/wx/lib/popupctl.py | 11 +
wxPython/wx/lib/printout.py | 11 +
wxPython/wx/lib/pubsub.py | 11 +
wxPython/wx/lib/pyshell.py | 11 +
wxPython/wx/lib/rcsizer.py | 11 +
wxPython/wx/lib/rightalign.py | 11 +
wxPython/wx/lib/rpcMixin.py | 11 +
wxPython/wx/lib/scrolledpanel.py | 11 +
wxPython/wx/lib/sheet.py | 11 +
wxPython/wx/lib/shell.py | 11 +
wxPython/wx/lib/splashscreen.py | 11 +
wxPython/wx/lib/stattext.py | 11 +
wxPython/wx/lib/throbber.py | 11 +
wxPython/wx/lib/timectrl.py | 11 +
wxPython/wx/lib/vtk.py | 11 +
wxPython/wx/lib/wxPlotCanvas.py | 11 +
wxPython/wx/lib/wxpTag.py | 11 +
wxPython/wx/ogl.py | 11 +
wxPython/wx/py/PyAlaCarte.py | 11 +
wxPython/wx/py/PyAlaMode.py | 11 +
wxPython/wx/py/PyCrust.py | 11 +
wxPython/wx/py/PyFilling.py | 11 +
wxPython/wx/py/PyShell.py | 11 +
wxPython/wx/py/PyWrap.py | 11 +
wxPython/wx/py/__init__.py | 3 +
wxPython/wx/py/buffer.py | 11 +
wxPython/wx/py/crust.py | 11 +
wxPython/wx/py/dispatcher.py | 11 +
wxPython/wx/py/document.py | 11 +
wxPython/wx/py/editor.py | 11 +
wxPython/wx/py/editwindow.py | 11 +
wxPython/wx/py/filling.py | 11 +
wxPython/wx/py/frame.py | 11 +
wxPython/wx/py/images.py | 11 +
wxPython/wx/py/interpreter.py | 11 +
wxPython/wx/py/introspect.py | 11 +
wxPython/wx/py/pseudo.py | 11 +
wxPython/wx/py/shell.py | 11 +
wxPython/wx/py/version.py | 11 +
wxPython/wx/stc.py | 11 +
wxPython/wx/tools/XRCed/__init__.py | 1 +
wxPython/wx/tools/XRCed/encode_bitmaps.py | 11 +
wxPython/wx/tools/XRCed/globals.py | 11 +
wxPython/wx/tools/XRCed/images.py | 11 +
wxPython/wx/tools/XRCed/panel.py | 11 +
wxPython/wx/tools/XRCed/params.py | 11 +
wxPython/wx/tools/XRCed/tools.py | 11 +
wxPython/wx/tools/XRCed/tree.py | 11 +
wxPython/wx/tools/XRCed/undo.py | 11 +
wxPython/wx/tools/XRCed/xrced.py | 11 +
wxPython/wx/tools/XRCed/xxx.py | 11 +
wxPython/wx/tools/__init__.py | 1 +
wxPython/wx/tools/dbg.py | 11 +
wxPython/wx/tools/helpviewer.py | 11 +
wxPython/wx/tools/img2img.py | 11 +
wxPython/wx/tools/img2png.py | 11 +
wxPython/wx/tools/img2py.py | 11 +
wxPython/wx/tools/img2xpm.py | 11 +
wxPython/wx/wizard.py | 11 +
wxPython/wx/xrc.py | 11 +
wxPython/wxPython/lib/PyCrust/.cvsignore | 3 -
wxPython/wxPython/lib/PyCrust/CHANGES.txt | 512 --
wxPython/wxPython/lib/PyCrust/PyCrustApp.py | 66 +-
wxPython/wxPython/lib/PyCrust/PyFillingApp.py | 41 +-
wxPython/wxPython/lib/PyCrust/PyShellApp.py | 67 +-
wxPython/wxPython/lib/PyCrust/__init__.py | 6 +-
wxPython/wxPython/lib/PyCrust/crust.py | 169 +-
wxPython/wxPython/lib/PyCrust/filling.py | 435 +-
wxPython/wxPython/lib/PyCrust/shell.py | 1186 +---
wxPython/wxPython/lib/PyCrust/shellmenu.py | 226 -
wxPython/wxPython/lib/PyCrust/wrap.py | 51 +-
wxPython/wxPython/lib/PyCrust/wxd/Sizers.py | 488 --
wxPython/wxPython/lib/analogclock.py | 201 +
wxPython/wxPython/lib/calendar.py | 10 +-
wxPython/wxPython/lib/dialogs.py | 7 +-
wxPython/wxPython/lib/evtmgr.py | 7 +-
wxPython/wxPython/lib/imagebrowser.py | 1 +
wxPython/wxPython/lib/infoframe.py | 4 +-
wxPython/wxPython/lib/intctrl.py | 60 +-
wxPython/wxPython/lib/maskededit.py | 5348 +++++++++++++++++
wxPython/wxPython/lib/mixins/rubberband.py | 19 +-
wxPython/wxPython/lib/popupctl.py | 8 +-
wxPython/wxPython/lib/pubsub.py | 2 +-
wxPython/wxPython/lib/rightalign.py | 9 +
wxPython/wxPython/lib/scrolledpanel.py | 18 +-
wxPython/wxPython/lib/stattext.py | 20 +-
wxPython/wxPython/lib/timectrl.py | 1550 +++--
wxPython/wxPython/py/CHANGES.txt | 594 ++
.../{lib/PyCrust/PyCrust.ico => py/Py.ico} | Bin
wxPython/wxPython/py/PyAlaCarte.py | 43 +
wxPython/wxPython/py/PyAlaMode.py | 43 +
wxPython/wxPython/py/PyAlaModeTest.py | 42 +
wxPython/wxPython/py/PyCrust.ico | Bin 0 -> 4710 bytes
wxPython/wxPython/py/PyCrust.py | 78 +
wxPython/wxPython/py/PyCrust_16.png | Bin 0 -> 706 bytes
wxPython/wxPython/py/PyCrust_32.png | Bin 0 -> 1273 bytes
wxPython/wxPython/py/PyFilling.py | 43 +
wxPython/wxPython/py/PyShell.py | 79 +
wxPython/wxPython/py/PyWrap.py | 56 +
.../wxPython/{lib/PyCrust => py}/README.txt | 0
wxPython/wxPython/py/__init__.py | 20 +
wxPython/wxPython/py/buffer.py | 144 +
wxPython/wxPython/py/crust.py | 221 +
.../{lib/PyCrust => py}/dispatcher.py | 0
wxPython/wxPython/py/document.py | 49 +
wxPython/wxPython/py/editor.py | 839 +++
wxPython/wxPython/py/editwindow.py | 199 +
wxPython/wxPython/py/filling.py | 337 ++
wxPython/wxPython/py/frame.py | 348 ++
.../wxPython/{lib/PyCrust => py}/images.py | 39 +-
.../{lib/PyCrust => py}/interpreter.py | 6 +-
.../{lib/PyCrust => py}/introspect.py | 18 +-
.../wxPython/{lib/PyCrust => py}/pseudo.py | 0
wxPython/wxPython/py/shell.py | 1039 ++++
.../wxPython/py/tests/test_interpreter.py | 82 +
wxPython/wxPython/py/tests/test_introspect.py | 862 +++
wxPython/wxPython/py/tests/test_pseudo.py | 81 +
wxPython/wxPython/py/tests/test_version.py | 49 +
wxPython/wxPython/py/tests/testall.py | 25 +
.../wxPython/{lib/PyCrust => py}/version.py | 8 +-
.../{lib/PyCrust => py}/wxd/Accelerators.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/App.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/Base.py | 0
.../{lib/PyCrust => py}/wxd/ClipDragDrop.py | 0
.../{lib/PyCrust => py}/wxd/Config.py | 0
.../{lib/PyCrust => py}/wxd/Controls.py | 35 +-
.../{lib/PyCrust => py}/wxd/DataStructures.py | 0
.../{lib/PyCrust => py}/wxd/DateTime.py | 0
.../{lib/PyCrust => py}/wxd/Dialogs.py | 0
.../{lib/PyCrust => py}/wxd/Drawing.py | 0
.../{lib/PyCrust => py}/wxd/Errors.py | 0
.../{lib/PyCrust => py}/wxd/EventFunctions.py | 7 +
.../{lib/PyCrust => py}/wxd/Events.py | 0
.../{lib/PyCrust => py}/wxd/FileSystem.py | 0
.../{lib/PyCrust => py}/wxd/Frames.py | 109 +-
.../{lib/PyCrust => py}/wxd/Functions.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/Help.py | 0
.../{lib/PyCrust => py}/wxd/ImageHandlers.py | 0
.../{lib/PyCrust => py}/wxd/Joystick.py | 0
.../PyCrust => py}/wxd/LayoutConstraints.py | 0
.../{lib/PyCrust => py}/wxd/Logging.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/Menus.py | 0
.../{lib/PyCrust => py}/wxd/MimeTypes.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/Misc.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/Panel.py | 0
.../{lib/PyCrust => py}/wxd/Parameters.py | 1 +
.../{lib/PyCrust => py}/wxd/Printing.py | 0
.../{lib/PyCrust => py}/wxd/Process.py | 0
.../{lib/PyCrust => py}/wxd/SashSplitter.py | 0
wxPython/wxPython/py/wxd/Sizers.py | 605 ++
.../{lib/PyCrust => py}/wxd/Streams.py | 0
.../PyCrust => py}/wxd/StyledTextConstants.py | 0
.../{lib/PyCrust => py}/wxd/Threading.py | 0
.../{lib/PyCrust => py}/wxd/ToolBar.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/Tree.py | 57 +-
.../{lib/PyCrust => py}/wxd/Validators.py | 0
.../{lib/PyCrust => py}/wxd/Window.py | 0
.../{lib/PyCrust => py}/wxd/__init__.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/d_stc.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/d_wx.py | 0
.../{lib/PyCrust => py}/wxd/decorator.py | 3 +-
.../wxPython/{lib/PyCrust => py}/wxd/gen.py | 0
wxPython/wxPython/py/wxd/genapi.py | 133 +
.../wxPython/{lib/PyCrust => py}/wxd/stc_.py | 0
.../wxPython/{lib/PyCrust => py}/wxd/wx_.py | 4 +
wxPython/wxPython/tools/XRCed/CHANGES.txt | 37 +
wxPython/wxPython/tools/XRCed/XRCed_16.png | Bin 0 -> 542 bytes
wxPython/wxPython/tools/XRCed/XRCed_32.png | Bin 0 -> 677 bytes
wxPython/wxPython/tools/XRCed/globals.py | 4 +-
wxPython/wxPython/tools/XRCed/params.py | 108 +-
.../tools/XRCed/src-images/TreeToolBar.png | Bin 194 -> 185 bytes
wxPython/wxPython/tools/XRCed/tools.py | 1 +
wxPython/wxPython/tools/XRCed/tree.py | 163 +-
wxPython/wxPython/tools/XRCed/xrced.py | 105 +-
wxPython/wxPython/tools/XRCed/xrced.xrc | 50 +
wxPython/wxPython/tools/XRCed/xxx.py | 51 +-
wxPython/wxSWIG/Modules/pycpp.cxx | 10 +-
wxPython/wxSWIG/Modules/python.cxx | 2 +-
535 files changed, 49070 insertions(+), 20238 deletions(-)
create mode 100644 wxPython/contrib/gizmos/treelistctrl.cpp
create mode 100644 wxPython/contrib/gizmos/treelistctrl.h
create mode 100644 wxPython/demo/AnalogClockWindow.py
create mode 100644 wxPython/demo/GridDragAndDrop.py
create mode 100644 wxPython/demo/MaskedEditControls.py
create mode 100644 wxPython/demo/NewNamespace.py
create mode 100644 wxPython/demo/PopupMenu.py
delete mode 100644 wxPython/demo/PyCrustWithFilling.py
create mode 100644 wxPython/demo/PyShell.py
create mode 100644 wxPython/demo/ShapedWindow.py
delete mode 100644 wxPython/demo/SlashDot.py
create mode 100644 wxPython/demo/bmp_source/Tux.png
create mode 100644 wxPython/demo/data/wxPackage.html
create mode 100644 wxPython/demo/wxFileDialog_Save.py
create mode 100644 wxPython/demo/wxGrid_MegaExample.py
create mode 100644 wxPython/demo/wxTreeListCtrl.py
create mode 100644 wxPython/distrib/make_static_setup.py
create mode 100644 wxPython/distrib/wx_conv.py
create mode 100644 wxPython/distrib/wx_create.py
create mode 100644 wxPython/docs/PyManual.txt
create mode 100644 wxPython/docs/default.css
create mode 100644 wxPython/docs/docutils.conf
create mode 100644 wxPython/docs/screenshots/hello-linux.png
create mode 100644 wxPython/docs/screenshots/hello-mac.png
create mode 100644 wxPython/docs/screenshots/hello-win98.png
create mode 100644 wxPython/docs/wxPackage.txt
create mode 100644 wxPython/docs/wxPythonDocs.txt
create mode 100644 wxPython/docs/wxPythonExamples.txt
create mode 100644 wxPython/docs/wxPythonManual.txt
create mode 100644 wxPython/docs/wxPythonTutorial.txt
rename wxPython/{demo => samples/hangman}/hangman.py (100%)
create mode 100644 wxPython/samples/wx_examples/basic/__init__.py
create mode 100755 wxPython/samples/wx_examples/basic/app.py
create mode 100755 wxPython/samples/wx_examples/basic/frame.py
create mode 100644 wxPython/samples/wx_examples/hello/__init__.py
create mode 100755 wxPython/samples/wx_examples/hello/hello.py
create mode 100644 wxPython/samples/wx_examples/hello/wxPython.jpg
create mode 100755 wxPython/scripts/pyalacarte
create mode 100755 wxPython/scripts/pyalacarte.bat
create mode 100755 wxPython/scripts/pyalamode
create mode 100755 wxPython/scripts/pyalamode.bat
delete mode 100755 wxPython/scripts/pycwrap
delete mode 100755 wxPython/scripts/pycwrap.bat
create mode 100755 wxPython/scripts/pywrap
create mode 100755 wxPython/scripts/pywrap.bat
create mode 100644 wxPython/src/pytree.h
delete mode 100644 wxPython/tests/.cvsignore
delete mode 100644 wxPython/tests/README.txt
delete mode 100644 wxPython/tests/TstLstIcon.py
delete mode 100644 wxPython/tests/alternateThread.py
delete mode 100644 wxPython/tests/atom.bmp
delete mode 100644 wxPython/tests/bitmaps/copy.bmp
delete mode 100644 wxPython/tests/bitmaps/mondrian.ico
delete mode 100644 wxPython/tests/bitmaps/new.bmp
delete mode 100644 wxPython/tests/bitmaps/open.bmp
delete mode 100644 wxPython/tests/bitmaps/paste.bmp
delete mode 100644 wxPython/tests/bitmaps/smiles.bmp
delete mode 100644 wxPython/tests/bitmaps/smiles.ico
delete mode 100644 wxPython/tests/bitmaps/test2.bmp
delete mode 100644 wxPython/tests/bitmaps/tog1.bmp
delete mode 100644 wxPython/tests/bitmaps/tog2.bmp
delete mode 100644 wxPython/tests/blit.py
delete mode 100644 wxPython/tests/dynamicform.py
delete mode 100644 wxPython/tests/fs_test.py
delete mode 100644 wxPython/tests/getvalues.py
delete mode 100644 wxPython/tests/grid.py
delete mode 100644 wxPython/tests/gridtest.py
delete mode 100644 wxPython/tests/hangman.py
delete mode 100644 wxPython/tests/hook.py
delete mode 100644 wxPython/tests/info.bmp
delete mode 100644 wxPython/tests/leave.py
delete mode 100644 wxPython/tests/listGetItem.py
delete mode 100644 wxPython/tests/memleak.py
delete mode 100644 wxPython/tests/menu_replace.py
delete mode 100644 wxPython/tests/og.py
delete mode 100644 wxPython/tests/paul.py
delete mode 100644 wxPython/tests/popup.py
delete mode 100644 wxPython/tests/pytree.py
delete mode 100644 wxPython/tests/query.bmp
delete mode 100644 wxPython/tests/runner.py
delete mode 100644 wxPython/tests/scroll_paint.py
delete mode 100644 wxPython/tests/spies.py
delete mode 100644 wxPython/tests/spies2.py
delete mode 100644 wxPython/tests/ste.py
delete mode 100644 wxPython/tests/table.bmp
delete mode 100644 wxPython/tests/tabs.py
delete mode 100644 wxPython/tests/test1.py
delete mode 100644 wxPython/tests/test2.py
delete mode 100644 wxPython/tests/test3.py
delete mode 100644 wxPython/tests/test4.py
delete mode 100644 wxPython/tests/test5.py
delete mode 100644 wxPython/tests/test6.py
delete mode 100644 wxPython/tests/test7.py
delete mode 100644 wxPython/tests/test8.py
delete mode 100644 wxPython/tests/testDlg.py
delete mode 100644 wxPython/tests/testTree.py
delete mode 100644 wxPython/tests/testi.py
delete mode 100644 wxPython/tests/thrtest.py
delete mode 100644 wxPython/tests/thtest.py
delete mode 100644 wxPython/tests/txml.py
delete mode 100644 wxPython/tests/val.py
delete mode 100644 wxPython/tests/wxFrame1.py
delete mode 100644 wxPython/tests/wxPlotCanvas.py
delete mode 100644 wxPython/tests/wxSlash.py
delete mode 100644 wxPython/tests/zigron.py
create mode 100644 wxPython/wx/__init__.py
create mode 100644 wxPython/wx/calendar.py
create mode 100644 wxPython/wx/dllwidget.py
create mode 100644 wxPython/wx/gizmos.py
create mode 100644 wxPython/wx/glcanvas.py
create mode 100644 wxPython/wx/grid.py
create mode 100644 wxPython/wx/help.py
create mode 100644 wxPython/wx/html.py
create mode 100644 wxPython/wx/iewin.py
create mode 100644 wxPython/wx/lib/CDate.py
create mode 100644 wxPython/wx/lib/ClickableHtmlWindow.py
create mode 100644 wxPython/wx/lib/ErrorDialogs.py
create mode 100644 wxPython/wx/lib/ErrorDialogs_wdr.py
create mode 100644 wxPython/wx/lib/PythonBitmaps.py
create mode 100644 wxPython/wx/lib/__init__.py
create mode 100644 wxPython/wx/lib/activexwrapper.py
create mode 100644 wxPython/wx/lib/analogclock.py
create mode 100644 wxPython/wx/lib/anchors.py
create mode 100644 wxPython/wx/lib/buttons.py
create mode 100644 wxPython/wx/lib/calendar.py
create mode 100644 wxPython/wx/lib/colourchooser/__init__.py
create mode 100644 wxPython/wx/lib/colourchooser/canvas.py
create mode 100644 wxPython/wx/lib/colourchooser/intl.py
create mode 100644 wxPython/wx/lib/colourchooser/pycolourbox.py
create mode 100644 wxPython/wx/lib/colourchooser/pycolourchooser.py
create mode 100644 wxPython/wx/lib/colourchooser/pycolourslider.py
create mode 100644 wxPython/wx/lib/colourchooser/pypalette.py
create mode 100644 wxPython/wx/lib/colourdb.py
create mode 100644 wxPython/wx/lib/colourselect.py
create mode 100644 wxPython/wx/lib/dialogs.py
create mode 100644 wxPython/wx/lib/editor/__init__.py
create mode 100644 wxPython/wx/lib/editor/editor.py
create mode 100644 wxPython/wx/lib/editor/images.py
create mode 100644 wxPython/wx/lib/editor/selection.py
create mode 100644 wxPython/wx/lib/evtmgr.py
create mode 100644 wxPython/wx/lib/fancytext.py
create mode 100644 wxPython/wx/lib/filebrowsebutton.py
create mode 100644 wxPython/wx/lib/floatbar.py
create mode 100644 wxPython/wx/lib/gridmovers.py
create mode 100644 wxPython/wx/lib/grids.py
create mode 100644 wxPython/wx/lib/imagebrowser.py
create mode 100644 wxPython/wx/lib/imageutils.py
create mode 100644 wxPython/wx/lib/infoframe.py
create mode 100644 wxPython/wx/lib/intctrl.py
create mode 100644 wxPython/wx/lib/layoutf.py
create mode 100644 wxPython/wx/lib/maskededit.py
create mode 100644 wxPython/wx/lib/mixins/__init__.py
create mode 100644 wxPython/wx/lib/mixins/grid.py
create mode 100644 wxPython/wx/lib/mixins/imagelist.py
create mode 100644 wxPython/wx/lib/mixins/listctrl.py
create mode 100644 wxPython/wx/lib/mixins/rubberband.py
create mode 100644 wxPython/wx/lib/multisash.py
create mode 100644 wxPython/wx/lib/mvctree.py
create mode 100644 wxPython/wx/lib/popupctl.py
create mode 100644 wxPython/wx/lib/printout.py
create mode 100644 wxPython/wx/lib/pubsub.py
create mode 100644 wxPython/wx/lib/pyshell.py
create mode 100644 wxPython/wx/lib/rcsizer.py
create mode 100644 wxPython/wx/lib/rightalign.py
create mode 100644 wxPython/wx/lib/rpcMixin.py
create mode 100644 wxPython/wx/lib/scrolledpanel.py
create mode 100644 wxPython/wx/lib/sheet.py
create mode 100644 wxPython/wx/lib/shell.py
create mode 100644 wxPython/wx/lib/splashscreen.py
create mode 100644 wxPython/wx/lib/stattext.py
create mode 100644 wxPython/wx/lib/throbber.py
create mode 100644 wxPython/wx/lib/timectrl.py
create mode 100644 wxPython/wx/lib/vtk.py
create mode 100644 wxPython/wx/lib/wxPlotCanvas.py
create mode 100644 wxPython/wx/lib/wxpTag.py
create mode 100644 wxPython/wx/ogl.py
create mode 100644 wxPython/wx/py/PyAlaCarte.py
create mode 100644 wxPython/wx/py/PyAlaMode.py
create mode 100644 wxPython/wx/py/PyCrust.py
create mode 100644 wxPython/wx/py/PyFilling.py
create mode 100644 wxPython/wx/py/PyShell.py
create mode 100644 wxPython/wx/py/PyWrap.py
create mode 100644 wxPython/wx/py/__init__.py
create mode 100644 wxPython/wx/py/buffer.py
create mode 100644 wxPython/wx/py/crust.py
create mode 100644 wxPython/wx/py/dispatcher.py
create mode 100644 wxPython/wx/py/document.py
create mode 100644 wxPython/wx/py/editor.py
create mode 100644 wxPython/wx/py/editwindow.py
create mode 100644 wxPython/wx/py/filling.py
create mode 100644 wxPython/wx/py/frame.py
create mode 100644 wxPython/wx/py/images.py
create mode 100644 wxPython/wx/py/interpreter.py
create mode 100644 wxPython/wx/py/introspect.py
create mode 100644 wxPython/wx/py/pseudo.py
create mode 100644 wxPython/wx/py/shell.py
create mode 100644 wxPython/wx/py/version.py
create mode 100644 wxPython/wx/stc.py
create mode 100644 wxPython/wx/tools/XRCed/__init__.py
create mode 100644 wxPython/wx/tools/XRCed/encode_bitmaps.py
create mode 100644 wxPython/wx/tools/XRCed/globals.py
create mode 100644 wxPython/wx/tools/XRCed/images.py
create mode 100644 wxPython/wx/tools/XRCed/panel.py
create mode 100644 wxPython/wx/tools/XRCed/params.py
create mode 100644 wxPython/wx/tools/XRCed/tools.py
create mode 100644 wxPython/wx/tools/XRCed/tree.py
create mode 100644 wxPython/wx/tools/XRCed/undo.py
create mode 100644 wxPython/wx/tools/XRCed/xrced.py
create mode 100644 wxPython/wx/tools/XRCed/xxx.py
create mode 100644 wxPython/wx/tools/__init__.py
create mode 100644 wxPython/wx/tools/dbg.py
create mode 100644 wxPython/wx/tools/helpviewer.py
create mode 100644 wxPython/wx/tools/img2img.py
create mode 100644 wxPython/wx/tools/img2png.py
create mode 100644 wxPython/wx/tools/img2py.py
create mode 100644 wxPython/wx/tools/img2xpm.py
create mode 100644 wxPython/wx/wizard.py
create mode 100644 wxPython/wx/xrc.py
delete mode 100644 wxPython/wxPython/lib/PyCrust/.cvsignore
delete mode 100644 wxPython/wxPython/lib/PyCrust/CHANGES.txt
delete mode 100644 wxPython/wxPython/lib/PyCrust/shellmenu.py
delete mode 100644 wxPython/wxPython/lib/PyCrust/wxd/Sizers.py
create mode 100644 wxPython/wxPython/lib/analogclock.py
create mode 100644 wxPython/wxPython/lib/maskededit.py
create mode 100644 wxPython/wxPython/py/CHANGES.txt
rename wxPython/wxPython/{lib/PyCrust/PyCrust.ico => py/Py.ico} (100%)
create mode 100755 wxPython/wxPython/py/PyAlaCarte.py
create mode 100755 wxPython/wxPython/py/PyAlaMode.py
create mode 100755 wxPython/wxPython/py/PyAlaModeTest.py
create mode 100644 wxPython/wxPython/py/PyCrust.ico
create mode 100755 wxPython/wxPython/py/PyCrust.py
create mode 100644 wxPython/wxPython/py/PyCrust_16.png
create mode 100644 wxPython/wxPython/py/PyCrust_32.png
create mode 100755 wxPython/wxPython/py/PyFilling.py
create mode 100755 wxPython/wxPython/py/PyShell.py
create mode 100755 wxPython/wxPython/py/PyWrap.py
rename wxPython/wxPython/{lib/PyCrust => py}/README.txt (100%)
create mode 100644 wxPython/wxPython/py/__init__.py
create mode 100644 wxPython/wxPython/py/buffer.py
create mode 100644 wxPython/wxPython/py/crust.py
rename wxPython/wxPython/{lib/PyCrust => py}/dispatcher.py (100%)
create mode 100644 wxPython/wxPython/py/document.py
create mode 100644 wxPython/wxPython/py/editor.py
create mode 100644 wxPython/wxPython/py/editwindow.py
create mode 100644 wxPython/wxPython/py/filling.py
create mode 100644 wxPython/wxPython/py/frame.py
rename wxPython/wxPython/{lib/PyCrust => py}/images.py (87%)
rename wxPython/wxPython/{lib/PyCrust => py}/interpreter.py (96%)
rename wxPython/wxPython/{lib/PyCrust => py}/introspect.py (96%)
rename wxPython/wxPython/{lib/PyCrust => py}/pseudo.py (100%)
create mode 100644 wxPython/wxPython/py/shell.py
create mode 100644 wxPython/wxPython/py/tests/test_interpreter.py
create mode 100644 wxPython/wxPython/py/tests/test_introspect.py
create mode 100644 wxPython/wxPython/py/tests/test_pseudo.py
create mode 100644 wxPython/wxPython/py/tests/test_version.py
create mode 100644 wxPython/wxPython/py/tests/testall.py
rename wxPython/wxPython/{lib/PyCrust => py}/version.py (52%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Accelerators.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/App.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Base.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/ClipDragDrop.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Config.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Controls.py (97%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/DataStructures.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/DateTime.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Dialogs.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Drawing.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Errors.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/EventFunctions.py (98%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Events.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/FileSystem.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Frames.py (67%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Functions.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Help.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/ImageHandlers.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Joystick.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/LayoutConstraints.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Logging.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Menus.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/MimeTypes.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Misc.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Panel.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Parameters.py (98%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Printing.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Process.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/SashSplitter.py (100%)
create mode 100644 wxPython/wxPython/py/wxd/Sizers.py
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Streams.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/StyledTextConstants.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Threading.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/ToolBar.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Tree.py (82%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Validators.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/Window.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/__init__.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/d_stc.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/d_wx.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/decorator.py (98%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/gen.py (100%)
create mode 100644 wxPython/wxPython/py/wxd/genapi.py
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/stc_.py (100%)
rename wxPython/wxPython/{lib/PyCrust => py}/wxd/wx_.py (89%)
create mode 100644 wxPython/wxPython/tools/XRCed/XRCed_16.png
create mode 100644 wxPython/wxPython/tools/XRCed/XRCed_32.png
diff --git a/wxPython/.cvsignore b/wxPython/.cvsignore
index 38dfbf734e..6e3d362030 100644
--- a/wxPython/.cvsignore
+++ b/wxPython/.cvsignore
@@ -5,8 +5,10 @@ MANIFEST
_build_dmg
_build_rpm
build
+build-dbg
build-gtk
build-gtk2
+build-gtk2-dbg.unicode
build-gtk2.unicode
build-pkg
build-pkg-debug
diff --git a/wxPython/BUILD.win32.txt b/wxPython/BUILD.win32.txt
index f0cde57a6b..bbec92c2c7 100644
--- a/wxPython/BUILD.win32.txt
+++ b/wxPython/BUILD.win32.txt
@@ -119,6 +119,7 @@ C. Change to the %WXWIN%\include\wx\msw directory and copy setup0.h to
wxUSE_TREELAYOUT 0
wxUSE_MS_HTML_HELP 0
wxUSE_POSTSCRIPT 1
+ wxUSE_DYNLIB_CLASS 1
** NEW **
diff --git a/wxPython/CHANGES.txt b/wxPython/CHANGES.txt
index 1f94276ec2..5d81424b18 100644
--- a/wxPython/CHANGES.txt
+++ b/wxPython/CHANGES.txt
@@ -2,10 +2,85 @@ CHANGES.txt for wxPython
----------------------------------------------------------------------
-?????
+2.4.1.x
-------
-Added wxScrolledPanel from Wil Sadkin
+Use wxSTC in the demo for displaying the soucre code of the samples.
+
+
+
+
+
+2.4.1.2
+-------
+
+Added wxScrolledPanel from Will Sadkin
+
+Added SetShape method to top level windows (e.g. wxFrame.)
+
+Changed wxSWIG to not generate Python code using apply, (since it will
+be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax
+instead. Also changed the generated __repr__ methods to be a bit more
+informative.
+
+Made the version number information more robust and uh, informative.
+Also added asserts to check that the major.minor versions of wxPython
+and wxWindows match.
+
+Added the new wx "renamer" package that will dynamically import from
+the wxPython package and rename wxFooBar --> FooBar. That means that
+people can do imports without "import *" and can use names like
+wx.Frame instead of wx.wxFrame. This is phase 1 of a full transition
+to the new namespace.
+
+Updated Scintilla to 1.52. I also changed it to use wxListCtrl
+instead of wxListBox for the AutoComplete window, added the ability to
+use custom bitmaps in the margin and in the AutoComplete windows, and
+worked out how to do proper clipping of child windows on wxGTK.
+
+Patrick O'Brien's PyCrust package has been renamed to Py and now
+includes several new tools. As part of the change the location of the
+pacakge has changed as well, it is now accessible as "from wxPython
+import py" (or "from wx import py" using the new namespace.) There
+are still some transition modules in the wxPython.lib.PyCrust package
+that will issue a warning and then import what is needed from the new
+package. These will be removed in a future release.
+
+Added __nonzero__ method to wxTreeItemId, wxBitmap, wxImage, wxFont,
+and most other classes that have an Ok or IsOK method. This allows
+code like "if obj: ..." to be the same as "if obj.IsOk(): ..."
+
+Toolbars on wxMac can now have controls on them.
+
+Added wxPython.lib.analogclock module based on samples that were
+passed back and forth on wxPython-users a while back.
+
+Added masked edit controls (wxPython.lib.maskededit) by Jeff Childers
+and Will Sadkin. Updated wxTimeCtrl to use MaskedEdit.
+
+When the __class__ of a dead object is replaced with _wxPyDeadObject
+the __del__ of the original class is now called first.
+
+Added wxTreeListCtrl. (Looks like a wxTreeCtrl embedded in a
+wxListCtrl, but actually is just giving multiple columns to a
+wxTreeCtrl.)
+
+Added wxFutureCall, a subclass of wxTimer that makes it easy to delay
+a call to any Python callable object.
+
+Added wxPy versions of wxPrintPreview, wxPreviewFrame, and
+wxPreviewControlBar so they can be derived from in Python and be able
+to override the C++ virtual methods.
+
+Simplified how the wxSizer methods are wrapped, changed the name of
+the "option" parameter to "proportion" to match the docs ("option" is
+still accepted for compatibility, but this will go away in a future
+release,) SetItemMinSize can now take a wxSize (or 2-tuple) parameter,
+and Spacers can be specified with a wxSize (or 2-tuple) parameter
+
+Added wxCursorFromBits.
+
+
@@ -411,6 +486,7 @@ Added wxTimeCtrl from Will Sadkin.
+
2.3.2.1
-------
Changed (again) how the Python global interpreter lock is handled as
diff --git a/wxPython/MANIFEST.in b/wxPython/MANIFEST.in
index 0dbd7d830c..d515a5580b 100644
--- a/wxPython/MANIFEST.in
+++ b/wxPython/MANIFEST.in
@@ -1,3 +1,5 @@
+# This is way out of date. (It's not activly used anymore...)
+
include *.txt
include my_distutils.py
## include my_install_data.py
diff --git a/wxPython/contrib/dllwidget/dllwidget_.py b/wxPython/contrib/dllwidget/dllwidget_.py
index f0e64379fc..39ace44c84 100644
--- a/wxPython/contrib/dllwidget/dllwidget_.py
+++ b/wxPython/contrib/dllwidget/dllwidget_.py
@@ -47,19 +47,19 @@ class wxDllWidgetPtr(wxPanelPtr):
self.this = this
self.thisown = 0
def Ok(self, *_args, **_kwargs):
- val = apply(dllwidget_c.wxDllWidget_Ok,(self,) + _args, _kwargs)
+ val = dllwidget_c.wxDllWidget_Ok(self, *_args, **_kwargs)
return val
def SendCommand(self, *_args, **_kwargs):
- val = apply(dllwidget_c.wxDllWidget_SendCommand,(self,) + _args, _kwargs)
+ val = dllwidget_c.wxDllWidget_SendCommand(self, *_args, **_kwargs)
return val
def GetWidgetWindow(self, *_args, **_kwargs):
- val = apply(dllwidget_c.wxDllWidget_GetWidgetWindow,(self,) + _args, _kwargs)
+ val = dllwidget_c.wxDllWidget_GetWidgetWindow(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxDllWidget instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxDllWidget(wxDllWidgetPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(dllwidget_c.new_wxDllWidget,_args,_kwargs)
+ self.this = dllwidget_c.new_wxDllWidget(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
diff --git a/wxPython/contrib/gizmos/gizmos.cpp b/wxPython/contrib/gizmos/gizmos.cpp
index 0abd1ec076..82418d6b0a 100644
--- a/wxPython/contrib/gizmos/gizmos.cpp
+++ b/wxPython/contrib/gizmos/gizmos.cpp
@@ -59,7 +59,12 @@ extern PyObject *SWIG_newvarlink(void);
#include
#include
#include
+
#include
+#include
+#include
+#include "treelistctrl.h"
+#include "pytree.h"
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
@@ -91,6 +96,8 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
// Put some wx default wxChar* values into wxStrings.
static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
+ static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
+ static const wxString wxPyEmptyString(wxT(""));
typedef wxTreeCtrl wxPyTreeCtrl;
@@ -123,6 +130,43 @@ public:
PYPRIVATE;
};
+ // C++ version of Python aware control
+class wxPyTreeListCtrl : public wxTreeListCtrl {
+ DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
+public:
+ wxPyTreeListCtrl() : wxTreeListCtrl() {}
+ wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator &validator,
+ const wxString& name) :
+ wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
+
+ int OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2) {
+ int rval = 0;
+ bool found;
+ wxPyBeginBlockThreads();
+ if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
+ PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
+ PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
+ rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
+ Py_DECREF(o1);
+ Py_DECREF(o2);
+ }
+ wxPyEndBlockThreads();
+ if (! found)
+ rval = wxTreeListCtrl::OnCompareItems(item1, item2);
+ return rval;
+ }
+ PYPRIVATE;
+};
+
+IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
+
+
+ static const long longzero = 0;
#ifdef __cplusplus
extern "C" {
#endif
@@ -1904,7 +1948,4376 @@ static PyObject *_wrap_wxLEDNumberCtrl_SetValue(PyObject *self, PyObject *args,
return _resultobj;
}
+static void *SwigwxTreeListColumnInfoTowxObject(void *ptr) {
+ wxTreeListColumnInfo *src;
+ wxObject *dest;
+ src = (wxTreeListColumnInfo *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
+#define new_wxTreeListColumnInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTreeListColumnInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_new_wxTreeListColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _result;
+ wxString * _arg0 = (wxString *) &wxPyEmptyString;
+ int _arg1 = (int ) -1;
+ size_t _arg2 = (size_t ) 100;
+ wxTreeListColumnAlign _arg3 = (wxTreeListColumnAlign ) (wxTL_ALIGN_LEFT);
+ PyObject * _obj0 = 0;
+ char *_kwnames[] = { "text","image","width","alignment", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oiii:new_wxTreeListColumnInfo",_kwnames,&_obj0,&_arg1,&_arg2,&_arg3))
+ return NULL;
+ if (_obj0)
+{
+ _arg0 = wxString_in_helper(_obj0);
+ if (_arg0 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxTreeListColumnInfo *)new_wxTreeListColumnInfo(*_arg0,_arg1,_arg2,_arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} if (_result) {
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeListColumnInfo_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ } else {
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ }
+{
+ if (_obj0)
+ delete _arg0;
+}
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_GetAlignment(_swigobj) (_swigobj->GetAlignment())
+static PyObject *_wrap_wxTreeListColumnInfo_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnAlign _result;
+ wxTreeListColumnInfo * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetAlignment",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_GetAlignment. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxTreeListColumnAlign )wxTreeListColumnInfo_GetAlignment(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_GetText(_swigobj) (_swigobj->GetText())
+static PyObject *_wrap_wxTreeListColumnInfo_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxString * _result;
+ wxTreeListColumnInfo * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetText",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_GetText. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxString (wxTreeListColumnInfo_GetText(_arg0));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{
+#if wxUSE_UNICODE
+ _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
+#else
+ _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+#endif
+}
+{
+ delete _result;
+}
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_GetImage(_swigobj) (_swigobj->GetImage())
+static PyObject *_wrap_wxTreeListColumnInfo_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxTreeListColumnInfo * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetImage",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_GetImage. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxTreeListColumnInfo_GetImage(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_GetSelectedImage(_swigobj) (_swigobj->GetSelectedImage())
+static PyObject *_wrap_wxTreeListColumnInfo_GetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxTreeListColumnInfo * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetSelectedImage",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_GetSelectedImage. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxTreeListColumnInfo_GetSelectedImage(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_GetWidth(_swigobj) (_swigobj->GetWidth())
+static PyObject *_wrap_wxTreeListColumnInfo_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ size_t _result;
+ wxTreeListColumnInfo * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListColumnInfo_GetWidth",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_GetWidth. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (size_t )wxTreeListColumnInfo_GetWidth(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
+static PyObject *_wrap_wxTreeListColumnInfo_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _arg0;
+ wxTreeListColumnAlign _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","alignment", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetAlignment",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_SetAlignment. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListColumnInfo_SetAlignment(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
+static PyObject *_wrap_wxTreeListColumnInfo_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","text", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListColumnInfo_SetText",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_SetText. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListColumnInfo_SetText(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0))
+static PyObject *_wrap_wxTreeListColumnInfo_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","image", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetImage",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_SetImage. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListColumnInfo_SetImage(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_SetSelectedImage(_swigobj,_swigarg0) (_swigobj->SetSelectedImage(_swigarg0))
+static PyObject *_wrap_wxTreeListColumnInfo_SetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","image", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetSelectedImage",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_SetSelectedImage. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListColumnInfo_SetSelectedImage(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListColumnInfo_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
+static PyObject *_wrap_wxTreeListColumnInfo_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","with", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListColumnInfo_SetWidth",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListColumnInfo_SetWidth. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListColumnInfo_SetWidth(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+static void *SwigwxPyTreeListCtrlTowxControl(void *ptr) {
+ wxPyTreeListCtrl *src;
+ wxControl *dest;
+ src = (wxPyTreeListCtrl *) ptr;
+ dest = (wxControl *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxPyTreeListCtrlTowxWindow(void *ptr) {
+ wxPyTreeListCtrl *src;
+ wxWindow *dest;
+ src = (wxPyTreeListCtrl *) ptr;
+ dest = (wxWindow *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxPyTreeListCtrlTowxEvtHandler(void *ptr) {
+ wxPyTreeListCtrl *src;
+ wxEvtHandler *dest;
+ src = (wxPyTreeListCtrl *) ptr;
+ dest = (wxEvtHandler *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxPyTreeListCtrlTowxObject(void *ptr) {
+ wxPyTreeListCtrl *src;
+ wxObject *dest;
+ src = (wxPyTreeListCtrl *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
+#define new_wxTreeListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
+static PyObject *_wrap_new_wxTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _result;
+ wxWindow * _arg0;
+ wxWindowID _arg1 = (wxWindowID ) -1;
+ wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
+ wxSize * _arg3 = (wxSize *) &wxDefaultSize;
+ long _arg4 = (long ) wxTR_DEFAULT_STYLE;
+ wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
+ wxString * _arg6 = (wxString *) &wxPyTreeListCtrlNameStr;
+ PyObject * _argo0 = 0;
+ wxPoint temp;
+ PyObject * _obj2 = 0;
+ wxSize temp0;
+ PyObject * _obj3 = 0;
+ PyObject * _argo5 = 0;
+ PyObject * _obj6 = 0;
+ char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxTreeListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeListCtrl. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ if (_obj2)
+{
+ _arg2 = &temp;
+ if (! wxPoint_helper(_obj2, &_arg2))
+ return NULL;
+}
+ if (_obj3)
+{
+ _arg3 = &temp0;
+ if (! wxSize_helper(_obj3, &_arg3))
+ return NULL;
+}
+ if (_argo5) {
+ if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeListCtrl. Expected _wxValidator_p.");
+ return NULL;
+ }
+ }
+ if (_obj6)
+{
+ _arg6 = wxString_in_helper(_obj6);
+ if (_arg6 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxPyTreeListCtrl *)new_wxTreeListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} if (_result) {
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeListCtrl_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ } else {
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ }
+{
+ if (_obj6)
+ delete _arg6;
+}
+ return _resultobj;
+}
+
+#define new_wxPreTreeListCtrl() (new wxPyTreeListCtrl())
+static PyObject *_wrap_new_wxPreTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _result;
+ char *_kwnames[] = { NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTreeListCtrl",_kwnames))
+ return NULL;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxPyTreeListCtrl *)new_wxPreTreeListCtrl();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} if (_result) {
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeListCtrl_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ } else {
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ }
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
+static PyObject *_wrap_wxTreeListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxWindow * _arg1;
+ wxWindowID _arg2 = (wxWindowID ) -1;
+ wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
+ wxSize * _arg4 = (wxSize *) &wxDefaultSize;
+ long _arg5 = (long ) wxTR_DEFAULT_STYLE;
+ wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
+ wxString * _arg7 = (wxString *) &wxPyTreeListCtrlNameStr;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ wxPoint temp;
+ PyObject * _obj3 = 0;
+ wxSize temp0;
+ PyObject * _obj4 = 0;
+ PyObject * _argo6 = 0;
+ PyObject * _obj7 = 0;
+ char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxTreeListCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Create. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_Create. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+ if (_obj3)
+{
+ _arg3 = &temp;
+ if (! wxPoint_helper(_obj3, &_arg3))
+ return NULL;
+}
+ if (_obj4)
+{
+ _arg4 = &temp0;
+ if (! wxSize_helper(_obj4, &_arg4))
+ return NULL;
+}
+ if (_argo6) {
+ if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeListCtrl_Create. Expected _wxValidator_p.");
+ return NULL;
+ }
+ }
+ if (_obj7)
+{
+ _arg7 = wxString_in_helper(_obj7);
+ if (_arg7 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj7)
+ delete _arg7;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _arg1;
+ PyObject * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","self","_class", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl__setCallbackInfo. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = _obj1;
+}
+{
+ _arg2 = _obj2;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl__setCallbackInfo(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetCount(_swigobj) (_swigobj->GetCount())
+static PyObject *_wrap_wxTreeListCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ size_t _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetCount",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetCount. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (size_t )wxTreeListCtrl_GetCount(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
+static PyObject *_wrap_wxTreeListCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ unsigned int _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetIndent",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetIndent. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (unsigned int )wxTreeListCtrl_GetIndent(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ unsigned int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","indent", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetIndent. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetIndent(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing())
+static PyObject *_wrap_wxTreeListCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ unsigned int _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetSpacing",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetSpacing. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (unsigned int )wxTreeListCtrl_GetSpacing(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ unsigned int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","spacing", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetSpacing",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetSpacing. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetSpacing(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetLineSpacing(_swigobj) (_swigobj->GetLineSpacing())
+static PyObject *_wrap_wxTreeListCtrl_GetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ unsigned int _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetLineSpacing",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetLineSpacing. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (unsigned int )wxTreeListCtrl_GetLineSpacing(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetLineSpacing(_swigobj,_swigarg0) (_swigobj->SetLineSpacing(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ unsigned int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","spacing", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetLineSpacing",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetLineSpacing. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetLineSpacing(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
+static PyObject *_wrap_wxTreeListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxImageList * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetImageList",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxImageList *)wxTreeListCtrl_GetImageList(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
+static PyObject *_wrap_wxTreeListCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxImageList * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetStateImageList",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetStateImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxImageList *)wxTreeListCtrl_GetStateImageList(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetButtonsImageList(_swigobj) (_swigobj->GetButtonsImageList())
+static PyObject *_wrap_wxTreeListCtrl_GetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxImageList * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetButtonsImageList",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetButtonsImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxImageList *)wxTreeListCtrl_GetButtonsImageList(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxImageList * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","imageList", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SetImageList",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetImageList(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxImageList * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","imageList", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetStateImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetStateImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetStateImageList(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetButtonsImageList(_swigobj,_swigarg0) (_swigobj->SetButtonsImageList(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxImageList * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","imageList", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SetButtonsImageList",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetButtonsImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetButtonsImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetButtonsImageList(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AssignImageList(_swigobj,_swigarg0) (_swigobj->AssignImageList(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxImageList * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","imageList", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AssignImageList",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AssignImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_AssignImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_AssignImageList(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AssignStateImageList(_swigobj,_swigarg0) (_swigobj->AssignStateImageList(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxImageList * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","imageList", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AssignStateImageList",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AssignStateImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_AssignStateImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_AssignStateImageList(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AssignButtonsImageList(_swigobj,_swigarg0) (_swigobj->AssignButtonsImageList(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_AssignButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxImageList * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","imageList", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AssignButtonsImageList",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AssignButtonsImageList. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (_argo1 == Py_None) { _arg1 = NULL; }
+ else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_AssignButtonsImageList. Expected _wxImageList_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_AssignButtonsImageList(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AddColumn(_swigobj,_swigarg0) (_swigobj->AddColumn(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_AddColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","text", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AddColumn",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AddColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_AddColumn(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AddColumnInfo(_swigobj,_swigarg0) (_swigobj->AddColumn(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_AddColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeListColumnInfo * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","col", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_AddColumnInfo",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AddColumnInfo. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_AddColumnInfo. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_AddColumnInfo(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ wxString * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","before","text", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_InsertColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_InsertColumn(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ if (_obj2)
+ delete _arg2;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ wxTreeListColumnInfo * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","before","col", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_InsertColumnInfo. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeListCtrl_InsertColumnInfo. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_RemoveColumn(_swigobj,_swigarg0) (_swigobj->RemoveColumn(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_RemoveColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_RemoveColumn",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_RemoveColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_RemoveColumn(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
+static PyObject *_wrap_wxTreeListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ size_t _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetColumnCount",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetColumnCount. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (size_t )wxTreeListCtrl_GetColumnCount(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ size_t _arg2;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column","width", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxTreeListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetColumnWidth. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetColumnWidth. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxTreeListCtrl_GetColumnWidth(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetMainColumn(_swigobj,_swigarg0) (_swigobj->SetMainColumn(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_SetMainColumn",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetMainColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetMainColumn(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetMainColumn(_swigobj) (_swigobj->GetMainColumn())
+static PyObject *_wrap_wxTreeListCtrl_GetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ size_t _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetMainColumn",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetMainColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (size_t )wxTreeListCtrl_GetMainColumn(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetColumnText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnText(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ wxString * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","column","text", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_SetColumnText",_kwnames,&_argo0,&_arg1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetColumnText. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetColumnText(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ if (_obj2)
+ delete _arg2;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetColumnText(_swigobj,_swigarg0) (_swigobj->GetColumnText(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxString * _result;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnText",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetColumnText. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxString (wxTreeListCtrl_GetColumnText(_arg0,_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{
+#if wxUSE_UNICODE
+ _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
+#else
+ _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+#endif
+}
+{
+ delete _result;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ wxTreeListColumnInfo * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","column","info", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxTreeListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeListColumnInfo_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeListCtrl_SetColumn. Expected _wxTreeListColumnInfo_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetColumn(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnInfo * _result;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetColumn. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListColumnInfo & _result_ref = wxTreeListCtrl_GetColumn(_arg0,_arg1);
+ _result = (wxTreeListColumnInfo *) &_result_ref;
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} if (_result) {
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeListColumnInfo_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ } else {
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ }
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetColumnAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnAlignment(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ wxTreeListColumnAlign _arg2;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column","align", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxTreeListCtrl_SetColumnAlignment",_kwnames,&_argo0,&_arg1,&_arg2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetColumnAlignment. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetColumnAlignment(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetColumnAlignment(_swigobj,_swigarg0) (_swigobj->GetColumnAlignment(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeListColumnAlign _result;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnAlignment",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetColumnAlignment. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxTreeListColumnAlign )wxTreeListCtrl_GetColumnAlignment(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetColumnImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnImage(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ int _arg2;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column","image", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxTreeListCtrl_SetColumnImage",_kwnames,&_argo0,&_arg1,&_arg2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetColumnImage. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetColumnImage(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetColumnImage(_swigobj,_swigarg0) (_swigobj->GetColumnImage(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxPyTreeListCtrl * _arg0;
+ size_t _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeListCtrl_GetColumnImage",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetColumnImage. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxTreeListCtrl_GetColumnImage(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,const wxTreeItemId & item,int column) {
+ if (column < 0) column = self->GetMainColumn();
+ return self->GetItemText(item, column);
+ }
+static PyObject *_wrap_wxTreeListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxString * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ int _arg2 = (int ) -1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_GetItemText",_kwnames,&_argo0,&_argo1,&_arg2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemText. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemText. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxString (wxPyTreeListCtrl_GetItemText(_arg0,*_arg1,_arg2));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{
+#if wxUSE_UNICODE
+ _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
+#else
+ _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+#endif
+}
+{
+ delete _result;
+}
+ return _resultobj;
+}
+
+static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,const wxTreeItemId & item,int column,wxTreeItemIcon which) {
+ if (column < 0) column = self->GetMainColumn();
+ return self->GetItemImage(item, column, which);
+ }
+static PyObject *_wrap_wxTreeListCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ int _arg2 = (int ) -1;
+ wxTreeItemIcon _arg3 = (wxTreeItemIcon ) wxTreeItemIcon_Normal;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item","column","which", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxTreeListCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemImage. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemImage. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxPyTreeListCtrl_GetItemImage(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,const wxTreeItemId & item,const wxString & text,int column) {
+ if (column < 0) column = self->GetMainColumn();
+ self->SetItemText(item, column, text);
+ }
+static PyObject *_wrap_wxTreeListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxString * _arg2;
+ int _arg3 = (int ) -1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","item","text","column", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxTreeListCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemText. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemText. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxPyTreeListCtrl_SetItemText(_arg0,*_arg1,*_arg2,_arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+{
+ if (_obj2)
+ delete _arg2;
+}
+ return _resultobj;
+}
+
+static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,const wxTreeItemId & item,int image,int column,wxTreeItemIcon which) {
+ if (column < 0) column = self->GetMainColumn();
+ self->SetItemImage(item, column, image, which);
+ }
+static PyObject *_wrap_wxTreeListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ int _arg2;
+ int _arg3 = (int ) -1;
+ wxTreeItemIcon _arg4 = (wxTreeItemIcon ) wxTreeItemIcon_Normal;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item","image","column","which", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|ii:wxTreeListCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemImage. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemImage. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxPyTreeListCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3,_arg4);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+static wxPyTreeItemData * wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,const wxTreeItemId & item) {
+ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
+ if (data == NULL) {
+ data = new wxPyTreeItemData();
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ }
+ return data;
+ }
+static PyObject *_wrap_wxTreeListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeItemData * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemData",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemData. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemData. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} if (_result) {
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ } else {
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ }
+ return _resultobj;
+}
+
+static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) {
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ }
+static PyObject *_wrap_wxTreeListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxPyTreeItemData * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","item","data", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemData. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemData. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (_argo2 == Py_None) { _arg2 = NULL; }
+ else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeListCtrl_SetItemData. Expected _wxPyTreeItemData_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxPyTreeListCtrl_SetItemData(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+static PyObject * wxPyTreeListCtrl_GetPyData(wxPyTreeListCtrl *self,const wxTreeItemId & item) {
+ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
+ if (data == NULL) {
+ data = new wxPyTreeItemData();
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ }
+ return data->GetData();
+ }
+static PyObject *_wrap_wxTreeListCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ PyObject * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetPyData",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetPyData. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetPyData. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (PyObject *)wxPyTreeListCtrl_GetPyData(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{
+ _resultobj = _result;
+}
+ return _resultobj;
+}
+
+static void wxPyTreeListCtrl_SetPyData(wxPyTreeListCtrl *self,const wxTreeItemId & item,PyObject * obj) {
+ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
+ if (data == NULL) {
+ data = new wxPyTreeItemData(obj);
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ } else
+ data->SetData(obj);
+ }
+static PyObject *_wrap_wxTreeListCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","item","obj", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetPyData. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetPyData. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = _obj2;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxPyTreeListCtrl_SetPyData(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ bool _arg2 = (bool ) TRUE;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ int tempbool2 = (int) TRUE;
+ char *_kwnames[] = { "self","item","has", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemHasChildren. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ bool _arg2 = (bool ) TRUE;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ int tempbool2 = (int) TRUE;
+ char *_kwnames[] = { "self","item","bold", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemBold. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemBold. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetItemBold(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","item","col", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemTextColour. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemTextColour. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","item","col", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemBackgroundColour. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxFont * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","item","font", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemFont. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemFont. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeListCtrl_SetItemFont. Expected _wxFont_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetItemFont(_arg0,*_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetItemBold(_swigobj,_swigarg0) (_swigobj->GetItemBold(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemBold",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemBold. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemBold. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_GetItemBold(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetItemTextColour(_swigobj,_swigarg0) (_swigobj->GetItemTextColour(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxColour * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemTextColour",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemTextColour. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemTextColour. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxColour (wxTreeListCtrl_GetItemTextColour(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetItemBackgroundColour(_swigobj,_swigarg0) (_swigobj->GetItemBackgroundColour(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxColour * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemBackgroundColour",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemBackgroundColour. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemBackgroundColour. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxColour (wxTreeListCtrl_GetItemBackgroundColour(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetItemFont(_swigobj,_swigarg0) (_swigobj->GetItemFont(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxFont * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemFont",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemFont. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemFont. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxFont (wxTreeListCtrl_GetItemFont(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsVisible",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_IsVisible. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_IsVisible. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_IsVisible(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_ItemHasChildren. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_ItemHasChildren(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsExpanded",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_IsExpanded. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_IsExpanded. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_IsExpanded(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsSelected",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_IsSelected. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_IsSelected. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_IsSelected(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_IsBold",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_IsBold. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_IsBold. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxTreeListCtrl_IsBold(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ size_t _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ bool _arg2 = (bool ) TRUE;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ int tempbool2 = (int) TRUE;
+ char *_kwnames[] = { "self","item","recursively", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetChildrenCount. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetChildrenCount. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (size_t )wxTreeListCtrl_GetChildrenCount(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
+static PyObject *_wrap_wxTreeListCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetRootItem",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetRootItem. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetRootItem(_arg0));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
+static PyObject *_wrap_wxTreeListCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetSelection",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetSelection. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetSelection(_arg0));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+static PyObject * wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self) {
+ wxPyBeginBlockThreads();
+ PyObject* rval = PyList_New(0);
+ wxArrayTreeItemIds array;
+ size_t num, x;
+ num = self->GetSelections(array);
+ for (x=0; x < num; x++) {
+ wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
+ PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), TRUE);
+ PyList_Append(rval, item);
+ }
+ wxPyEndBlockThreads();
+ return rval;
+ }
+static PyObject *_wrap_wxTreeListCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ PyObject * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetSelections",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetSelections. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (PyObject *)wxPyTreeListCtrl_GetSelections(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{
+ _resultobj = _result;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemParent",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemParent. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemParent. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetItemParent(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ long * _arg2 = (long *) &longzero;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ long temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","item","INOUT", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxTreeListCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetFirstChild. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ if (_obj2)
+{
+ temp = (long) PyInt_AsLong(_obj2);
+ _arg2 = &temp;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg2));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ long * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ long temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","item","INOUT", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeListCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetNextChild. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetNextChild. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ temp = (long) PyInt_AsLong(_obj2);
+ _arg2 = &temp;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg2));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetLastChild",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetLastChild. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetLastChild. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetLastChild(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetNextSibling. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetNextSibling(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetPrevSibling. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetPrevSibling(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
+static PyObject *_wrap_wxTreeListCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetFirstVisibleItem",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetFirstVisibleItem. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetFirstVisibleItem(_arg0));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetNextVisible. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetNextVisible(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetPrevVisible. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetPrevVisible(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetNext(_swigobj,_swigarg0) (_swigobj->GetNext(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetNext",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetNext. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetNext. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_GetNext(_arg0,*_arg1));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
+static PyObject *_wrap_wxTreeListCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxString * _arg1;
+ int _arg2 = (int ) -1;
+ int _arg3 = (int ) -1;
+ wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ PyObject * _argo4 = 0;
+ char *_kwnames[] = { "self","text","image","selectedImage","data", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeListCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AddRoot. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+ if (_argo4) {
+ if (_argo4 == Py_None) { _arg4 = NULL; }
+ else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeListCtrl_AddRoot. Expected _wxPyTreeItemData_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
+static PyObject *_wrap_wxTreeListCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxString * _arg2;
+ int _arg3 = (int ) -1;
+ int _arg4 = (int ) -1;
+ wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _obj2 = 0;
+ PyObject * _argo5 = 0;
+ char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeListCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_PrependItem. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_PrependItem. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
+ if (_argo5) {
+ if (_argo5 == Py_None) { _arg5 = NULL; }
+ else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeListCtrl_PrependItem. Expected _wxPyTreeItemData_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ if (_obj2)
+ delete _arg2;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_wxTreeListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxTreeItemId * _arg2;
+ wxString * _arg3;
+ int _arg4 = (int ) -1;
+ int _arg5 = (int ) -1;
+ wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _argo2 = 0;
+ PyObject * _obj3 = 0;
+ PyObject * _argo6 = 0;
+ char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeListCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_InsertItem. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_InsertItem. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeListCtrl_InsertItem. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg3 = wxString_in_helper(_obj3);
+ if (_arg3 == NULL)
+ return NULL;
+}
+ if (_argo6) {
+ if (_argo6 == Py_None) { _arg6 = NULL; }
+ else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeListCtrl_InsertItem. Expected _wxPyTreeItemData_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ if (_obj3)
+ delete _arg3;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
+static PyObject *_wrap_wxTreeListCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ size_t _arg2;
+ wxString * _arg3;
+ int _arg4 = (int ) -1;
+ int _arg5 = (int ) -1;
+ wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _obj3 = 0;
+ PyObject * _argo6 = 0;
+ char *_kwnames[] = { "self","parent","index","text","image","selectedImage","data", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeListCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_InsertItemBefore. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_InsertItemBefore. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg3 = wxString_in_helper(_obj3);
+ if (_arg3 == NULL)
+ return NULL;
+}
+ if (_argo6) {
+ if (_argo6 == Py_None) { _arg6 = NULL; }
+ else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeListCtrl_InsertItemBefore. Expected _wxPyTreeItemData_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ if (_obj3)
+ delete _arg3;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
+static PyObject *_wrap_wxTreeListCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ wxString * _arg2;
+ int _arg3 = (int ) -1;
+ int _arg4 = (int ) -1;
+ wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ PyObject * _obj2 = 0;
+ PyObject * _argo5 = 0;
+ char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL };
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeListCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_AppendItem. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_AppendItem. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
+ if (_argo5) {
+ if (_argo5 == Py_None) { _arg5 = NULL; }
+ else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeListCtrl_AppendItem. Expected _wxPyTreeItemData_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ if (_obj2)
+ delete _arg2;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Delete",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Delete. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_Delete. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_Delete(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_DeleteChildren. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_DeleteChildren(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
+static PyObject *_wrap_wxTreeListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_DeleteAllItems",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_DeleteAllItems. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_DeleteAllItems(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Expand",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Expand. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_Expand. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_Expand(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_ExpandAll(_swigobj,_swigarg0) (_swigobj->ExpandAll(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_ExpandAll(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_ExpandAll",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_ExpandAll. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_ExpandAll. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_ExpandAll(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Collapse",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Collapse. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_Collapse. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_Collapse(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_CollapseAndReset. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_CollapseAndReset(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Toggle",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Toggle. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_Toggle. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_Toggle(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Unselect(_swigobj) (_swigobj->Unselect())
+static PyObject *_wrap_wxTreeListCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_Unselect",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Unselect. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_Unselect(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll())
+static PyObject *_wrap_wxTreeListCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_UnselectAll",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_UnselectAll. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_UnselectAll(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SelectItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SelectItem(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxTreeListCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ bool _arg2 = (bool ) TRUE;
+ bool _arg3 = (bool ) FALSE;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ int tempbool2 = (int) TRUE;
+ int tempbool3 = (int) FALSE;
+ char *_kwnames[] = { "self","item","unselect_others","extended_select", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxTreeListCtrl_SelectItem",_kwnames,&_argo0,&_argo1,&tempbool2,&tempbool3))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SelectItem. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SelectItem. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+ _arg3 = (bool ) tempbool3;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SelectItem(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_EnsureVisible. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_EnsureVisible(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_ScrollTo",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_ScrollTo. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_ScrollTo. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_ScrollTo(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2))
+static PyObject *_wrap_wxTreeListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxTreeItemId * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxPoint * _arg1;
+ int * _arg2;
+ int temp;
+ int * _arg3;
+ int temp0;
+ PyObject * _argo0 = 0;
+ wxPoint temp1;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","point", NULL };
+ char _ptemp[128];
+
+ self = self;
+{
+ _arg2 = &temp;
+}
+{
+ _arg3 = &temp0;
+}
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_HitTest",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_HitTest. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp1;
+ if (! wxPoint_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxTreeItemId (wxTreeListCtrl_HitTest(_arg0,*_arg1,*_arg2,*_arg3));
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg2));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+{
+ PyObject *o;
+ o = PyInt_FromLong((long) (*_arg3));
+ _resultobj = t_output_helper(_resultobj, o);
+}
+ return _resultobj;
+}
+
+static PyObject * wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,const wxTreeItemId & item,bool textOnly) {
+ wxRect rect;
+ if (self->GetBoundingRect(item, rect, textOnly)) {
+ wxPyBeginBlockThreads();
+ wxRect* r = new wxRect(rect);
+ PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
+ wxPyEndBlockThreads();
+ return val;
+ }
+ else {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+ }
+static PyObject *_wrap_wxTreeListCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ PyObject * _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ bool _arg2 = (bool ) FALSE;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ int tempbool2 = (int) FALSE;
+ char *_kwnames[] = { "self","item","textOnly", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeListCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetBoundingRect. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetBoundingRect. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{
+ _resultobj = _result;
+}
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_EditLabel",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_EditLabel. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_EditLabel. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_EditLabel(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_Edit(_swigobj,_swigarg0) (_swigobj->Edit(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_Edit(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_Edit",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_Edit. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_Edit. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_Edit(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_SortChildren",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SortChildren. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SortChildren. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SortChildren(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
+static PyObject *_wrap_wxTreeListCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeListCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetItemSelectedImage. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxTreeListCtrl_GetItemSelectedImage(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTreeListCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxPyTreeListCtrl * _arg0;
+ wxTreeItemId * _arg1;
+ int _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo1 = 0;
+ char *_kwnames[] = { "self","item","image", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeListCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_SetItemSelectedImage. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo1) {
+ if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeListCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxTreeListCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetHeaderWindow(_swigobj) (_swigobj->GetHeaderWindow())
+static PyObject *_wrap_wxTreeListCtrl_GetHeaderWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxWindow * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetHeaderWindow",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetHeaderWindow. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxWindow *)wxTreeListCtrl_GetHeaderWindow(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+ return _resultobj;
+}
+
+#define wxTreeListCtrl_GetMainWindow(_swigobj) (_swigobj->GetMainWindow())
+static PyObject *_wrap_wxTreeListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxWindow * _result;
+ wxPyTreeListCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeListCtrl_GetMainWindow",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeListCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeListCtrl_GetMainWindow. Expected _wxPyTreeListCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxWindow *)wxTreeListCtrl_GetMainWindow(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+ return _resultobj;
+}
+
static PyMethodDef gizmoscMethods[] = {
+ { "wxTreeListCtrl_GetMainWindow", (PyCFunction) _wrap_wxTreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_wxTreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeListCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeListCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SortChildren", (PyCFunction) _wrap_wxTreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Edit", (PyCFunction) _wrap_wxTreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_EditLabel", (PyCFunction) _wrap_wxTreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_HitTest", (PyCFunction) _wrap_wxTreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SelectItem", (PyCFunction) _wrap_wxTreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Unselect", (PyCFunction) _wrap_wxTreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Toggle", (PyCFunction) _wrap_wxTreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Collapse", (PyCFunction) _wrap_wxTreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_ExpandAll", (PyCFunction) _wrap_wxTreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Expand", (PyCFunction) _wrap_wxTreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Delete", (PyCFunction) _wrap_wxTreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AppendItem", (PyCFunction) _wrap_wxTreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_InsertItem", (PyCFunction) _wrap_wxTreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_PrependItem", (PyCFunction) _wrap_wxTreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AddRoot", (PyCFunction) _wrap_wxTreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetNext", (PyCFunction) _wrap_wxTreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetSelections", (PyCFunction) _wrap_wxTreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetSelection", (PyCFunction) _wrap_wxTreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_IsBold", (PyCFunction) _wrap_wxTreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_IsSelected", (PyCFunction) _wrap_wxTreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_IsVisible", (PyCFunction) _wrap_wxTreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemFont", (PyCFunction) _wrap_wxTreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_wxTreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_wxTreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemBold", (PyCFunction) _wrap_wxTreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetPyData", (PyCFunction) _wrap_wxTreeListCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetPyData", (PyCFunction) _wrap_wxTreeListCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemData", (PyCFunction) _wrap_wxTreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemData", (PyCFunction) _wrap_wxTreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetItemText", (PyCFunction) _wrap_wxTreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetItemText", (PyCFunction) _wrap_wxTreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetColumnImage", (PyCFunction) _wrap_wxTreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetColumnImage", (PyCFunction) _wrap_wxTreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_wxTreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_wxTreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetColumn", (PyCFunction) _wrap_wxTreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetColumn", (PyCFunction) _wrap_wxTreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetColumnText", (PyCFunction) _wrap_wxTreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetColumnText", (PyCFunction) _wrap_wxTreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetMainColumn", (PyCFunction) _wrap_wxTreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetMainColumn", (PyCFunction) _wrap_wxTreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxTreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxTreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetColumnCount", (PyCFunction) _wrap_wxTreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_RemoveColumn", (PyCFunction) _wrap_wxTreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxTreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_InsertColumn", (PyCFunction) _wrap_wxTreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_wxTreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AddColumn", (PyCFunction) _wrap_wxTreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_wxTreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_wxTreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_AssignImageList", (PyCFunction) _wrap_wxTreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_wxTreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetImageList", (PyCFunction) _wrap_wxTreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_wxTreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetImageList", (PyCFunction) _wrap_wxTreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_wxTreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_wxTreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeListCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeListCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_SetIndent", (PyCFunction) _wrap_wxTreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetIndent", (PyCFunction) _wrap_wxTreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_GetCount", (PyCFunction) _wrap_wxTreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_wxTreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListCtrl_Create", (PyCFunction) _wrap_wxTreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
+ { "new_wxPreTreeListCtrl", (PyCFunction) _wrap_new_wxPreTreeListCtrl, METH_VARARGS | METH_KEYWORDS },
+ { "new_wxTreeListCtrl", (PyCFunction) _wrap_new_wxTreeListCtrl, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_SetWidth", (PyCFunction) _wrap_wxTreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_wxTreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_SetImage", (PyCFunction) _wrap_wxTreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_SetText", (PyCFunction) _wrap_wxTreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_wxTreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_GetWidth", (PyCFunction) _wrap_wxTreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_wxTreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_GetImage", (PyCFunction) _wrap_wxTreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_GetText", (PyCFunction) _wrap_wxTreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS },
+ { "wxTreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_wxTreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS },
+ { "new_wxTreeListColumnInfo", (PyCFunction) _wrap_new_wxTreeListColumnInfo, METH_VARARGS | METH_KEYWORDS },
{ "wxLEDNumberCtrl_SetValue", (PyCFunction) _wrap_wxLEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
{ "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_wxLEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS },
{ "wxLEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_wxLEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS },
@@ -2009,6 +6422,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_unsigned_short","_WXTYPE",0},
{ "_unsigned_short","_short",0},
{ "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow},
+ { "_wxObject","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxObject},
+ { "_wxObject","_wxTreeListColumnInfo",SwigwxTreeListColumnInfoTowxObject},
{ "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject},
{ "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject},
{ "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject},
@@ -2022,6 +6437,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_signed_short","_short",0},
{ "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow},
{ "_unsigned_char","_byte",0},
+ { "_wxControl","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxControl},
{ "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl},
{ "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl},
{ "_unsigned_int","_wxCoord",0},
@@ -2072,6 +6488,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_wxCoord","_size_t",0},
{ "_wxCoord","_time_t",0},
{ "_wxCoord","_wxPrintQuality",0},
+ { "_wxEvtHandler","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxEvtHandler},
{ "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler},
{ "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler},
{ "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler},
@@ -2079,6 +6496,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler},
{ "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler},
{ "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler},
+ { "_wxWindow","_wxPyTreeListCtrl",SwigwxPyTreeListCtrlTowxWindow},
{ "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow},
{ "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow},
{ "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow},
@@ -2109,12 +6527,17 @@ SWIGEXPORT(void) initgizmosc() {
PyDict_SetItemString(d,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER));
PyDict_SetItemString(d,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK));
PyDict_SetItemString(d,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED));
+ PyDict_SetItemString(d,"wxTL_ALIGN_LEFT", PyInt_FromLong((long) wxTL_ALIGN_LEFT));
+ PyDict_SetItemString(d,"wxTL_ALIGN_RIGHT", PyInt_FromLong((long) wxTL_ALIGN_RIGHT));
+ PyDict_SetItemString(d,"wxTL_ALIGN_CENTER", PyInt_FromLong((long) wxTL_ALIGN_CENTER));
+ PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMCOLUMN", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMCOLUMN));
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
+ wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
{
int i;
for (i = 0; _swig_mapping[i].n1; i++)
diff --git a/wxPython/contrib/gizmos/gizmos.i b/wxPython/contrib/gizmos/gizmos.i
index 1af639a5b7..e677f65e8c 100644
--- a/wxPython/contrib/gizmos/gizmos.i
+++ b/wxPython/contrib/gizmos/gizmos.i
@@ -19,7 +19,12 @@
#include
#include
#include
+
#include
+#include
+#include
+#include "treelistctrl.h"
+#include "pytree.h"
%}
//---------------------------------------------------------------------------
@@ -32,6 +37,8 @@
%extern _defs.i
%extern events.i
%extern controls.i
+%extern controls2.i
+%extern gdi.i
//----------------------------------------------------------------------
@@ -40,6 +47,8 @@
// Put some wx default wxChar* values into wxStrings.
static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
+ static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
+ static const wxString wxPyEmptyString(wxT(""));
%}
///----------------------------------------------------------------------
@@ -390,6 +399,521 @@ public:
};
+
+
+//----------------------------------------------------------------------------
+// wxTreeListCtrl - the multicolumn tree control
+//----------------------------------------------------------------------------
+
+enum wxTreeListColumnAlign {
+ wxTL_ALIGN_LEFT,
+ wxTL_ALIGN_RIGHT,
+ wxTL_ALIGN_CENTER
+};
+
+
+
+enum {
+ wxTREE_HITTEST_ONITEMCOLUMN
+};
+
+
+
+
+class wxTreeListColumnInfo: public wxObject {
+public:
+ wxTreeListColumnInfo(const wxString& text = wxPyEmptyString,
+ int image = -1,
+ size_t width = 100,
+ wxTreeListColumnAlign alignment = wxTL_ALIGN_LEFT);
+
+ wxTreeListColumnAlign GetAlignment() const;
+ wxString GetText() const;
+ int GetImage() const;
+ int GetSelectedImage() const;
+ size_t GetWidth() const;
+
+ void SetAlignment(wxTreeListColumnAlign alignment);
+ void SetText(const wxString& text);
+ void SetImage(int image);
+ void SetSelectedImage(int image);
+ void SetWidth(size_t with);
+};
+
+
+
+
+%{ // C++ version of Python aware control
+class wxPyTreeListCtrl : public wxTreeListCtrl {
+ DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
+public:
+ wxPyTreeListCtrl() : wxTreeListCtrl() {}
+ wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator &validator,
+ const wxString& name) :
+ wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
+
+ int OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2) {
+ int rval = 0;
+ bool found;
+ wxPyBeginBlockThreads();
+ if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
+ PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
+ PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
+ rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
+ Py_DECREF(o1);
+ Py_DECREF(o2);
+ }
+ wxPyEndBlockThreads();
+ if (! found)
+ rval = wxTreeListCtrl::OnCompareItems(item1, item2);
+ return rval;
+ }
+ PYPRIVATE;
+};
+
+IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
+
+%}
+
+
+
+
+// These are for the GetFirstChild/GetNextChild methods below
+%{
+ static const long longzero = 0;
+%}
+%typemap(python, in) long& INOUT = long* INOUT;
+%typemap(python, argout) long& INOUT = long* INOUT;
+
+
+%name(wxTreeListCtrl) class wxPyTreeListCtrl : public wxControl
+{
+public:
+ wxPyTreeListCtrl(wxWindow *parent, wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTR_DEFAULT_STYLE,
+ const wxValidator &validator = wxDefaultValidator,
+ const wxString& name = wxPyTreeListCtrlNameStr );
+ %name(wxPreTreeListCtrl)wxPyTreeListCtrl();
+
+ bool Create(wxWindow *parent, wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTR_DEFAULT_STYLE,
+ const wxValidator &validator = wxDefaultValidator,
+ const wxString& name = wxPyTreeListCtrlNameStr );
+
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxTreeListCtrl)"
+
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+ %pragma(python) addtomethod = "wxPreTreeListCtrl:val._setOORInfo(val)"
+
+
+
+ // get the total number of items in the control
+ size_t GetCount() const;
+
+ // indent is the number of pixels the children are indented relative to
+ // the parents position. SetIndent() also redraws the control
+ // immediately.
+ unsigned int GetIndent() const;
+ void SetIndent(unsigned int indent);
+
+ // spacing is the number of pixels between the start and the Text
+ unsigned int GetSpacing() const;
+ void SetSpacing(unsigned int spacing);
+
+ // line spacing is the space above and below the text on each line
+ unsigned int GetLineSpacing() const;
+ void SetLineSpacing(unsigned int spacing);
+
+ // image list: these functions allow to associate an image list with
+ // the control and retrieve it. Note that when assigned with
+ // SetImageList, the control does _not_ delete
+ // the associated image list when it's deleted in order to allow image
+ // lists to be shared between different controls. If you use
+ // AssignImageList, the control _does_ delete the image list.
+ //
+ // The normal image list is for the icons which correspond to the
+ // normal tree item state (whether it is selected or not).
+ // Additionally, the application might choose to show a state icon
+ // which corresponds to an app-defined item state (for example,
+ // checked/unchecked) which are taken from the state image list.
+ wxImageList *GetImageList() const;
+ wxImageList *GetStateImageList() const;
+ wxImageList *GetButtonsImageList() const;
+
+ void SetImageList(wxImageList *imageList);
+ void SetStateImageList(wxImageList *imageList);
+ void SetButtonsImageList(wxImageList *imageList);
+ void AssignImageList(wxImageList *imageList);
+ void AssignStateImageList(wxImageList *imageList);
+ void AssignButtonsImageList(wxImageList *imageList);
+
+
+
+ // adds a column
+ void AddColumn(const wxString& text);
+ %name(AddColumnInfo) void AddColumn(const wxTreeListColumnInfo& col);
+
+ // inserts a column before the given one
+ void InsertColumn(size_t before, const wxString& text);
+ %name(InsertColumnInfo) void InsertColumn(size_t before, const wxTreeListColumnInfo& col);
+
+ // deletes the given column - does not delete the corresponding column
+ // of each item
+ void RemoveColumn(size_t column);
+
+ // returns the number of columns in the ctrl
+ size_t GetColumnCount() const;
+
+ void SetColumnWidth(size_t column, size_t width);
+ int GetColumnWidth(size_t column) const;
+
+ // tells which column is the "main" one, i.e. the "threaded" one
+ void SetMainColumn(size_t column);
+ size_t GetMainColumn() const;
+
+ void SetColumnText(size_t column, const wxString& text);
+ wxString GetColumnText(size_t column) const;
+
+ void SetColumn(size_t column, const wxTreeListColumnInfo& info);
+ wxTreeListColumnInfo& GetColumn(size_t column);
+
+ // other column-related methods
+ void SetColumnAlignment(size_t column, wxTreeListColumnAlign align);
+ wxTreeListColumnAlign GetColumnAlignment(size_t column) const;
+
+ void SetColumnImage(size_t column, int image);
+ int GetColumnImage(size_t column) const;
+
+
+ %addmethods {
+ // retrieves item's label of the given column (main column by default)
+ wxString GetItemText(const wxTreeItemId& item, int column = -1) {
+ if (column < 0) column = self->GetMainColumn();
+ return self->GetItemText(item, column);
+ }
+
+ // get one of the images associated with the item (normal by default)
+ int GetItemImage(const wxTreeItemId& item, int column = -1,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) {
+ if (column < 0) column = self->GetMainColumn();
+ return self->GetItemImage(item, column, which);
+ }
+
+ // set item's label (main column by default)
+ void SetItemText(const wxTreeItemId& item, const wxString& text, int column = -1) {
+ if (column < 0) column = self->GetMainColumn();
+ self->SetItemText(item, column, text);
+ }
+
+ // set one of the images associated with the item (normal by default)
+ // the which parameter is ignored for all columns but the main one
+ void SetItemImage(const wxTreeItemId& item, int image, int column = -1,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) {
+ if (column < 0) column = self->GetMainColumn();
+ self->SetItemImage(item, column, image, which);
+ }
+
+
+ // [Get|Set]ItemData substitutes. Automatically create wxPyTreeItemData
+ // if needed.
+ wxPyTreeItemData* GetItemData(const wxTreeItemId& item) {
+ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
+ if (data == NULL) {
+ data = new wxPyTreeItemData();
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ }
+ return data;
+ }
+
+ void SetItemData(const wxTreeItemId& item, wxPyTreeItemData* data) {
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ }
+
+ // [Get|Set]PyData are short-cuts. Also made somewhat crash-proof by
+ // automatically creating data classes.
+ PyObject* GetPyData(const wxTreeItemId& item) {
+ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
+ if (data == NULL) {
+ data = new wxPyTreeItemData();
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ }
+ return data->GetData();
+ }
+
+ void SetPyData(const wxTreeItemId& item, PyObject* obj) {
+ wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
+ if (data == NULL) {
+ data = new wxPyTreeItemData(obj);
+ data->SetId(item); // set the id
+ self->SetItemData(item, data);
+ } else
+ data->SetData(obj);
+ }
+ }
+
+
+ // force appearance of [+] button near the item. This is useful to
+ // allow the user to expand the items which don't have any children now
+ // - but instead add them only when needed, thus minimizing memory
+ // usage and loading time.
+ void SetItemHasChildren(const wxTreeItemId& item, bool has = TRUE);
+
+ // the item will be shown in bold
+ void SetItemBold(const wxTreeItemId& item, bool bold = TRUE);
+
+ // set the item's text colour
+ void SetItemTextColour(const wxTreeItemId& item, const wxColour& col);
+
+ // set the item's background colour
+ void SetItemBackgroundColour(const wxTreeItemId& item,
+ const wxColour& col);
+
+ // set the item's font (should be of the same height for all items)
+ void SetItemFont(const wxTreeItemId& item, const wxFont& font);
+
+
+ bool GetItemBold(const wxTreeItemId& item) const;
+ wxColour GetItemTextColour(const wxTreeItemId& item) const;
+ wxColour GetItemBackgroundColour(const wxTreeItemId& item) const;
+ wxFont GetItemFont(const wxTreeItemId& item) const;
+
+ // is the item visible (it might be outside the view or not expanded)?
+ bool IsVisible(const wxTreeItemId& item) const;
+
+ // does the item has any children?
+ bool ItemHasChildren(const wxTreeItemId& item) const;
+
+ // is the item expanded (only makes sense if HasChildren())?
+ bool IsExpanded(const wxTreeItemId& item) const;
+
+ // is this item currently selected (the same as has focus)?
+ bool IsSelected(const wxTreeItemId& item) const;
+
+ // is item text in bold font?
+ bool IsBold(const wxTreeItemId& item) const;
+
+ // if 'recursively' is FALSE, only immediate children count, otherwise
+ // the returned number is the number of all items in this branch
+ size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
+
+
+ // wxTreeItemId.IsOk() will return FALSE if there is no such item
+
+ // get the root tree item
+ wxTreeItemId GetRootItem() const;
+
+ // get the item currently selected (may return NULL if no selection)
+ wxTreeItemId GetSelection() const;
+
+ // get the items currently selected, return the number of such item
+ //size_t GetSelections(wxArrayTreeItemIds&) const;
+ %addmethods {
+ PyObject* GetSelections() {
+ wxPyBeginBlockThreads();
+ PyObject* rval = PyList_New(0);
+ wxArrayTreeItemIds array;
+ size_t num, x;
+ num = self->GetSelections(array);
+ for (x=0; x < num; x++) {
+ wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
+ PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), TRUE);
+ PyList_Append(rval, item);
+ }
+ wxPyEndBlockThreads();
+ return rval;
+ }
+ }
+
+
+ // get the parent of this item (may return NULL if root)
+ %name(GetItemParent)wxTreeItemId GetParent(const wxTreeItemId& item) const;
+
+ // for this enumeration function you must pass in a "cookie" parameter
+ // which is opaque for the application but is necessary for the library
+ // to make these functions reentrant (i.e. allow more than one
+ // enumeration on one and the same object simultaneously). Of course,
+ // the "cookie" passed to GetFirstChild() and GetNextChild() should be
+ // the same!
+
+ // get the first child of this item
+ wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& INOUT = longzero) const;
+
+ // get the next child
+ wxTreeItemId GetNextChild(const wxTreeItemId& item, long& INOUT) const;
+
+ // get the last child of this item - this method doesn't use cookies
+ wxTreeItemId GetLastChild(const wxTreeItemId& item) const;
+
+ // get the next sibling of this item
+ wxTreeItemId GetNextSibling(const wxTreeItemId& item) const;
+
+ // get the previous sibling
+ wxTreeItemId GetPrevSibling(const wxTreeItemId& item) const;
+
+ // get first visible item
+ wxTreeItemId GetFirstVisibleItem() const;
+
+ // get the next visible item: item must be visible itself!
+ // see IsVisible() and wxTreeCtrl::GetFirstVisibleItem()
+ wxTreeItemId GetNextVisible(const wxTreeItemId& item) const;
+
+ // get the previous visible item: item must be visible itself!
+ wxTreeItemId GetPrevVisible(const wxTreeItemId& item) const;
+
+ // Only for internal use right now, but should probably be public
+ wxTreeItemId GetNext(const wxTreeItemId& item) const;
+
+
+ // add the root node to the tree
+ wxTreeItemId AddRoot(const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxPyTreeItemData *data = NULL);
+
+ // insert a new item in as the first child of the parent
+ wxTreeItemId PrependItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxPyTreeItemData *data = NULL);
+
+ // insert a new item after a given one
+ wxTreeItemId InsertItem(const wxTreeItemId& parent,
+ const wxTreeItemId& idPrevious,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxPyTreeItemData *data = NULL);
+
+ // insert a new item before the one with the given index
+ %name(InsertItemBefore)
+ wxTreeItemId InsertItem(const wxTreeItemId& parent,
+ size_t index,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxPyTreeItemData *data = NULL);
+
+ // insert a new item in as the last child of the parent
+ wxTreeItemId AppendItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxPyTreeItemData *data = NULL);
+
+ // delete this item and associated data if any
+ void Delete(const wxTreeItemId& item);
+
+ // delete all children (but don't delete the item itself)
+ // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+ void DeleteChildren(const wxTreeItemId& item);
+
+ // delete all items from the tree
+ // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+ void DeleteAllItems();
+
+ // expand this item
+ void Expand(const wxTreeItemId& item);
+
+ // expand this item and all subitems recursively
+ void ExpandAll(const wxTreeItemId& item);
+
+ // collapse the item without removing its children
+ void Collapse(const wxTreeItemId& item);
+
+ // collapse the item and remove all children
+ void CollapseAndReset(const wxTreeItemId& item);
+
+ // toggles the current state
+ void Toggle(const wxTreeItemId& item);
+
+ // remove the selection from currently selected item (if any)
+ void Unselect();
+ void UnselectAll();
+
+ // select this item
+ void SelectItem(const wxTreeItemId& item, bool unselect_others=TRUE,
+ bool extended_select=FALSE);
+
+ // make sure this item is visible (expanding the parent item and/or
+ // scrolling to this item if necessary)
+ void EnsureVisible(const wxTreeItemId& item);
+
+ // scroll to this item (but don't expand its parent)
+ void ScrollTo(const wxTreeItemId& item);
+
+ // Returns wxTreeItemId, flags, and column
+ wxTreeItemId HitTest(const wxPoint& point, int& OUTPUT, int& OUTPUT);
+
+ %addmethods {
+ // get the bounding rectangle of the item (or of its label only)
+ PyObject* GetBoundingRect(const wxTreeItemId& item, bool textOnly = FALSE) {
+ wxRect rect;
+ if (self->GetBoundingRect(item, rect, textOnly)) {
+ wxPyBeginBlockThreads();
+ wxRect* r = new wxRect(rect);
+ PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
+ wxPyEndBlockThreads();
+ return val;
+ }
+ else {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+ }
+ }
+
+
+ // Start editing the item label: this (temporarily) replaces the item
+ // with a one line edit control. The item will be selected if it hadn't
+ // been before.
+ void EditLabel( const wxTreeItemId& item );
+ void Edit( const wxTreeItemId& item );
+
+ // sort the children of this item using OnCompareItems
+ void SortChildren(const wxTreeItemId& item);
+
+ // get the selected item image
+ int GetItemSelectedImage(const wxTreeItemId& item) const;
+
+ // set the selected item image
+ void SetItemSelectedImage(const wxTreeItemId& item, int image);
+
+
+ wxWindow* GetHeaderWindow() const;
+ wxWindow* GetMainWindow() const;
+
+%pragma(python) addtoclass = "
+ # Redefine some methods that SWIG gets a bit confused on...
+ def GetFirstChild(self, *_args, **_kwargs):
+ val1,val2 = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs)
+ val1 = wxTreeItemIdPtr(val1)
+ val1.thisown = 1
+ return (val1,val2)
+ def GetNextChild(self, *_args, **_kwargs):
+ val1,val2 = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs)
+ val1 = wxTreeItemIdPtr(val1)
+ val1.thisown = 1
+ return (val1,val2)
+ def HitTest(self, *_args, **_kwargs):
+ val1, val2, val3 = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs)
+ val1 = wxTreeItemIdPtr(val1)
+ val1.thisown = 1
+ return (val1, val2, val3)
+"
+};
+
+
+
+
//----------------------------------------------------------------------
//----------------------------------------------------------------------
@@ -399,6 +923,7 @@ public:
wxClassInfo::InitializeClasses();
wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
+ wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
%}
diff --git a/wxPython/contrib/gizmos/gizmos.py b/wxPython/contrib/gizmos/gizmos.py
index dfb3f66d85..9ad14b4827 100644
--- a/wxPython/contrib/gizmos/gizmos.py
+++ b/wxPython/contrib/gizmos/gizmos.py
@@ -54,10 +54,10 @@ class wxDynamicSashSplitEventPtr(wxCommandEventPtr):
self.this = this
self.thisown = 0
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxDynamicSashSplitEvent,_args,_kwargs)
+ self.this = gizmosc.new_wxDynamicSashSplitEvent(*_args,**_kwargs)
self.thisown = 1
@@ -68,10 +68,10 @@ class wxDynamicSashUnifyEventPtr(wxCommandEventPtr):
self.this = this
self.thisown = 0
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxDynamicSashUnifyEvent,_args,_kwargs)
+ self.this = gizmosc.new_wxDynamicSashUnifyEvent(*_args,**_kwargs)
self.thisown = 1
@@ -82,28 +82,28 @@ class wxDynamicSashWindowPtr(wxWindowPtr):
self.this = this
self.thisown = 0
def Create(self, *_args, **_kwargs):
- val = apply(gizmosc.wxDynamicSashWindow_Create,(self,) + _args, _kwargs)
+ val = gizmosc.wxDynamicSashWindow_Create(self, *_args, **_kwargs)
return val
def GetHScrollBar(self, *_args, **_kwargs):
- val = apply(gizmosc.wxDynamicSashWindow_GetHScrollBar,(self,) + _args, _kwargs)
+ val = gizmosc.wxDynamicSashWindow_GetHScrollBar(self, *_args, **_kwargs)
if val: val = wxScrollBarPtr(val)
return val
def GetVScrollBar(self, *_args, **_kwargs):
- val = apply(gizmosc.wxDynamicSashWindow_GetVScrollBar,(self,) + _args, _kwargs)
+ val = gizmosc.wxDynamicSashWindow_GetVScrollBar(self, *_args, **_kwargs)
if val: val = wxScrollBarPtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxDynamicSashWindow(wxDynamicSashWindowPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxDynamicSashWindow,_args,_kwargs)
+ self.this = gizmosc.new_wxDynamicSashWindow(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
def wxPreDynamicSashWindow(*_args,**_kwargs):
- val = wxDynamicSashWindowPtr(apply(gizmosc.new_wxPreDynamicSashWindow,_args,_kwargs))
+ val = wxDynamicSashWindowPtr(gizmosc.new_wxPreDynamicSashWindow(*_args,**_kwargs))
val.thisown = 1
val._setOORInfo(val)
return val
@@ -114,34 +114,34 @@ class wxEditableListBoxPtr(wxPanelPtr):
self.this = this
self.thisown = 0
def SetStrings(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_SetStrings,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_SetStrings(self, *_args, **_kwargs)
return val
def GetStrings(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetStrings,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetStrings(self, *_args, **_kwargs)
return val
def GetListCtrl(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetListCtrl,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetListCtrl(self, *_args, **_kwargs)
return val
def GetDelButton(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetDelButton,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetDelButton(self, *_args, **_kwargs)
return val
def GetNewButton(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetNewButton,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetNewButton(self, *_args, **_kwargs)
return val
def GetUpButton(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetUpButton,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetUpButton(self, *_args, **_kwargs)
return val
def GetDownButton(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetDownButton,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetDownButton(self, *_args, **_kwargs)
return val
def GetEditButton(self, *_args, **_kwargs):
- val = apply(gizmosc.wxEditableListBox_GetEditButton,(self,) + _args, _kwargs)
+ val = gizmosc.wxEditableListBox_GetEditButton(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxEditableListBox(wxEditableListBoxPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxEditableListBox,_args,_kwargs)
+ self.this = gizmosc.new_wxEditableListBox(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -153,29 +153,29 @@ class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr):
self.this = this
self.thisown = 0
def HideVScrollbar(self, *_args, **_kwargs):
- val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar,(self,) + _args, _kwargs)
+ val = gizmosc.wxRemotelyScrolledTreeCtrl_HideVScrollbar(self, *_args, **_kwargs)
return val
def AdjustRemoteScrollbars(self, *_args, **_kwargs):
- val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars,(self,) + _args, _kwargs)
+ val = gizmosc.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(self, *_args, **_kwargs)
return val
def GetScrolledWindow(self, *_args, **_kwargs):
- val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow,(self,) + _args, _kwargs)
+ val = gizmosc.wxRemotelyScrolledTreeCtrl_GetScrolledWindow(self, *_args, **_kwargs)
if val: val = wxScrolledWindowPtr(val)
return val
def ScrollToLine(self, *_args, **_kwargs):
- val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine,(self,) + _args, _kwargs)
+ val = gizmosc.wxRemotelyScrolledTreeCtrl_ScrollToLine(self, *_args, **_kwargs)
return val
def SetCompanionWindow(self, *_args, **_kwargs):
- val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow,(self,) + _args, _kwargs)
+ val = gizmosc.wxRemotelyScrolledTreeCtrl_SetCompanionWindow(self, *_args, **_kwargs)
return val
def GetCompanionWindow(self, *_args, **_kwargs):
- val = apply(gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow,(self,) + _args, _kwargs)
+ val = gizmosc.wxRemotelyScrolledTreeCtrl_GetCompanionWindow(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxRemotelyScrolledTreeCtrl,_args,_kwargs)
+ self.this = gizmosc.new_wxRemotelyScrolledTreeCtrl(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -187,20 +187,20 @@ class wxTreeCompanionWindowPtr(wxWindowPtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(gizmosc.wxTreeCompanionWindow__setCallbackInfo,(self,) + _args, _kwargs)
+ val = gizmosc.wxTreeCompanionWindow__setCallbackInfo(self, *_args, **_kwargs)
return val
def GetTreeCtrl(self, *_args, **_kwargs):
- val = apply(gizmosc.wxTreeCompanionWindow_GetTreeCtrl,(self,) + _args, _kwargs)
+ val = gizmosc.wxTreeCompanionWindow_GetTreeCtrl(self, *_args, **_kwargs)
if val: val = wxRemotelyScrolledTreeCtrlPtr(val)
return val
def SetTreeCtrl(self, *_args, **_kwargs):
- val = apply(gizmosc.wxTreeCompanionWindow_SetTreeCtrl,(self,) + _args, _kwargs)
+ val = gizmosc.wxTreeCompanionWindow_SetTreeCtrl(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxTreeCompanionWindow(wxTreeCompanionWindowPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxTreeCompanionWindow,_args,_kwargs)
+ self.this = gizmosc.new_wxTreeCompanionWindow(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxTreeCompanionWindow)
self._setOORInfo(self)
@@ -213,10 +213,10 @@ class wxThinSplitterWindowPtr(wxSplitterWindowPtr):
self.this = this
self.thisown = 0
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxThinSplitterWindow(wxThinSplitterWindowPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxThinSplitterWindow,_args,_kwargs)
+ self.this = gizmosc.new_wxThinSplitterWindow(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -228,10 +228,10 @@ class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr):
self.this = this
self.thisown = 0
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxSplitterScrolledWindow,_args,_kwargs)
+ self.this = gizmosc.new_wxSplitterScrolledWindow(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -243,38 +243,439 @@ class wxLEDNumberCtrlPtr(wxControlPtr):
self.this = this
self.thisown = 0
def Create(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_Create,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_Create(self, *_args, **_kwargs)
return val
def GetAlignment(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_GetAlignment,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_GetAlignment(self, *_args, **_kwargs)
return val
def GetDrawFaded(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_GetDrawFaded,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_GetDrawFaded(self, *_args, **_kwargs)
return val
def GetValue(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_GetValue,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_GetValue(self, *_args, **_kwargs)
return val
def SetAlignment(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_SetAlignment,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_SetAlignment(self, *_args, **_kwargs)
return val
def SetDrawFaded(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_SetDrawFaded,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_SetDrawFaded(self, *_args, **_kwargs)
return val
def SetValue(self, *_args, **_kwargs):
- val = apply(gizmosc.wxLEDNumberCtrl_SetValue,(self,) + _args, _kwargs)
+ val = gizmosc.wxLEDNumberCtrl_SetValue(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxLEDNumberCtrl(wxLEDNumberCtrlPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(gizmosc.new_wxLEDNumberCtrl,_args,_kwargs)
+ self.this = gizmosc.new_wxLEDNumberCtrl(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
def wxPreLEDNumberCtrl(*_args,**_kwargs):
- val = wxLEDNumberCtrlPtr(apply(gizmosc.new_wxPreLEDNumberCtrl,_args,_kwargs))
+ val = wxLEDNumberCtrlPtr(gizmosc.new_wxPreLEDNumberCtrl(*_args,**_kwargs))
+ val.thisown = 1
+ val._setOORInfo(val)
+ return val
+
+
+class wxTreeListColumnInfoPtr(wxObjectPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetAlignment(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_GetAlignment(self, *_args, **_kwargs)
+ return val
+ def GetText(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_GetText(self, *_args, **_kwargs)
+ return val
+ def GetImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_GetImage(self, *_args, **_kwargs)
+ return val
+ def GetSelectedImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_GetSelectedImage(self, *_args, **_kwargs)
+ return val
+ def GetWidth(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_GetWidth(self, *_args, **_kwargs)
+ return val
+ def SetAlignment(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_SetAlignment(self, *_args, **_kwargs)
+ return val
+ def SetText(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_SetText(self, *_args, **_kwargs)
+ return val
+ def SetImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_SetImage(self, *_args, **_kwargs)
+ return val
+ def SetSelectedImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_SetSelectedImage(self, *_args, **_kwargs)
+ return val
+ def SetWidth(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListColumnInfo_SetWidth(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+class wxTreeListColumnInfo(wxTreeListColumnInfoPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = gizmosc.new_wxTreeListColumnInfo(*_args,**_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxTreeListCtrlPtr(wxControlPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Create(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Create(self, *_args, **_kwargs)
+ return val
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl__setCallbackInfo(self, *_args, **_kwargs)
+ return val
+ def GetCount(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetCount(self, *_args, **_kwargs)
+ return val
+ def GetIndent(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetIndent(self, *_args, **_kwargs)
+ return val
+ def SetIndent(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetIndent(self, *_args, **_kwargs)
+ return val
+ def GetSpacing(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetSpacing(self, *_args, **_kwargs)
+ return val
+ def SetSpacing(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetSpacing(self, *_args, **_kwargs)
+ return val
+ def GetLineSpacing(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetLineSpacing(self, *_args, **_kwargs)
+ return val
+ def SetLineSpacing(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetLineSpacing(self, *_args, **_kwargs)
+ return val
+ def GetImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetImageList(self, *_args, **_kwargs)
+ return val
+ def GetStateImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetStateImageList(self, *_args, **_kwargs)
+ return val
+ def GetButtonsImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetButtonsImageList(self, *_args, **_kwargs)
+ return val
+ def SetImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetImageList(self, *_args, **_kwargs)
+ return val
+ def SetStateImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetStateImageList(self, *_args, **_kwargs)
+ return val
+ def SetButtonsImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetButtonsImageList(self, *_args, **_kwargs)
+ return val
+ def AssignImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AssignImageList(self, *_args, **_kwargs)
+ return val
+ def AssignStateImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AssignStateImageList(self, *_args, **_kwargs)
+ return val
+ def AssignButtonsImageList(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AssignButtonsImageList(self, *_args, **_kwargs)
+ return val
+ def AddColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AddColumn(self, *_args, **_kwargs)
+ return val
+ def AddColumnInfo(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AddColumnInfo(self, *_args, **_kwargs)
+ return val
+ def InsertColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_InsertColumn(self, *_args, **_kwargs)
+ return val
+ def InsertColumnInfo(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_InsertColumnInfo(self, *_args, **_kwargs)
+ return val
+ def RemoveColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_RemoveColumn(self, *_args, **_kwargs)
+ return val
+ def GetColumnCount(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetColumnCount(self, *_args, **_kwargs)
+ return val
+ def SetColumnWidth(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetColumnWidth(self, *_args, **_kwargs)
+ return val
+ def GetColumnWidth(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetColumnWidth(self, *_args, **_kwargs)
+ return val
+ def SetMainColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetMainColumn(self, *_args, **_kwargs)
+ return val
+ def GetMainColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetMainColumn(self, *_args, **_kwargs)
+ return val
+ def SetColumnText(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetColumnText(self, *_args, **_kwargs)
+ return val
+ def GetColumnText(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetColumnText(self, *_args, **_kwargs)
+ return val
+ def SetColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetColumn(self, *_args, **_kwargs)
+ return val
+ def GetColumn(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetColumn(self, *_args, **_kwargs)
+ if val: val = wxTreeListColumnInfoPtr(val)
+ return val
+ def SetColumnAlignment(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetColumnAlignment(self, *_args, **_kwargs)
+ return val
+ def GetColumnAlignment(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetColumnAlignment(self, *_args, **_kwargs)
+ return val
+ def SetColumnImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetColumnImage(self, *_args, **_kwargs)
+ return val
+ def GetColumnImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetColumnImage(self, *_args, **_kwargs)
+ return val
+ def GetItemText(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemText(self, *_args, **_kwargs)
+ return val
+ def GetItemImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemImage(self, *_args, **_kwargs)
+ return val
+ def SetItemText(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemText(self, *_args, **_kwargs)
+ return val
+ def SetItemImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemImage(self, *_args, **_kwargs)
+ return val
+ def GetItemData(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemData(self, *_args, **_kwargs)
+ if val: val = wxTreeItemDataPtr(val)
+ return val
+ def SetItemData(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemData(self, *_args, **_kwargs)
+ return val
+ def GetPyData(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetPyData(self, *_args, **_kwargs)
+ return val
+ def SetPyData(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetPyData(self, *_args, **_kwargs)
+ return val
+ def SetItemHasChildren(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemHasChildren(self, *_args, **_kwargs)
+ return val
+ def SetItemBold(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemBold(self, *_args, **_kwargs)
+ return val
+ def SetItemTextColour(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemTextColour(self, *_args, **_kwargs)
+ return val
+ def SetItemBackgroundColour(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemBackgroundColour(self, *_args, **_kwargs)
+ return val
+ def SetItemFont(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemFont(self, *_args, **_kwargs)
+ return val
+ def GetItemBold(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemBold(self, *_args, **_kwargs)
+ return val
+ def GetItemTextColour(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemTextColour(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetItemBackgroundColour(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemBackgroundColour(self, *_args, **_kwargs)
+ if val: val = wxColourPtr(val) ; val.thisown = 1
+ return val
+ def GetItemFont(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemFont(self, *_args, **_kwargs)
+ if val: val = wxFontPtr(val) ; val.thisown = 1
+ return val
+ def IsVisible(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_IsVisible(self, *_args, **_kwargs)
+ return val
+ def ItemHasChildren(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_ItemHasChildren(self, *_args, **_kwargs)
+ return val
+ def IsExpanded(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_IsExpanded(self, *_args, **_kwargs)
+ return val
+ def IsSelected(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_IsSelected(self, *_args, **_kwargs)
+ return val
+ def IsBold(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_IsBold(self, *_args, **_kwargs)
+ return val
+ def GetChildrenCount(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetChildrenCount(self, *_args, **_kwargs)
+ return val
+ def GetRootItem(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetRootItem(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetSelection(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetSelection(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetSelections(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetSelections(self, *_args, **_kwargs)
+ return val
+ def GetItemParent(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemParent(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetFirstChild(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs)
+ return val
+ def GetNextChild(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs)
+ return val
+ def GetLastChild(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetLastChild(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetNextSibling(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetNextSibling(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetPrevSibling(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetPrevSibling(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetFirstVisibleItem(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetFirstVisibleItem(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetNextVisible(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetNextVisible(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetPrevVisible(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetPrevVisible(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def GetNext(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetNext(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def AddRoot(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AddRoot(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def PrependItem(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_PrependItem(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def InsertItem(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_InsertItem(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def InsertItemBefore(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_InsertItemBefore(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def AppendItem(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_AppendItem(self, *_args, **_kwargs)
+ if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
+ return val
+ def Delete(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Delete(self, *_args, **_kwargs)
+ return val
+ def DeleteChildren(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_DeleteChildren(self, *_args, **_kwargs)
+ return val
+ def DeleteAllItems(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_DeleteAllItems(self, *_args, **_kwargs)
+ return val
+ def Expand(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Expand(self, *_args, **_kwargs)
+ return val
+ def ExpandAll(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_ExpandAll(self, *_args, **_kwargs)
+ return val
+ def Collapse(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Collapse(self, *_args, **_kwargs)
+ return val
+ def CollapseAndReset(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_CollapseAndReset(self, *_args, **_kwargs)
+ return val
+ def Toggle(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Toggle(self, *_args, **_kwargs)
+ return val
+ def Unselect(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Unselect(self, *_args, **_kwargs)
+ return val
+ def UnselectAll(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_UnselectAll(self, *_args, **_kwargs)
+ return val
+ def SelectItem(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SelectItem(self, *_args, **_kwargs)
+ return val
+ def EnsureVisible(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_EnsureVisible(self, *_args, **_kwargs)
+ return val
+ def ScrollTo(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_ScrollTo(self, *_args, **_kwargs)
+ return val
+ def HitTest(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs)
+ return val
+ def GetBoundingRect(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetBoundingRect(self, *_args, **_kwargs)
+ return val
+ def EditLabel(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_EditLabel(self, *_args, **_kwargs)
+ return val
+ def Edit(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_Edit(self, *_args, **_kwargs)
+ return val
+ def SortChildren(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SortChildren(self, *_args, **_kwargs)
+ return val
+ def GetItemSelectedImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetItemSelectedImage(self, *_args, **_kwargs)
+ return val
+ def SetItemSelectedImage(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_SetItemSelectedImage(self, *_args, **_kwargs)
+ return val
+ def GetHeaderWindow(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetHeaderWindow(self, *_args, **_kwargs)
+ return val
+ def GetMainWindow(self, *_args, **_kwargs):
+ val = gizmosc.wxTreeListCtrl_GetMainWindow(self, *_args, **_kwargs)
+ return val
+ def __repr__(self):
+ return "<%s.%s instance; proxy of C++ wxTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
+
+ # Redefine some methods that SWIG gets a bit confused on...
+ def GetFirstChild(self, *_args, **_kwargs):
+ val1,val2 = gizmosc.wxTreeListCtrl_GetFirstChild(self, *_args, **_kwargs)
+ val1 = wxTreeItemIdPtr(val1)
+ val1.thisown = 1
+ return (val1,val2)
+ def GetNextChild(self, *_args, **_kwargs):
+ val1,val2 = gizmosc.wxTreeListCtrl_GetNextChild(self, *_args, **_kwargs)
+ val1 = wxTreeItemIdPtr(val1)
+ val1.thisown = 1
+ return (val1,val2)
+ def HitTest(self, *_args, **_kwargs):
+ val1, val2, val3 = gizmosc.wxTreeListCtrl_HitTest(self, *_args, **_kwargs)
+ val1 = wxTreeItemIdPtr(val1)
+ val1.thisown = 1
+ return (val1, val2, val3)
+
+class wxTreeListCtrl(wxTreeListCtrlPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = gizmosc.new_wxTreeListCtrl(*_args,**_kwargs)
+ self.thisown = 1
+ self._setCallbackInfo(self, wxTreeListCtrl)
+ self._setOORInfo(self)
+
+
+
+def wxPreTreeListCtrl(*_args,**_kwargs):
+ val = wxTreeListCtrlPtr(gizmosc.new_wxPreTreeListCtrl(*_args,**_kwargs))
val.thisown = 1
val._setOORInfo(val)
return val
@@ -300,6 +701,10 @@ wxLED_ALIGN_RIGHT = gizmosc.wxLED_ALIGN_RIGHT
wxLED_ALIGN_CENTER = gizmosc.wxLED_ALIGN_CENTER
wxLED_ALIGN_MASK = gizmosc.wxLED_ALIGN_MASK
wxLED_DRAW_FADED = gizmosc.wxLED_DRAW_FADED
+wxTL_ALIGN_LEFT = gizmosc.wxTL_ALIGN_LEFT
+wxTL_ALIGN_RIGHT = gizmosc.wxTL_ALIGN_RIGHT
+wxTL_ALIGN_CENTER = gizmosc.wxTL_ALIGN_CENTER
+wxTREE_HITTEST_ONITEMCOLUMN = gizmosc.wxTREE_HITTEST_ONITEMCOLUMN
#-------------- USER INCLUDE -----------------------
diff --git a/wxPython/contrib/gizmos/treelistctrl.cpp b/wxPython/contrib/gizmos/treelistctrl.cpp
new file mode 100644
index 0000000000..a559d95415
--- /dev/null
+++ b/wxPython/contrib/gizmos/treelistctrl.cpp
@@ -0,0 +1,4764 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name: treelistctrl.cpp (derived by treectlg.h)
+// Purpose: multi column tree control implementation
+// Author: Robert Roebling
+// Created: 01/02/97
+// Modified: Alberto Griggio, 2002
+// 22/10/98 - almost total rewrite, simpler interface (VZ)
+// Id: $Id$
+// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// ===========================================================================
+// declarations
+// ===========================================================================
+
+// ---------------------------------------------------------------------------
+// headers
+// ---------------------------------------------------------------------------
+
+#if defined(__GNUG__) && !defined(__APPLE__)
+ #pragma implementation "treelistctrl.h"
+#endif
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+//#include "wx/gizmos/treelistctrl.h"
+#include "treelistctrl.h"
+
+
+#ifdef __WXGTK__
+ #include
+ #include
+#endif
+
+// ---------------------------------------------------------------------------
+// array types
+// ---------------------------------------------------------------------------
+
+class wxTreeListItem;
+
+WX_DEFINE_ARRAY(wxTreeListItem *, wxArrayTreeListItems);
+
+#include
+WX_DECLARE_OBJARRAY(wxTreeListColumnInfo, wxArrayTreeListColumnInfo);
+#include
+WX_DEFINE_OBJARRAY(wxArrayTreeListColumnInfo);
+
+#if !wxCHECK_VERSION(2, 3, 3)
+WX_DEFINE_ARRAY(short, wxArrayShort);
+#endif
+
+
+// --------------------------------------------------------------------------
+// constants
+// --------------------------------------------------------------------------
+
+static const int NO_IMAGE = -1;
+
+#define PIXELS_PER_UNIT 10
+
+const wxChar* wxTreeListCtrlNameStr = wxT("treelistctrl");
+
+static wxTreeListColumnInfo wxInvalidTreeListColumnInfo;
+
+
+// ---------------------------------------------------------------------------
+// private classes
+// ---------------------------------------------------------------------------
+//-----------------------------------------------------------------------------
+// wxTreeListHeaderWindow (internal)
+//-----------------------------------------------------------------------------
+
+class wxTreeListHeaderWindow : public wxWindow
+{
+protected:
+ wxTreeListMainWindow *m_owner;
+ wxCursor *m_currentCursor;
+ wxCursor *m_resizeCursor;
+ bool m_isDragging;
+
+ // column being resized
+ int m_column;
+
+ // divider line position in logical (unscrolled) coords
+ int m_currentX;
+
+ // minimal position beyond which the divider line can't be dragged in
+ // logical coords
+ int m_minX;
+
+ wxArrayTreeListColumnInfo m_columns;
+
+ // total width of the columns
+ int m_total_col_width;
+
+
+public:
+ wxTreeListHeaderWindow();
+
+ wxTreeListHeaderWindow( wxWindow *win,
+ wxWindowID id,
+ wxTreeListMainWindow *owner,
+ const wxPoint &pos = wxDefaultPosition,
+ const wxSize &size = wxDefaultSize,
+ long style = 0,
+ const wxString &name = wxT("wxtreelistctrlcolumntitles") );
+
+ virtual ~wxTreeListHeaderWindow();
+
+ void DoDrawRect( wxDC *dc, int x, int y, int w, int h );
+ void DrawCurrent();
+ void AdjustDC(wxDC& dc);
+
+ void OnPaint( wxPaintEvent &event );
+ void OnMouse( wxMouseEvent &event );
+ void OnSetFocus( wxFocusEvent &event );
+
+
+ // columns manipulation
+
+ size_t GetColumnCount() const { return m_columns.GetCount(); }
+
+ void AddColumn(const wxTreeListColumnInfo& col);
+
+ void InsertColumn(size_t before, const wxTreeListColumnInfo& col);
+
+ void RemoveColumn(size_t column);
+
+ void SetColumn(size_t column, const wxTreeListColumnInfo& info);
+ const wxTreeListColumnInfo& GetColumn(size_t column) const
+ {
+ wxCHECK_MSG(column < GetColumnCount(), wxInvalidTreeListColumnInfo, wxT("Invalid column"));
+ return m_columns[column];
+ }
+ wxTreeListColumnInfo& GetColumn(size_t column)
+ {
+ wxCHECK_MSG(column < GetColumnCount(), wxInvalidTreeListColumnInfo, wxT("Invalid column"));
+ return m_columns[column];
+ }
+
+ void SetColumnWidth(size_t column, size_t width);
+
+ void SetColumnText(size_t column, const wxString& text)
+ {
+ wxCHECK_RET(column < GetColumnCount(), wxT("Invalid column"));
+ m_columns[column].SetText(text);
+ }
+
+ wxString GetColumnText(size_t column) const
+ {
+ wxCHECK_MSG(column < GetColumnCount(), wxEmptyString, wxT("Invalid column"));
+ return m_columns[column].GetText();
+ }
+
+ int GetColumnWidth(size_t column) const
+ {
+ wxCHECK_MSG(column < GetColumnCount(), -1, wxT("Invalid column"));
+ return m_columns[column].GetWidth();
+ }
+
+ int GetWidth() const { return m_total_col_width; }
+
+ // needs refresh
+ bool m_dirty;
+
+private:
+ // common part of all ctors
+ void Init();
+
+ void SendListEvent(wxEventType type, wxPoint pos);
+
+ DECLARE_DYNAMIC_CLASS(wxTreeListHeaderWindow)
+ DECLARE_EVENT_TABLE()
+};
+
+
+// this is the "true" control
+class wxTreeListMainWindow: public wxScrolledWindow
+{
+public:
+ // creation
+ // --------
+ wxTreeListMainWindow() { Init(); }
+
+ wxTreeListMainWindow(wxTreeListCtrl *parent, wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTR_DEFAULT_STYLE,
+ const wxValidator &validator = wxDefaultValidator,
+ const wxString& name = wxT("wxtreelistmainwindow"))
+ {
+ Init();
+ Create(parent, id, pos, size, style, validator, name);
+ }
+
+ virtual ~wxTreeListMainWindow();
+
+ bool Create(wxTreeListCtrl *parent, wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTR_DEFAULT_STYLE,
+ const wxValidator &validator = wxDefaultValidator,
+ const wxString& name = wxT("wxtreelistctrl"));
+
+ // accessors
+ // ---------
+
+ // get the total number of items in the control
+ size_t GetCount() const;
+
+ // indent is the number of pixels the children are indented relative to
+ // the parents position. SetIndent() also redraws the control
+ // immediately.
+ unsigned int GetIndent() const { return m_indent; }
+ void SetIndent(unsigned int indent);
+
+ // spacing is the number of pixels between the start and the Text
+ unsigned int GetSpacing() const { return m_spacing; }
+ void SetSpacing(unsigned int spacing);
+
+ // see wxTreeListCtrl for the meaning
+ unsigned int GetLineSpacing() const { return m_linespacing; }
+ void SetLineSpacing(unsigned int spacing);
+
+ // image list: these functions allow to associate an image list with
+ // the control and retrieve it. Note that when assigned with
+ // SetImageList, the control does _not_ delete
+ // the associated image list when it's deleted in order to allow image
+ // lists to be shared between different controls. If you use
+ // AssignImageList, the control _does_ delete the image list.
+ //
+ // The normal image list is for the icons which correspond to the
+ // normal tree item state (whether it is selected or not).
+ // Additionally, the application might choose to show a state icon
+ // which corresponds to an app-defined item state (for example,
+ // checked/unchecked) which are taken from the state image list.
+ wxImageList *GetImageList() const;
+ wxImageList *GetStateImageList() const;
+ wxImageList *GetButtonsImageList() const;
+
+ void SetImageList(wxImageList *imageList);
+ void SetStateImageList(wxImageList *imageList);
+ void SetButtonsImageList(wxImageList *imageList);
+ void AssignImageList(wxImageList *imageList);
+ void AssignStateImageList(wxImageList *imageList);
+ void AssignButtonsImageList(wxImageList *imageList);
+
+ // Functions to work with tree ctrl items.
+
+ // accessors
+ // ---------
+
+ // retrieve item's label
+ wxString GetItemText(const wxTreeItemId& item) const
+ { return GetItemText(item, GetMainColumn()); }
+ // get one of the images associated with the item (normal by default)
+ int GetItemImage(const wxTreeItemId& item,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) const
+ { return GetItemImage(item, GetMainColumn(), which); }
+
+ // get the data associated with the item
+ wxTreeItemData *GetItemData(const wxTreeItemId& item) const;
+
+ bool GetItemBold(const wxTreeItemId& item) const;
+ wxColour GetItemTextColour(const wxTreeItemId& item) const;
+ wxColour GetItemBackgroundColour(const wxTreeItemId& item) const;
+ wxFont GetItemFont(const wxTreeItemId& item) const;
+
+ // modifiers
+ // ---------
+
+ // set item's label
+ void SetItemText(const wxTreeItemId& item, const wxString& text)
+ { SetItemText(item, GetMainColumn(), text); }
+
+ // get one of the images associated with the item (normal by default)
+ void SetItemImage(const wxTreeItemId& item, int image,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal)
+ { SetItemImage(item, GetMainColumn(), image, which); }
+
+ // associate some data with the item
+ void SetItemData(const wxTreeItemId& item, wxTreeItemData *data);
+
+ // force appearance of [+] button near the item. This is useful to
+ // allow the user to expand the items which don't have any children now
+ // - but instead add them only when needed, thus minimizing memory
+ // usage and loading time.
+ void SetItemHasChildren(const wxTreeItemId& item, bool has = TRUE);
+
+ // the item will be shown in bold
+ void SetItemBold(const wxTreeItemId& item, bool bold = TRUE);
+
+ // set the item's text colour
+ void SetItemTextColour(const wxTreeItemId& item, const wxColour& col);
+
+ // set the item's background colour
+ void SetItemBackgroundColour(const wxTreeItemId& item,
+ const wxColour& col);
+
+ // set the item's font (should be of the same height for all items)
+ void SetItemFont(const wxTreeItemId& item, const wxFont& font);
+
+ // set the window font
+ virtual bool SetFont( const wxFont &font );
+
+ // set the styles. No need to specify a GetWindowStyle here since
+ // the base wxWindow member function will do it for us
+ void SetWindowStyle(const long styles);
+
+ // item status inquiries
+ // ---------------------
+
+ // is the item visible (it might be outside the view or not expanded)?
+ bool IsVisible(const wxTreeItemId& item) const;
+ // does the item has any children?
+ bool HasChildren(const wxTreeItemId& item) const
+ { return ItemHasChildren(item); }
+ bool ItemHasChildren(const wxTreeItemId& item) const;
+ // is the item expanded (only makes sense if HasChildren())?
+ bool IsExpanded(const wxTreeItemId& item) const;
+ // is this item currently selected (the same as has focus)?
+ bool IsSelected(const wxTreeItemId& item) const;
+ // is item text in bold font?
+ bool IsBold(const wxTreeItemId& item) const;
+ // does the layout include space for a button?
+
+ // number of children
+ // ------------------
+
+ // if 'recursively' is FALSE, only immediate children count, otherwise
+ // the returned number is the number of all items in this branch
+ size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
+
+ // navigation
+ // ----------
+
+ // wxTreeItemId.IsOk() will return FALSE if there is no such item
+
+ // get the root tree item
+ wxTreeItemId GetRootItem() const { return m_anchor; }
+
+ // get the item currently selected (may return NULL if no selection)
+ wxTreeItemId GetSelection() const { return m_current; }
+
+ // get the items currently selected, return the number of such item
+ size_t GetSelections(wxArrayTreeItemIds&) const;
+
+ // get the parent of this item (may return NULL if root)
+ wxTreeItemId GetParent(const wxTreeItemId& item) const;
+
+ // for this enumeration function you must pass in a "cookie" parameter
+ // which is opaque for the application but is necessary for the library
+ // to make these functions reentrant (i.e. allow more than one
+ // enumeration on one and the same object simultaneously). Of course,
+ // the "cookie" passed to GetFirstChild() and GetNextChild() should be
+ // the same!
+
+ // get the first child of this item
+ wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& cookie) const;
+ // get the next child
+ wxTreeItemId GetNextChild(const wxTreeItemId& item, long& cookie) const;
+ // get the last child of this item - this method doesn't use cookies
+ wxTreeItemId GetLastChild(const wxTreeItemId& item) const;
+
+ // get the next sibling of this item
+ wxTreeItemId GetNextSibling(const wxTreeItemId& item) const;
+ // get the previous sibling
+ wxTreeItemId GetPrevSibling(const wxTreeItemId& item) const;
+
+ // get first visible item
+ wxTreeItemId GetFirstVisibleItem() const;
+ // get the next visible item: item must be visible itself!
+ // see IsVisible() and wxTreeCtrl::GetFirstVisibleItem()
+ wxTreeItemId GetNextVisible(const wxTreeItemId& item) const;
+ // get the previous visible item: item must be visible itself!
+ wxTreeItemId GetPrevVisible(const wxTreeItemId& item) const;
+
+ // Only for internal use right now, but should probably be public
+ wxTreeItemId GetNext(const wxTreeItemId& item) const;
+
+ // operations
+ // ----------
+
+ // add the root node to the tree
+ wxTreeItemId AddRoot(const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item in as the first child of the parent
+ wxTreeItemId PrependItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item after a given one
+ wxTreeItemId InsertItem(const wxTreeItemId& parent,
+ const wxTreeItemId& idPrevious,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item before the one with the given index
+ wxTreeItemId InsertItem(const wxTreeItemId& parent,
+ size_t index,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item in as the last child of the parent
+ wxTreeItemId AppendItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // delete this item and associated data if any
+ void Delete(const wxTreeItemId& item);
+ // delete all children (but don't delete the item itself)
+ // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+ void DeleteChildren(const wxTreeItemId& item);
+ // delete all items from the tree
+ // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+ void DeleteAllItems();
+
+ // expand this item
+ void Expand(const wxTreeItemId& item);
+ // expand this item and all subitems recursively
+ void ExpandAll(const wxTreeItemId& item);
+ // collapse the item without removing its children
+ void Collapse(const wxTreeItemId& item);
+ // collapse the item and remove all children
+ void CollapseAndReset(const wxTreeItemId& item);
+ // toggles the current state
+ void Toggle(const wxTreeItemId& item);
+
+ // remove the selection from currently selected item (if any)
+ void Unselect();
+ void UnselectAll();
+ // select this item
+ void SelectItem(const wxTreeItemId& item, bool unselect_others=TRUE,
+ bool extended_select=FALSE);
+ // make sure this item is visible (expanding the parent item and/or
+ // scrolling to this item if necessary)
+ void EnsureVisible(const wxTreeItemId& item);
+ // scroll to this item (but don't expand its parent)
+ void ScrollTo(const wxTreeItemId& item);
+ void AdjustMyScrollbars();
+
+ // The first function is more portable (because easier to implement
+ // on other platforms), but the second one returns some extra info.
+ wxTreeItemId HitTest(const wxPoint& point)
+ { int dummy; return HitTest(point, dummy); }
+ wxTreeItemId HitTest(const wxPoint& point, int& flags)
+ { int col; return HitTest(point, flags, col); }
+ // ALB
+ wxTreeItemId HitTest(const wxPoint& point, int& flags, int& column);
+
+
+ // get the bounding rectangle of the item (or of its label only)
+ bool GetBoundingRect(const wxTreeItemId& item,
+ wxRect& rect,
+ bool textOnly = FALSE) const;
+
+ // Start editing the item label: this (temporarily) replaces the item
+ // with a one line edit control. The item will be selected if it hadn't
+ // been before.
+ void EditLabel( const wxTreeItemId& item ) { Edit( item ); }
+ void Edit( const wxTreeItemId& item );
+
+ // sorting
+ // this function is called to compare 2 items and should return -1, 0
+ // or +1 if the first item is less than, equal to or greater than the
+ // second one. The base class version performs alphabetic comparaison
+ // of item labels (GetText)
+ virtual int OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2);
+ // sort the children of this item using OnCompareItems
+ //
+ // NB: this function is not reentrant and not MT-safe (FIXME)!
+ void SortChildren(const wxTreeItemId& item);
+
+ // deprecated functions: use Set/GetItemImage directly
+ // get the selected item image
+ int GetItemSelectedImage(const wxTreeItemId& item) const
+ { return GetItemImage(item, wxTreeItemIcon_Selected); }
+ // set the selected item image
+ void SetItemSelectedImage(const wxTreeItemId& item, int image)
+ { SetItemImage(item, image, wxTreeItemIcon_Selected); }
+
+ // implementation only from now on
+
+ // overridden base class virtuals
+ virtual bool SetBackgroundColour(const wxColour& colour);
+ virtual bool SetForegroundColour(const wxColour& colour);
+
+ // callbacks
+ void OnPaint( wxPaintEvent &event );
+ void OnSetFocus( wxFocusEvent &event );
+ void OnKillFocus( wxFocusEvent &event );
+ void OnChar( wxKeyEvent &event );
+ void OnMouse( wxMouseEvent &event );
+ void OnIdle( wxIdleEvent &event );
+ void OnSize(wxSizeEvent& event); // ALB
+ void OnScroll(wxScrollWinEvent& event); // ALB
+
+ // implementation helpers
+ void SendDeleteEvent(wxTreeListItem *itemBeingDeleted);
+
+ void DrawBorder(const wxTreeItemId& item);
+ void DrawLine(const wxTreeItemId& item, bool below);
+
+ size_t GetColumnCount() const
+ { return m_owner->GetHeaderWindow()->GetColumnCount(); }
+
+ void SetMainColumn(size_t column)
+ {
+ if(column < GetColumnCount())
+ m_main_column = column;
+ }
+ size_t GetMainColumn() const { return m_main_column; }
+
+ void SetItemText(const wxTreeItemId& item, size_t column,
+ const wxString& text);
+ wxString GetItemText(const wxTreeItemId& item, size_t column) const;
+
+ void SetItemImage(const wxTreeItemId& item, size_t column, int image,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal);
+ int GetItemImage(const wxTreeItemId& item, size_t column,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
+protected:
+ wxTreeListCtrl* m_owner; // ALB
+
+ size_t m_main_column; // ALB
+
+ friend class wxTreeListItem;
+ friend class wxTreeListRenameTimer;
+ friend class wxTreeListTextCtrl;
+
+ wxFont m_normalFont;
+ wxFont m_boldFont;
+
+ wxTreeListItem *m_anchor;
+ wxTreeListItem *m_current, *m_key_current, *m_currentEdit;
+ unsigned short m_indent;
+ unsigned short m_spacing;
+ int m_lineHeight;
+ unsigned short m_linespacing;
+ wxPen m_dottedPen;
+ wxBrush *m_hilightBrush,
+ *m_hilightUnfocusedBrush;
+ bool m_hasFocus;
+public:
+ bool m_dirty;
+protected:
+ bool m_ownsImageListNormal,
+ m_ownsImageListState,
+ m_ownsImageListButtons;
+ bool m_isDragging; // true between BEGIN/END drag events
+ bool m_renameAccept;
+ bool m_lastOnSame; // last click on the same item as prev
+ wxImageList *m_imageListNormal,
+ *m_imageListState,
+ *m_imageListButtons;
+
+ int m_dragCount;
+ wxPoint m_dragStart;
+ wxTreeListItem *m_dropTarget;
+ wxCursor m_oldCursor; // cursor is changed while dragging
+ wxTreeListItem *m_oldSelection;
+
+ wxTimer *m_renameTimer;
+ wxString m_renameRes;
+
+ // the common part of all ctors
+ void Init();
+
+ // misc helpers
+ wxTreeItemId DoInsertItem(const wxTreeItemId& parent,
+ size_t previous,
+ const wxString& text,
+ int image, int selectedImage,
+ wxTreeItemData *data);
+ bool HasButtons(void) const
+ { return (m_imageListButtons != NULL)
+ || HasFlag(wxTR_TWIST_BUTTONS|wxTR_HAS_BUTTONS); }
+
+protected:
+ void CalculateLineHeight();
+ int GetLineHeight(wxTreeListItem *item) const;
+ void PaintLevel( wxTreeListItem *item, wxDC& dc, int level, int &y,
+ int x_offset);
+ void PaintItem( wxTreeListItem *item, wxDC& dc);
+
+ void CalculateLevel( wxTreeListItem *item, wxDC &dc, int level, int &y,
+ int x_offset);
+ void CalculatePositions();
+ void CalculateSize( wxTreeListItem *item, wxDC &dc );
+
+ void RefreshSubtree( wxTreeListItem *item );
+ void RefreshLine( wxTreeListItem *item );
+
+ // redraw all selected items
+ void RefreshSelected();
+
+ // RefreshSelected() recursive helper
+ void RefreshSelectedUnder(wxTreeListItem *item);
+
+ void OnRenameTimer();
+ void OnRenameAccept();
+
+ void FillArray(wxTreeListItem*, wxArrayTreeItemIds&) const;
+ void SelectItemRange( wxTreeListItem *item1, wxTreeListItem *item2 );
+ bool TagAllChildrenUntilLast(wxTreeListItem *crt_item,
+ wxTreeListItem *last_item, bool select);
+ bool TagNextChildren(wxTreeListItem *crt_item, wxTreeListItem *last_item,
+ bool select);
+ void UnselectAllChildren( wxTreeListItem *item );
+
+ void DrawDropEffect(wxTreeListItem *item);
+
+private:
+ DECLARE_EVENT_TABLE()
+ DECLARE_DYNAMIC_CLASS(wxTreeListMainWindow)
+};
+
+
+// timer used for enabling in-place edit
+class wxTreeListRenameTimer: public wxTimer
+{
+public:
+ wxTreeListRenameTimer( wxTreeListMainWindow *owner );
+
+ void Notify();
+
+private:
+ wxTreeListMainWindow *m_owner;
+};
+
+// control used for in-place edit
+class wxTreeListTextCtrl: public wxTextCtrl
+{
+public:
+ wxTreeListTextCtrl( wxWindow *parent,
+ const wxWindowID id,
+ bool *accept,
+ wxString *res,
+ wxTreeListMainWindow *owner,
+ const wxString &value = wxEmptyString,
+ const wxPoint &pos = wxDefaultPosition,
+ const wxSize &size = wxDefaultSize,
+ int style = wxSIMPLE_BORDER,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString &name = wxTextCtrlNameStr );
+
+ void OnChar( wxKeyEvent &event );
+ void OnKeyUp( wxKeyEvent &event );
+ void OnKillFocus( wxFocusEvent &event );
+
+private:
+ bool *m_accept;
+ wxString *m_res;
+ wxTreeListMainWindow *m_owner;
+ wxString m_startValue;
+ bool m_finished;
+
+ DECLARE_EVENT_TABLE()
+};
+
+// a tree item
+class wxTreeListItem
+{
+public:
+ // ctors & dtor
+ wxTreeListItem() { m_data = NULL; }
+ wxTreeListItem( wxTreeListMainWindow *owner,
+ wxTreeListItem *parent,
+ const wxArrayString& text,
+ int image,
+ int selImage,
+ wxTreeItemData *data );
+
+ ~wxTreeListItem();
+
+ // trivial accessors
+ wxArrayTreeListItems& GetChildren() { return m_children; }
+
+ const wxString GetText() const
+ {
+ if(m_text.GetCount() > 0) return m_text[0];
+ return wxEmptyString;
+ }
+ const wxString GetText(size_t col) const
+ {
+ if(m_text.GetCount() > col) return m_text[col];
+ return wxEmptyString;
+ }
+ int GetImage(wxTreeItemIcon which = wxTreeItemIcon_Normal) const
+ { return m_images[which]; }
+ int GetImage(size_t col, wxTreeItemIcon which=wxTreeItemIcon_Normal) const
+ {
+ if(col == m_owner->GetMainColumn()) return m_images[which];
+ if(col < m_col_images.GetCount()) return m_col_images[col];
+ return NO_IMAGE;
+ }
+ wxTreeItemData *GetData() const { return m_data; }
+
+ // returns the current image for the item (depending on its
+ // selected/expanded/whatever state)
+ int GetCurrentImage() const;
+
+ void SetText( const wxString &text );
+ void SetText(size_t col, const wxString& text) // ALB
+ {
+ if(col < m_text.GetCount())
+ m_text[col] = text;
+ else if(col < m_owner->GetColumnCount()) {
+ int howmany = m_owner->GetColumnCount();
+ for(int i = m_text.GetCount(); i < howmany; ++i)
+ m_text.Add(wxEmptyString);
+ m_text[col] = text;
+ }
+ }
+ void SetImage(int image, wxTreeItemIcon which) { m_images[which] = image; }
+ void SetImage(size_t col, int image, wxTreeItemIcon which)
+ {
+ if(col == m_owner->GetMainColumn()) m_images[which] = image;
+ else if(col < m_col_images.GetCount())
+ m_col_images[col] = image;
+ else if(col < m_owner->GetColumnCount()) {
+ int howmany = m_owner->GetColumnCount();
+ for(int i = m_col_images.GetCount(); i < howmany; ++i)
+ m_col_images.Add(NO_IMAGE);
+ m_col_images[col] = image;
+ }
+ }
+
+ void SetData(wxTreeItemData *data) { m_data = data; }
+
+ void SetHasPlus(bool has = TRUE) { m_hasPlus = has; }
+
+ void SetBold(bool bold) { m_isBold = bold; }
+
+ int GetX() const { return m_x; }
+ int GetY() const { return m_y; }
+
+ void SetX(int x) { m_x = x; }
+ void SetY(int y) { m_y = y; }
+
+ int GetHeight() const { return m_height; }
+ int GetWidth() const { return m_width; }
+
+ void SetHeight(int h) { m_height = h; }
+ void SetWidth(int w) { m_width = w; }
+
+ wxTreeListItem *GetParent() const { return m_parent; }
+
+ // operations
+ // deletes all children notifying the treectrl about it if !NULL
+ // pointer given
+ void DeleteChildren(wxTreeListMainWindow *tree = NULL);
+
+ // get count of all children (and grand children if 'recursively')
+ size_t GetChildrenCount(bool recursively = TRUE) const;
+
+ void Insert(wxTreeListItem *child, size_t index)
+ { m_children.Insert(child, index); }
+
+ void GetSize( int &x, int &y, const wxTreeListMainWindow* );
+
+ // return the item at given position (or NULL if no item), onButton is
+ // TRUE if the point belongs to the item's button, otherwise it lies
+ // on the button's label
+ wxTreeListItem *HitTest( const wxPoint& point,
+ const wxTreeListMainWindow *,
+ int &flags,
+ int level );
+ wxTreeListItem *HitTest( const wxPoint& point,
+ const wxTreeListMainWindow *,
+ int &flags, int& column /*ALB*/,
+ int level );
+
+ void Expand() { m_isCollapsed = FALSE; }
+ void Collapse() { m_isCollapsed = TRUE; }
+
+ void SetHilight( bool set = TRUE ) { m_hasHilight = set; }
+
+ // status inquiries
+ bool HasChildren() const { return !m_children.IsEmpty(); }
+ bool IsSelected() const { return m_hasHilight != 0; }
+ bool IsExpanded() const { return !m_isCollapsed; }
+ bool HasPlus() const { return m_hasPlus || HasChildren(); }
+ bool IsBold() const { return m_isBold != 0; }
+
+ // attributes
+ // get them - may be NULL
+ wxTreeItemAttr *GetAttributes() const { return m_attr; }
+ // get them ensuring that the pointer is not NULL
+ wxTreeItemAttr& Attr()
+ {
+ if ( !m_attr )
+ {
+ m_attr = new wxTreeItemAttr;
+ m_ownsAttr = TRUE;
+ }
+ return *m_attr;
+ }
+ // set them
+ void SetAttributes(wxTreeItemAttr *attr)
+ {
+ if ( m_ownsAttr ) delete m_attr;
+ m_attr = attr;
+ m_ownsAttr = FALSE;
+ }
+ // set them and delete when done
+ void AssignAttributes(wxTreeItemAttr *attr)
+ {
+ SetAttributes(attr);
+ m_ownsAttr = TRUE;
+ }
+
+private:
+ wxTreeListMainWindow *m_owner; // control the item belongs to
+
+ // since there can be very many of these, we save size by chosing
+ // the smallest representation for the elements and by ordering
+ // the members to avoid padding.
+ wxArrayString m_text; // labels to be rendered for item
+
+ wxTreeItemData *m_data; // user-provided data
+
+ wxArrayTreeListItems m_children; // list of children
+ wxTreeListItem *m_parent; // parent of this item
+
+ wxTreeItemAttr *m_attr; // attributes???
+
+ // tree ctrl images for the normal, selected, expanded and
+ // expanded+selected states
+ short m_images[wxTreeItemIcon_Max];
+ wxArrayShort m_col_images; // images for the various columns (!= main)
+
+ wxCoord m_x; // (virtual) offset from top
+ wxCoord m_y; // (virtual) offset from left
+ short m_width; // width of this item
+ unsigned char m_height; // height of this item
+
+ // use bitfields to save size
+ int m_isCollapsed :1;
+ int m_hasHilight :1; // same as focused
+ int m_hasPlus :1; // used for item which doesn't have
+ // children but has a [+] button
+ int m_isBold :1; // render the label in bold font
+ int m_ownsAttr :1; // delete attribute when done
+};
+
+// ===========================================================================
+// implementation
+// ===========================================================================
+
+// ----------------------------------------------------------------------------
+// private functions
+// ----------------------------------------------------------------------------
+
+// translate the key or mouse event flags to the type of selection we're
+// dealing with
+static void EventFlagsToSelType(long style,
+ bool shiftDown,
+ bool ctrlDown,
+ bool &is_multiple,
+ bool &extended_select,
+ bool &unselect_others)
+{
+ is_multiple = (style & wxTR_MULTIPLE) != 0;
+ extended_select = shiftDown && is_multiple;
+ unselect_others = !(extended_select || (ctrlDown && is_multiple));
+}
+
+// ---------------------------------------------------------------------------
+// wxTreeListRenameTimer (internal)
+// ---------------------------------------------------------------------------
+
+wxTreeListRenameTimer::wxTreeListRenameTimer( wxTreeListMainWindow *owner )
+{
+ m_owner = owner;
+}
+
+void wxTreeListRenameTimer::Notify()
+{
+ m_owner->OnRenameTimer();
+}
+
+//-----------------------------------------------------------------------------
+// wxTreeListTextCtrl (internal)
+//-----------------------------------------------------------------------------
+
+BEGIN_EVENT_TABLE(wxTreeListTextCtrl,wxTextCtrl)
+ EVT_CHAR (wxTreeListTextCtrl::OnChar)
+ EVT_KEY_UP (wxTreeListTextCtrl::OnKeyUp)
+ EVT_KILL_FOCUS (wxTreeListTextCtrl::OnKillFocus)
+END_EVENT_TABLE()
+
+wxTreeListTextCtrl::wxTreeListTextCtrl( wxWindow *parent,
+ const wxWindowID id,
+ bool *accept,
+ wxString *res,
+ wxTreeListMainWindow *owner,
+ const wxString &value,
+ const wxPoint &pos,
+ const wxSize &size,
+ int style,
+ const wxValidator& validator,
+ const wxString &name )
+ : wxTextCtrl( parent, id, value, pos, size, style, validator, name )
+{
+ m_res = res;
+ m_accept = accept;
+ m_owner = owner;
+ (*m_accept) = FALSE;
+ (*m_res) = wxEmptyString;
+ m_startValue = value;
+ m_finished = FALSE;
+}
+
+void wxTreeListTextCtrl::OnChar( wxKeyEvent &event )
+{
+ if (event.m_keyCode == WXK_RETURN)
+ {
+ (*m_accept) = TRUE;
+ (*m_res) = GetValue();
+
+ if ((*m_res) != m_startValue)
+ m_owner->OnRenameAccept();
+
+ if (!wxPendingDelete.Member(this))
+ wxPendingDelete.Append(this);
+
+ m_finished = TRUE;
+ m_owner->SetFocus(); // This doesn't work. TODO.
+
+ return;
+ }
+ if (event.m_keyCode == WXK_ESCAPE)
+ {
+ (*m_accept) = FALSE;
+ (*m_res) = wxEmptyString;
+
+ if (!wxPendingDelete.Member(this))
+ wxPendingDelete.Append(this);
+
+ m_finished = TRUE;
+ m_owner->SetFocus(); // This doesn't work. TODO.
+
+ return;
+ }
+ event.Skip();
+}
+
+void wxTreeListTextCtrl::OnKeyUp( wxKeyEvent &event )
+{
+ if (m_finished)
+ {
+ event.Skip();
+ return;
+ }
+
+ // auto-grow the textctrl:
+ wxSize parentSize = m_owner->GetSize();
+ wxPoint myPos = GetPosition();
+ wxSize mySize = GetSize();
+ int sx, sy;
+ GetTextExtent(GetValue() + _T("M"), &sx, &sy);
+ if (myPos.x + sx > parentSize.x) sx = parentSize.x - myPos.x;
+ if (mySize.x > sx) sx = mySize.x;
+ SetSize(sx, -1);
+
+ event.Skip();
+}
+
+void wxTreeListTextCtrl::OnKillFocus( wxFocusEvent &event )
+{
+ if (m_finished)
+ {
+ event.Skip();
+ return;
+ }
+
+ if (!wxPendingDelete.Member(this))
+ wxPendingDelete.Append(this);
+
+ (*m_accept) = TRUE;
+ (*m_res) = GetValue();
+
+ if ((*m_res) != m_startValue)
+ m_owner->OnRenameAccept();
+}
+
+//-----------------------------------------------------------------------------
+// wxTreeListHeaderWindow
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxTreeListHeaderWindow,wxWindow);
+
+BEGIN_EVENT_TABLE(wxTreeListHeaderWindow,wxWindow)
+ EVT_PAINT (wxTreeListHeaderWindow::OnPaint)
+ EVT_MOUSE_EVENTS (wxTreeListHeaderWindow::OnMouse)
+ EVT_SET_FOCUS (wxTreeListHeaderWindow::OnSetFocus)
+END_EVENT_TABLE()
+
+void wxTreeListHeaderWindow::Init()
+{
+ m_currentCursor = (wxCursor *) NULL;
+ m_isDragging = FALSE;
+ m_dirty = FALSE;
+ m_total_col_width = 0;
+}
+
+wxTreeListHeaderWindow::wxTreeListHeaderWindow()
+{
+ Init();
+
+ m_owner = (wxTreeListMainWindow *) NULL;
+ m_resizeCursor = (wxCursor *) NULL;
+}
+
+wxTreeListHeaderWindow::wxTreeListHeaderWindow( wxWindow *win,
+ wxWindowID id,
+ wxTreeListMainWindow *owner,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxString &name )
+ : wxWindow( win, id, pos, size, style, name )
+{
+ Init();
+
+ m_owner = owner;
+ m_resizeCursor = new wxCursor(wxCURSOR_SIZEWE);
+
+ SetBackgroundColour(wxSystemSettings::GetSystemColour(
+ wxSYS_COLOUR_BTNFACE));
+}
+
+wxTreeListHeaderWindow::~wxTreeListHeaderWindow()
+{
+ delete m_resizeCursor;
+}
+
+void wxTreeListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h )
+{
+#ifdef __WXGTK__
+ GtkStateType state = m_parent->IsEnabled() ? GTK_STATE_NORMAL
+ : GTK_STATE_INSENSITIVE;
+
+ x = dc->XLOG2DEV( x );
+
+ gtk_paint_box (m_wxwindow->style, GTK_PIZZA(m_wxwindow)->bin_window,
+ state, GTK_SHADOW_OUT,
+ (GdkRectangle*) NULL, m_wxwindow, "button",
+ x-1, y-1, w+2, h+2);
+#elif defined( __WXMAC__ )
+ const int m_corner = 1;
+
+ dc->SetBrush( *wxTRANSPARENT_BRUSH );
+
+ dc->SetPen( wxPen(wxSystemSettings::GetSystemColour(
+ wxSYS_COLOUR_BTNSHADOW), 1, wxSOLID));
+ dc->DrawLine( x+w-m_corner+1, y, x+w, y+h ); // right (outer)
+ dc->DrawRectangle( x, y+h, w+1, 1 ); // bottom (outer)
+
+ wxPen pen( wxColour( 0x88 , 0x88 , 0x88 ), 1, wxSOLID );
+
+ dc->SetPen( pen );
+ dc->DrawLine( x+w-m_corner, y, x+w-1, y+h ); // right (inner)
+ dc->DrawRectangle( x+1, y+h-1, w-2, 1 ); // bottom (inner)
+
+ dc->SetPen( *wxWHITE_PEN );
+ dc->DrawRectangle( x, y, w-m_corner+1, 1 ); // top (outer)
+ dc->DrawRectangle( x, y, 1, h ); // left (outer)
+ dc->DrawLine( x, y+h-1, x+1, y+h-1 );
+ dc->DrawLine( x+w-1, y, x+w-1, y+1 );
+#else // !GTK, !Mac
+ const int m_corner = 1;
+
+ dc->SetBrush( *wxTRANSPARENT_BRUSH );
+
+ dc->SetPen( *wxBLACK_PEN );
+ dc->DrawLine( x+w-m_corner+1, y, x+w, y+h ); // right (outer)
+ dc->DrawRectangle( x, y+h, w+1, 1 ); // bottom (outer)
+
+ wxPen pen(wxSystemSettings::GetSystemColour(
+ wxSYS_COLOUR_BTNSHADOW ), 1, wxSOLID);
+
+ dc->SetPen( pen );
+ dc->DrawLine( x+w-m_corner, y, x+w-1, y+h ); // right (inner)
+ dc->DrawRectangle( x+1, y+h-1, w-2, 1 ); // bottom (inner)
+
+ dc->SetPen( *wxWHITE_PEN );
+ dc->DrawRectangle( x, y, w-m_corner+1, 1 ); // top (outer)
+ dc->DrawRectangle( x, y, 1, h ); // left (outer)
+ dc->DrawLine( x, y+h-1, x+1, y+h-1 );
+ dc->DrawLine( x+w-1, y, x+w-1, y+1 );
+#endif
+}
+
+// shift the DC origin to match the position of the main window horz
+// scrollbar: this allows us to always use logical coords
+void wxTreeListHeaderWindow::AdjustDC(wxDC& dc)
+{
+ int xpix;
+ m_owner->GetScrollPixelsPerUnit( &xpix, NULL );
+
+ int x;
+ m_owner->GetViewStart( &x, NULL );
+
+ // account for the horz scrollbar offset
+ dc.SetDeviceOrigin( -x * xpix, 0 );
+}
+
+void wxTreeListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
+{
+ static const int HEADER_OFFSET_X = 1, HEADER_OFFSET_Y = 1;
+#ifdef __WXGTK__
+ wxClientDC dc( this );
+#else
+ wxPaintDC dc( this );
+#endif
+
+ PrepareDC( dc );
+ AdjustDC( dc );
+
+ dc.BeginDrawing();
+
+ dc.SetFont( GetFont() );
+
+ // width and height of the entire header window
+ int w, h;
+ GetClientSize( &w, &h );
+ m_owner->CalcUnscrolledPosition(w, 0, &w, NULL);
+
+ dc.SetBackgroundMode(wxTRANSPARENT);
+
+ // do *not* use the listctrl colour for headers - one day we will have a
+ // function to set it separately
+ //dc.SetTextForeground( *wxBLACK );
+ dc.SetTextForeground(wxSystemSettings::
+ GetSystemColour( wxSYS_COLOUR_WINDOWTEXT ));
+
+ int x = HEADER_OFFSET_X;
+
+ int numColumns = GetColumnCount();
+ for ( int i = 0; i < numColumns && x < w; i++ )
+ {
+ wxTreeListColumnInfo& column = GetColumn(i);
+ int wCol = column.GetWidth();
+
+ // the width of the rect to draw: make it smaller to fit entirely
+ // inside the column rect
+ int cw = wCol - 2;
+
+ dc.SetPen( *wxWHITE_PEN );
+
+ DoDrawRect( &dc, x, HEADER_OFFSET_Y, cw, h-2 );
+
+ // if we have an image, draw it on the right of the label
+ int image = column.GetImage(); //item.m_image;
+ int ix = -2, iy = 0;
+ wxImageList* imageList = m_owner->GetImageList();
+ if(image != -1) {
+ if(imageList) {
+ imageList->GetSize(image, ix, iy);
+ }
+ //else: ignore the column image
+ }
+
+ // extra margins around the text label
+ static const int EXTRA_WIDTH = 3;
+ static const int EXTRA_HEIGHT = 4;
+
+ int text_width = 0;
+ int text_x = x;
+ int image_offset = cw - ix - 1;
+
+ switch(column.GetAlignment()) {
+ case wxTL_ALIGN_LEFT:
+ text_x += EXTRA_WIDTH;
+ cw -= ix + 2;
+ break;
+ case wxTL_ALIGN_RIGHT:
+ dc.GetTextExtent(column.GetText(), &text_width, NULL);
+ text_x += cw - text_width - EXTRA_WIDTH;
+ image_offset = 0;
+ break;
+ case wxTL_ALIGN_CENTER:
+ dc.GetTextExtent(column.GetText(), &text_width, NULL);
+ text_x += (cw - text_width)/2 + ix + 2;
+ image_offset = (cw - text_width - ix - 2)/2;
+ break;
+ }
+
+ // draw the image
+ if(image != -1 && imageList) {
+ imageList->Draw(image, dc, x + image_offset/*cw - ix - 1*/,
+ HEADER_OFFSET_Y + (h - 4 - iy)/2,
+ wxIMAGELIST_DRAW_TRANSPARENT);
+ }
+
+ // draw the text clipping it so that it doesn't overwrite the column
+ // boundary
+ wxDCClipper clipper(dc, x, HEADER_OFFSET_Y, cw, h - 4 );
+
+ dc.DrawText( column.GetText(),
+ text_x, HEADER_OFFSET_Y + EXTRA_HEIGHT );
+
+ x += wCol;
+ }
+
+ dc.EndDrawing();
+}
+
+void wxTreeListHeaderWindow::DrawCurrent()
+{
+ int x1 = m_currentX;
+ int y1 = 0;
+ ClientToScreen( &x1, &y1 );
+
+ int x2 = m_currentX-1;
+#ifdef __WXMSW__
+ ++x2; // but why ?
+#endif
+ int y2 = 0;
+ m_owner->GetClientSize( NULL, &y2 );
+ m_owner->ClientToScreen( &x2, &y2 );
+
+ wxScreenDC dc;
+ dc.SetLogicalFunction( wxINVERT );
+ dc.SetPen( wxPen( *wxBLACK, 2, wxSOLID ) );
+ dc.SetBrush( *wxTRANSPARENT_BRUSH );
+
+ AdjustDC(dc);
+
+ dc.DrawLine( x1, y1, x2, y2 );
+
+ dc.SetLogicalFunction( wxCOPY );
+
+ dc.SetPen( wxNullPen );
+ dc.SetBrush( wxNullBrush );
+}
+
+void wxTreeListHeaderWindow::OnMouse( wxMouseEvent &event )
+{
+ // we want to work with logical coords
+ int x;
+ m_owner->CalcUnscrolledPosition(event.GetX(), 0, &x, NULL);
+ int y = event.GetY();
+
+ if (m_isDragging)
+ {
+ SendListEvent(wxEVT_COMMAND_LIST_COL_DRAGGING,
+ event.GetPosition());
+
+ // we don't draw the line beyond our window, but we allow dragging it
+ // there
+ int w = 0;
+ GetClientSize( &w, NULL );
+ m_owner->CalcUnscrolledPosition(w, 0, &w, NULL);
+ w -= 6;
+
+ // erase the line if it was drawn
+ if ( m_currentX < w )
+ DrawCurrent();
+
+ if (event.ButtonUp())
+ {
+ ReleaseMouse();
+ m_isDragging = FALSE;
+ m_dirty = TRUE;
+ SetColumnWidth( m_column, m_currentX - m_minX );
+ Refresh();
+ SendListEvent(wxEVT_COMMAND_LIST_COL_END_DRAG,
+ event.GetPosition());
+ }
+ else
+ {
+ if (x > m_minX + 7)
+ m_currentX = x;
+ else
+ m_currentX = m_minX + 7;
+
+ // draw in the new location
+ if ( m_currentX < w )
+ DrawCurrent();
+ }
+ }
+ else // not dragging
+ {
+ m_minX = 0;
+ bool hit_border = FALSE;
+
+ // end of the current column
+ int xpos = 0;
+
+ // find the column where this event occured
+ int countCol = GetColumnCount();
+ for (int col = 0; col < countCol; col++)
+ {
+ xpos += GetColumnWidth( col );
+ m_column = col;
+
+ if ( (abs(x-xpos) < 3) && (y < 22) )
+ {
+ // near the column border
+ hit_border = TRUE;
+ break;
+ }
+
+ if ( x < xpos )
+ {
+ // inside the column
+ break;
+ }
+
+ m_minX = xpos;
+ }
+
+ if (event.LeftDown() || event.RightUp())
+ {
+ if (hit_border && event.LeftDown())
+ {
+ m_isDragging = TRUE;
+ m_currentX = x;
+ DrawCurrent();
+ CaptureMouse();
+ SendListEvent(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG,
+ event.GetPosition());
+ }
+ else // click on a column
+ {
+ SendListEvent( event.LeftDown()
+ ? wxEVT_COMMAND_LIST_COL_CLICK
+ : wxEVT_COMMAND_LIST_COL_RIGHT_CLICK,
+ event.GetPosition());
+ }
+ }
+ else if (event.Moving())
+ {
+ bool setCursor;
+ if (hit_border)
+ {
+ setCursor = m_currentCursor == wxSTANDARD_CURSOR;
+ m_currentCursor = m_resizeCursor;
+ }
+ else
+ {
+ setCursor = m_currentCursor != wxSTANDARD_CURSOR;
+ m_currentCursor = wxSTANDARD_CURSOR;
+ }
+
+ if ( setCursor )
+ SetCursor(*m_currentCursor);
+ }
+ }
+}
+
+void wxTreeListHeaderWindow::OnSetFocus( wxFocusEvent &WXUNUSED(event) )
+{
+ m_owner->SetFocus();
+}
+
+void wxTreeListHeaderWindow::SendListEvent(wxEventType type, wxPoint pos)
+{
+ wxWindow *parent = GetParent();
+ wxListEvent le( type, parent->GetId() );
+ le.SetEventObject( parent );
+ le.m_pointDrag = pos;
+
+ // the position should be relative to the parent window, not
+ // this one for compatibility with MSW and common sense: the
+ // user code doesn't know anything at all about this header
+ // window, so why should it get positions relative to it?
+ le.m_pointDrag.y -= GetSize().y;
+
+ le.m_col = m_column;
+ parent->GetEventHandler()->ProcessEvent( le );
+}
+
+inline
+void wxTreeListHeaderWindow::AddColumn(const wxTreeListColumnInfo& col)
+{
+ m_columns.Add(col);
+ m_total_col_width += col.GetWidth();
+ //m_owner->GetHeaderWindow()->Refresh();
+ //m_dirty = TRUE;
+ m_owner->AdjustMyScrollbars();
+ m_owner->m_dirty = TRUE;
+ Refresh();
+}
+
+inline
+void wxTreeListHeaderWindow::SetColumnWidth(size_t column, size_t width)
+{
+ if(column < GetColumnCount()) {
+ m_total_col_width -= m_columns[column].GetWidth();
+ m_columns[column].SetWidth(width);
+ m_total_col_width += width;
+ m_owner->AdjustMyScrollbars();
+ m_owner->m_dirty = TRUE;
+ //m_dirty = TRUE;
+ Refresh();
+ }
+}
+
+
+inline
+void wxTreeListHeaderWindow::InsertColumn(size_t before,
+ const wxTreeListColumnInfo& col)
+{
+ wxCHECK_RET(before < GetColumnCount(), wxT("Invalid column index"));
+ m_columns.Insert(col, before);
+ m_total_col_width += col.GetWidth();
+ //m_dirty = TRUE;
+ //m_owner->GetHeaderWindow()->Refresh();
+ m_owner->AdjustMyScrollbars();
+ m_owner->m_dirty = TRUE;
+ Refresh();
+}
+
+inline
+void wxTreeListHeaderWindow::RemoveColumn(size_t column)
+{
+ wxCHECK_RET(column < GetColumnCount(), wxT("Invalid column"));
+ m_total_col_width -= m_columns[column].GetWidth();
+ m_columns.RemoveAt(column);
+ //m_dirty = TRUE;
+ m_owner->AdjustMyScrollbars();
+ m_owner->m_dirty = TRUE;
+ Refresh();
+}
+
+inline
+void wxTreeListHeaderWindow::SetColumn(size_t column,
+ const wxTreeListColumnInfo& info)
+{
+ wxCHECK_RET(column < GetColumnCount(), wxT("Invalid column"));
+ size_t w = m_columns[column].GetWidth();
+ m_columns[column] = info;
+ //m_owner->GetHeaderWindow()->Refresh();
+ //m_dirty = TRUE;
+ if(w != info.GetWidth()) {
+ m_total_col_width += info.GetWidth() - w;
+ m_owner->AdjustMyScrollbars();
+ m_owner->m_dirty = TRUE;
+ }
+ Refresh();
+}
+
+// ---------------------------------------------------------------------------
+// wxTreeListItem
+// ---------------------------------------------------------------------------
+
+wxTreeListItem::wxTreeListItem(wxTreeListMainWindow *owner,
+ wxTreeListItem *parent,
+ const wxArrayString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+ : m_text(text)
+{
+ m_images[wxTreeItemIcon_Normal] = image;
+ m_images[wxTreeItemIcon_Selected] = selImage;
+ m_images[wxTreeItemIcon_Expanded] = NO_IMAGE;
+ m_images[wxTreeItemIcon_SelectedExpanded] = NO_IMAGE;
+
+ m_data = data;
+ m_x = m_y = 0;
+
+ m_isCollapsed = TRUE;
+ m_hasHilight = FALSE;
+ m_hasPlus = FALSE;
+ m_isBold = FALSE;
+
+ m_owner = owner;
+
+ m_parent = parent;
+
+ m_attr = (wxTreeItemAttr *)NULL;
+ m_ownsAttr = FALSE;
+
+ // We don't know the height here yet.
+ m_width = 0;
+ m_height = 0;
+}
+
+wxTreeListItem::~wxTreeListItem()
+{
+ delete m_data;
+
+ if (m_ownsAttr) delete m_attr;
+
+ wxASSERT_MSG( m_children.IsEmpty(),
+ wxT("please call DeleteChildren() before deleting the item") );
+}
+
+void wxTreeListItem::DeleteChildren(wxTreeListMainWindow *tree)
+{
+ size_t count = m_children.Count();
+ for ( size_t n = 0; n < count; n++ )
+ {
+ wxTreeListItem *child = m_children[n];
+ if (tree)
+ tree->SendDeleteEvent(child);
+
+ child->DeleteChildren(tree);
+ delete child;
+ }
+
+ m_children.Empty();
+}
+
+void wxTreeListItem::SetText( const wxString &text )
+{
+ if(m_text.GetCount() > 0) m_text[0] = text;
+ else {
+ m_text.Add(text);
+ }
+}
+
+size_t wxTreeListItem::GetChildrenCount(bool recursively) const
+{
+ size_t count = m_children.Count();
+ if ( !recursively )
+ return count;
+
+ size_t total = count;
+ for (size_t n = 0; n < count; ++n)
+ {
+ total += m_children[n]->GetChildrenCount();
+ }
+
+ return total;
+}
+
+void wxTreeListItem::GetSize( int &x, int &y,
+ const wxTreeListMainWindow *theButton )
+{
+ int bottomY=m_y+theButton->GetLineHeight(this);
+ if ( y < bottomY ) y = bottomY;
+ int width = m_x + m_width;
+ if ( x < width ) x = width;
+
+ if (IsExpanded())
+ {
+ size_t count = m_children.Count();
+ for ( size_t n = 0; n < count; ++n )
+ {
+ m_children[n]->GetSize( x, y, theButton );
+ }
+ }
+}
+
+wxTreeListItem *wxTreeListItem::HitTest(const wxPoint& point,
+ const wxTreeListMainWindow *theCtrl,
+ int &flags,
+ int level)
+{
+ // for a hidden root node, don't evaluate it, but do evaluate children
+ if ( !(level == 0 && theCtrl->HasFlag(wxTR_HIDE_ROOT)) )
+ {
+ // evaluate the item
+ int h = theCtrl->GetLineHeight(this);
+ if ((point.y > m_y) && (point.y < m_y + h))
+ {
+ int y_mid = m_y + h/2;
+ if (point.y < y_mid )
+ flags |= wxTREE_HITTEST_ONITEMUPPERPART;
+ else
+ flags |= wxTREE_HITTEST_ONITEMLOWERPART;
+
+ // 5 is the size of the plus sign
+ int xCross = m_x - theCtrl->GetSpacing();
+ if ((point.x > xCross-5) && (point.x < xCross+5) &&
+ (point.y > y_mid-5) && (point.y < y_mid+5) &&
+ HasPlus() && theCtrl->HasButtons() )
+ {
+ flags |= wxTREE_HITTEST_ONITEMBUTTON;
+ return this;
+ }
+
+ if ((point.x >= m_x) && (point.x <= m_x+m_width))
+ {
+ int image_w = -1;
+ int image_h;
+
+ //assuming every image (normal and selected) has the same size!
+ if ( (GetImage() != NO_IMAGE) && theCtrl->m_imageListNormal )
+ theCtrl->m_imageListNormal->GetSize(GetImage(),
+ image_w, image_h);
+
+ if ((image_w != -1) && (point.x <= m_x + image_w + 1))
+ flags |= wxTREE_HITTEST_ONITEMICON;
+ else
+ flags |= wxTREE_HITTEST_ONITEMLABEL;
+
+ return this;
+ }
+
+ if (point.x < m_x)
+ flags |= wxTREE_HITTEST_ONITEMINDENT;
+ if (point.x > m_x+m_width)
+ flags |= wxTREE_HITTEST_ONITEMRIGHT;
+
+ return this;
+ }
+
+ // if children are expanded, fall through to evaluate them
+ if (m_isCollapsed) return (wxTreeListItem*) NULL;
+ }
+
+ // evaluate children
+ size_t count = m_children.Count();
+ for ( size_t n = 0; n < count; n++ )
+ {
+ wxTreeListItem *res = m_children[n]->HitTest(point, theCtrl,
+ flags, level + 1);
+ if ( res != NULL )
+ return res;
+ }
+
+ return (wxTreeListItem*) NULL;
+}
+
+// ALB
+wxTreeListItem *wxTreeListItem::HitTest(const wxPoint& point,
+ const wxTreeListMainWindow *theCtrl,
+ int &flags, int& column, int level)
+{
+ column = -1;
+ wxTreeListItem* res = HitTest(point, theCtrl, flags, level);
+
+ if(!res) return res;
+ if(flags & wxTREE_HITTEST_ONITEMINDENT) {
+ int x = 0;
+ for(size_t i = 0; i < theCtrl->GetMainColumn(); ++i) {
+ int w = theCtrl->m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ if(point.x >= x && point.x < x+w) {
+ flags ^= wxTREE_HITTEST_ONITEMINDENT;
+ flags |= wxTREE_HITTEST_ONITEMCOLUMN;
+ column = i;
+ return res;
+ }
+ }
+ }
+ else if(flags & wxTREE_HITTEST_ONITEMRIGHT) {
+ int x = 0;
+ size_t i;
+ for(i = 0; i < theCtrl->GetMainColumn()+1; ++i) {
+ x += theCtrl->m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ }
+ for(i = theCtrl->GetMainColumn()+1;
+ i < theCtrl->GetColumnCount(); ++i) {
+ int w = theCtrl->m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ if(point.x >= x && point.x < x+w) {
+ flags ^= wxTREE_HITTEST_ONITEMRIGHT;
+ flags |= wxTREE_HITTEST_ONITEMCOLUMN;
+ column = i;
+ return res;
+ }
+ }
+ }
+
+ return res;
+}
+
+
+int wxTreeListItem::GetCurrentImage() const
+{
+ int image = NO_IMAGE;
+ if ( IsExpanded() )
+ {
+ if ( IsSelected() )
+ {
+ image = GetImage(wxTreeItemIcon_SelectedExpanded);
+ }
+
+ if ( image == NO_IMAGE )
+ {
+ // we usually fall back to the normal item, but try just the
+ // expanded one (and not selected) first in this case
+ image = GetImage(wxTreeItemIcon_Expanded);
+ }
+ }
+ else // not expanded
+ {
+ if ( IsSelected() )
+ image = GetImage(wxTreeItemIcon_Selected);
+ }
+
+ // maybe it doesn't have the specific image we want,
+ // try the default one instead
+ if ( image == NO_IMAGE ) image = GetImage();
+
+ return image;
+}
+
+// ---------------------------------------------------------------------------
+// wxTreeListMainWindow implementation
+// ---------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxTreeListMainWindow, wxScrolledWindow)
+
+BEGIN_EVENT_TABLE(wxTreeListMainWindow, wxScrolledWindow)
+ EVT_PAINT (wxTreeListMainWindow::OnPaint)
+ EVT_MOUSE_EVENTS (wxTreeListMainWindow::OnMouse)
+ EVT_CHAR (wxTreeListMainWindow::OnChar)
+ EVT_SET_FOCUS (wxTreeListMainWindow::OnSetFocus)
+ EVT_KILL_FOCUS (wxTreeListMainWindow::OnKillFocus)
+ EVT_IDLE (wxTreeListMainWindow::OnIdle)
+ //EVT_SIZE (wxTreeListMainWindow::OnSize)
+ EVT_SCROLLWIN (wxTreeListMainWindow::OnScroll)
+END_EVENT_TABLE()
+
+
+// ---------------------------------------------------------------------------
+// construction/destruction
+// ---------------------------------------------------------------------------
+
+void wxTreeListMainWindow::Init()
+{
+ m_current = m_key_current = m_anchor = (wxTreeListItem *) NULL;
+ m_hasFocus = FALSE;
+ m_dirty = FALSE;
+
+ m_lineHeight = 10;
+ m_indent = 9;
+ m_spacing = 9;
+ m_linespacing = 4;
+
+ m_hilightBrush = new wxBrush
+ (
+ wxSystemSettings::GetSystemColour
+ (
+ wxSYS_COLOUR_HIGHLIGHT
+ ),
+ wxSOLID
+ );
+
+ m_hilightUnfocusedBrush = new wxBrush
+ (
+ wxSystemSettings::GetSystemColour
+ (
+ wxSYS_COLOUR_BTNSHADOW
+ ),
+ wxSOLID
+ );
+
+ m_imageListNormal = m_imageListButtons =
+ m_imageListState = (wxImageList *) NULL;
+ m_ownsImageListNormal = m_ownsImageListButtons =
+ m_ownsImageListState = FALSE;
+
+ m_dragCount = 0;
+ m_isDragging = FALSE;
+ m_dropTarget = m_oldSelection = (wxTreeListItem *)NULL;
+
+ m_renameTimer = new wxTreeListRenameTimer( this );
+ m_lastOnSame = FALSE;
+
+ m_normalFont = wxSystemSettings::GetSystemFont( wxSYS_DEFAULT_GUI_FONT );
+ m_boldFont = wxFont( m_normalFont.GetPointSize(),
+ m_normalFont.GetFamily(),
+ m_normalFont.GetStyle(),
+ wxBOLD,
+ m_normalFont.GetUnderlined());
+}
+
+
+static const int HEADER_HEIGHT = 23;
+
+bool wxTreeListMainWindow::Create(wxTreeListCtrl *parent,
+ wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator &validator,
+ const wxString& name )
+{
+#ifdef __WXMAC__
+ int major,minor;
+ wxGetOsVersion( &major, &minor );
+
+ if (style & wxTR_HAS_BUTTONS) style |= wxTR_MAC_BUTTONS;
+ if (style & wxTR_HAS_BUTTONS) style &= ~wxTR_HAS_BUTTONS;
+ style &= ~wxTR_LINES_AT_ROOT;
+ style |= wxTR_NO_LINES;
+ if (major < 10)
+ style |= wxTR_ROW_LINES;
+#endif
+
+ wxScrolledWindow::Create( parent, id, pos, size,
+ style|wxHSCROLL|wxVSCROLL, name );
+
+ // If the tree display has no buttons, but does have
+ // connecting lines, we can use a narrower layout.
+ // It may not be a good idea to force this...
+ if (!HasButtons() && !HasFlag(wxTR_NO_LINES))
+ {
+ m_indent= 10;
+ m_spacing = 10;
+ }
+
+#if wxUSE_VALIDATORS
+ SetValidator( validator );
+#endif
+
+ SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
+
+// #ifdef __WXMSW__
+// m_dottedPen = wxPen( "black", 0, wxDOT ); // too slow under XFree86
+// #else
+ m_dottedPen = wxPen( wxT("grey"), 0, 0 );
+// #endif
+
+ // ALB
+ m_owner = parent;
+ m_main_column = 0;
+
+ return TRUE;
+}
+
+wxTreeListMainWindow::~wxTreeListMainWindow()
+{
+ delete m_hilightBrush;
+ delete m_hilightUnfocusedBrush;
+
+ DeleteAllItems();
+
+ delete m_renameTimer;
+ if (m_ownsImageListNormal) delete m_imageListNormal;
+ if (m_ownsImageListState) delete m_imageListState;
+ if (m_ownsImageListButtons) delete m_imageListButtons;
+}
+
+
+
+//-----------------------------------------------------------------------------
+// accessors
+//-----------------------------------------------------------------------------
+
+inline
+size_t wxTreeListMainWindow::GetCount() const
+{
+ return m_anchor == NULL ? 0u : m_anchor->GetChildrenCount();
+}
+
+inline
+void wxTreeListMainWindow::SetIndent(unsigned int indent)
+{
+ m_indent = indent;
+ m_dirty = TRUE;
+}
+
+inline
+void wxTreeListMainWindow::SetSpacing(unsigned int spacing)
+{
+ m_spacing = spacing;
+ m_dirty = TRUE;
+}
+
+inline
+void wxTreeListMainWindow::SetLineSpacing(unsigned int spacing)
+{
+ m_linespacing = spacing;
+ m_dirty = TRUE;
+ CalculateLineHeight();
+}
+
+inline
+size_t wxTreeListMainWindow::GetChildrenCount(const wxTreeItemId& item,
+ bool recursively)
+{
+ wxCHECK_MSG( item.IsOk(), 0u, wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->GetChildrenCount(recursively);
+}
+
+void wxTreeListMainWindow::SetWindowStyle(const long styles)
+{
+ // right now, just sets the styles. Eventually, we may
+ // want to update the inherited styles, but right now
+ // none of the parents has updatable styles
+ m_windowStyle = styles;
+ m_dirty = TRUE;
+}
+
+//-----------------------------------------------------------------------------
+// functions to work with tree items
+//-----------------------------------------------------------------------------
+
+inline
+int wxTreeListMainWindow::GetItemImage(const wxTreeItemId& item, size_t column,
+ wxTreeItemIcon which) const
+{
+ wxCHECK_MSG( item.IsOk(), -1, wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->GetImage(column, which);
+}
+
+inline
+wxTreeItemData *wxTreeListMainWindow::GetItemData(const wxTreeItemId& item)
+ const
+{
+ wxCHECK_MSG( item.IsOk(), NULL, wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->GetData();
+}
+
+inline
+bool wxTreeListMainWindow::GetItemBold(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG(item.IsOk(), FALSE, wxT("invalid tree item"));
+ return ((wxTreeListItem *)item.m_pItem)->IsBold();
+}
+
+inline
+wxColour wxTreeListMainWindow::GetItemTextColour(const wxTreeItemId& item)
+ const
+{
+ wxCHECK_MSG( item.IsOk(), wxNullColour, wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ return pItem->Attr().GetTextColour();
+}
+
+inline
+wxColour wxTreeListMainWindow::GetItemBackgroundColour(
+ const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), wxNullColour, wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ return pItem->Attr().GetBackgroundColour();
+}
+
+inline
+wxFont wxTreeListMainWindow::GetItemFont(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), wxNullFont, wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ return pItem->Attr().GetFont();
+}
+
+
+
+inline
+void wxTreeListMainWindow::SetItemImage(const wxTreeItemId& item,
+ size_t column,
+ int image, wxTreeItemIcon which)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ pItem->SetImage(column, image, which);
+
+ wxClientDC dc(this);
+ CalculateSize(pItem, dc);
+ RefreshLine(pItem);
+}
+
+inline
+void wxTreeListMainWindow::SetItemData(const wxTreeItemId& item,
+ wxTreeItemData *data)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ ((wxTreeListItem*) item.m_pItem)->SetData(data);
+}
+
+inline
+void wxTreeListMainWindow::SetItemHasChildren(const wxTreeItemId& item,
+ bool has)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ pItem->SetHasPlus(has);
+ RefreshLine(pItem);
+}
+
+inline
+void wxTreeListMainWindow::SetItemBold(const wxTreeItemId& item, bool bold)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ // avoid redrawing the tree if no real change
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ if ( pItem->IsBold() != bold )
+ {
+ pItem->SetBold(bold);
+ RefreshLine(pItem);
+ }
+}
+
+inline
+void wxTreeListMainWindow::SetItemTextColour(const wxTreeItemId& item,
+ const wxColour& col)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ pItem->Attr().SetTextColour(col);
+ RefreshLine(pItem);
+}
+
+inline
+void wxTreeListMainWindow::SetItemBackgroundColour(const wxTreeItemId& item,
+ const wxColour& col)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ pItem->Attr().SetBackgroundColour(col);
+ RefreshLine(pItem);
+}
+
+inline
+void wxTreeListMainWindow::SetItemFont(const wxTreeItemId& item,
+ const wxFont& font)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ pItem->Attr().SetFont(font);
+ RefreshLine(pItem);
+}
+
+inline
+bool wxTreeListMainWindow::SetFont( const wxFont &font )
+{
+ wxScrolledWindow::SetFont(font);
+
+ m_normalFont = font ;
+ m_boldFont = wxFont( m_normalFont.GetPointSize(),
+ m_normalFont.GetFamily(),
+ m_normalFont.GetStyle(),
+ wxBOLD,
+ m_normalFont.GetUnderlined());
+
+ return TRUE;
+}
+
+
+// ----------------------------------------------------------------------------
+// item status inquiries
+// ----------------------------------------------------------------------------
+
+inline
+bool wxTreeListMainWindow::IsVisible(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), FALSE, wxT("invalid tree item") );
+
+ // An item is only visible if it's not a descendant of a collapsed item
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ wxTreeListItem* parent = pItem->GetParent();
+ while (parent)
+ {
+ if (!parent->IsExpanded())
+ return FALSE;
+ parent = parent->GetParent();
+ }
+
+ int startX, startY;
+ GetViewStart(& startX, & startY);
+
+ wxSize clientSize = GetClientSize();
+
+ wxRect rect;
+ if (!GetBoundingRect(item, rect))
+ return FALSE;
+ if (rect.GetWidth() == 0 || rect.GetHeight() == 0)
+ return FALSE;
+ if (rect.GetBottom() < 0 || rect.GetTop() > clientSize.y)
+ return FALSE;
+ if (rect.GetRight() < 0 || rect.GetLeft() > clientSize.x)
+ return FALSE;
+
+ return TRUE;
+}
+
+inline
+bool wxTreeListMainWindow::ItemHasChildren(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), FALSE, wxT("invalid tree item") );
+
+ // consider that the item does have children if it has the "+" button: it
+ // might not have them (if it had never been expanded yet) but then it
+ // could have them as well and it's better to err on this side rather than
+ // disabling some operations which are restricted to the items with
+ // children for an item which does have them
+ return ((wxTreeListItem*) item.m_pItem)->HasPlus();
+}
+
+inline
+bool wxTreeListMainWindow::IsExpanded(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), FALSE, wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->IsExpanded();
+}
+
+inline
+bool wxTreeListMainWindow::IsSelected(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), FALSE, wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->IsSelected();
+}
+
+inline
+bool wxTreeListMainWindow::IsBold(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), FALSE, wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->IsBold();
+}
+
+// ----------------------------------------------------------------------------
+// navigation
+// ----------------------------------------------------------------------------
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetParent(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->GetParent();
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetFirstChild(const wxTreeItemId& item,
+ long& cookie) const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ cookie = 0;
+ return GetNextChild(item, cookie);
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetNextChild(const wxTreeItemId& item,
+ long& cookie) const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxArrayTreeListItems& children = ((wxTreeListItem*)
+ item.m_pItem)->GetChildren();
+ if ( (size_t)cookie < children.Count() )
+ {
+ return children.Item((size_t)cookie++);
+ }
+ else
+ {
+ // there are no more of them
+ return wxTreeItemId();
+ }
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetLastChild(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxArrayTreeListItems& children = ((wxTreeListItem*) item.m_pItem)->GetChildren();
+ return (children.IsEmpty() ? wxTreeItemId() : wxTreeItemId(children.Last()));
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetNextSibling(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxTreeListItem *i = (wxTreeListItem*) item.m_pItem;
+ wxTreeListItem *parent = i->GetParent();
+ if ( parent == NULL )
+ {
+ // root item doesn't have any siblings
+ return wxTreeItemId();
+ }
+
+ wxArrayTreeListItems& siblings = parent->GetChildren();
+ int index = siblings.Index(i);
+ wxASSERT( index != wxNOT_FOUND ); // I'm not a child of my parent?
+
+ size_t n = (size_t)(index + 1);
+ return n == siblings.Count() ? wxTreeItemId() : wxTreeItemId(siblings[n]);
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetPrevSibling(const wxTreeItemId& item)
+ const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxTreeListItem *i = (wxTreeListItem*) item.m_pItem;
+ wxTreeListItem *parent = i->GetParent();
+ if ( parent == NULL )
+ {
+ // root item doesn't have any siblings
+ return wxTreeItemId();
+ }
+
+ wxArrayTreeListItems& siblings = parent->GetChildren();
+ int index = siblings.Index(i);
+ wxASSERT( index != wxNOT_FOUND ); // I'm not a child of my parent?
+
+ return index == 0 ? wxTreeItemId()
+ : wxTreeItemId(siblings[(size_t)(index - 1)]);
+}
+
+// Only for internal use right now, but should probably be public
+wxTreeItemId wxTreeListMainWindow::GetNext(const wxTreeItemId& item) const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxTreeListItem *i = (wxTreeListItem*) item.m_pItem;
+
+ // First see if there are any children.
+ wxArrayTreeListItems& children = i->GetChildren();
+ if (children.GetCount() > 0)
+ {
+ return children.Item(0);
+ }
+ else
+ {
+ // Try a sibling of this or ancestor instead
+ wxTreeItemId p = item;
+ wxTreeItemId toFind;
+ do
+ {
+ toFind = GetNextSibling(p);
+ p = GetParent(p);
+ } while (p.IsOk() && !toFind.IsOk());
+ return toFind;
+ }
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetFirstVisibleItem() const
+{
+ wxTreeItemId id = GetRootItem();
+ if (!id.IsOk())
+ return id;
+
+ do
+ {
+ if (IsVisible(id))
+ return id;
+ id = GetNext(id);
+ } while (id.IsOk());
+
+ return wxTreeItemId();
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetNextVisible(const wxTreeItemId& item)
+ const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxTreeItemId id = item;
+ if (id.IsOk())
+ {
+ while (id = GetNext(id), id.IsOk())
+ {
+ if (IsVisible(id))
+ return id;
+ }
+ }
+ return wxTreeItemId();
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::GetPrevVisible(const wxTreeItemId& item)
+ const
+{
+ wxCHECK_MSG( item.IsOk(), wxTreeItemId(), wxT("invalid tree item") );
+
+ wxFAIL_MSG(wxT("not implemented"));
+
+ return wxTreeItemId();
+}
+
+// ----------------------------------------------------------------------------
+// operations
+// ----------------------------------------------------------------------------
+
+wxTreeItemId wxTreeListMainWindow::DoInsertItem(const wxTreeItemId& parentId,
+ size_t previous,
+ const wxString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+{
+ wxTreeListItem *parent = (wxTreeListItem*) parentId.m_pItem;
+ if ( !parent )
+ {
+ // should we give a warning here?
+ return AddRoot(text, image, selImage, data);
+ }
+
+ m_dirty = TRUE; // do this first so stuff below doesn't cause flicker
+
+ // ALB
+ wxArrayString arr;
+ arr.Alloc(GetColumnCount());
+ for(size_t i = 0; i < GetColumnCount(); ++i) {
+ arr.Add(wxEmptyString);
+ }
+ arr[m_main_column] = text;
+ wxTreeListItem *item =
+ new wxTreeListItem( this, parent, arr, image, selImage, data );
+
+ if ( data != NULL )
+ {
+ data->SetId((long)item);
+ }
+
+ parent->Insert( item, previous );
+
+ return item;
+}
+
+wxTreeItemId wxTreeListMainWindow::AddRoot(const wxString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+{
+ wxCHECK_MSG(!m_anchor, wxTreeItemId(), wxT("tree can have only one root"));
+ wxCHECK_MSG(GetColumnCount(), wxTreeItemId(), wxT("Add column(s) before adding the root item"));
+
+ m_dirty = TRUE; // do this first so stuff below doesn't cause flicker
+
+ // ALB
+ wxArrayString arr;
+ arr.Alloc(GetColumnCount());
+ for(size_t i = 0; i < GetColumnCount(); ++i) {
+ arr.Add(wxEmptyString);
+ }
+ arr[m_main_column] = text;
+ m_anchor = new wxTreeListItem( this, (wxTreeListItem *)NULL, arr,
+ image, selImage, data);
+ if (HasFlag(wxTR_HIDE_ROOT))
+ {
+ // if root is hidden, make sure we can navigate
+ // into children
+ m_anchor->SetHasPlus();
+ Expand(m_anchor);
+ }
+ if ( data != NULL )
+ {
+ data->SetId((long)m_anchor);
+ }
+
+ if (!HasFlag(wxTR_MULTIPLE))
+ {
+ m_current = m_key_current = m_anchor;
+ m_current->SetHilight( TRUE );
+ }
+
+ return m_anchor;
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::PrependItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+{
+ return DoInsertItem(parent, 0u, text, image, selImage, data);
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::InsertItem(const wxTreeItemId& parentId,
+ const wxTreeItemId& idPrevious,
+ const wxString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+{
+ wxTreeListItem *parent = (wxTreeListItem*) parentId.m_pItem;
+ if ( !parent )
+ {
+ // should we give a warning here?
+ return AddRoot(text, image, selImage, data);
+ }
+
+ int index = parent->GetChildren().Index((wxTreeListItem*) idPrevious.m_pItem);
+ wxASSERT_MSG( index != wxNOT_FOUND,
+ wxT("previous item in wxTreeListMainWindow::InsertItem() is not a sibling") );
+
+ return DoInsertItem(parentId, (size_t)++index, text, image, selImage, data);
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::InsertItem(const wxTreeItemId& parentId,
+ size_t before,
+ const wxString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+{
+ wxTreeListItem *parent = (wxTreeListItem*) parentId.m_pItem;
+ if ( !parent )
+ {
+ // should we give a warning here?
+ return AddRoot(text, image, selImage, data);
+ }
+
+ return DoInsertItem(parentId, before, text, image, selImage, data);
+}
+
+inline
+wxTreeItemId wxTreeListMainWindow::AppendItem(const wxTreeItemId& parentId,
+ const wxString& text,
+ int image, int selImage,
+ wxTreeItemData *data)
+{
+ wxTreeListItem *parent = (wxTreeListItem*) parentId.m_pItem;
+ if ( !parent )
+ {
+ // should we give a warning here?
+ return AddRoot(text, image, selImage, data);
+ }
+
+ return DoInsertItem( parent, parent->GetChildren().Count(), text,
+ image, selImage, data);
+}
+
+void wxTreeListMainWindow::SendDeleteEvent(wxTreeListItem *item)
+{
+ wxTreeEvent event( wxEVT_COMMAND_TREE_DELETE_ITEM, m_owner->GetId() );
+ event.SetItem((long) item);
+ event.SetEventObject( /*this*/m_owner );
+ m_owner->ProcessEvent( event );
+}
+
+inline
+void wxTreeListMainWindow::DeleteChildren(const wxTreeItemId& itemId)
+{
+ m_dirty = TRUE; // do this first so stuff below doesn't cause flicker
+
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+ item->DeleteChildren(this);
+}
+
+inline
+void wxTreeListMainWindow::Delete(const wxTreeItemId& itemId)
+{
+ m_dirty = TRUE; // do this first so stuff below doesn't cause flicker
+
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+
+ // don't stay with invalid m_key_current or we will crash in
+ // the next call to OnChar()
+ bool changeKeyCurrent = FALSE;
+ wxTreeListItem *itemKey = m_key_current;
+ while ( itemKey )
+ {
+ if ( itemKey == item )
+ {
+ // m_key_current is a descendant of the item being deleted
+ changeKeyCurrent = TRUE;
+ break;
+ }
+ itemKey = itemKey->GetParent();
+ }
+
+ wxTreeListItem *parent = item->GetParent();
+ if ( parent )
+ {
+ parent->GetChildren().Remove( item ); // remove by value
+ }
+
+ if ( changeKeyCurrent )
+ {
+ // may be NULL or not
+ m_key_current = parent;
+ }
+
+ item->DeleteChildren(this);
+ SendDeleteEvent(item);
+ delete item;
+}
+
+inline
+void wxTreeListMainWindow::DeleteAllItems()
+{
+ if ( m_anchor )
+ {
+ m_dirty = TRUE;
+
+ m_anchor->DeleteChildren(this);
+ delete m_anchor;
+
+ m_anchor = NULL;
+ }
+}
+
+void wxTreeListMainWindow::Expand(const wxTreeItemId& itemId)
+{
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+
+ wxCHECK_RET( item, _T("invalid item in wxTreeListMainWindow::Expand") );
+
+ if ( !item->HasPlus() )
+ return;
+
+ if ( item->IsExpanded() )
+ return;
+
+ wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_EXPANDING, m_owner->GetId() );
+ event.SetItem( (long) item );
+ event.SetEventObject( /*this*/m_owner );
+
+ if ( m_owner->ProcessEvent( event ) && !event.IsAllowed() )
+ {
+ // cancelled by program
+ return;
+ }
+
+ item->Expand();
+ CalculatePositions();
+
+ RefreshSubtree(item);
+
+ event.SetEventType(wxEVT_COMMAND_TREE_ITEM_EXPANDED);
+ ProcessEvent( event );
+}
+
+void wxTreeListMainWindow::ExpandAll(const wxTreeItemId& item)
+{
+ Expand(item);
+ if ( IsExpanded(item) )
+ {
+ long cookie;
+ wxTreeItemId child = GetFirstChild(item, cookie);
+ while ( child.IsOk() )
+ {
+ ExpandAll(child);
+
+ child = GetNextChild(item, cookie);
+ }
+ }
+}
+
+void wxTreeListMainWindow::Collapse(const wxTreeItemId& itemId)
+{
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+
+ if ( !item->IsExpanded() )
+ return;
+
+ wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_COLLAPSING, m_owner->GetId() );
+ event.SetItem( (long) item );
+ event.SetEventObject( /*this*/m_owner );
+ if ( m_owner->ProcessEvent( event ) && !event.IsAllowed() )
+ {
+ // cancelled by program
+ return;
+ }
+
+ item->Collapse();
+
+#if 0 // TODO why should items be collapsed recursively?
+ wxArrayTreeListItems& children = item->GetChildren();
+ size_t count = children.Count();
+ for ( size_t n = 0; n < count; n++ )
+ {
+ Collapse(children[n]);
+ }
+#endif
+
+ CalculatePositions();
+
+ RefreshSubtree(item);
+
+ event.SetEventType(wxEVT_COMMAND_TREE_ITEM_COLLAPSED);
+ ProcessEvent( event );
+}
+
+void wxTreeListMainWindow::CollapseAndReset(const wxTreeItemId& item)
+{
+ Collapse(item);
+ DeleteChildren(item);
+}
+
+void wxTreeListMainWindow::Toggle(const wxTreeItemId& itemId)
+{
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+
+ if (item->IsExpanded())
+ Collapse(itemId);
+ else
+ Expand(itemId);
+}
+
+void wxTreeListMainWindow::Unselect()
+{
+ if (m_current)
+ {
+ m_current->SetHilight( FALSE );
+ RefreshLine( m_current );
+ }
+}
+
+void wxTreeListMainWindow::UnselectAllChildren(wxTreeListItem *item)
+{
+ if (item->IsSelected())
+ {
+ item->SetHilight(FALSE);
+ RefreshLine(item);
+ }
+
+ if (item->HasChildren())
+ {
+ wxArrayTreeListItems& children = item->GetChildren();
+ size_t count = children.Count();
+ for ( size_t n = 0; n < count; ++n )
+ {
+ UnselectAllChildren(children[n]);
+ }
+ }
+}
+
+void wxTreeListMainWindow::UnselectAll()
+{
+ UnselectAllChildren((wxTreeListItem*) GetRootItem().m_pItem);
+}
+
+// Recursive function !
+// To stop we must have crt_itemGetParent();
+
+ if (parent == NULL) // This is root item
+ return TagAllChildrenUntilLast(crt_item, last_item, select);
+
+ wxArrayTreeListItems& children = parent->GetChildren();
+ int index = children.Index(crt_item);
+ wxASSERT( index != wxNOT_FOUND ); // I'm not a child of my parent?
+
+ size_t count = children.Count();
+ for (size_t n=(size_t)(index+1); nSetHilight(select);
+ RefreshLine(crt_item);
+
+ if (crt_item==last_item)
+ return TRUE;
+
+ if (crt_item->HasChildren())
+ {
+ wxArrayTreeListItems& children = crt_item->GetChildren();
+ size_t count = children.Count();
+ for ( size_t n = 0; n < count; ++n )
+ {
+ if (TagAllChildrenUntilLast(children[n], last_item, select))
+ return TRUE;
+ }
+ }
+
+ return FALSE;
+}
+
+void wxTreeListMainWindow::SelectItemRange(wxTreeListItem *item1, wxTreeListItem *item2)
+{
+ // item2 is not necessary after item1
+ wxTreeListItem *first=NULL, *last=NULL;
+
+ // choice first' and 'last' between item1 and item2
+ if (item1->GetY()GetY())
+ {
+ first=item1;
+ last=item2;
+ }
+ else
+ {
+ first=item2;
+ last=item1;
+ }
+
+ bool select = m_current->IsSelected();
+
+ if ( TagAllChildrenUntilLast(first,last,select) )
+ return;
+
+ TagNextChildren(first,last,select);
+}
+
+void wxTreeListMainWindow::SelectItem(const wxTreeItemId& itemId,
+ bool unselect_others,
+ bool extended_select)
+{
+ wxCHECK_RET( itemId.IsOk(), wxT("invalid tree item") );
+
+ bool is_single=!(GetWindowStyleFlag() & wxTR_MULTIPLE);
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+
+ //wxCHECK_RET( ( (!unselect_others) && is_single),
+ // wxT("this is a single selection tree") );
+
+ // to keep going anyhow !!!
+ if (is_single)
+ {
+ if (item->IsSelected())
+ return; // nothing to do
+ unselect_others = TRUE;
+ extended_select = FALSE;
+ }
+ else if ( unselect_others && item->IsSelected() )
+ {
+ // selection change if there is more than one item currently selected
+ wxArrayTreeItemIds selected_items;
+ if ( GetSelections(selected_items) == 1 )
+ return;
+ }
+
+ wxTreeEvent event( wxEVT_COMMAND_TREE_SEL_CHANGING, m_owner->GetId() );
+ event.SetItem( (long) item );
+ event.SetOldItem( (long) m_current );
+ event.SetEventObject( /*this*/m_owner );
+ // TODO : Here we don't send any selection mode yet !
+
+ if(m_owner->GetEventHandler()->ProcessEvent( event ) && !event.IsAllowed())
+ return;
+
+ wxTreeItemId parent = GetParent( itemId );
+ while (parent.IsOk())
+ {
+ if (!IsExpanded(parent))
+ Expand( parent );
+
+ parent = GetParent( parent );
+ }
+
+ EnsureVisible( itemId );
+
+ // ctrl press
+ if (unselect_others)
+ {
+ if (is_single) Unselect(); // to speed up thing
+ else UnselectAll();
+ }
+
+ // shift press
+ if (extended_select)
+ {
+ if ( !m_current )
+ {
+ m_current = m_key_current = (wxTreeListItem*) GetRootItem().m_pItem;
+ }
+
+ // don't change the mark (m_current)
+ SelectItemRange(m_current, item);
+ }
+ else
+ {
+ bool select=TRUE; // the default
+
+ // Check if we need to toggle hilight (ctrl mode)
+ if (!unselect_others)
+ select=!item->IsSelected();
+
+ m_current = m_key_current = item;
+ m_current->SetHilight(select);
+ RefreshLine( m_current );
+ }
+
+ event.SetEventType(wxEVT_COMMAND_TREE_SEL_CHANGED);
+ GetEventHandler()->ProcessEvent( event );
+}
+
+void wxTreeListMainWindow::FillArray(wxTreeListItem *item,
+ wxArrayTreeItemIds &array) const
+{
+ if ( item->IsSelected() )
+ array.Add(wxTreeItemId(item));
+
+ if ( item->HasChildren() )
+ {
+ wxArrayTreeListItems& children = item->GetChildren();
+ size_t count = children.GetCount();
+ for ( size_t n = 0; n < count; ++n )
+ FillArray(children[n], array);
+ }
+}
+
+size_t wxTreeListMainWindow::GetSelections(wxArrayTreeItemIds &array) const
+{
+ array.Empty();
+ wxTreeItemId idRoot = GetRootItem();
+ if ( idRoot.IsOk() )
+ {
+ FillArray((wxTreeListItem*) idRoot.m_pItem, array);
+ }
+ //else: the tree is empty, so no selections
+
+ return array.Count();
+}
+
+void wxTreeListMainWindow::EnsureVisible(const wxTreeItemId& item)
+{
+ if (!item.IsOk()) return;
+
+ wxTreeListItem *gitem = (wxTreeListItem*) item.m_pItem;
+
+ // first expand all parent branches
+ wxTreeListItem *parent = gitem->GetParent();
+ while ( parent )
+ {
+ Expand(parent);
+ parent = parent->GetParent();
+ }
+
+ //if (parent) CalculatePositions();
+
+ ScrollTo(item);
+}
+
+void wxTreeListMainWindow::ScrollTo(const wxTreeItemId &item)
+{
+ if (!item.IsOk()) return;
+
+ // We have to call this here because the label in
+ // question might just have been added and no screen
+ // update taken place.
+ if (m_dirty) wxYieldIfNeeded();
+
+ wxTreeListItem *gitem = (wxTreeListItem*) item.m_pItem;
+
+ // now scroll to the item
+ int item_y = gitem->GetY();
+
+ int start_x = 0;
+ int start_y = 0;
+ GetViewStart( &start_x, &start_y );
+ start_y *= PIXELS_PER_UNIT;
+
+ int client_h = 0;
+ int client_w = 0;
+ GetClientSize( &client_w, &client_h );
+
+ if (item_y < start_y+3)
+ {
+ // going down
+ int x = 0;
+ int y = 0;
+ m_anchor->GetSize( x, y, this );
+ x = m_owner->GetHeaderWindow()->GetWidth(); //m_total_col_width; // ALB
+ y += PIXELS_PER_UNIT+2; // one more scrollbar unit + 2 pixels
+ //x += PIXELS_PER_UNIT+2; // one more scrollbar unit + 2 pixels
+ int x_pos = GetScrollPos( wxHORIZONTAL );
+ // Item should appear at top
+ SetScrollbars( PIXELS_PER_UNIT, PIXELS_PER_UNIT, x/PIXELS_PER_UNIT, y/PIXELS_PER_UNIT, x_pos, item_y/PIXELS_PER_UNIT );
+ }
+ else if (item_y+GetLineHeight(gitem) > start_y+client_h)
+ {
+ // going up
+ int x = 0;
+ int y = 0;
+ m_anchor->GetSize( x, y, this );
+ y += PIXELS_PER_UNIT+2; // one more scrollbar unit + 2 pixels
+ //x += PIXELS_PER_UNIT+2; // one more scrollbar unit + 2 pixels
+ x = m_owner->GetHeaderWindow()->GetWidth(); //m_total_col_width; // ALB
+ item_y += PIXELS_PER_UNIT+2;
+ int x_pos = GetScrollPos( wxHORIZONTAL );
+ // Item should appear at bottom
+ SetScrollbars( PIXELS_PER_UNIT, PIXELS_PER_UNIT, x/PIXELS_PER_UNIT, y/PIXELS_PER_UNIT, x_pos, (item_y+GetLineHeight(gitem)-client_h)/PIXELS_PER_UNIT );
+ }
+}
+
+// FIXME: tree sorting functions are not reentrant and not MT-safe!
+static wxTreeListMainWindow *s_treeBeingSorted = NULL;
+
+static int LINKAGEMODE tree_ctrl_compare_func(wxTreeListItem **item1,
+ wxTreeListItem **item2)
+{
+ wxCHECK_MSG( s_treeBeingSorted, 0, wxT("bug in wxTreeListMainWindow::SortChildren()") );
+
+ return s_treeBeingSorted->OnCompareItems(*item1, *item2);
+}
+
+int wxTreeListMainWindow::OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2)
+{
+ // ALB: delegate to m_owner, to let the user overrride the comparison
+ //return wxStrcmp(GetItemText(item1), GetItemText(item2));
+ return m_owner->OnCompareItems(item1, item2);
+}
+
+void wxTreeListMainWindow::SortChildren(const wxTreeItemId& itemId)
+{
+ wxCHECK_RET( itemId.IsOk(), wxT("invalid tree item") );
+
+ wxTreeListItem *item = (wxTreeListItem*) itemId.m_pItem;
+
+ wxCHECK_RET( !s_treeBeingSorted,
+ wxT("wxTreeListMainWindow::SortChildren is not reentrant") );
+
+ wxArrayTreeListItems& children = item->GetChildren();
+ if ( children.Count() > 1 )
+ {
+ m_dirty = TRUE;
+
+ s_treeBeingSorted = this;
+ children.Sort(tree_ctrl_compare_func);
+ s_treeBeingSorted = NULL;
+ }
+ //else: don't make the tree dirty as nothing changed
+}
+
+inline
+wxImageList *wxTreeListMainWindow::GetImageList() const
+{
+ return m_imageListNormal;
+}
+
+inline
+wxImageList *wxTreeListMainWindow::GetButtonsImageList() const
+{
+ return m_imageListButtons;
+}
+
+inline
+wxImageList *wxTreeListMainWindow::GetStateImageList() const
+{
+ return m_imageListState;
+}
+
+void wxTreeListMainWindow::CalculateLineHeight()
+{
+ wxClientDC dc(this);
+ m_lineHeight = (int)(dc.GetCharHeight() + m_linespacing*2);
+
+ if ( m_imageListNormal )
+ {
+ // Calculate a m_lineHeight value from the normal Image sizes.
+ // May be toggle off. Then wxTreeListMainWindow will spread when
+ // necessary (which might look ugly).
+ int n = m_imageListNormal->GetImageCount();
+ for (int i = 0; i < n ; i++)
+ {
+ int width = 0, height = 0;
+ m_imageListNormal->GetSize(i, width, height);
+ if (height > m_lineHeight) m_lineHeight = height;
+ }
+ }
+
+ if (m_imageListButtons)
+ {
+ // Calculate a m_lineHeight value from the Button image sizes.
+ // May be toggle off. Then wxTreeListMainWindow will spread when
+ // necessary (which might look ugly).
+ int n = m_imageListButtons->GetImageCount();
+ for (int i = 0; i < n ; i++)
+ {
+ int width = 0, height = 0;
+ m_imageListButtons->GetSize(i, width, height);
+ if (height > m_lineHeight) m_lineHeight = height;
+ }
+ }
+
+ if (m_lineHeight < 30)
+ m_lineHeight += 2; // at least 2 pixels
+ else
+ m_lineHeight += m_lineHeight/10; // otherwise 10% extra spacing
+}
+
+inline
+void wxTreeListMainWindow::SetImageList(wxImageList *imageList)
+{
+ if (m_ownsImageListNormal) delete m_imageListNormal;
+ m_imageListNormal = imageList;
+ m_ownsImageListNormal = FALSE;
+ m_dirty = TRUE;
+ CalculateLineHeight();
+}
+
+inline
+void wxTreeListMainWindow::SetStateImageList(wxImageList *imageList)
+{
+ if (m_ownsImageListState) delete m_imageListState;
+ m_imageListState = imageList;
+ m_ownsImageListState = FALSE;
+}
+
+inline
+void wxTreeListMainWindow::SetButtonsImageList(wxImageList *imageList)
+{
+ if (m_ownsImageListButtons) delete m_imageListButtons;
+ m_imageListButtons = imageList;
+ m_ownsImageListButtons = FALSE;
+ m_dirty = TRUE;
+ CalculateLineHeight();
+}
+
+inline
+void wxTreeListMainWindow::AssignImageList(wxImageList *imageList)
+{
+ SetImageList(imageList);
+ m_ownsImageListNormal = TRUE;
+}
+
+inline
+void wxTreeListMainWindow::AssignStateImageList(wxImageList *imageList)
+{
+ SetStateImageList(imageList);
+ m_ownsImageListState = TRUE;
+}
+
+inline
+void wxTreeListMainWindow::AssignButtonsImageList(wxImageList *imageList)
+{
+ SetButtonsImageList(imageList);
+ m_ownsImageListButtons = TRUE;
+}
+
+// ----------------------------------------------------------------------------
+// helpers
+// ----------------------------------------------------------------------------
+
+void wxTreeListMainWindow::AdjustMyScrollbars()
+{
+ if (m_anchor)
+ {
+ int x = 0, y = 0;
+ m_anchor->GetSize( x, y, this );
+ y += PIXELS_PER_UNIT+2; // one more scrollbar unit + 2 pixels
+ //x += PIXELS_PER_UNIT+2; // one more scrollbar unit + 2 pixels
+ int x_pos = GetScrollPos( wxHORIZONTAL );
+ int y_pos = GetScrollPos( wxVERTICAL );
+ x = m_owner->GetHeaderWindow()->GetWidth() + 2;
+ if(x < GetClientSize().GetWidth()) x_pos = 0;
+ //m_total_col_width + 2; // ALB
+ SetScrollbars( PIXELS_PER_UNIT, PIXELS_PER_UNIT, x/PIXELS_PER_UNIT,
+ y/PIXELS_PER_UNIT, x_pos, y_pos );
+ }
+ else
+ {
+ SetScrollbars( 0, 0, 0, 0 );
+ }
+}
+
+int wxTreeListMainWindow::GetLineHeight(wxTreeListItem *item) const
+{
+ if (GetWindowStyleFlag() & wxTR_HAS_VARIABLE_ROW_HEIGHT)
+ return item->GetHeight();
+ else
+ return m_lineHeight;
+}
+
+void wxTreeListMainWindow::PaintItem(wxTreeListItem *item, wxDC& dc)
+{
+ // TODO implement "state" icon on items
+
+ wxTreeItemAttr *attr = item->GetAttributes();
+ if ( attr && attr->HasFont() )
+ dc.SetFont(attr->GetFont());
+ else if (item->IsBold())
+ dc.SetFont(m_boldFont);
+
+ long text_w = 0, text_h = 0;
+
+ dc.GetTextExtent( item->GetText(GetMainColumn()), &text_w, &text_h );
+
+ int total_h = GetLineHeight(item);
+
+ if ( item->IsSelected() )
+ {
+ dc.SetBrush(*(m_hasFocus ? m_hilightBrush : m_hilightUnfocusedBrush));
+ }
+ else
+ {
+ wxColour colBg;
+ if ( attr && attr->HasBackgroundColour() )
+ colBg = attr->GetBackgroundColour();
+ else
+ colBg = m_backgroundColour;
+ dc.SetBrush(wxBrush(colBg, wxSOLID));
+ }
+
+ int offset = HasFlag(wxTR_ROW_LINES) ? 1 : 0;
+
+ dc.DrawRectangle(0, item->GetY()+offset,
+ m_owner->GetHeaderWindow()->GetWidth(),
+ total_h-offset);
+
+ dc.SetBackgroundMode(wxTRANSPARENT);
+ int extraH = (total_h > text_h) ? (total_h - text_h)/2 : 0;
+ int extra_offset = 0;
+ for(size_t i = 0; i < GetColumnCount(); ++i) {
+ int coord_x = extra_offset, image_x = coord_x;
+ int clip_width = m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ int image_h = 0, image_w = 0; //2;
+ int image = NO_IMAGE;
+
+ if(i == GetMainColumn()) {
+ image = item->GetCurrentImage();
+ coord_x = item->GetX();
+ }
+ else {
+ image = item->GetImage(i);
+ }
+
+ if(image != NO_IMAGE) {
+ if(m_imageListNormal) {
+ m_imageListNormal->GetSize( image, image_w, image_h );
+ image_w += 4;
+ }
+ else {
+ image = NO_IMAGE;
+ }
+ }
+
+ // honor text alignment
+ wxString text = item->GetText(i);
+
+ switch(m_owner->GetHeaderWindow()->GetColumn(i).GetAlignment()) {
+ case wxTL_ALIGN_LEFT:
+ coord_x += image_w + 2;
+ image_x = coord_x - image_w;
+ break;
+ case wxTL_ALIGN_RIGHT:
+ dc.GetTextExtent(text, &text_w, NULL);
+ coord_x += clip_width - text_w - image_w - 2;
+ image_x = coord_x - image_w;
+ break;
+ case wxTL_ALIGN_CENTER:
+ dc.GetTextExtent(text, &text_w, NULL);
+ //coord_x += (clip_width - text_w)/2 + image_w;
+ image_x += (clip_width - text_w - image_w)/2 + 2;
+ coord_x = image_x + image_w;
+ }
+
+ wxDCClipper clipper(dc, /*coord_x,*/ extra_offset,
+ item->GetY() + extraH, clip_width,
+ total_h);
+
+ if(image != NO_IMAGE) {
+ m_imageListNormal->Draw( image, dc, image_x,
+ item->GetY() +((total_h > image_h)?
+ ((total_h-image_h)/2):0),
+ wxIMAGELIST_DRAW_TRANSPARENT );
+ }
+
+ dc.DrawText( text,
+ (wxCoord)(coord_x /*image_w + item->GetX()*/),
+ (wxCoord)(item->GetY() + extraH));
+ extra_offset += m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ }
+
+ // restore normal font
+ dc.SetFont( m_normalFont );
+}
+
+// Now y stands for the top of the item, whereas it used to stand for middle !
+void wxTreeListMainWindow::PaintLevel( wxTreeListItem *item, wxDC &dc,
+ int level, int &y, int x_offset )
+{
+ int x = level*m_indent + x_offset;
+ if (!HasFlag(wxTR_HIDE_ROOT))
+ {
+ x += m_indent;
+ }
+ else if (level == 0)
+ {
+ // always expand hidden root
+ int origY = y;
+ wxArrayTreeListItems& children = item->GetChildren();
+ int count = children.Count();
+ if (count > 0)
+ {
+ int n = 0, oldY;
+ do {
+ oldY = y;
+ PaintLevel(children[n], dc, 1, y, x_offset);
+ } while (++n < count);
+
+ if (!HasFlag(wxTR_NO_LINES) && HasFlag(wxTR_LINES_AT_ROOT) &&
+ count > 0)
+ {
+ // draw line down to last child
+ origY += GetLineHeight(children[0])>>1;
+ oldY += GetLineHeight(children[n-1])>>1;
+ dc.DrawLine(3, origY, 3, oldY);
+ }
+ }
+ return;
+ }
+
+ item->SetX(x+m_spacing);
+ item->SetY(y);
+
+ int h = GetLineHeight(item);
+ int y_top = y;
+ int y_mid = y_top + (h>>1);
+ y += h;
+
+ int exposed_x = dc.LogicalToDeviceX(0);
+ int exposed_y = dc.LogicalToDeviceY(y_top);
+
+ if (IsExposed(exposed_x, exposed_y, 10000, h)) // 10000 = very much
+ {
+ wxPen *pen =
+#ifndef __WXMAC__
+ // don't draw rect outline if we already have the
+ // background color under Mac
+ (item->IsSelected() && m_hasFocus) ? wxBLACK_PEN :
+#endif // !__WXMAC__
+ wxTRANSPARENT_PEN;
+
+ wxColour colText;
+ if ( item->IsSelected() )
+ {
+ colText = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_HIGHLIGHTTEXT);
+ }
+ else
+ {
+ wxTreeItemAttr *attr = item->GetAttributes();
+ if (attr && attr->HasTextColour())
+ colText = attr->GetTextColour();
+ else
+ //colText = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOWTEXT);
+ colText = GetForegroundColour();
+ }
+
+ // prepare to draw
+ dc.SetTextForeground(colText);
+ dc.SetPen(*pen);
+
+ // draw
+ PaintItem(item, dc);
+
+ if (HasFlag(wxTR_ROW_LINES))
+ {
+ int total_width = m_owner->GetHeaderWindow()->GetWidth();
+ // if the background colour is white, choose a
+ // contrasting color for the lines
+ dc.SetPen(*((GetBackgroundColour() == *wxWHITE)
+ ? wxMEDIUM_GREY_PEN : wxWHITE_PEN));
+ dc.DrawLine(0, y_top, total_width, y_top);
+ dc.DrawLine(0, y, total_width, y);
+ }
+
+ // restore DC objects
+ dc.SetBrush(*wxWHITE_BRUSH);
+ dc.SetPen(m_dottedPen);
+ dc.SetTextForeground(*wxBLACK);
+
+ size_t clip_width = m_owner->GetHeaderWindow()->GetColumn(
+ m_main_column).GetWidth();
+ //m_columns[m_main_column].GetWidth();
+ if (item->HasPlus() && HasButtons()) // should the item show a button?
+ {
+ // clip to the column width
+ wxDCClipper clipper(dc, x_offset, y_top, clip_width, 10000);
+
+ if (!HasFlag(wxTR_NO_LINES))
+ {
+ if (x > (signed)m_indent)
+ dc.DrawLine(x - m_indent, y_mid, x - 5, y_mid);
+ else if (HasFlag(wxTR_LINES_AT_ROOT))
+ dc.DrawLine(3, y_mid, x - 5, y_mid);
+ dc.DrawLine(x + 5, y_mid, x + m_spacing, y_mid);
+ }
+
+ if (m_imageListButtons != NULL)
+ {
+ // draw the image button here
+ int image_h = 0, image_w = 0, image = wxTreeItemIcon_Normal;
+ if (item->IsExpanded()) image = wxTreeItemIcon_Expanded;
+ if (item->IsSelected())
+ image += wxTreeItemIcon_Selected - wxTreeItemIcon_Normal;
+ m_imageListButtons->GetSize(image, image_w, image_h);
+ int xx = x - (image_w>>1);
+ int yy = y_mid - (image_h>>1);
+ dc.SetClippingRegion(xx, yy, image_w, image_h);
+ m_imageListButtons->Draw(image, dc, xx, yy,
+ wxIMAGELIST_DRAW_TRANSPARENT);
+ dc.DestroyClippingRegion();
+ }
+ else if (HasFlag(wxTR_TWIST_BUTTONS))
+ {
+ // draw the twisty button here
+ dc.SetPen(*wxBLACK_PEN);
+ dc.SetBrush(*m_hilightBrush);
+
+ wxPoint button[3];
+
+ if (item->IsExpanded())
+ {
+ button[0].x = x-5;
+ button[0].y = y_mid-2;
+ button[1].x = x+5;
+ button[1].y = y_mid-2;
+ button[2].x = x;
+ button[2].y = y_mid+3;
+ }
+ else
+ {
+ button[0].y = y_mid-5;
+ button[0].x = x-2;
+ button[1].y = y_mid+5;
+ button[1].x = x-2;
+ button[2].y = y_mid;
+ button[2].x = x+3;
+ }
+ dc.DrawPolygon(3, button);
+
+ dc.SetPen(m_dottedPen);
+ }
+ else // if (HasFlag(wxTR_HAS_BUTTONS))
+ {
+ // draw the plus sign here
+ dc.SetPen(*wxGREY_PEN);
+ dc.SetBrush(*wxWHITE_BRUSH);
+ dc.DrawRectangle(x-5, y_mid-4, 11, 9);
+ dc.SetPen(*wxBLACK_PEN);
+ dc.DrawLine(x-2, y_mid, x+3, y_mid);
+ if (!item->IsExpanded())
+ dc.DrawLine(x, y_mid-2, x, y_mid+3);
+ dc.SetPen(m_dottedPen);
+ }
+ }
+ else if (!HasFlag(wxTR_NO_LINES)) // no button; maybe a line?
+ {
+ // clip to the column width
+ wxDCClipper clipper(dc, x_offset, y_top, clip_width, 10000);
+ // draw the horizontal line here
+ int x_start = x;
+ if (x > (signed)m_indent)
+ x_start -= m_indent;
+ else if (HasFlag(wxTR_LINES_AT_ROOT))
+ x_start = 3;
+ dc.DrawLine(x_start, y_mid, x + m_spacing, y_mid);
+ }
+ }
+
+ if (item->IsExpanded())
+ {
+ wxArrayTreeListItems& children = item->GetChildren();
+ int count = children.Count();
+ if (count > 0)
+ {
+ int n = 0, oldY;
+ ++level;
+ do {
+ oldY = y;
+ PaintLevel(children[n], dc, level, y, x_offset);
+ } while (++n < count);
+
+ if (!HasFlag(wxTR_NO_LINES) && count > 0)
+ {
+ size_t clip_width = m_owner->GetHeaderWindow()->GetColumn(
+ m_main_column).GetWidth();
+ //m_columns[m_main_column].GetWidth();
+ // clip to the column width
+ wxDCClipper clipper(dc, x_offset, y_top, clip_width, 10000);
+ // draw line down to last child
+ oldY += GetLineHeight(children[n-1])>>1;
+ if (HasButtons()) y_mid += 5;
+ dc.DrawLine(x, y_mid, x, oldY);
+ }
+ }
+ }
+}
+
+void wxTreeListMainWindow::DrawDropEffect(wxTreeListItem *item)
+{
+ if ( item )
+ {
+ if ( item->HasPlus() )
+ {
+ // it's a folder, indicate it by a border
+ DrawBorder(item);
+ }
+ else
+ {
+ // draw a line under the drop target because the item will be
+ // dropped there
+ DrawLine(item, TRUE /* below */);
+ }
+
+ SetCursor(wxCURSOR_BULLSEYE);
+ }
+ else
+ {
+ // can't drop here
+ SetCursor(wxCURSOR_NO_ENTRY);
+ }
+}
+
+void wxTreeListMainWindow::DrawBorder(const wxTreeItemId &item)
+{
+ wxCHECK_RET( item.IsOk(), _T("invalid item in wxTreeListMainWindow::DrawLine") );
+
+ wxTreeListItem *i = (wxTreeListItem*) item.m_pItem;
+
+ wxClientDC dc(this);
+ PrepareDC( dc );
+ dc.SetLogicalFunction(wxINVERT);
+ dc.SetBrush(*wxTRANSPARENT_BRUSH);
+
+ int w = i->GetWidth() + 2;
+ int h = GetLineHeight(i) + 2;
+
+ dc.DrawRectangle( i->GetX() - 1, i->GetY() - 1, w, h);
+}
+
+void wxTreeListMainWindow::DrawLine(const wxTreeItemId &item, bool below)
+{
+ wxCHECK_RET( item.IsOk(), _T("invalid item in wxTreeListMainWindow::DrawLine") );
+
+ wxTreeListItem *i = (wxTreeListItem*) item.m_pItem;
+
+ wxClientDC dc(this);
+ PrepareDC( dc );
+ dc.SetLogicalFunction(wxINVERT);
+
+ int x = i->GetX(),
+ y = i->GetY();
+ if ( below )
+ {
+ y += GetLineHeight(i) - 1;
+ }
+
+ dc.DrawLine( x, y, x + i->GetWidth(), y);
+}
+
+// ----------------------------------------------------------------------------
+// wxWindows callbacks
+// ----------------------------------------------------------------------------
+
+void wxTreeListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
+{
+ wxPaintDC dc(this);
+
+ PrepareDC( dc );
+
+ if(!GetColumnCount()) return; // ALB
+
+ if ( !m_anchor)
+ return;
+
+ dc.SetFont( m_normalFont );
+ dc.SetPen( m_dottedPen );
+
+ // this is now done dynamically
+ //if(GetImageList() == NULL)
+ // m_lineHeight = (int)(dc.GetCharHeight() + 4);
+
+ int y = 0; //HEADER_HEIGHT; //2;
+ int x_offset = 0;
+ for(size_t i = 0; i < GetMainColumn(); ++i) {
+ x_offset += m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ }
+ PaintLevel( m_anchor, dc, 0, y, x_offset );
+}
+
+void wxTreeListMainWindow::OnSetFocus( wxFocusEvent &event )
+{
+ m_hasFocus = TRUE;
+
+ RefreshSelected();
+
+ event.Skip();
+}
+
+void wxTreeListMainWindow::OnKillFocus( wxFocusEvent &event )
+{
+ m_hasFocus = FALSE;
+
+ RefreshSelected();
+
+ event.Skip();
+}
+
+void wxTreeListMainWindow::OnChar( wxKeyEvent &event )
+{
+ wxTreeEvent te( wxEVT_COMMAND_TREE_KEY_DOWN, m_owner->GetId() );
+ te.SetKeyEvent( event );
+ te.SetEventObject( /*this*/m_owner );
+ if ( m_owner->GetEventHandler()->ProcessEvent( te ) )
+ {
+ // intercepted by the user code
+ return;
+ }
+
+ if ( (m_current == 0) || (m_key_current == 0) )
+ {
+ event.Skip();
+ return;
+ }
+
+ // how should the selection work for this event?
+ bool is_multiple, extended_select, unselect_others;
+ EventFlagsToSelType(GetWindowStyleFlag(),
+ event.ShiftDown(),
+ event.ControlDown(),
+ is_multiple, extended_select, unselect_others);
+
+ // + : Expand (not on Win32)
+ // - : Collaspe (not on Win32)
+ // * : Expand all/Collapse all
+ // ' ' | return : activate
+ // up : go up (not last children!)
+ // down : go down
+ // left : go to parent (or collapse on Win32)
+ // right : open if parent and go next (or expand on Win32)
+ // home : go to root
+ // end : go to last item without opening parents
+ switch (event.KeyCode())
+ {
+#ifndef __WXMSW__ // mimic the standard win32 tree ctrl
+ case '+':
+ case WXK_ADD:
+ if (m_current->HasPlus() && !IsExpanded(m_current))
+ {
+ Expand(m_current);
+ }
+ break;
+#endif // __WXMSW__
+
+ case '*':
+ case WXK_MULTIPLY:
+ if ( !IsExpanded(m_current) )
+ {
+ // expand all
+ ExpandAll(m_current);
+ break;
+ }
+ //else: fall through to Collapse() it
+
+#ifndef __WXMSW__ // mimic the standard wxTreeCtrl behaviour
+ case '-':
+ case WXK_SUBTRACT:
+ if (IsExpanded(m_current))
+ {
+ Collapse(m_current);
+ }
+ break;
+#endif // __WXMSW__
+
+ case ' ':
+ case WXK_RETURN:
+ {
+ wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_ACTIVATED,
+ m_owner->GetId() );
+ event.SetItem( (long) m_current);
+ event.SetEventObject( /*this*/m_owner );
+ m_owner->GetEventHandler()->ProcessEvent( event );
+ }
+ break;
+
+ // up goes to the previous sibling or to the last
+ // of its children if it's expanded
+ case WXK_UP:
+ {
+ wxTreeItemId prev = GetPrevSibling( m_key_current );
+ if (!prev)
+ {
+ prev = GetParent( m_key_current );
+ if ((prev == GetRootItem()) && HasFlag(wxTR_HIDE_ROOT))
+ {
+ break; // don't go to root if it is hidden
+ }
+ if (prev)
+ {
+ long cookie = 0;
+ wxTreeItemId current = m_key_current;
+ // TODO: Huh? If we get here, we'd better be the first child of our parent. How else could it be?
+ if (current == GetFirstChild( prev, cookie ))
+ {
+ // otherwise we return to where we came from
+ SelectItem( prev, unselect_others, extended_select );
+ m_key_current= (wxTreeListItem*) prev.m_pItem;
+ EnsureVisible( prev );
+ break;
+ }
+ }
+ }
+ if (prev)
+ {
+ while ( IsExpanded(prev) && HasChildren(prev) )
+ {
+ wxTreeItemId child = GetLastChild(prev);
+ if ( child )
+ {
+ prev = child;
+ }
+ }
+
+ SelectItem( prev, unselect_others, extended_select );
+ m_key_current=(wxTreeListItem*) prev.m_pItem;
+ EnsureVisible( prev );
+ }
+ }
+ break;
+
+ // left arrow goes to the parent
+ case WXK_LEFT:
+#if defined(__WXMSW__) // mimic the standard win32 tree ctrl
+ if (IsExpanded(m_current))
+ {
+ Collapse(m_current);
+ }
+ else
+#endif // __WXMSW__
+ {
+ wxTreeItemId prev = GetParent( m_current );
+ if ((prev == GetRootItem()) && HasFlag(wxTR_HIDE_ROOT))
+ {
+ // don't go to root if it is hidden
+ prev = GetPrevSibling( m_current );
+ }
+ if (prev)
+ {
+ EnsureVisible( prev );
+ SelectItem( prev, unselect_others, extended_select );
+ }
+ }
+ break;
+
+ case WXK_RIGHT:
+#if defined(__WXMSW__) // mimic the standard win32 tree ctrl
+ if (m_current->HasPlus() && !IsExpanded(m_current))
+ {
+ Expand(m_current);
+ break;
+ }
+#endif // __WXMSW__
+
+ // this works the same as the down arrow except that we
+ // also expand the item if it wasn't expanded yet
+ Expand(m_current);
+ // fall through
+
+ case WXK_DOWN:
+ {
+ if (IsExpanded(m_key_current) && HasChildren(m_key_current))
+ {
+ long cookie = 0;
+ wxTreeItemId child = GetFirstChild( m_key_current, cookie );
+ SelectItem( child, unselect_others, extended_select );
+ m_key_current=(wxTreeListItem*) child.m_pItem;
+ EnsureVisible( child );
+ }
+ else
+ {
+ wxTreeItemId next = GetNextSibling( m_key_current );
+ if (!next)
+ {
+ wxTreeItemId current = m_key_current;
+ while (current && !next)
+ {
+ current = GetParent( current );
+ if (current) next = GetNextSibling( current );
+ }
+ }
+ if (next)
+ {
+ SelectItem( next, unselect_others, extended_select );
+ m_key_current=(wxTreeListItem*) next.m_pItem;
+ EnsureVisible( next );
+ }
+ }
+ }
+ break;
+
+ // selects the last visible tree item
+ case WXK_END:
+ {
+ wxTreeItemId last = GetRootItem();
+
+ while ( last.IsOk() && IsExpanded(last) )
+ {
+ wxTreeItemId lastChild = GetLastChild(last);
+
+ // it may happen if the item was expanded but then all of
+ // its children have been deleted - so IsExpanded() returned
+ // TRUE, but GetLastChild() returned invalid item
+ if ( !lastChild )
+ break;
+
+ last = lastChild;
+ }
+
+ if ( last.IsOk() )
+ {
+ EnsureVisible( last );
+ SelectItem( last, unselect_others, extended_select );
+ }
+ }
+ break;
+
+ // selects the root item
+ case WXK_HOME:
+ {
+ wxTreeItemId prev = GetRootItem();
+ if (!prev) break;
+ if (HasFlag(wxTR_HIDE_ROOT))
+ {
+ long dummy;
+ prev = GetFirstChild(prev, dummy);
+ if (!prev) break;
+ }
+ EnsureVisible( prev );
+ SelectItem( prev, unselect_others, extended_select );
+ }
+ break;
+
+ default:
+ event.Skip();
+ }
+}
+
+wxTreeItemId wxTreeListMainWindow::HitTest(const wxPoint& point, int& flags,
+ int& column)
+{
+ // JACS: removed wxYieldIfNeeded() because it can cause the window
+ // to be deleted from under us if a close window event is pending
+
+ int w, h;
+ GetSize(&w, &h);
+ flags=0;
+ if (point.x<0) flags |= wxTREE_HITTEST_TOLEFT;
+ if (point.x>w) flags |= wxTREE_HITTEST_TORIGHT;
+ if (point.y<0) flags |= wxTREE_HITTEST_ABOVE;
+ if (point.y>h) flags |= wxTREE_HITTEST_BELOW;
+ if (flags) return wxTreeItemId();
+
+ if (m_anchor == NULL)
+ {
+ flags = wxTREE_HITTEST_NOWHERE;
+ return wxTreeItemId();
+ }
+
+ wxClientDC dc(this);
+ PrepareDC(dc);
+ wxCoord x = dc.DeviceToLogicalX( point.x );
+ wxCoord y = dc.DeviceToLogicalY( point.y );
+ wxTreeListItem *hit = m_anchor->HitTest(wxPoint(x, y), this, flags,
+ column, 0);
+ if (hit == NULL)
+ {
+ flags = wxTREE_HITTEST_NOWHERE;
+ return wxTreeItemId();
+ }
+ return hit;
+}
+
+// get the bounding rectangle of the item (or of its label only)
+bool wxTreeListMainWindow::GetBoundingRect(const wxTreeItemId& item,
+ wxRect& rect,
+ bool WXUNUSED(textOnly)) const
+{
+ wxCHECK_MSG( item.IsOk(), FALSE, _T("invalid item in wxTreeListMainWindow::GetBoundingRect") );
+
+ wxTreeListItem *i = (wxTreeListItem*) item.m_pItem;
+
+ int startX, startY;
+ GetViewStart(& startX, & startY);
+
+ rect.x = i->GetX() - startX*PIXELS_PER_UNIT;
+ rect.y = i->GetY() - startY*PIXELS_PER_UNIT;
+ rect.width = i->GetWidth();
+ //rect.height = i->GetHeight();
+ rect.height = GetLineHeight(i);
+
+ return TRUE;
+}
+
+/* **** */
+
+void wxTreeListMainWindow::Edit( const wxTreeItemId& item )
+{
+ if (!item.IsOk()) return;
+
+ m_currentEdit = (wxTreeListItem*) item.m_pItem;
+
+ wxTreeEvent te( wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, m_owner->GetId() );
+ te.SetItem( (long) m_currentEdit);
+ te.SetEventObject( /*this*/m_owner );
+ m_owner->GetEventHandler()->ProcessEvent( te );
+
+ if (!te.IsAllowed()) return;
+
+ // We have to call this here because the label in
+ // question might just have been added and no screen
+ // update taken place.
+ if (m_dirty) wxYieldIfNeeded();
+
+ wxString s = m_currentEdit->GetText(/*ALB*/m_main_column);
+ int x = m_currentEdit->GetX();
+ int y = m_currentEdit->GetY();
+ int w = m_currentEdit->GetWidth();
+ int h = m_currentEdit->GetHeight();
+
+ int image_h = 0;
+ int image_w = 0;
+
+ int image = m_currentEdit->GetCurrentImage();
+ if ( image != NO_IMAGE )
+ {
+ if ( m_imageListNormal )
+ {
+ m_imageListNormal->GetSize( image, image_w, image_h );
+ image_w += 4;
+ }
+ else
+ {
+ wxFAIL_MSG(_T("you must create an image list to use images!"));
+ }
+ }
+ x += image_w;
+ w -= image_w + 4; // I don't know why +4 is needed
+
+ wxClientDC dc(this);
+ PrepareDC( dc );
+ x = dc.LogicalToDeviceX( x );
+ y = dc.LogicalToDeviceY( y );
+
+ wxTreeListTextCtrl *text = new wxTreeListTextCtrl(this, -1,
+ &m_renameAccept,
+ &m_renameRes,
+ this,
+ s,
+ wxPoint(x-4,y-4),
+ wxSize(w+11,h+8));
+ text->SetFocus();
+}
+
+void wxTreeListMainWindow::OnRenameTimer()
+{
+ Edit( m_current );
+}
+
+void wxTreeListMainWindow::OnRenameAccept()
+{
+ // TODO if the validator fails this causes a crash
+ wxTreeEvent le( wxEVT_COMMAND_TREE_END_LABEL_EDIT, m_owner->GetId() );
+ le.SetItem( (long) m_currentEdit );
+ le.SetEventObject( /*this*/m_owner );
+ le.SetLabel( m_renameRes );
+ m_owner->GetEventHandler()->ProcessEvent( le );
+
+ if (!le.IsAllowed()) return;
+
+ SetItemText( m_currentEdit, m_renameRes );
+}
+
+void wxTreeListMainWindow::OnMouse( wxMouseEvent &event )
+{
+ if ( !m_anchor ) return;
+
+ // we process left mouse up event (enables in-place edit), right down
+ // (pass to the user code), left dbl click (activate item) and
+ // dragging/moving events for items drag-and-drop
+ if ( !(event.LeftDown() ||
+ event.LeftUp() ||
+ event.RightDown() ||
+ event.LeftDClick() ||
+ event.Dragging() ||
+ ((event.Moving() || event.RightUp()) && m_isDragging)) )
+ {
+ event.Skip();
+
+ return;
+ }
+
+ if ( event.LeftDown() )
+ SetFocus();
+
+ wxClientDC dc(this);
+ PrepareDC(dc);
+ wxCoord x = dc.DeviceToLogicalX( event.GetX() );
+ wxCoord y = dc.DeviceToLogicalY( event.GetY() );
+
+ int flags = 0;
+ wxTreeListItem *item = m_anchor->HitTest(wxPoint(x,y), this, flags, 0);
+
+ if ( event.Dragging() && !m_isDragging )
+ {
+ if (m_dragCount == 0)
+ m_dragStart = wxPoint(x,y);
+
+ m_dragCount++;
+
+ if (m_dragCount != 3)
+ {
+ // wait until user drags a bit further...
+ return;
+ }
+
+ wxEventType command = event.RightIsDown()
+ ? wxEVT_COMMAND_TREE_BEGIN_RDRAG
+ : wxEVT_COMMAND_TREE_BEGIN_DRAG;
+
+ wxTreeEvent nevent( command,/*ALB*/ m_owner->GetId() );
+ nevent.SetItem( (long) m_current);
+ nevent.SetEventObject(/*this*/m_owner); // ALB
+
+ // by default the dragging is not supported, the user code must
+ // explicitly allow the event for it to take place
+ nevent.Veto();
+
+ if ( m_owner->GetEventHandler()->ProcessEvent(nevent) &&
+ nevent.IsAllowed() )
+ {
+ // we're going to drag this item
+ m_isDragging = TRUE;
+
+ // remember the old cursor because we will change it while
+ // dragging
+ m_oldCursor = m_cursor;
+
+ // in a single selection control, hide the selection temporarily
+ if ( !(GetWindowStyleFlag() & wxTR_MULTIPLE) )
+ {
+ m_oldSelection = (wxTreeListItem*) GetSelection().m_pItem;
+
+ if ( m_oldSelection )
+ {
+ m_oldSelection->SetHilight(FALSE);
+ RefreshLine(m_oldSelection);
+ }
+ }
+
+ CaptureMouse();
+ }
+ }
+ else if ( event.Moving() )
+ {
+ if ( item != m_dropTarget )
+ {
+ // unhighlight the previous drop target
+ DrawDropEffect(m_dropTarget);
+
+ m_dropTarget = item;
+
+ // highlight the current drop target if any
+ DrawDropEffect(m_dropTarget);
+
+ wxYieldIfNeeded();
+ }
+ }
+ else if ( (event.LeftUp() || event.RightUp()) && m_isDragging )
+ {
+ // erase the highlighting
+ DrawDropEffect(m_dropTarget);
+
+ if ( m_oldSelection )
+ {
+ m_oldSelection->SetHilight(TRUE);
+ RefreshLine(m_oldSelection);
+ m_oldSelection = (wxTreeListItem *)NULL;
+ }
+
+ // generate the drag end event
+ wxTreeEvent event(wxEVT_COMMAND_TREE_END_DRAG,/*ALB*/m_owner->GetId());
+
+ event.SetItem( (long) item );
+ event.SetPoint( wxPoint(x, y) );
+ event.SetEventObject(/*this*/m_owner);
+
+ (void)m_owner->GetEventHandler()->ProcessEvent(event);
+
+ m_isDragging = FALSE;
+ m_dropTarget = (wxTreeListItem *)NULL;
+
+ ReleaseMouse();
+
+ SetCursor(m_oldCursor);
+
+ wxYieldIfNeeded();
+ }
+ else
+ {
+ // here we process only the messages which happen on tree items
+
+ m_dragCount = 0;
+
+ if (item == NULL) return; /* we hit the blank area */
+
+ if ( event.RightDown() )
+ {
+ SetFocus();
+ wxTreeEvent nevent(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK,
+ m_owner->GetId());
+ nevent.SetItem( (long) item );
+ int nx, ny;
+ CalcScrolledPosition(x, y, &nx, &ny);
+ nevent.SetPoint( wxPoint(nx, ny));
+ nevent.SetEventObject(/*this*/m_owner);
+ m_owner->GetEventHandler()->ProcessEvent(nevent);
+ }
+ else if ( event.LeftUp() )
+ {
+ if ( m_lastOnSame )
+ {
+ if ( (item == m_current) &&
+ (flags & wxTREE_HITTEST_ONITEMLABEL) &&
+ HasFlag(wxTR_EDIT_LABELS) )
+ {
+ if ( m_renameTimer->IsRunning() )
+ m_renameTimer->Stop();
+
+ m_renameTimer->Start( 100, TRUE );
+ }
+
+ m_lastOnSame = FALSE;
+ }
+ }
+ else // !RightDown() && !LeftUp() ==> LeftDown() || LeftDClick()
+ {
+ if ( event.LeftDown() )
+ {
+ SetFocus();
+ m_lastOnSame = item == m_current;
+ }
+
+ if ( flags & wxTREE_HITTEST_ONITEMBUTTON )
+ {
+ // only toggle the item for a single click, double click on
+ // the button doesn't do anything (it toggles the item twice)
+ if ( event.LeftDown() )
+ {
+ Toggle( item );
+ }
+
+ // don't select the item if the button was clicked
+ return;
+ }
+
+ // how should the selection work for this event?
+ bool is_multiple, extended_select, unselect_others;
+ EventFlagsToSelType(GetWindowStyleFlag(),
+ event.ShiftDown(),
+ event.ControlDown(),
+ is_multiple, extended_select, unselect_others);
+
+ SelectItem(item, unselect_others, extended_select);
+
+ // For some reason, Windows isn't recognizing a left double-click,
+ // so we need to simulate it here. Allow 200 milliseconds for now.
+ if ( event.LeftDClick() )
+ {
+ // double clicking should not start editing the item label
+ m_renameTimer->Stop();
+ m_lastOnSame = FALSE;
+
+ // send activate event first
+ wxTreeEvent nevent( wxEVT_COMMAND_TREE_ITEM_ACTIVATED,
+ m_owner->GetId() );
+ nevent.SetItem( (long) item );
+ int nx, ny;
+ CalcScrolledPosition(x, y, &nx, &ny);
+ nevent.SetPoint( wxPoint(nx, ny) );
+ nevent.SetEventObject( /*this*/m_owner );
+ if ( !m_owner->GetEventHandler()->ProcessEvent( nevent ) )
+ {
+ // if the user code didn't process the activate event,
+ // handle it ourselves by toggling the item when it is
+ // double clicked
+ if ( item->HasPlus() )
+ {
+ Toggle(item);
+ }
+ }
+ }
+ }
+ }
+}
+
+void wxTreeListMainWindow::OnIdle( wxIdleEvent &WXUNUSED(event) )
+{
+ /* after all changes have been done to the tree control,
+ * we actually redraw the tree when everything is over */
+
+ if (!m_dirty) return;
+
+ m_dirty = FALSE;
+
+ CalculatePositions();
+ Refresh();
+ AdjustMyScrollbars();
+}
+
+void wxTreeListMainWindow::OnSize(wxSizeEvent& WXUNUSED(event))
+{
+// int w, h;
+// GetClientSize(&w, &h);
+// m_header_win->SetSize(0, 0, w, HEADER_HEIGHT);
+}
+
+void wxTreeListMainWindow::OnScroll(wxScrollWinEvent& event)
+{
+ // FIXME
+#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__)
+ wxScrolledWindow::OnScroll(event);
+#else
+ HandleOnScroll( event );
+#endif
+
+ if(event.GetOrientation() == wxHORIZONTAL)
+ {
+ m_owner->GetHeaderWindow()->Refresh();
+#ifdef __WXMAC__
+ m_owner->GetHeaderWindow()->MacUpdateImmediately();
+#endif
+ }
+}
+
+
+void wxTreeListMainWindow::CalculateSize( wxTreeListItem *item, wxDC &dc )
+{
+ wxCoord text_w = 0;
+ wxCoord text_h = 0;
+
+ if (item->IsBold())
+ dc.SetFont(m_boldFont);
+
+ dc.GetTextExtent( item->GetText(/*ALB*/m_main_column), &text_w, &text_h );
+ text_h+=2;
+
+ // restore normal font
+ dc.SetFont( m_normalFont );
+
+ int image_h = 0;
+ int image_w = 0;
+ int image = item->GetCurrentImage();
+ if ( image != NO_IMAGE )
+ {
+ if ( m_imageListNormal )
+ {
+ m_imageListNormal->GetSize( image, image_w, image_h );
+ image_w += 4;
+ image_h += 2;
+ }
+ }
+
+ int total_h = (image_h > text_h) ? image_h : text_h;
+
+// if (total_h < 30)
+// total_h += 2; // at least 2 pixels
+// else
+// total_h += total_h/10; // otherwise 10% extra spacing
+
+ item->SetHeight(total_h);
+ if (total_h>m_lineHeight)
+ m_lineHeight=total_h;
+
+ item->SetWidth(image_w+text_w+2);
+}
+
+// -----------------------------------------------------------------------------
+// for developper : y is now the top of the level
+// not the middle of it !
+void wxTreeListMainWindow::CalculateLevel( wxTreeListItem *item, wxDC &dc,
+ int level, int &y, int x_offset )
+{
+ int x = level*m_indent + x_offset;
+ if (!HasFlag(wxTR_HIDE_ROOT))
+ {
+ x += m_indent;
+ }
+ else if (level == 0)
+ {
+ // a hidden root is not evaluated, but its
+ // children are always calculated
+ goto Recurse;
+ }
+
+ CalculateSize( item, dc );
+
+ // set its position
+ item->SetX( x+m_spacing );
+ item->SetY( y );
+ y += GetLineHeight(item);
+
+ if ( !item->IsExpanded() )
+ {
+ // we don't need to calculate collapsed branches
+ return;
+ }
+
+ Recurse:
+ wxArrayTreeListItems& children = item->GetChildren();
+ size_t n, count = children.Count();
+ ++level;
+ for (n = 0; n < count; ++n )
+ CalculateLevel( children[n], dc, level, y, x_offset ); // recurse
+}
+
+void wxTreeListMainWindow::CalculatePositions()
+{
+ if ( !m_anchor ) return;
+
+ wxClientDC dc(this);
+ PrepareDC( dc );
+
+ dc.SetFont( m_normalFont );
+
+ dc.SetPen( m_dottedPen );
+ //if(GetImageList() == NULL)
+ // m_lineHeight = (int)(dc.GetCharHeight() + 4);
+
+ int y = 2;
+ int x_offset = 0;
+ for(size_t i = 0; i < GetMainColumn(); ++i) {
+ x_offset += m_owner->GetHeaderWindow()->GetColumnWidth(i);
+ }
+ CalculateLevel( m_anchor, dc, 0, y, x_offset ); // start recursion
+}
+
+void wxTreeListMainWindow::RefreshSubtree(wxTreeListItem *item)
+{
+ if (m_dirty) return;
+
+ wxClientDC dc(this);
+ PrepareDC(dc);
+
+ int cw = 0;
+ int ch = 0;
+ GetClientSize( &cw, &ch );
+
+ wxRect rect;
+ rect.x = dc.LogicalToDeviceX( 0 );
+ rect.width = cw;
+ rect.y = dc.LogicalToDeviceY( item->GetY() - 2 );
+ rect.height = ch;
+
+ Refresh( TRUE, &rect );
+
+ AdjustMyScrollbars();
+}
+
+void wxTreeListMainWindow::RefreshLine( wxTreeListItem *item )
+{
+ if (m_dirty) return;
+
+ wxClientDC dc(this);
+ PrepareDC( dc );
+
+ int cw = 0;
+ int ch = 0;
+ GetClientSize( &cw, &ch );
+
+ wxRect rect;
+ rect.x = dc.LogicalToDeviceX( 0 );
+ rect.y = dc.LogicalToDeviceY( item->GetY() );
+ rect.width = cw;
+ rect.height = GetLineHeight(item); //dc.GetCharHeight() + 6;
+
+ Refresh( TRUE, &rect );
+}
+
+void wxTreeListMainWindow::RefreshSelected()
+{
+ // TODO: this is awfully inefficient, we should keep the list of all
+ // selected items internally, should be much faster
+ if ( m_anchor )
+ RefreshSelectedUnder(m_anchor);
+}
+
+void wxTreeListMainWindow::RefreshSelectedUnder(wxTreeListItem *item)
+{
+ if ( item->IsSelected() )
+ RefreshLine(item);
+
+ const wxArrayTreeListItems& children = item->GetChildren();
+ size_t count = children.GetCount();
+ for ( size_t n = 0; n < count; n++ )
+ {
+ RefreshSelectedUnder(children[n]);
+ }
+}
+
+// ----------------------------------------------------------------------------
+// changing colours: we need to refresh the tree control
+// ----------------------------------------------------------------------------
+
+bool wxTreeListMainWindow::SetBackgroundColour(const wxColour& colour)
+{
+ if ( !wxWindow::SetBackgroundColour(colour) )
+ return FALSE;
+
+ Refresh();
+
+ return TRUE;
+}
+
+bool wxTreeListMainWindow::SetForegroundColour(const wxColour& colour)
+{
+ if ( !wxWindow::SetForegroundColour(colour) )
+ return FALSE;
+
+ Refresh();
+
+ return TRUE;
+}
+
+//----------- ALB -------------
+inline
+void wxTreeListMainWindow::SetItemText(const wxTreeItemId& item, size_t column,
+ const wxString& text)
+{
+ wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+
+ wxClientDC dc(this);
+ wxTreeListItem *pItem = (wxTreeListItem*) item.m_pItem;
+ pItem->SetText(column, text);
+ CalculateSize(pItem, dc);
+ RefreshLine(pItem);
+}
+
+inline
+wxString wxTreeListMainWindow::GetItemText(const wxTreeItemId& item,
+ size_t column) const
+{
+ wxCHECK_MSG( item.IsOk(), wxT(""), wxT("invalid tree item") );
+
+ return ((wxTreeListItem*) item.m_pItem)->GetText(column);
+}
+
+//-----------------------------
+
+//-----------------------------------------------------------------------------
+// wxTreeListCtrl
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxTreeListCtrl, wxControl);
+
+BEGIN_EVENT_TABLE(wxTreeListCtrl, wxControl)
+ EVT_SIZE(wxTreeListCtrl::OnSize)
+END_EVENT_TABLE();
+
+bool wxTreeListCtrl::Create(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style, const wxValidator &validator,
+ const wxString& name)
+{
+ long main_style = style & ~(wxRAISED_BORDER|wxSUNKEN_BORDER
+ |wxSIMPLE_BORDER|wxNO_BORDER|wxDOUBLE_BORDER
+ |wxSTATIC_BORDER);
+ if(!wxControl::Create(parent, id, pos, size, style, validator, name))
+ return false;
+
+ m_main_win = new wxTreeListMainWindow(this, -1, wxPoint(0, 0), size,
+ main_style, validator);
+ m_header_win = new wxTreeListHeaderWindow(this, -1, m_main_win,
+ wxPoint(0, 0), wxDefaultSize,
+ wxTAB_TRAVERSAL);
+ return TRUE;
+}
+
+void wxTreeListCtrl::OnSize(wxSizeEvent& event)
+{
+ int w, h;
+ GetClientSize(&w, &h);
+ if(m_header_win)
+ m_header_win->SetSize(0, 0, w, HEADER_HEIGHT);
+ if(m_main_win)
+ m_main_win->SetSize(0, HEADER_HEIGHT + 1, w, h - HEADER_HEIGHT - 1);
+}
+
+size_t wxTreeListCtrl::GetCount() const { return m_main_win->GetCount(); }
+
+unsigned int wxTreeListCtrl::GetIndent() const
+{ return m_main_win->GetIndent(); }
+
+void wxTreeListCtrl::SetIndent(unsigned int indent)
+{ m_main_win->SetIndent(indent); }
+
+unsigned int wxTreeListCtrl::GetSpacing() const
+{ return m_main_win->GetSpacing(); }
+
+void wxTreeListCtrl::SetSpacing(unsigned int spacing)
+{ m_main_win->SetSpacing(spacing); }
+
+unsigned int wxTreeListCtrl::GetLineSpacing() const
+{ return m_main_win->GetLineSpacing(); }
+
+void wxTreeListCtrl::SetLineSpacing(unsigned int spacing)
+{ m_main_win->SetLineSpacing(spacing); }
+
+wxImageList* wxTreeListCtrl::GetImageList() const
+{ return m_main_win->GetImageList(); }
+
+wxImageList* wxTreeListCtrl::GetStateImageList() const
+{ return m_main_win->GetStateImageList(); }
+
+wxImageList* wxTreeListCtrl::GetButtonsImageList() const
+{ return m_main_win->GetButtonsImageList(); }
+
+void wxTreeListCtrl::SetImageList(wxImageList* imageList)
+{ m_main_win->SetImageList(imageList); }
+
+void wxTreeListCtrl::SetStateImageList(wxImageList* imageList)
+{ m_main_win->SetStateImageList(imageList); }
+
+void wxTreeListCtrl::SetButtonsImageList(wxImageList* imageList)
+{ m_main_win->SetButtonsImageList(imageList); }
+
+void wxTreeListCtrl::AssignImageList(wxImageList* imageList)
+{ m_main_win->AssignImageList(imageList); }
+
+void wxTreeListCtrl::AssignStateImageList(wxImageList* imageList)
+{ m_main_win->AssignStateImageList(imageList); }
+
+void wxTreeListCtrl::AssignButtonsImageList(wxImageList* imageList)
+{ m_main_win->AssignButtonsImageList(imageList); }
+
+wxString wxTreeListCtrl::GetItemText(const wxTreeItemId& item, size_t column)
+ const
+{ return m_main_win->GetItemText(item, column); }
+
+int wxTreeListCtrl::GetItemImage(const wxTreeItemId& item, size_t column,
+ wxTreeItemIcon which) const
+{ return m_main_win->GetItemImage(item, column, which); }
+
+wxTreeItemData* wxTreeListCtrl::GetItemData(const wxTreeItemId& item) const
+{ return m_main_win->GetItemData(item); }
+
+bool wxTreeListCtrl::GetItemBold(const wxTreeItemId& item) const
+{ return m_main_win->GetItemBold(item); }
+
+wxColour wxTreeListCtrl::GetItemTextColour(const wxTreeItemId& item) const
+{ return m_main_win->GetItemTextColour(item); }
+
+wxColour wxTreeListCtrl::GetItemBackgroundColour(const wxTreeItemId& item)
+ const
+{ return m_main_win->GetItemBackgroundColour(item); }
+
+wxFont wxTreeListCtrl::GetItemFont(const wxTreeItemId& item) const
+{ return m_main_win->GetItemFont(item); }
+
+
+void wxTreeListCtrl::SetItemText(const wxTreeItemId& item, size_t column,
+ const wxString& text)
+{ m_main_win->SetItemText(item, column, text); }
+
+void wxTreeListCtrl::SetItemImage(const wxTreeItemId& item,
+ size_t column,
+ int image,
+ wxTreeItemIcon which)
+{ m_main_win->SetItemImage(item, column, image, which); }
+
+void wxTreeListCtrl::SetItemData(const wxTreeItemId& item,
+ wxTreeItemData* data)
+{ m_main_win->SetItemData(item, data); }
+
+void wxTreeListCtrl::SetItemHasChildren(const wxTreeItemId& item, bool has)
+{ m_main_win->SetItemHasChildren(item, has); }
+
+void wxTreeListCtrl::SetItemBold(const wxTreeItemId& item, bool bold)
+{ m_main_win->SetItemBold(item, bold); }
+
+void wxTreeListCtrl::SetItemTextColour(const wxTreeItemId& item,
+ const wxColour& col)
+{ m_main_win->SetItemTextColour(item, col); }
+
+void wxTreeListCtrl::SetItemBackgroundColour(const wxTreeItemId& item,
+ const wxColour& col)
+{ m_main_win->SetItemBackgroundColour(item, col); }
+
+void wxTreeListCtrl::SetItemFont(const wxTreeItemId& item,
+ const wxFont& font)
+{ m_main_win->SetItemFont(item, font); }
+
+bool wxTreeListCtrl::SetFont(const wxFont& font)
+{
+ if(m_header_win) m_header_win->SetFont(font);
+ if(m_main_win)
+ return m_main_win->SetFont(font);
+ else return FALSE;
+}
+
+void wxTreeListCtrl::SetWindowStyle(const long style)
+{
+ if(m_main_win)
+ m_main_win->SetWindowStyle(style);
+ // TODO: provide something like wxTL_NO_HEADERS to hide m_header_win
+}
+
+long wxTreeListCtrl::GetWindowStyle() const
+{
+ long style = m_windowStyle;
+ if(m_main_win)
+ style |= m_main_win->GetWindowStyle();
+ return style;
+}
+
+bool wxTreeListCtrl::IsVisible(const wxTreeItemId& item) const
+{ return m_main_win->IsVisible(item); }
+
+bool wxTreeListCtrl::ItemHasChildren(const wxTreeItemId& item) const
+{ return m_main_win->ItemHasChildren(item); }
+
+bool wxTreeListCtrl::IsExpanded(const wxTreeItemId& item) const
+{ return m_main_win->IsExpanded(item); }
+
+bool wxTreeListCtrl::IsSelected(const wxTreeItemId& item) const
+{ return m_main_win->IsSelected(item); }
+
+bool wxTreeListCtrl::IsBold(const wxTreeItemId& item) const
+{ return m_main_win->IsBold(item); }
+
+size_t wxTreeListCtrl::GetChildrenCount(const wxTreeItemId& item, bool rec)
+{ return m_main_win->GetChildrenCount(item, rec); }
+
+wxTreeItemId wxTreeListCtrl::GetRootItem() const
+{ return m_main_win->GetRootItem(); }
+
+wxTreeItemId wxTreeListCtrl::GetSelection() const
+{ return m_main_win->GetSelection(); }
+
+size_t wxTreeListCtrl::GetSelections(wxArrayTreeItemIds& arr) const
+{ return m_main_win->GetSelections(arr); }
+
+wxTreeItemId wxTreeListCtrl::GetParent(const wxTreeItemId& item) const
+{ return m_main_win->GetParent(item); }
+
+wxTreeItemId wxTreeListCtrl::GetFirstChild(const wxTreeItemId& item,
+ long& cookie) const
+{ return m_main_win->GetFirstChild(item, cookie); }
+
+wxTreeItemId wxTreeListCtrl::GetNextChild(const wxTreeItemId& item,
+ long& cookie) const
+{ return m_main_win->GetNextChild(item, cookie); }
+
+wxTreeItemId wxTreeListCtrl::GetLastChild(const wxTreeItemId& item) const
+{ return m_main_win->GetLastChild(item); }
+
+wxTreeItemId wxTreeListCtrl::GetNextSibling(const wxTreeItemId& item) const
+{ return m_main_win->GetNextSibling(item); }
+
+wxTreeItemId wxTreeListCtrl::GetPrevSibling(const wxTreeItemId& item) const
+{ return m_main_win->GetPrevSibling(item); }
+
+wxTreeItemId wxTreeListCtrl::GetFirstVisibleItem() const
+{ return m_main_win->GetFirstVisibleItem(); }
+
+wxTreeItemId wxTreeListCtrl::GetNextVisible(const wxTreeItemId& item) const
+{ return m_main_win->GetNextVisible(item); }
+
+wxTreeItemId wxTreeListCtrl::GetPrevVisible(const wxTreeItemId& item) const
+{ return m_main_win->GetPrevVisible(item); }
+
+wxTreeItemId wxTreeListCtrl::GetNext(const wxTreeItemId& item) const
+{ return m_main_win->GetNext(item); }
+
+wxTreeItemId wxTreeListCtrl::AddRoot(const wxString& text, int image,
+ int selectedImage, wxTreeItemData* data)
+{ return m_main_win->AddRoot(text, image, selectedImage, data); }
+
+wxTreeItemId wxTreeListCtrl::PrependItem(const wxTreeItemId& parent,
+ const wxString& text, int image,
+ int selectedImage,
+ wxTreeItemData* data)
+{ return m_main_win->PrependItem(parent, text, image, selectedImage, data); }
+
+wxTreeItemId wxTreeListCtrl::InsertItem(const wxTreeItemId& parent,
+ const wxTreeItemId& previous,
+ const wxString& text, int image,
+ int selectedImage,
+ wxTreeItemData* data)
+{
+ return m_main_win->InsertItem(parent, previous, text, image,
+ selectedImage, data);
+}
+
+wxTreeItemId wxTreeListCtrl::InsertItem(const wxTreeItemId& parent,
+ size_t index,
+ const wxString& text, int image,
+ int selectedImage,
+ wxTreeItemData* data)
+{
+ return m_main_win->InsertItem(parent, index, text, image,
+ selectedImage, data);
+}
+
+wxTreeItemId wxTreeListCtrl::AppendItem(const wxTreeItemId& parent,
+ const wxString& text, int image,
+ int selectedImage,
+ wxTreeItemData* data)
+{ return m_main_win->AppendItem(parent, text, image, selectedImage, data); }
+
+void wxTreeListCtrl::Delete(const wxTreeItemId& item)
+{ m_main_win->Delete(item); }
+
+void wxTreeListCtrl::DeleteChildren(const wxTreeItemId& item)
+{ m_main_win->DeleteChildren(item); }
+
+void wxTreeListCtrl::DeleteAllItems()
+{ m_main_win->DeleteAllItems(); }
+
+void wxTreeListCtrl::Expand(const wxTreeItemId& item)
+{ m_main_win->Expand(item); }
+
+void wxTreeListCtrl::ExpandAll(const wxTreeItemId& item)
+{ m_main_win->ExpandAll(item); }
+
+void wxTreeListCtrl::Collapse(const wxTreeItemId& item)
+{ m_main_win->Collapse(item); }
+
+void wxTreeListCtrl::CollapseAndReset(const wxTreeItemId& item)
+{ m_main_win->CollapseAndReset(item); }
+
+void wxTreeListCtrl::Toggle(const wxTreeItemId& item)
+{ m_main_win->Toggle(item); }
+
+void wxTreeListCtrl::Unselect()
+{ m_main_win->Unselect(); }
+
+void wxTreeListCtrl::UnselectAll()
+{ m_main_win->UnselectAll(); }
+
+void wxTreeListCtrl::SelectItem(const wxTreeItemId& item, bool unselect_others,
+ bool extended_select)
+{ m_main_win->SelectItem(item, unselect_others, extended_select); }
+
+void wxTreeListCtrl::EnsureVisible(const wxTreeItemId& item)
+{ m_main_win->EnsureVisible(item); }
+
+void wxTreeListCtrl::ScrollTo(const wxTreeItemId& item)
+{ m_main_win->ScrollTo(item); }
+
+wxTreeItemId wxTreeListCtrl::HitTest(const wxPoint& pos, int& flags,
+ int& column)
+{
+ return m_main_win->HitTest(m_main_win->ScreenToClient(ClientToScreen(pos)),
+ flags, column);
+}
+
+bool wxTreeListCtrl::GetBoundingRect(const wxTreeItemId& item, wxRect& rect,
+ bool textOnly) const
+{ return m_main_win->GetBoundingRect(item, rect, textOnly); }
+
+void wxTreeListCtrl::Edit(const wxTreeItemId& item)
+{ m_main_win->Edit(item); }
+
+int wxTreeListCtrl::OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2)
+{
+ // ALB: do the comparison here, and not delegate to m_main_win, in order
+ // to let the user override it
+ //return m_main_win->OnCompareItems(item1, item2);
+ return wxStrcmp(GetItemText(item1), GetItemText(item2));
+}
+
+void wxTreeListCtrl::SortChildren(const wxTreeItemId& item)
+{ m_main_win->SortChildren(item); }
+
+bool wxTreeListCtrl::SetBackgroundColour(const wxColour& colour)
+{ return m_main_win->SetBackgroundColour(colour); }
+
+bool wxTreeListCtrl::SetForegroundColour(const wxColour& colour)
+{ return m_main_win->SetForegroundColour(colour); }
+
+size_t wxTreeListCtrl::GetColumnCount() const
+{ return m_main_win->GetColumnCount(); }
+
+void wxTreeListCtrl::SetColumnWidth(size_t column, size_t width)
+{ m_header_win->SetColumnWidth(column, width); }
+
+int wxTreeListCtrl::GetColumnWidth(size_t column) const
+{ return m_header_win->GetColumnWidth(column); }
+
+void wxTreeListCtrl::SetMainColumn(size_t column)
+{ m_main_win->SetMainColumn(column); }
+
+size_t wxTreeListCtrl::GetMainColumn() const
+{ return m_main_win->GetMainColumn(); }
+
+void wxTreeListCtrl::SetColumnText(size_t column, const wxString& text)
+{
+ m_header_win->SetColumnText(column, text);
+ m_header_win->Refresh();
+}
+
+wxString wxTreeListCtrl::GetColumnText(size_t column) const
+{ return m_header_win->GetColumnText(column); }
+
+void wxTreeListCtrl::AddColumn(const wxTreeListColumnInfo& col)
+{ m_header_win->AddColumn(col); }
+
+void wxTreeListCtrl::InsertColumn(size_t before,
+ const wxTreeListColumnInfo& col)
+{ m_header_win->InsertColumn(before, col); }
+
+void wxTreeListCtrl::RemoveColumn(size_t column)
+{ m_header_win->RemoveColumn(column); }
+
+void wxTreeListCtrl::SetColumn(size_t column, const wxTreeListColumnInfo& col)
+{ m_header_win->SetColumn(column, col); }
+
+const wxTreeListColumnInfo& wxTreeListCtrl::GetColumn(size_t column) const
+{ return m_header_win->GetColumn(column); }
+
+wxTreeListColumnInfo& wxTreeListCtrl::GetColumn(size_t column)
+{ return m_header_win->GetColumn(column); }
+
+void wxTreeListCtrl::SetColumnImage(size_t column, int image)
+{
+ m_header_win->SetColumn(column, GetColumn(column).SetImage(image));
+}
+
+int wxTreeListCtrl::GetColumnImage(size_t column) const
+{
+ return m_header_win->GetColumn(column).GetImage();
+}
+
+void wxTreeListCtrl::SetColumnAlignment(size_t column,
+ wxTreeListColumnAlign align)
+{
+ m_header_win->SetColumn(column, GetColumn(column).SetAlignment(align));
+}
+
+wxTreeListColumnAlign wxTreeListCtrl::GetColumnAlignment(size_t column) const
+{
+ return m_header_win->GetColumn(column).GetAlignment();
+}
+
+void wxTreeListCtrl::Refresh(bool erase, const wxRect* rect)
+{
+ m_main_win->Refresh(erase, rect);
+ m_header_win->Refresh(erase, rect);
+}
+
+void wxTreeListCtrl::SetFocus()
+{ m_main_win->SetFocus(); }
diff --git a/wxPython/contrib/gizmos/treelistctrl.h b/wxPython/contrib/gizmos/treelistctrl.h
new file mode 100644
index 0000000000..a1e75e9ade
--- /dev/null
+++ b/wxPython/contrib/gizmos/treelistctrl.h
@@ -0,0 +1,509 @@
+// -*- C++ -*- //////////////////////////////////////////////////////////////
+// Name: treelistctrl.h (derived by wx/treectrlg.h)
+// Purpose: wxTreeListCtrl class
+// Author: Robert Roebling
+// Modified by: Alberto Griggio, 2002
+// Created: 01/02/97
+// RCS-ID: $Id$
+// Copyright: (c) 1997,1998 Robert Roebling
+// Licence: wxWindows license
+/////////////////////////////////////////////////////////////////////////////
+
+
+#ifndef TREELISTCTRL_H
+#define TREELISTCTRL_H
+
+#if defined(__GNUG__) && !defined(__APPLE__)
+ #pragma interface "treelistctrl.h"
+#endif
+
+#include
+#include
+#include
+#include // for wxListEvent
+
+#ifdef GIZMOISDLL
+#define GIZMODLLEXPORT WXDLLEXPORT
+#else
+#define GIZMODLLEXPORT
+#endif
+
+
+class GIZMODLLEXPORT wxTreeListItem;
+class GIZMODLLEXPORT wxTreeListHeaderWindow;
+class GIZMODLLEXPORT wxTreeListMainWindow;
+
+//-----------------------------------------------------------------------------
+// wxTreeListColumnAttrs
+//-----------------------------------------------------------------------------
+
+enum wxTreeListColumnAlign {
+ wxTL_ALIGN_LEFT,
+ wxTL_ALIGN_RIGHT,
+ wxTL_ALIGN_CENTER
+};
+
+
+class GIZMODLLEXPORT wxTreeListColumnInfo: public wxObject {
+public:
+ enum { DEFAULT_COL_WIDTH = 100 };
+
+ wxTreeListColumnInfo(const wxChar* text = wxT(""),
+ int image = -1,
+ size_t width = DEFAULT_COL_WIDTH,
+ wxTreeListColumnAlign alignment = wxTL_ALIGN_LEFT)
+ {
+ m_image = image;
+ m_selected_image = -1;
+ m_text = text;
+ m_width = width;
+ m_alignment = alignment;
+ }
+
+ wxTreeListColumnInfo(const wxTreeListColumnInfo& other)
+ {
+ m_image = other.m_image;
+ m_selected_image = other.m_selected_image;
+ m_text = other.m_text;
+ m_width = other.m_width;
+ m_alignment = other.m_alignment;
+ }
+
+ ~wxTreeListColumnInfo() {}
+
+ // getters
+ wxTreeListColumnAlign GetAlignment() const { return m_alignment; }
+ wxString GetText() const { return m_text; }
+ int GetImage() const { return m_image; }
+ int GetSelectedImage() const { return m_selected_image; }
+ size_t GetWidth() const { return m_width; }
+
+ // setters
+ wxTreeListColumnInfo& SetAlignment(wxTreeListColumnAlign alignment)
+ { m_alignment = alignment; return *this; }
+
+ wxTreeListColumnInfo& SetText(const wxString& text)
+ { m_text = text; return *this; }
+
+ wxTreeListColumnInfo& SetImage(int image)
+ { m_image = image; return *this; }
+
+ wxTreeListColumnInfo& SetSelectedImage(int image)
+ { m_selected_image = image; return *this; }
+
+ wxTreeListColumnInfo& SetWidth(size_t with)
+ { m_width = with; return *this; }
+
+private:
+ wxTreeListColumnAlign m_alignment;
+ wxString m_text;
+ int m_image;
+ int m_selected_image;
+ size_t m_width;
+};
+
+//----------------------------------------------------------------------------
+// wxTreeListCtrl - the multicolumn tree control
+//----------------------------------------------------------------------------
+
+// additional flag for HitTest
+const int wxTREE_HITTEST_ONITEMCOLUMN = 0x2000;
+extern GIZMODLLEXPORT const wxChar* wxTreeListCtrlNameStr;
+
+
+class GIZMODLLEXPORT wxTreeListCtrl : public wxControl
+{
+public:
+ // creation
+ // --------
+ wxTreeListCtrl() {}
+
+ wxTreeListCtrl(wxWindow *parent, wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTR_DEFAULT_STYLE,
+ const wxValidator &validator = wxDefaultValidator,
+ const wxString& name = wxTreeListCtrlNameStr )
+ : m_header_win(0), m_main_win(0)
+ {
+ Create(parent, id, pos, size, style, validator, name);
+ }
+
+ virtual ~wxTreeListCtrl() {}
+
+ bool Create(wxWindow *parent, wxWindowID id = -1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxTR_DEFAULT_STYLE,
+ const wxValidator &validator = wxDefaultValidator,
+ const wxString& name = wxTreeListCtrlNameStr );
+
+ void Refresh(bool erase=TRUE, const wxRect* rect=NULL);
+ void SetFocus();
+ // accessors
+ // ---------
+
+ // get the total number of items in the control
+ size_t GetCount() const;
+
+ // indent is the number of pixels the children are indented relative to
+ // the parents position. SetIndent() also redraws the control
+ // immediately.
+ unsigned int GetIndent() const;
+ void SetIndent(unsigned int indent);
+
+ // spacing is the number of pixels between the start and the Text
+ unsigned int GetSpacing() const;
+ void SetSpacing(unsigned int spacing);
+
+ // line spacing is the space above and below the text on each line
+ unsigned int GetLineSpacing() const;
+ void SetLineSpacing(unsigned int spacing);
+
+ // image list: these functions allow to associate an image list with
+ // the control and retrieve it. Note that when assigned with
+ // SetImageList, the control does _not_ delete
+ // the associated image list when it's deleted in order to allow image
+ // lists to be shared between different controls. If you use
+ // AssignImageList, the control _does_ delete the image list.
+ //
+ // The normal image list is for the icons which correspond to the
+ // normal tree item state (whether it is selected or not).
+ // Additionally, the application might choose to show a state icon
+ // which corresponds to an app-defined item state (for example,
+ // checked/unchecked) which are taken from the state image list.
+ wxImageList *GetImageList() const;
+ wxImageList *GetStateImageList() const;
+ wxImageList *GetButtonsImageList() const;
+
+ void SetImageList(wxImageList *imageList);
+ void SetStateImageList(wxImageList *imageList);
+ void SetButtonsImageList(wxImageList *imageList);
+ void AssignImageList(wxImageList *imageList);
+ void AssignStateImageList(wxImageList *imageList);
+ void AssignButtonsImageList(wxImageList *imageList);
+
+
+ // Functions to work with tree list ctrl columns
+
+ // adds a column
+ void AddColumn(const wxString& text)
+ { AddColumn(wxTreeListColumnInfo().SetText(text)); }
+ void AddColumn(const wxTreeListColumnInfo& col);
+
+ // inserts a column before the given one
+ void InsertColumn(size_t before, const wxString& text)
+ { InsertColumn(before, wxTreeListColumnInfo().SetText(text)); }
+ void InsertColumn(size_t before, const wxTreeListColumnInfo& col);
+
+ // deletes the given column - does not delete the corresponding column
+ // of each item
+ void RemoveColumn(size_t column);
+
+ // returns the number of columns in the ctrl
+ size_t GetColumnCount() const;
+
+ void SetColumnWidth(size_t column, size_t width);
+ int GetColumnWidth(size_t column) const;
+
+ // tells which column is the "main" one, i.e. the "threaded" one
+ void SetMainColumn(size_t column);
+ size_t GetMainColumn() const;
+
+ void SetColumnText(size_t column, const wxString& text);
+ wxString GetColumnText(size_t column) const;
+
+ void SetColumn(size_t column, const wxTreeListColumnInfo& info);
+ wxTreeListColumnInfo& GetColumn(size_t column);
+ const wxTreeListColumnInfo& GetColumn(size_t column) const;
+
+ // other column-related methods
+ void SetColumnAlignment(size_t column, wxTreeListColumnAlign align);
+ wxTreeListColumnAlign GetColumnAlignment(size_t column) const;
+
+ void SetColumnImage(size_t column, int image);
+ int GetColumnImage(size_t column) const;
+
+ // Functions to work with tree list ctrl items.
+
+ // accessors
+ // ---------
+
+ // retrieve item's label (of the main column)
+ wxString GetItemText(const wxTreeItemId& item) const
+ { return GetItemText(item, GetMainColumn()); }
+ // retrieves item's label of the given column
+ wxString GetItemText(const wxTreeItemId& item, size_t column) const;
+
+ // get one of the images associated with the item (normal by default)
+ int GetItemImage(const wxTreeItemId& item,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) const
+ { return GetItemImage(item, GetMainColumn(), which); }
+ int GetItemImage(const wxTreeItemId& item, size_t column,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
+
+ // get the data associated with the item
+ wxTreeItemData *GetItemData(const wxTreeItemId& item) const;
+
+ bool GetItemBold(const wxTreeItemId& item) const;
+ wxColour GetItemTextColour(const wxTreeItemId& item) const;
+ wxColour GetItemBackgroundColour(const wxTreeItemId& item) const;
+ wxFont GetItemFont(const wxTreeItemId& item) const;
+
+ // modifiers
+ // ---------
+
+ // set item's label
+ void SetItemText(const wxTreeItemId& item, const wxString& text)
+ { SetItemText(item, GetMainColumn(), text); }
+ void SetItemText(const wxTreeItemId& item, size_t column,
+ const wxString& text);
+
+ // get one of the images associated with the item (normal by default)
+ void SetItemImage(const wxTreeItemId& item, int image,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal)
+ { SetItemImage(item, GetMainColumn(), image, which); }
+ // the which parameter is ignored for all columns but the main one
+ void SetItemImage(const wxTreeItemId& item, size_t column, int image,
+ wxTreeItemIcon which = wxTreeItemIcon_Normal);
+
+ // associate some data with the item
+ void SetItemData(const wxTreeItemId& item, wxTreeItemData *data);
+
+ // force appearance of [+] button near the item. This is useful to
+ // allow the user to expand the items which don't have any children now
+ // - but instead add them only when needed, thus minimizing memory
+ // usage and loading time.
+ void SetItemHasChildren(const wxTreeItemId& item, bool has = TRUE);
+
+ // the item will be shown in bold
+ void SetItemBold(const wxTreeItemId& item, bool bold = TRUE);
+
+ // set the item's text colour
+ void SetItemTextColour(const wxTreeItemId& item, const wxColour& col);
+
+ // set the item's background colour
+ void SetItemBackgroundColour(const wxTreeItemId& item,
+ const wxColour& col);
+
+ // set the item's font (should be of the same height for all items)
+ void SetItemFont(const wxTreeItemId& item, const wxFont& font);
+
+ // set the window font
+ virtual bool SetFont( const wxFont &font );
+
+ // set the styles.
+ void SetWindowStyle(const long styles);
+ long GetWindowStyle() const;
+ long GetWindowStyleFlag() const { return GetWindowStyle(); }
+
+ // item status inquiries
+ // ---------------------
+
+ // is the item visible (it might be outside the view or not expanded)?
+ bool IsVisible(const wxTreeItemId& item) const;
+ // does the item has any children?
+ bool HasChildren(const wxTreeItemId& item) const
+ { return ItemHasChildren(item); }
+ bool ItemHasChildren(const wxTreeItemId& item) const;
+ // is the item expanded (only makes sense if HasChildren())?
+ bool IsExpanded(const wxTreeItemId& item) const;
+ // is this item currently selected (the same as has focus)?
+ bool IsSelected(const wxTreeItemId& item) const;
+ // is item text in bold font?
+ bool IsBold(const wxTreeItemId& item) const;
+ // does the layout include space for a button?
+
+ // number of children
+ // ------------------
+
+ // if 'recursively' is FALSE, only immediate children count, otherwise
+ // the returned number is the number of all items in this branch
+ size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
+
+ // navigation
+ // ----------
+
+ // wxTreeItemId.IsOk() will return FALSE if there is no such item
+
+ // get the root tree item
+ wxTreeItemId GetRootItem() const;
+
+ // get the item currently selected (may return NULL if no selection)
+ wxTreeItemId GetSelection() const;
+
+ // get the items currently selected, return the number of such item
+ size_t GetSelections(wxArrayTreeItemIds&) const;
+
+ // get the parent of this item (may return NULL if root)
+ wxTreeItemId GetParent(const wxTreeItemId& item) const;
+
+ // for this enumeration function you must pass in a "cookie" parameter
+ // which is opaque for the application but is necessary for the library
+ // to make these functions reentrant (i.e. allow more than one
+ // enumeration on one and the same object simultaneously). Of course,
+ // the "cookie" passed to GetFirstChild() and GetNextChild() should be
+ // the same!
+
+ // get the first child of this item
+ wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& cookie) const;
+ // get the next child
+ wxTreeItemId GetNextChild(const wxTreeItemId& item, long& cookie) const;
+ // get the last child of this item - this method doesn't use cookies
+ wxTreeItemId GetLastChild(const wxTreeItemId& item) const;
+
+ // get the next sibling of this item
+ wxTreeItemId GetNextSibling(const wxTreeItemId& item) const;
+ // get the previous sibling
+ wxTreeItemId GetPrevSibling(const wxTreeItemId& item) const;
+
+ // get first visible item
+ wxTreeItemId GetFirstVisibleItem() const;
+ // get the next visible item: item must be visible itself!
+ // see IsVisible() and wxTreeCtrl::GetFirstVisibleItem()
+ wxTreeItemId GetNextVisible(const wxTreeItemId& item) const;
+ // get the previous visible item: item must be visible itself!
+ wxTreeItemId GetPrevVisible(const wxTreeItemId& item) const;
+
+ // Only for internal use right now, but should probably be public
+ wxTreeItemId GetNext(const wxTreeItemId& item) const;
+
+ // operations
+ // ----------
+
+ // add the root node to the tree
+ wxTreeItemId AddRoot(const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item in as the first child of the parent
+ wxTreeItemId PrependItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item after a given one
+ wxTreeItemId InsertItem(const wxTreeItemId& parent,
+ const wxTreeItemId& idPrevious,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item before the one with the given index
+ wxTreeItemId InsertItem(const wxTreeItemId& parent,
+ size_t index,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // insert a new item in as the last child of the parent
+ wxTreeItemId AppendItem(const wxTreeItemId& parent,
+ const wxString& text,
+ int image = -1, int selectedImage = -1,
+ wxTreeItemData *data = NULL);
+
+ // delete this item and associated data if any
+ void Delete(const wxTreeItemId& item);
+ // delete all children (but don't delete the item itself)
+ // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+ void DeleteChildren(const wxTreeItemId& item);
+ // delete all items from the tree
+ // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
+ void DeleteAllItems();
+
+ // expand this item
+ void Expand(const wxTreeItemId& item);
+ // expand this item and all subitems recursively
+ void ExpandAll(const wxTreeItemId& item);
+ // collapse the item without removing its children
+ void Collapse(const wxTreeItemId& item);
+ // collapse the item and remove all children
+ void CollapseAndReset(const wxTreeItemId& item);
+ // toggles the current state
+ void Toggle(const wxTreeItemId& item);
+
+ // remove the selection from currently selected item (if any)
+ void Unselect();
+ void UnselectAll();
+ // select this item
+ void SelectItem(const wxTreeItemId& item, bool unselect_others=TRUE,
+ bool extended_select=FALSE);
+ // make sure this item is visible (expanding the parent item and/or
+ // scrolling to this item if necessary)
+ void EnsureVisible(const wxTreeItemId& item);
+ // scroll to this item (but don't expand its parent)
+ void ScrollTo(const wxTreeItemId& item);
+ //void AdjustMyScrollbars();
+
+ // The first function is more portable (because easier to implement
+ // on other platforms), but the second one returns some extra info.
+ wxTreeItemId HitTest(const wxPoint& point)
+ { int dummy; return HitTest(point, dummy); }
+ wxTreeItemId HitTest(const wxPoint& point, int& flags)
+ { int col; return HitTest(point, flags, col); }
+ wxTreeItemId HitTest(const wxPoint& point, int& flags, int& column);
+
+ // get the bounding rectangle of the item (or of its label only)
+ bool GetBoundingRect(const wxTreeItemId& item,
+ wxRect& rect,
+ bool textOnly = FALSE) const;
+
+ // Start editing the item label: this (temporarily) replaces the item
+ // with a one line edit control. The item will be selected if it hadn't
+ // been before.
+ void EditLabel( const wxTreeItemId& item ) { Edit( item ); }
+ void Edit( const wxTreeItemId& item );
+
+ // sorting
+ // this function is called to compare 2 items and should return -1, 0
+ // or +1 if the first item is less than, equal to or greater than the
+ // second one. The base class version performs alphabetic comparaison
+ // of item labels (GetText)
+ virtual int OnCompareItems(const wxTreeItemId& item1,
+ const wxTreeItemId& item2);
+ // sort the children of this item using OnCompareItems
+ //
+ // NB: this function is not reentrant and not MT-safe (FIXME)!
+ void SortChildren(const wxTreeItemId& item);
+
+ // deprecated functions: use Set/GetItemImage directly
+ // get the selected item image
+ int GetItemSelectedImage(const wxTreeItemId& item) const
+ { return GetItemImage(item, wxTreeItemIcon_Selected); }
+ // set the selected item image
+ void SetItemSelectedImage(const wxTreeItemId& item, int image)
+ { SetItemImage(item, image, wxTreeItemIcon_Selected); }
+
+ // implementation only from now on
+
+ // overridden base class virtuals
+ virtual bool SetBackgroundColour(const wxColour& colour);
+ virtual bool SetForegroundColour(const wxColour& colour);
+
+
+ wxTreeListHeaderWindow* GetHeaderWindow() const
+ { return m_header_win; }
+
+ wxTreeListMainWindow* GetMainWindow() const
+ { return m_main_win; }
+
+
+protected:
+ // header window, responsible for column visualization and manipulation
+ wxTreeListHeaderWindow* m_header_win;
+ // main window, the "true" tree ctrl
+ wxTreeListMainWindow* m_main_win;
+
+ // the common part of all ctors
+ void Init();
+
+ void OnSize(wxSizeEvent& event);
+
+
+private:
+ DECLARE_EVENT_TABLE()
+ DECLARE_DYNAMIC_CLASS(wxTreeListCtrl)
+};
+
+#endif // TREELISTCTRL_H
+
diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas.py b/wxPython/contrib/glcanvas/gtk/glcanvas.py
index 3f0bd13708..1ad92b3818 100644
--- a/wxPython/contrib/glcanvas/gtk/glcanvas.py
+++ b/wxPython/contrib/glcanvas/gtk/glcanvas.py
@@ -54,36 +54,36 @@ class wxGLContextPtr(wxObjectPtr):
except:
pass
def SetCurrent(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetCurrent(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetColour,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetColour(self, *_args, **_kwargs)
return val
def SwapBuffers(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SwapBuffers,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SwapBuffers(self, *_args, **_kwargs)
return val
def SetupPixelFormat(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetupPixelFormat,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetupPixelFormat(self, *_args, **_kwargs)
return val
def SetupPalette(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetupPalette,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetupPalette(self, *_args, **_kwargs)
return val
def CreateDefaultPalette(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_CreateDefaultPalette,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_CreateDefaultPalette(self, *_args, **_kwargs)
if val: val = wxPalettePtr(val) ; val.thisown = 1
return val
def GetPalette(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_GetPalette,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_GetPalette(self, *_args, **_kwargs)
if val: val = wxPalettePtr(val)
return val
def GetWindow(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_GetWindow,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_GetWindow(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxGLContext(wxGLContextPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(glcanvasc.new_wxGLContext,_args,_kwargs)
+ self.this = glcanvasc.new_wxGLContext(*_args,**_kwargs)
self.thisown = 1
@@ -94,30 +94,30 @@ class wxGLCanvasPtr(wxWindowPtr):
self.this = this
self.thisown = 0
def SetCurrent(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetCurrent,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetCurrent(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetColour,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetColour(self, *_args, **_kwargs)
return val
def SwapBuffers(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SwapBuffers,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SwapBuffers(self, *_args, **_kwargs)
return val
def GetContext(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_GetContext,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_GetContext(self, *_args, **_kwargs)
if val: val = wxGLContextPtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxGLCanvas(wxGLCanvasPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(glcanvasc.new_wxGLCanvas,_args,_kwargs)
+ self.this = glcanvasc.new_wxGLCanvas(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
def wxGLCanvasWithContext(*_args,**_kwargs):
- val = wxGLCanvasPtr(apply(glcanvasc.new_wxGLCanvasWithContext,_args,_kwargs))
+ val = wxGLCanvasPtr(glcanvasc.new_wxGLCanvasWithContext(*_args,**_kwargs))
val.thisown = 1
val._setOORInfo(self)
return val
diff --git a/wxPython/contrib/glcanvas/mac/glcanvas.py b/wxPython/contrib/glcanvas/mac/glcanvas.py
index 163eccb7cc..a63c8ac7d3 100644
--- a/wxPython/contrib/glcanvas/mac/glcanvas.py
+++ b/wxPython/contrib/glcanvas/mac/glcanvas.py
@@ -54,19 +54,19 @@ class wxGLContextPtr(wxObjectPtr):
except:
pass
def SetCurrent(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetCurrent(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetColour,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetColour(self, *_args, **_kwargs)
return val
def SwapBuffers(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SwapBuffers,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SwapBuffers(self, *_args, **_kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_GetWindow,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_GetWindow(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxGLContext(wxGLContextPtr):
def __init__(self,this):
self.this = this
@@ -79,30 +79,30 @@ class wxGLCanvasPtr(wxWindowPtr):
self.this = this
self.thisown = 0
def SetCurrent(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetCurrent,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetCurrent(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetColour,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetColour(self, *_args, **_kwargs)
return val
def SwapBuffers(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SwapBuffers,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SwapBuffers(self, *_args, **_kwargs)
return val
def GetContext(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_GetContext,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_GetContext(self, *_args, **_kwargs)
if val: val = wxGLContextPtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxGLCanvas(wxGLCanvasPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(glcanvasc.new_wxGLCanvas,_args,_kwargs)
+ self.this = glcanvasc.new_wxGLCanvas(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
def wxGLCanvasWithContext(*_args,**_kwargs):
- val = wxGLCanvasPtr(apply(glcanvasc.new_wxGLCanvasWithContext,_args,_kwargs))
+ val = wxGLCanvasPtr(glcanvasc.new_wxGLCanvasWithContext(*_args,**_kwargs))
val.thisown = 1
val._setOORInfo(self)
return val
diff --git a/wxPython/contrib/glcanvas/msw/glcanvas.py b/wxPython/contrib/glcanvas/msw/glcanvas.py
index a7b7b8dd67..fa4d7f1c4a 100644
--- a/wxPython/contrib/glcanvas/msw/glcanvas.py
+++ b/wxPython/contrib/glcanvas/msw/glcanvas.py
@@ -54,22 +54,22 @@ class wxGLContextPtr(wxObjectPtr):
except:
pass
def SetCurrent(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetCurrent,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetCurrent(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SetColour,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SetColour(self, *_args, **_kwargs)
return val
def SwapBuffers(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_SwapBuffers,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_SwapBuffers(self, *_args, **_kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLContext_GetWindow,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLContext_GetWindow(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxGLContext instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxGLContext(wxGLContextPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(glcanvasc.new_wxGLContext,_args,_kwargs)
+ self.this = glcanvasc.new_wxGLContext(*_args,**_kwargs)
self.thisown = 1
@@ -80,44 +80,44 @@ class wxGLCanvasPtr(wxWindowPtr):
self.this = this
self.thisown = 0
def SetCurrent(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetCurrent,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetCurrent(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetColour,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetColour(self, *_args, **_kwargs)
return val
def SwapBuffers(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SwapBuffers,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SwapBuffers(self, *_args, **_kwargs)
return val
def GetContext(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_GetContext,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_GetContext(self, *_args, **_kwargs)
if val: val = wxGLContextPtr(val)
return val
def SetupPixelFormat(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetupPixelFormat,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetupPixelFormat(self, *_args, **_kwargs)
return val
def SetupPalette(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_SetupPalette,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_SetupPalette(self, *_args, **_kwargs)
return val
def CreateDefaultPalette(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_CreateDefaultPalette,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_CreateDefaultPalette(self, *_args, **_kwargs)
if val: val = wxPalettePtr(val) ; val.thisown = 1
return val
def GetPalette(self, *_args, **_kwargs):
- val = apply(glcanvasc.wxGLCanvas_GetPalette,(self,) + _args, _kwargs)
+ val = glcanvasc.wxGLCanvas_GetPalette(self, *_args, **_kwargs)
if val: val = wxPalettePtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxGLCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxGLCanvas(wxGLCanvasPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(glcanvasc.new_wxGLCanvas,_args,_kwargs)
+ self.this = glcanvasc.new_wxGLCanvas(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
def wxGLCanvasWithContext(*_args,**_kwargs):
- val = wxGLCanvasPtr(apply(glcanvasc.new_wxGLCanvasWithContext,_args,_kwargs))
+ val = wxGLCanvasPtr(glcanvasc.new_wxGLCanvasWithContext(*_args,**_kwargs))
val.thisown = 1
val._setOORInfo(self)
return val
diff --git a/wxPython/contrib/iewin/iewin.py b/wxPython/contrib/iewin/iewin.py
index 1bc59d7e3a..e6f2b0a9fe 100644
--- a/wxPython/contrib/iewin/iewin.py
+++ b/wxPython/contrib/iewin/iewin.py
@@ -67,19 +67,19 @@ class wxMSHTMLEventPtr(wxNotifyEventPtr):
self.this = this
self.thisown = 0
def GetText1(self, *_args, **_kwargs):
- val = apply(iewinc.wxMSHTMLEvent_GetText1,(self,) + _args, _kwargs)
+ val = iewinc.wxMSHTMLEvent_GetText1(self, *_args, **_kwargs)
return val
def GetLong1(self, *_args, **_kwargs):
- val = apply(iewinc.wxMSHTMLEvent_GetLong1,(self,) + _args, _kwargs)
+ val = iewinc.wxMSHTMLEvent_GetLong1(self, *_args, **_kwargs)
return val
def GetLong2(self, *_args, **_kwargs):
- val = apply(iewinc.wxMSHTMLEvent_GetLong2,(self,) + _args, _kwargs)
+ val = iewinc.wxMSHTMLEvent_GetLong2(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxMSHTMLEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxMSHTMLEvent(wxMSHTMLEventPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(iewinc.new_wxMSHTMLEvent,_args,_kwargs)
+ self.this = iewinc.new_wxMSHTMLEvent(*_args,**_kwargs)
self.thisown = 1
@@ -90,53 +90,53 @@ class wxIEHtmlWinPtr(wxWindowPtr):
self.this = this
self.thisown = 0
def LoadUrl(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_LoadUrl,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_LoadUrl(self, *_args, **_kwargs)
return val
def LoadString(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_LoadString,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_LoadString(self, *_args, **_kwargs)
return val
def LoadStream(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_LoadStream,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_LoadStream(self, *_args, **_kwargs)
return val
def SetCharset(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_SetCharset,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_SetCharset(self, *_args, **_kwargs)
return val
def SetEditMode(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_SetEditMode,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_SetEditMode(self, *_args, **_kwargs)
return val
def GetEditMode(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GetEditMode,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GetEditMode(self, *_args, **_kwargs)
return val
def GetStringSelection(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GetStringSelection,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GetStringSelection(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GetText,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GetText(self, *_args, **_kwargs)
return val
def GoBack(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GoBack,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GoBack(self, *_args, **_kwargs)
return val
def GoForward(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GoForward,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GoForward(self, *_args, **_kwargs)
return val
def GoHome(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GoHome,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GoHome(self, *_args, **_kwargs)
return val
def GoSearch(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_GoSearch,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_GoSearch(self, *_args, **_kwargs)
return val
def RefreshPage(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_RefreshPage,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_RefreshPage(self, *_args, **_kwargs)
return val
def Stop(self, *_args, **_kwargs):
- val = apply(iewinc.wxIEHtmlWin_Stop,(self,) + _args, _kwargs)
+ val = iewinc.wxIEHtmlWin_Stop(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxIEHtmlWin instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
Navigate = LoadUrl
class wxIEHtmlWin(wxIEHtmlWinPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(iewinc.new_wxIEHtmlWin,_args,_kwargs)
+ self.this = iewinc.new_wxIEHtmlWin(*_args,**_kwargs)
self.thisown = 1
diff --git a/wxPython/contrib/ogl/oglbasic.py b/wxPython/contrib/ogl/oglbasic.py
index f9270c70d8..c2ed2695e5 100644
--- a/wxPython/contrib/ogl/oglbasic.py
+++ b/wxPython/contrib/ogl/oglbasic.py
@@ -49,97 +49,97 @@ class wxShapeRegionPtr(wxObjectPtr):
self.this = this
self.thisown = 0
def SetText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetText(self, *_args, **_kwargs)
return val
def SetFont(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetFont,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetFont(self, *_args, **_kwargs)
return val
def SetMinSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetMinSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetMinSize(self, *_args, **_kwargs)
return val
def SetSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetSize(self, *_args, **_kwargs)
return val
def SetPosition(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetPosition,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetPosition(self, *_args, **_kwargs)
return val
def SetProportions(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetProportions,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetProportions(self, *_args, **_kwargs)
return val
def SetFormatMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetFormatMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetFormatMode(self, *_args, **_kwargs)
return val
def SetName(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetName,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetName(self, *_args, **_kwargs)
return val
def SetColour(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetColour,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetColour(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetText(self, *_args, **_kwargs)
return val
def GetFont(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetFont,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetFont(self, *_args, **_kwargs)
if val: val = wxFontPtr(val)
return val
def GetMinSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetMinSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetMinSize(self, *_args, **_kwargs)
return val
def GetProportion(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetProportion,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetProportion(self, *_args, **_kwargs)
return val
def GetSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetSize(self, *_args, **_kwargs)
return val
def GetPosition(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetPosition,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetPosition(self, *_args, **_kwargs)
return val
def GetFormatMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetFormatMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetFormatMode(self, *_args, **_kwargs)
return val
def GetName(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetName,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetName(self, *_args, **_kwargs)
return val
def GetColour(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetColour,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetColour(self, *_args, **_kwargs)
return val
def GetActualColourObject(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetActualColourObject,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetActualColourObject(self, *_args, **_kwargs)
if val: val = wxColourPtr(val)
return val
def GetFormattedText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetFormattedText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetFormattedText(self, *_args, **_kwargs)
return val
def GetPenColour(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetPenColour,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetPenColour(self, *_args, **_kwargs)
return val
def GetPenStyle(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetPenStyle,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetPenStyle(self, *_args, **_kwargs)
return val
def SetPenStyle(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetPenStyle,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetPenStyle(self, *_args, **_kwargs)
return val
def SetPenColour(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_SetPenColour,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_SetPenColour(self, *_args, **_kwargs)
return val
def GetActualPen(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetActualPen,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetActualPen(self, *_args, **_kwargs)
if val: val = wxPenPtr(val)
return val
def GetWidth(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetWidth,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetWidth(self, *_args, **_kwargs)
return val
def GetHeight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_GetHeight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_GetHeight(self, *_args, **_kwargs)
return val
def ClearText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxShapeRegion_ClearText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxShapeRegion_ClearText(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxShapeRegion instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxShapeRegion(wxShapeRegionPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglbasicc.new_wxShapeRegion,_args,_kwargs)
+ self.this = oglbasicc.new_wxShapeRegion(*_args,**_kwargs)
self.thisown = 1
@@ -150,121 +150,121 @@ class wxPyShapeEvtHandlerPtr(wxObjectPtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler__setCallbackInfo(self, *_args, **_kwargs)
return val
def Destroy(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_Destroy,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_Destroy(self, *_args, **_kwargs)
return val
def _setOORInfo(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler__setOORInfo,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler__setOORInfo(self, *_args, **_kwargs)
return val
def SetShape(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_SetShape,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_SetShape(self, *_args, **_kwargs)
return val
def GetShape(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_GetShape,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_GetShape(self, *_args, **_kwargs)
return val
def SetPreviousHandler(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_SetPreviousHandler,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_SetPreviousHandler(self, *_args, **_kwargs)
return val
def GetPreviousHandler(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_GetPreviousHandler,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_GetPreviousHandler(self, *_args, **_kwargs)
return val
def CreateNewCopy(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_CreateNewCopy,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_CreateNewCopy(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnErase,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShapeEvtHandler_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShapeEvtHandler_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyShapeEvtHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyShapeEvtHandler(wxPyShapeEvtHandlerPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglbasicc.new_wxPyShapeEvtHandler,_args,_kwargs)
+ self.this = oglbasicc.new_wxPyShapeEvtHandler(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyShapeEvtHandler)
self._setOORInfo(self)
@@ -277,506 +277,506 @@ class wxPyShapePtr(wxPyShapeEvtHandlerPtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def GetBoundingBoxMax(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBoundingBoxMax,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBoundingBoxMax(self, *_args, **_kwargs)
return val
def GetBoundingBoxMin(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBoundingBoxMin,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBoundingBoxMin(self, *_args, **_kwargs)
return val
def GetPerimeterPoint(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetPerimeterPoint,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetPerimeterPoint(self, *_args, **_kwargs)
return val
def GetCanvas(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetCanvas,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetCanvas(self, *_args, **_kwargs)
return val
def SetCanvas(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetCanvas,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetCanvas(self, *_args, **_kwargs)
return val
def AddToCanvas(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AddToCanvas,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AddToCanvas(self, *_args, **_kwargs)
return val
def InsertInCanvas(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_InsertInCanvas,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_InsertInCanvas(self, *_args, **_kwargs)
return val
def RemoveFromCanvas(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_RemoveFromCanvas,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_RemoveFromCanvas(self, *_args, **_kwargs)
return val
def GetX(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetX,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetX(self, *_args, **_kwargs)
return val
def GetY(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetY,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetY(self, *_args, **_kwargs)
return val
def SetX(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetX,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetX(self, *_args, **_kwargs)
return val
def SetY(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetY,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetY(self, *_args, **_kwargs)
return val
def GetParent(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetParent,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetParent(self, *_args, **_kwargs)
return val
def SetParent(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetParent,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetParent(self, *_args, **_kwargs)
return val
def GetTopAncestor(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetTopAncestor,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetTopAncestor(self, *_args, **_kwargs)
return val
def GetChildren(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetChildren,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetChildren(self, *_args, **_kwargs)
return val
def Unlink(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Unlink,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Unlink(self, *_args, **_kwargs)
return val
def SetDrawHandles(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetDrawHandles,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetDrawHandles(self, *_args, **_kwargs)
return val
def GetDrawHandles(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetDrawHandles,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetDrawHandles(self, *_args, **_kwargs)
return val
def MakeControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_MakeControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_MakeControlPoints(self, *_args, **_kwargs)
return val
def DeleteControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_DeleteControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_DeleteControlPoints(self, *_args, **_kwargs)
return val
def ResetControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ResetControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ResetControlPoints(self, *_args, **_kwargs)
return val
def GetEventHandler(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetEventHandler,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetEventHandler(self, *_args, **_kwargs)
return val
def SetEventHandler(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetEventHandler,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetEventHandler(self, *_args, **_kwargs)
return val
def MakeMandatoryControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_MakeMandatoryControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_MakeMandatoryControlPoints(self, *_args, **_kwargs)
return val
def ResetMandatoryControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ResetMandatoryControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ResetMandatoryControlPoints(self, *_args, **_kwargs)
return val
def Recompute(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Recompute,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Recompute(self, *_args, **_kwargs)
return val
def CalculateSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_CalculateSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_CalculateSize(self, *_args, **_kwargs)
return val
def Select(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Select,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Select(self, *_args, **_kwargs)
return val
def SetHighlight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetHighlight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetHighlight(self, *_args, **_kwargs)
return val
def IsHighlighted(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_IsHighlighted,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_IsHighlighted(self, *_args, **_kwargs)
return val
def Selected(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Selected,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Selected(self, *_args, **_kwargs)
return val
def AncestorSelected(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AncestorSelected,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AncestorSelected(self, *_args, **_kwargs)
return val
def SetSensitivityFilter(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetSensitivityFilter,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetSensitivityFilter(self, *_args, **_kwargs)
return val
def GetSensitivityFilter(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetSensitivityFilter,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetSensitivityFilter(self, *_args, **_kwargs)
return val
def SetDraggable(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetDraggable,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetDraggable(self, *_args, **_kwargs)
return val
def SetFixedSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetFixedSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetFixedSize(self, *_args, **_kwargs)
return val
def GetFixedSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetFixedSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetFixedSize(self, *_args, **_kwargs)
return val
def GetFixedWidth(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetFixedWidth,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetFixedWidth(self, *_args, **_kwargs)
return val
def GetFixedHeight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetFixedHeight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetFixedHeight(self, *_args, **_kwargs)
return val
def SetSpaceAttachments(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetSpaceAttachments,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetSpaceAttachments(self, *_args, **_kwargs)
return val
def GetSpaceAttachments(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetSpaceAttachments,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetSpaceAttachments(self, *_args, **_kwargs)
return val
def SetShadowMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetShadowMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetShadowMode(self, *_args, **_kwargs)
return val
def GetShadowMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetShadowMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetShadowMode(self, *_args, **_kwargs)
return val
def HitTest(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_HitTest,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_HitTest(self, *_args, **_kwargs)
return val
def SetCentreResize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetCentreResize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetCentreResize(self, *_args, **_kwargs)
return val
def GetCentreResize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetCentreResize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetCentreResize(self, *_args, **_kwargs)
return val
def SetMaintainAspectRatio(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetMaintainAspectRatio,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetMaintainAspectRatio(self, *_args, **_kwargs)
return val
def GetMaintainAspectRatio(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetMaintainAspectRatio,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetMaintainAspectRatio(self, *_args, **_kwargs)
return val
def GetLines(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetLines,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetLines(self, *_args, **_kwargs)
return val
def SetDisableLabel(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetDisableLabel,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetDisableLabel(self, *_args, **_kwargs)
return val
def GetDisableLabel(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetDisableLabel,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetDisableLabel(self, *_args, **_kwargs)
return val
def SetAttachmentMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetAttachmentMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetAttachmentMode(self, *_args, **_kwargs)
return val
def GetAttachmentMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetAttachmentMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetAttachmentMode(self, *_args, **_kwargs)
return val
def SetId(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetId,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetId(self, *_args, **_kwargs)
return val
def GetId(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetId,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetId(self, *_args, **_kwargs)
return val
def SetPen(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetPen,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetPen(self, *_args, **_kwargs)
return val
def SetBrush(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetBrush,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetBrush(self, *_args, **_kwargs)
return val
def Show(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Show,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Show(self, *_args, **_kwargs)
return val
def IsShown(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_IsShown,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_IsShown(self, *_args, **_kwargs)
return val
def Move(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Move,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Move(self, *_args, **_kwargs)
return val
def Erase(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Erase,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Erase(self, *_args, **_kwargs)
return val
def EraseContents(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_EraseContents,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_EraseContents(self, *_args, **_kwargs)
return val
def Draw(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Draw,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Draw(self, *_args, **_kwargs)
return val
def Flash(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Flash,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Flash(self, *_args, **_kwargs)
return val
def MoveLinks(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_MoveLinks,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_MoveLinks(self, *_args, **_kwargs)
return val
def DrawContents(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_DrawContents,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_DrawContents(self, *_args, **_kwargs)
return val
def SetSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetSize(self, *_args, **_kwargs)
return val
def SetAttachmentSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetAttachmentSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetAttachmentSize(self, *_args, **_kwargs)
return val
def Attach(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Attach,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Attach(self, *_args, **_kwargs)
return val
def Detach(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Detach,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Detach(self, *_args, **_kwargs)
return val
def Constrain(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Constrain,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Constrain(self, *_args, **_kwargs)
return val
def AddLine(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AddLine,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AddLine(self, *_args, **_kwargs)
return val
def GetLinePosition(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetLinePosition,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetLinePosition(self, *_args, **_kwargs)
return val
def AddText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AddText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AddText(self, *_args, **_kwargs)
return val
def GetPen(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetPen,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetPen(self, *_args, **_kwargs)
if val: val = wxPenPtr(val)
return val
def GetBrush(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBrush,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBrush(self, *_args, **_kwargs)
if val: val = wxBrushPtr(val)
return val
def SetDefaultRegionSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetDefaultRegionSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetDefaultRegionSize(self, *_args, **_kwargs)
return val
def FormatText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_FormatText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_FormatText(self, *_args, **_kwargs)
return val
def SetFormatMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetFormatMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetFormatMode(self, *_args, **_kwargs)
return val
def GetFormatMode(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetFormatMode,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetFormatMode(self, *_args, **_kwargs)
return val
def SetFont(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetFont,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetFont(self, *_args, **_kwargs)
return val
def GetFont(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetFont,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetFont(self, *_args, **_kwargs)
if val: val = wxFontPtr(val)
return val
def SetTextColour(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetTextColour,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetTextColour(self, *_args, **_kwargs)
return val
def GetTextColour(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetTextColour,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetTextColour(self, *_args, **_kwargs)
return val
def GetNumberOfTextRegions(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetNumberOfTextRegions,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetNumberOfTextRegions(self, *_args, **_kwargs)
return val
def SetRegionName(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetRegionName,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetRegionName(self, *_args, **_kwargs)
return val
def GetRegionName(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetRegionName,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetRegionName(self, *_args, **_kwargs)
return val
def GetRegionId(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetRegionId,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetRegionId(self, *_args, **_kwargs)
return val
def NameRegions(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_NameRegions,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_NameRegions(self, *_args, **_kwargs)
return val
def GetRegions(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetRegions,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetRegions(self, *_args, **_kwargs)
return val
def AddRegion(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AddRegion,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AddRegion(self, *_args, **_kwargs)
return val
def ClearRegions(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ClearRegions,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ClearRegions(self, *_args, **_kwargs)
return val
def AssignNewIds(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AssignNewIds,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AssignNewIds(self, *_args, **_kwargs)
return val
def FindRegion(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_FindRegion,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_FindRegion(self, *_args, **_kwargs)
return val
def FindRegionNames(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_FindRegionNames,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_FindRegionNames(self, *_args, **_kwargs)
return val
def ClearText(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ClearText,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ClearText(self, *_args, **_kwargs)
return val
def RemoveLine(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_RemoveLine,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_RemoveLine(self, *_args, **_kwargs)
return val
def GetAttachmentPosition(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetAttachmentPosition,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetAttachmentPosition(self, *_args, **_kwargs)
return val
def GetNumberOfAttachments(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetNumberOfAttachments,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetNumberOfAttachments(self, *_args, **_kwargs)
return val
def AttachmentIsValid(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AttachmentIsValid,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AttachmentIsValid(self, *_args, **_kwargs)
return val
def GetAttachmentPositionEdge(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetAttachmentPositionEdge,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetAttachmentPositionEdge(self, *_args, **_kwargs)
return val
def CalcSimpleAttachment(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_CalcSimpleAttachment,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_CalcSimpleAttachment(self, *_args, **_kwargs)
if val: val = wxRealPointPtr(val) ; val.thisown = 1
return val
def AttachmentSortTest(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_AttachmentSortTest,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_AttachmentSortTest(self, *_args, **_kwargs)
return val
def EraseLinks(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_EraseLinks,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_EraseLinks(self, *_args, **_kwargs)
return val
def DrawLinks(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_DrawLinks,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_DrawLinks(self, *_args, **_kwargs)
return val
def MoveLineToNewAttachment(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_MoveLineToNewAttachment,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_MoveLineToNewAttachment(self, *_args, **_kwargs)
return val
def ApplyAttachmentOrdering(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ApplyAttachmentOrdering,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ApplyAttachmentOrdering(self, *_args, **_kwargs)
return val
def GetBranchingAttachmentRoot(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchingAttachmentRoot,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchingAttachmentRoot(self, *_args, **_kwargs)
if val: val = wxRealPointPtr(val) ; val.thisown = 1
return val
def GetBranchingAttachmentInfo(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchingAttachmentInfo,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchingAttachmentInfo(self, *_args, **_kwargs)
return val
def GetBranchingAttachmentPoint(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchingAttachmentPoint,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchingAttachmentPoint(self, *_args, **_kwargs)
return val
def GetAttachmentLineCount(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetAttachmentLineCount,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetAttachmentLineCount(self, *_args, **_kwargs)
return val
def SetBranchNeckLength(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetBranchNeckLength,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetBranchNeckLength(self, *_args, **_kwargs)
return val
def GetBranchNeckLength(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchNeckLength,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchNeckLength(self, *_args, **_kwargs)
return val
def SetBranchStemLength(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetBranchStemLength,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetBranchStemLength(self, *_args, **_kwargs)
return val
def GetBranchStemLength(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchStemLength,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchStemLength(self, *_args, **_kwargs)
return val
def SetBranchSpacing(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetBranchSpacing,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetBranchSpacing(self, *_args, **_kwargs)
return val
def GetBranchSpacing(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchSpacing,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchSpacing(self, *_args, **_kwargs)
return val
def SetBranchStyle(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_SetBranchStyle,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_SetBranchStyle(self, *_args, **_kwargs)
return val
def GetBranchStyle(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBranchStyle,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBranchStyle(self, *_args, **_kwargs)
return val
def PhysicalToLogicalAttachment(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_PhysicalToLogicalAttachment,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_PhysicalToLogicalAttachment(self, *_args, **_kwargs)
return val
def LogicalToPhysicalAttachment(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_LogicalToPhysicalAttachment,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_LogicalToPhysicalAttachment(self, *_args, **_kwargs)
return val
def Draggable(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Draggable,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Draggable(self, *_args, **_kwargs)
return val
def HasDescendant(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_HasDescendant,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_HasDescendant(self, *_args, **_kwargs)
return val
def CreateNewCopy(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_CreateNewCopy,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_CreateNewCopy(self, *_args, **_kwargs)
return val
def Copy(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Copy,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Copy(self, *_args, **_kwargs)
return val
def CopyWithHandler(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_CopyWithHandler,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_CopyWithHandler(self, *_args, **_kwargs)
return val
def Rotate(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Rotate,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Rotate(self, *_args, **_kwargs)
return val
def GetRotation(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetRotation,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetRotation(self, *_args, **_kwargs)
return val
def ClearAttachments(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ClearAttachments,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ClearAttachments(self, *_args, **_kwargs)
return val
def Recentre(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_Recentre,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_Recentre(self, *_args, **_kwargs)
return val
def ClearPointList(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_ClearPointList,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_ClearPointList(self, *_args, **_kwargs)
return val
def GetBackgroundPen(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBackgroundPen,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBackgroundPen(self, *_args, **_kwargs)
if val: val = wxPenPtr(val) ; val.thisown = 1
return val
def GetBackgroundBrush(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_GetBackgroundBrush,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_GetBackgroundBrush(self, *_args, **_kwargs)
if val: val = wxBrushPtr(val) ; val.thisown = 1
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglbasicc.wxPyShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglbasicc.wxPyShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
def SetClientData(self, data):
self.clientData = data
diff --git a/wxPython/contrib/ogl/oglcanvas.py b/wxPython/contrib/ogl/oglcanvas.py
index 6a6a7459bd..652eba725a 100644
--- a/wxPython/contrib/ogl/oglcanvas.py
+++ b/wxPython/contrib/ogl/oglcanvas.py
@@ -50,82 +50,82 @@ class wxDiagramPtr(wxObjectPtr):
self.this = this
self.thisown = 0
def AddShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_AddShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_AddShape(self, *_args, **_kwargs)
return val
def Clear(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_Clear,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_Clear(self, *_args, **_kwargs)
return val
def DeleteAllShapes(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_DeleteAllShapes,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_DeleteAllShapes(self, *_args, **_kwargs)
return val
def DrawOutline(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_DrawOutline,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_DrawOutline(self, *_args, **_kwargs)
return val
def FindShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_FindShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_FindShape(self, *_args, **_kwargs)
return val
def GetCanvas(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetCanvas,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetCanvas(self, *_args, **_kwargs)
return val
def GetCount(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetCount,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetCount(self, *_args, **_kwargs)
return val
def GetGridSpacing(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetGridSpacing,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetGridSpacing(self, *_args, **_kwargs)
return val
def GetMouseTolerance(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetMouseTolerance,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetMouseTolerance(self, *_args, **_kwargs)
return val
def GetShapeList(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetShapeList,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetShapeList(self, *_args, **_kwargs)
return val
def GetQuickEditMode(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetQuickEditMode,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetQuickEditMode(self, *_args, **_kwargs)
return val
def GetSnapToGrid(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_GetSnapToGrid,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_GetSnapToGrid(self, *_args, **_kwargs)
return val
def InsertShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_InsertShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_InsertShape(self, *_args, **_kwargs)
return val
def RecentreAll(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_RecentreAll,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_RecentreAll(self, *_args, **_kwargs)
return val
def Redraw(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_Redraw,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_Redraw(self, *_args, **_kwargs)
return val
def RemoveAllShapes(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_RemoveAllShapes,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_RemoveAllShapes(self, *_args, **_kwargs)
return val
def RemoveShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_RemoveShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_RemoveShape(self, *_args, **_kwargs)
return val
def SetCanvas(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_SetCanvas,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_SetCanvas(self, *_args, **_kwargs)
return val
def SetGridSpacing(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_SetGridSpacing,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_SetGridSpacing(self, *_args, **_kwargs)
return val
def SetMouseTolerance(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_SetMouseTolerance,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_SetMouseTolerance(self, *_args, **_kwargs)
return val
def SetQuickEditMode(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_SetQuickEditMode,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_SetQuickEditMode(self, *_args, **_kwargs)
return val
def SetSnapToGrid(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_SetSnapToGrid,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_SetSnapToGrid(self, *_args, **_kwargs)
return val
def ShowAll(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_ShowAll,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_ShowAll(self, *_args, **_kwargs)
return val
def Snap(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxDiagram_Snap,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxDiagram_Snap(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxDiagram instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxDiagram(wxDiagramPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglcanvasc.new_wxDiagram,_args,_kwargs)
+ self.this = oglcanvasc.new_wxDiagram(*_args,**_kwargs)
self.thisown = 1
@@ -136,71 +136,71 @@ class wxPyShapeCanvasPtr(wxScrolledWindowPtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas__setCallbackInfo(self, *_args, **_kwargs)
return val
def AddShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_AddShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_AddShape(self, *_args, **_kwargs)
return val
def FindShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_FindShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_FindShape(self, *_args, **_kwargs)
return val
def FindFirstSensitiveShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_FindFirstSensitiveShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_FindFirstSensitiveShape(self, *_args, **_kwargs)
return val
def GetDiagram(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_GetDiagram,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_GetDiagram(self, *_args, **_kwargs)
return val
def GetQuickEditMode(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_GetQuickEditMode,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_GetQuickEditMode(self, *_args, **_kwargs)
return val
def InsertShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_InsertShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_InsertShape(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_base_OnRightClick(self, *_args, **_kwargs)
return val
def Redraw(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_Redraw,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_Redraw(self, *_args, **_kwargs)
return val
def RemoveShape(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_RemoveShape,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_RemoveShape(self, *_args, **_kwargs)
return val
def SetDiagram(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_SetDiagram,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_SetDiagram(self, *_args, **_kwargs)
return val
def Snap(self, *_args, **_kwargs):
- val = apply(oglcanvasc.wxPyShapeCanvas_Snap,(self,) + _args, _kwargs)
+ val = oglcanvasc.wxPyShapeCanvas_Snap(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyShapeCanvas instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
def GetShapeList(self):
return self.GetDiagram().GetShapeList()
class wxPyShapeCanvas(wxPyShapeCanvasPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglcanvasc.new_wxPyShapeCanvas,_args,_kwargs)
+ self.this = oglcanvasc.new_wxPyShapeCanvas(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyShapeCanvas)
self._setOORInfo(self)
diff --git a/wxPython/contrib/ogl/oglhelpers.h b/wxPython/contrib/ogl/oglhelpers.h
index 010e72e0a0..d5c9281858 100644
--- a/wxPython/contrib/ogl/oglhelpers.h
+++ b/wxPython/contrib/ogl/oglhelpers.h
@@ -54,8 +54,7 @@
DEC_PYCALLBACK__WXCP2DBL2INT (OnSizingEndDragLeft); \
DEC_PYCALLBACK__2DBL (OnBeginSize); \
DEC_PYCALLBACK__2DBL (OnEndSize); \
- \
- PYPRIVATE;
+ PYPRIVATE
#define WXSHAPE_IMP_CALLBACKS(CLASS, PARENT) \
@@ -87,7 +86,7 @@
IMP_PYCALLBACK__WXCP2DBL2INT (CLASS, PARENT, OnSizingBeginDragLeft);\
IMP_PYCALLBACK__WXCP2DBL2INT (CLASS, PARENT, OnSizingEndDragLeft); \
IMP_PYCALLBACK__2DBL (CLASS, PARENT, OnBeginSize); \
- IMP_PYCALLBACK__2DBL (CLASS, PARENT, OnEndSize); \
+ IMP_PYCALLBACK__2DBL (CLASS, PARENT, OnEndSize)
// This one may be difficult...
diff --git a/wxPython/contrib/ogl/oglshapes.py b/wxPython/contrib/ogl/oglshapes.py
index 4090867d08..1cbd1eeb8f 100644
--- a/wxPython/contrib/ogl/oglshapes.py
+++ b/wxPython/contrib/ogl/oglshapes.py
@@ -56,129 +56,129 @@ class wxPseudoMetaFilePtr(wxObjectPtr):
except:
pass
def Draw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_Draw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_Draw(self, *_args, **_kwargs)
return val
def Clear(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_Clear,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_Clear(self, *_args, **_kwargs)
return val
def Copy(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_Copy,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_Copy(self, *_args, **_kwargs)
return val
def Scale(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_Scale,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_Scale(self, *_args, **_kwargs)
return val
def ScaleTo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_ScaleTo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_ScaleTo(self, *_args, **_kwargs)
return val
def Translate(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_Translate,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_Translate(self, *_args, **_kwargs)
return val
def Rotate(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_Rotate,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_Rotate(self, *_args, **_kwargs)
return val
def LoadFromMetaFile(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_LoadFromMetaFile,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_LoadFromMetaFile(self, *_args, **_kwargs)
return val
def GetBounds(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_GetBounds,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_GetBounds(self, *_args, **_kwargs)
return val
def CalculateSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_CalculateSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_CalculateSize(self, *_args, **_kwargs)
return val
def SetRotateable(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetRotateable,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetRotateable(self, *_args, **_kwargs)
return val
def GetRotateable(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_GetRotateable,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_GetRotateable(self, *_args, **_kwargs)
return val
def SetSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetSize(self, *_args, **_kwargs)
return val
def SetFillBrush(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetFillBrush,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetFillBrush(self, *_args, **_kwargs)
return val
def GetFillBrush(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_GetFillBrush,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_GetFillBrush(self, *_args, **_kwargs)
if val: val = wxBrushPtr(val)
return val
def SetOutlinePen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetOutlinePen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetOutlinePen(self, *_args, **_kwargs)
return val
def GetOutlinePen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_GetOutlinePen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_GetOutlinePen(self, *_args, **_kwargs)
if val: val = wxPenPtr(val)
return val
def SetOutlineOp(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetOutlineOp,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetOutlineOp(self, *_args, **_kwargs)
return val
def GetOutlineOp(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_GetOutlineOp,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_GetOutlineOp(self, *_args, **_kwargs)
return val
def IsValid(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_IsValid,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_IsValid(self, *_args, **_kwargs)
return val
def DrawLine(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawLine,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawLine(self, *_args, **_kwargs)
return val
def DrawRectangle(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawRectangle,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawRectangle(self, *_args, **_kwargs)
return val
def DrawRoundedRectangle(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawRoundedRectangle,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawRoundedRectangle(self, *_args, **_kwargs)
return val
def DrawArc(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawArc,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawArc(self, *_args, **_kwargs)
return val
def DrawEllipticArc(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawEllipticArc,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawEllipticArc(self, *_args, **_kwargs)
return val
def DrawEllipse(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawEllipse,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawEllipse(self, *_args, **_kwargs)
return val
def DrawPoint(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawPoint,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawPoint(self, *_args, **_kwargs)
return val
def DrawText(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawText,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawText(self, *_args, **_kwargs)
return val
def DrawLines(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawLines,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawLines(self, *_args, **_kwargs)
return val
def DrawPolygon(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawPolygon,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawPolygon(self, *_args, **_kwargs)
return val
def DrawSpline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DrawSpline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DrawSpline(self, *_args, **_kwargs)
return val
def SetClippingRect(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetClippingRect,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetClippingRect(self, *_args, **_kwargs)
return val
def DestroyClippingRect(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_DestroyClippingRect,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_DestroyClippingRect(self, *_args, **_kwargs)
return val
def SetPen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetPen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetPen(self, *_args, **_kwargs)
return val
def SetBrush(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetBrush,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetBrush(self, *_args, **_kwargs)
return val
def SetFont(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetFont,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetFont(self, *_args, **_kwargs)
return val
def SetTextColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetTextColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetTextColour(self, *_args, **_kwargs)
return val
def SetBackgroundColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetBackgroundColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetBackgroundColour(self, *_args, **_kwargs)
return val
def SetBackgroundMode(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPseudoMetaFile_SetBackgroundMode,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPseudoMetaFile_SetBackgroundMode(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPseudoMetaFile instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPseudoMetaFile(wxPseudoMetaFilePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPseudoMetaFile,_args,_kwargs)
+ self.this = oglshapesc.new_wxPseudoMetaFile(*_args,**_kwargs)
self.thisown = 1
@@ -189,103 +189,103 @@ class wxPyRectangleShapePtr(wxPyShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def SetCornerRadius(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_SetCornerRadius,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_SetCornerRadius(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyRectangleShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyRectangleShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyRectangleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyRectangleShape(wxPyRectangleShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyRectangleShape,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyRectangleShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyRectangleShape)
self._setOORInfo(self)
@@ -298,103 +298,103 @@ class wxPyControlPointPtr(wxPyRectangleShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint__setCallbackInfo(self, *_args, **_kwargs)
return val
def SetCornerRadius(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_SetCornerRadius,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_SetCornerRadius(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyControlPoint_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyControlPoint_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyControlPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyControlPoint(wxPyControlPointPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyControlPoint,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyControlPoint(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyControlPoint)
self._setOORInfo(self)
@@ -407,113 +407,113 @@ class wxPyBitmapShapePtr(wxPyRectangleShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def GetBitmap(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_GetBitmap,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_GetBitmap(self, *_args, **_kwargs)
if val: val = wxBitmapPtr(val)
return val
def GetFilename(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_GetFilename,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_GetFilename(self, *_args, **_kwargs)
return val
def SetBitmap(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_SetBitmap,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_SetBitmap(self, *_args, **_kwargs)
return val
def SetFilename(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_SetFilename,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_SetFilename(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyBitmapShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyBitmapShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyBitmapShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyBitmapShape(wxPyBitmapShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyBitmapShape,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyBitmapShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyBitmapShape)
self._setOORInfo(self)
@@ -526,184 +526,184 @@ class wxPyDrawnShapePtr(wxPyRectangleShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def CalculateSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_CalculateSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_CalculateSize(self, *_args, **_kwargs)
return val
def DestroyClippingRect(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DestroyClippingRect,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DestroyClippingRect(self, *_args, **_kwargs)
return val
def DrawArc(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawArc,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawArc(self, *_args, **_kwargs)
return val
def DrawAtAngle(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawAtAngle,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawAtAngle(self, *_args, **_kwargs)
return val
def DrawEllipticArc(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawEllipticArc,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawEllipticArc(self, *_args, **_kwargs)
return val
def DrawLine(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawLine,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawLine(self, *_args, **_kwargs)
return val
def DrawLines(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawLines,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawLines(self, *_args, **_kwargs)
return val
def DrawPoint(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawPoint,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawPoint(self, *_args, **_kwargs)
return val
def DrawPolygon(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawPolygon,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawPolygon(self, *_args, **_kwargs)
return val
def DrawRectangle(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawRectangle,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawRectangle(self, *_args, **_kwargs)
return val
def DrawRoundedRectangle(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawRoundedRectangle,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawRoundedRectangle(self, *_args, **_kwargs)
return val
def DrawSpline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawSpline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawSpline(self, *_args, **_kwargs)
return val
def DrawText(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_DrawText,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_DrawText(self, *_args, **_kwargs)
return val
def GetAngle(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_GetAngle,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_GetAngle(self, *_args, **_kwargs)
return val
def GetMetaFile(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_GetMetaFile,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_GetMetaFile(self, *_args, **_kwargs)
return val
def GetRotation(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_GetRotation,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_GetRotation(self, *_args, **_kwargs)
return val
def LoadFromMetaFile(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_LoadFromMetaFile,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_LoadFromMetaFile(self, *_args, **_kwargs)
return val
def Rotate(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_Rotate,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_Rotate(self, *_args, **_kwargs)
return val
def SetClippingRect(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetClippingRect,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetClippingRect(self, *_args, **_kwargs)
return val
def SetDrawnBackgroundColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetDrawnBackgroundColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetDrawnBackgroundColour(self, *_args, **_kwargs)
return val
def SetDrawnBackgroundMode(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetDrawnBackgroundMode,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetDrawnBackgroundMode(self, *_args, **_kwargs)
return val
def SetDrawnBrush(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetDrawnBrush,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetDrawnBrush(self, *_args, **_kwargs)
return val
def SetDrawnFont(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetDrawnFont,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetDrawnFont(self, *_args, **_kwargs)
return val
def SetDrawnPen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetDrawnPen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetDrawnPen(self, *_args, **_kwargs)
return val
def SetDrawnTextColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetDrawnTextColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetDrawnTextColour(self, *_args, **_kwargs)
return val
def Scale(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_Scale,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_Scale(self, *_args, **_kwargs)
return val
def SetSaveToFile(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_SetSaveToFile,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_SetSaveToFile(self, *_args, **_kwargs)
return val
def Translate(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_Translate,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_Translate(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDrawnShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDrawnShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyDrawnShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyDrawnShape(wxPyDrawnShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyDrawnShape,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyDrawnShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyDrawnShape)
self._setOORInfo(self)
@@ -716,19 +716,19 @@ class wxOGLConstraintPtr(wxObjectPtr):
self.this = this
self.thisown = 0
def Evaluate(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxOGLConstraint_Evaluate,(self,) + _args, _kwargs)
+ val = oglshapesc.wxOGLConstraint_Evaluate(self, *_args, **_kwargs)
return val
def SetSpacing(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxOGLConstraint_SetSpacing,(self,) + _args, _kwargs)
+ val = oglshapesc.wxOGLConstraint_SetSpacing(self, *_args, **_kwargs)
return val
def Equals(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxOGLConstraint_Equals,(self,) + _args, _kwargs)
+ val = oglshapesc.wxOGLConstraint_Equals(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxOGLConstraint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxOGLConstraint(wxOGLConstraintPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxOGLConstraint,_args,_kwargs)
+ self.this = oglshapesc.new_wxOGLConstraint(*_args,**_kwargs)
self.thisown = 1
@@ -739,142 +739,142 @@ class wxPyCompositeShapePtr(wxPyRectangleShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def AddChild(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_AddChild,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_AddChild(self, *_args, **_kwargs)
return val
def AddConstraint(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_AddConstraint,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_AddConstraint(self, *_args, **_kwargs)
return val
def AddConstrainedShapes(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_AddConstrainedShapes,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_AddConstrainedShapes(self, *_args, **_kwargs)
return val
def AddSimpleConstraint(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_AddSimpleConstraint,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_AddSimpleConstraint(self, *_args, **_kwargs)
return val
def CalculateSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_CalculateSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_CalculateSize(self, *_args, **_kwargs)
return val
def ContainsDivision(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_ContainsDivision,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_ContainsDivision(self, *_args, **_kwargs)
return val
def DeleteConstraint(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_DeleteConstraint,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_DeleteConstraint(self, *_args, **_kwargs)
return val
def DeleteConstraintsInvolvingChild(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_DeleteConstraintsInvolvingChild,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_DeleteConstraintsInvolvingChild(self, *_args, **_kwargs)
return val
def FindContainerImage(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_FindContainerImage,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_FindContainerImage(self, *_args, **_kwargs)
return val
def GetConstraints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_GetConstraints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_GetConstraints(self, *_args, **_kwargs)
return val
def GetDivisions(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_GetDivisions,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_GetDivisions(self, *_args, **_kwargs)
return val
def MakeContainer(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_MakeContainer,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_MakeContainer(self, *_args, **_kwargs)
return val
def Recompute(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_Recompute,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_Recompute(self, *_args, **_kwargs)
return val
def RemoveChild(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_RemoveChild,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_RemoveChild(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyCompositeShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyCompositeShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyCompositeShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyCompositeShape(wxPyCompositeShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyCompositeShape,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyCompositeShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyCompositeShape)
self._setOORInfo(self)
@@ -887,106 +887,106 @@ class wxPyDividedShapePtr(wxPyRectangleShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def EditRegions(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_EditRegions,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_EditRegions(self, *_args, **_kwargs)
return val
def SetRegionSizes(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_SetRegionSizes,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_SetRegionSizes(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDividedShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDividedShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyDividedShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyDividedShape(wxPyDividedShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyDividedShape,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyDividedShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyDividedShape)
self._setOORInfo(self)
@@ -999,177 +999,177 @@ class wxPyDivisionShapePtr(wxPyCompositeShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def AdjustBottom(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_AdjustBottom,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_AdjustBottom(self, *_args, **_kwargs)
return val
def AdjustLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_AdjustLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_AdjustLeft(self, *_args, **_kwargs)
return val
def AdjustRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_AdjustRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_AdjustRight(self, *_args, **_kwargs)
return val
def AdjustTop(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_AdjustTop,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_AdjustTop(self, *_args, **_kwargs)
return val
def Divide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_Divide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_Divide(self, *_args, **_kwargs)
return val
def EditEdge(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_EditEdge,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_EditEdge(self, *_args, **_kwargs)
return val
def GetBottomSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetBottomSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetBottomSide(self, *_args, **_kwargs)
return val
def GetHandleSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetHandleSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetHandleSide(self, *_args, **_kwargs)
return val
def GetLeftSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetLeftSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetLeftSide(self, *_args, **_kwargs)
return val
def GetLeftSideColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetLeftSideColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetLeftSideColour(self, *_args, **_kwargs)
return val
def GetLeftSidePen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetLeftSidePen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetLeftSidePen(self, *_args, **_kwargs)
if val: val = wxPenPtr(val)
return val
def GetRightSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetRightSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetRightSide(self, *_args, **_kwargs)
return val
def GetTopSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetTopSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetTopSide(self, *_args, **_kwargs)
return val
def GetTopSidePen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_GetTopSidePen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_GetTopSidePen(self, *_args, **_kwargs)
if val: val = wxPenPtr(val)
return val
def ResizeAdjoining(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_ResizeAdjoining,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_ResizeAdjoining(self, *_args, **_kwargs)
return val
def PopupMenu(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_PopupMenu,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_PopupMenu(self, *_args, **_kwargs)
return val
def SetBottomSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetBottomSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetBottomSide(self, *_args, **_kwargs)
return val
def SetHandleSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetHandleSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetHandleSide(self, *_args, **_kwargs)
return val
def SetLeftSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetLeftSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetLeftSide(self, *_args, **_kwargs)
return val
def SetLeftSideColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetLeftSideColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetLeftSideColour(self, *_args, **_kwargs)
return val
def SetLeftSidePen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetLeftSidePen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetLeftSidePen(self, *_args, **_kwargs)
return val
def SetRightSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetRightSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetRightSide(self, *_args, **_kwargs)
return val
def SetTopSide(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetTopSide,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetTopSide(self, *_args, **_kwargs)
return val
def SetTopSideColour(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetTopSideColour,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetTopSideColour(self, *_args, **_kwargs)
return val
def SetTopSidePen(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_SetTopSidePen,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_SetTopSidePen(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapesc.wxPyDivisionShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapesc.wxPyDivisionShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyDivisionShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyDivisionShape(wxPyDivisionShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapesc.new_wxPyDivisionShape,_args,_kwargs)
+ self.this = oglshapesc.new_wxPyDivisionShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyDivisionShape)
self._setOORInfo(self)
diff --git a/wxPython/contrib/ogl/oglshapes2.py b/wxPython/contrib/ogl/oglshapes2.py
index 60d4c2947e..1be62f6cd7 100644
--- a/wxPython/contrib/ogl/oglshapes2.py
+++ b/wxPython/contrib/ogl/oglshapes2.py
@@ -52,97 +52,97 @@ class wxPyEllipseShapePtr(wxPyShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyEllipseShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyEllipseShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyEllipseShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyEllipseShape(wxPyEllipseShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapes2c.new_wxPyEllipseShape,_args,_kwargs)
+ self.this = oglshapes2c.new_wxPyEllipseShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyEllipseShape)
self._setOORInfo(self)
@@ -155,97 +155,97 @@ class wxPyCircleShapePtr(wxPyEllipseShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyCircleShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyCircleShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyCircleShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyCircleShape(wxPyCircleShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapes2c.new_wxPyCircleShape,_args,_kwargs)
+ self.this = oglshapes2c.new_wxPyCircleShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyCircleShape)
self._setOORInfo(self)
@@ -264,58 +264,58 @@ class wxArrowHeadPtr(wxObjectPtr):
except:
pass
def _GetType(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead__GetType,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead__GetType(self, *_args, **_kwargs)
return val
def GetPosition(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetPosition,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetPosition(self, *_args, **_kwargs)
return val
def SetPosition(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_SetPosition,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_SetPosition(self, *_args, **_kwargs)
return val
def GetXOffset(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetXOffset,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetXOffset(self, *_args, **_kwargs)
return val
def GetYOffset(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetYOffset,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetYOffset(self, *_args, **_kwargs)
return val
def GetSpacing(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetSpacing,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetSpacing(self, *_args, **_kwargs)
return val
def GetSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetSize(self, *_args, **_kwargs)
return val
def GetName(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetName,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetName(self, *_args, **_kwargs)
return val
def SetXOffset(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_SetXOffset,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_SetXOffset(self, *_args, **_kwargs)
return val
def SetYOffset(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_SetYOffset,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_SetYOffset(self, *_args, **_kwargs)
return val
def GetMetaFile(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetMetaFile,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetMetaFile(self, *_args, **_kwargs)
return val
def GetId(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetId,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetId(self, *_args, **_kwargs)
return val
def GetArrowEnd(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetArrowEnd,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetArrowEnd(self, *_args, **_kwargs)
return val
def GetArrowSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_GetArrowSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_GetArrowSize(self, *_args, **_kwargs)
return val
def SetSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_SetSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_SetSize(self, *_args, **_kwargs)
return val
def SetSpacing(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxArrowHead_SetSpacing,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxArrowHead_SetSpacing(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxArrowHead instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxArrowHead(wxArrowHeadPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapes2c.new_wxArrowHead,_args,_kwargs)
+ self.this = oglshapes2c.new_wxArrowHead(*_args,**_kwargs)
self.thisown = 1
@@ -326,218 +326,218 @@ class wxPyLineShapePtr(wxPyShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def AddArrow(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_AddArrow,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_AddArrow(self, *_args, **_kwargs)
return val
def AddArrowOrdered(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_AddArrowOrdered,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_AddArrowOrdered(self, *_args, **_kwargs)
return val
def ClearArrow(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_ClearArrow,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_ClearArrow(self, *_args, **_kwargs)
return val
def ClearArrowsAtPosition(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_ClearArrowsAtPosition,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_ClearArrowsAtPosition(self, *_args, **_kwargs)
return val
def DrawArrow(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_DrawArrow,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_DrawArrow(self, *_args, **_kwargs)
return val
def DeleteArrowHeadId(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_DeleteArrowHeadId,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_DeleteArrowHeadId(self, *_args, **_kwargs)
return val
def DeleteArrowHead(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_DeleteArrowHead,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_DeleteArrowHead(self, *_args, **_kwargs)
return val
def DeleteLineControlPoint(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_DeleteLineControlPoint,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_DeleteLineControlPoint(self, *_args, **_kwargs)
return val
def DrawArrows(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_DrawArrows,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_DrawArrows(self, *_args, **_kwargs)
return val
def DrawRegion(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_DrawRegion,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_DrawRegion(self, *_args, **_kwargs)
return val
def EraseRegion(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_EraseRegion,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_EraseRegion(self, *_args, **_kwargs)
return val
def FindArrowHeadId(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_FindArrowHeadId,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_FindArrowHeadId(self, *_args, **_kwargs)
return val
def FindArrowHead(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_FindArrowHead,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_FindArrowHead(self, *_args, **_kwargs)
return val
def FindLineEndPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_FindLineEndPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_FindLineEndPoints(self, *_args, **_kwargs)
return val
def FindLinePosition(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_FindLinePosition,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_FindLinePosition(self, *_args, **_kwargs)
return val
def FindMinimumWidth(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_FindMinimumWidth,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_FindMinimumWidth(self, *_args, **_kwargs)
return val
def FindNth(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_FindNth,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_FindNth(self, *_args, **_kwargs)
return val
def GetAttachmentFrom(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetAttachmentFrom,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetAttachmentFrom(self, *_args, **_kwargs)
return val
def GetAttachmentTo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetAttachmentTo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetAttachmentTo(self, *_args, **_kwargs)
return val
def GetEnds(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetEnds,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetEnds(self, *_args, **_kwargs)
return val
def GetFrom(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetFrom,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetFrom(self, *_args, **_kwargs)
return val
def GetLabelPosition(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetLabelPosition,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetLabelPosition(self, *_args, **_kwargs)
return val
def GetNextControlPoint(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetNextControlPoint,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetNextControlPoint(self, *_args, **_kwargs)
if val: val = wxRealPointPtr(val)
return val
def GetTo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetTo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetTo(self, *_args, **_kwargs)
return val
def Initialise(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_Initialise,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_Initialise(self, *_args, **_kwargs)
return val
def InsertLineControlPoint(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_InsertLineControlPoint,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_InsertLineControlPoint(self, *_args, **_kwargs)
return val
def IsEnd(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_IsEnd,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_IsEnd(self, *_args, **_kwargs)
return val
def IsSpline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_IsSpline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_IsSpline(self, *_args, **_kwargs)
return val
def MakeLineControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_MakeLineControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_MakeLineControlPoints(self, *_args, **_kwargs)
return val
def GetLineControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_GetLineControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_GetLineControlPoints(self, *_args, **_kwargs)
return val
def SetAttachmentFrom(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetAttachmentFrom,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetAttachmentFrom(self, *_args, **_kwargs)
return val
def SetAttachments(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetAttachments,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetAttachments(self, *_args, **_kwargs)
return val
def SetAttachmentTo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetAttachmentTo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetAttachmentTo(self, *_args, **_kwargs)
return val
def SetEnds(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetEnds,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetEnds(self, *_args, **_kwargs)
return val
def SetFrom(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetFrom,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetFrom(self, *_args, **_kwargs)
return val
def SetIgnoreOffsets(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetIgnoreOffsets,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetIgnoreOffsets(self, *_args, **_kwargs)
return val
def SetSpline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetSpline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetSpline(self, *_args, **_kwargs)
return val
def SetTo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_SetTo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_SetTo(self, *_args, **_kwargs)
return val
def Straighten(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_Straighten,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_Straighten(self, *_args, **_kwargs)
return val
def Unlink(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_Unlink,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_Unlink(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyLineShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyLineShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyLineShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyLineShape(wxPyLineShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapes2c.new_wxPyLineShape,_args,_kwargs)
+ self.this = oglshapes2c.new_wxPyLineShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyLineShape)
self._setOORInfo(self)
@@ -550,115 +550,115 @@ class wxPyPolygonShapePtr(wxPyShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def Create(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_Create,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_Create(self, *_args, **_kwargs)
return val
def AddPolygonPoint(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_AddPolygonPoint,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_AddPolygonPoint(self, *_args, **_kwargs)
return val
def CalculatePolygonCentre(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_CalculatePolygonCentre,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_CalculatePolygonCentre(self, *_args, **_kwargs)
return val
def DeletePolygonPoint(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_DeletePolygonPoint,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_DeletePolygonPoint(self, *_args, **_kwargs)
return val
def GetPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_GetPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_GetPoints(self, *_args, **_kwargs)
return val
def UpdateOriginalPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_UpdateOriginalPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_UpdateOriginalPoints(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyPolygonShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyPolygonShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyPolygonShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyPolygonShape(wxPyPolygonShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapes2c.new_wxPyPolygonShape,_args,_kwargs)
+ self.this = oglshapes2c.new_wxPyPolygonShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyPolygonShape)
self._setOORInfo(self)
@@ -671,100 +671,100 @@ class wxPyTextShapePtr(wxPyRectangleShapePtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape__setCallbackInfo,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape__setCallbackInfo(self, *_args, **_kwargs)
return val
def base_OnDelete(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDelete,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDelete(self, *_args, **_kwargs)
return val
def base_OnDraw(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDraw,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDraw(self, *_args, **_kwargs)
return val
def base_OnDrawContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDrawContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDrawContents(self, *_args, **_kwargs)
return val
def base_OnDrawBranches(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDrawBranches,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDrawBranches(self, *_args, **_kwargs)
return val
def base_OnMoveLinks(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnMoveLinks,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnMoveLinks(self, *_args, **_kwargs)
return val
def base_OnErase(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnErase,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnErase(self, *_args, **_kwargs)
return val
def base_OnEraseContents(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnEraseContents,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnEraseContents(self, *_args, **_kwargs)
return val
def base_OnHighlight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnHighlight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnHighlight(self, *_args, **_kwargs)
return val
def base_OnLeftClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnLeftClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnLeftClick(self, *_args, **_kwargs)
return val
def base_OnLeftDoubleClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnLeftDoubleClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnLeftDoubleClick(self, *_args, **_kwargs)
return val
def base_OnRightClick(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnRightClick,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnRightClick(self, *_args, **_kwargs)
return val
def base_OnSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnSize(self, *_args, **_kwargs)
return val
def base_OnMovePre(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnMovePre,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnMovePre(self, *_args, **_kwargs)
return val
def base_OnMovePost(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnMovePost,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnMovePost(self, *_args, **_kwargs)
return val
def base_OnDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDragRight(self, *_args, **_kwargs)
return val
def base_OnBeginDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnBeginDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnBeginDragRight(self, *_args, **_kwargs)
return val
def base_OnEndDragRight(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnEndDragRight,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnEndDragRight(self, *_args, **_kwargs)
return val
def base_OnDrawOutline(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDrawOutline,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDrawOutline(self, *_args, **_kwargs)
return val
def base_OnDrawControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnDrawControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnDrawControlPoints(self, *_args, **_kwargs)
return val
def base_OnEraseControlPoints(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnEraseControlPoints,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnEraseControlPoints(self, *_args, **_kwargs)
return val
def base_OnMoveLink(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnMoveLink,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnMoveLink(self, *_args, **_kwargs)
return val
def base_OnSizingDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnSizingDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnSizingDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingBeginDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnSizingBeginDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnSizingBeginDragLeft(self, *_args, **_kwargs)
return val
def base_OnSizingEndDragLeft(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnSizingEndDragLeft,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnSizingEndDragLeft(self, *_args, **_kwargs)
return val
def base_OnBeginSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnBeginSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnBeginSize(self, *_args, **_kwargs)
return val
def base_OnEndSize(self, *_args, **_kwargs):
- val = apply(oglshapes2c.wxPyTextShape_base_OnEndSize,(self,) + _args, _kwargs)
+ val = oglshapes2c.wxPyTextShape_base_OnEndSize(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxPyTextShape instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxPyTextShape(wxPyTextShapePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(oglshapes2c.new_wxPyTextShape,_args,_kwargs)
+ self.this = oglshapes2c.new_wxPyTextShape(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyTextShape)
self._setOORInfo(self)
diff --git a/wxPython/contrib/stc/gtk/stc_.cpp b/wxPython/contrib/stc/gtk/stc_.cpp
index f522a3d620..7deb374c77 100644
--- a/wxPython/contrib/stc/gtk/stc_.cpp
+++ b/wxPython/contrib/stc/gtk/stc_.cpp
@@ -1649,6 +1649,43 @@ static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject
return _resultobj;
}
+#define wxStyledTextCtrl_MarkerDefineBitmap(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDefineBitmap(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","markerNumber","bmp", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerDefineBitmap",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_MarkerDefineBitmap(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -2275,6 +2312,38 @@ static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyO
return _resultobj;
}
+#define wxStyledTextCtrl_StyleSetHotSpot(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetHotSpot(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ bool _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool2;
+ char *_kwnames[] = { "self","style","hotspot", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetHotSpot",_kwnames,&_argo0,&_arg1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetHotSpot. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_StyleSetHotSpot(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -3859,6 +3928,128 @@ static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self
return _resultobj;
}
+#define wxStyledTextCtrl_RegisterImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->RegisterImage(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","type","bmp", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_RegisterImage",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_RegisterImage. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_RegisterImage. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_RegisterImage(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_ClearRegisteredImages(_swigobj) (_swigobj->ClearRegisteredImages())
+static PyObject *_wrap_wxStyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearRegisteredImages",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearRegisteredImages. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_ClearRegisteredImages(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_AutoCompGetTypeSeparator(_swigobj) (_swigobj->AutoCompGetTypeSeparator())
+static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetTypeSeparator",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetTypeSeparator. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxStyledTextCtrl_AutoCompGetTypeSeparator(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_AutoCompSetTypeSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetTypeSeparator(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","separatorCharacter", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetTypeSeparator",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetTypeSeparator. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_AutoCompSetTypeSeparator(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -6229,6 +6420,78 @@ static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyO
return _resultobj;
}
+#define wxStyledTextCtrl_CallTipSetForeground(_swigobj,_swigarg0) (_swigobj->CallTipSetForeground(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ wxColour * _arg1;
+ PyObject * _argo0 = 0;
+ wxColour temp;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForeground",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForeground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp;
+ if (! wxColour_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_CallTipSetForeground(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_CallTipSetForegroundHighlight(_swigobj,_swigarg0) (_swigobj->CallTipSetForegroundHighlight(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ wxColour * _arg1;
+ PyObject * _argo0 = 0;
+ wxColour temp;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForegroundHighlight",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForegroundHighlight. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp;
+ if (! wxColour_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_CallTipSetForegroundHighlight(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -7209,26 +7472,29 @@ static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *arg
return _resultobj;
}
-#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
-static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_SetUseVerticalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseVerticalScrollBar(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxStyledTextCtrl * _arg0;
+ bool _arg1;
PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
+ int tempbool1;
+ char *_kwnames[] = { "self","show", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseVerticalScrollBar",_kwnames,&_argo0,&tempbool1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
+ _arg1 = (bool ) tempbool1;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_HomeDisplay(_arg0);
+ wxStyledTextCtrl_SetUseVerticalScrollBar(_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
@@ -7237,76 +7503,422 @@ static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *ar
return _resultobj;
}
-#define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend())
-static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_GetUseVerticalScrollBar(_swigobj) (_swigobj->GetUseVerticalScrollBar())
+static PyObject *_wrap_wxStyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
+ bool _result;
wxStyledTextCtrl * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseVerticalScrollBar",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_HomeDisplayExtend(_arg0);
+ _result = (bool )wxStyledTextCtrl_GetUseVerticalScrollBar(_arg0);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay())
-static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_AppendText(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendText(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxString * _arg2;
PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","length","text", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AppendText",_kwnames,&_argo0,&_arg1,&_obj2))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AppendText. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_LineEndDisplay(_arg0);
+ wxStyledTextCtrl_AppendText(_arg0,_arg1,*_arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
+{
+ if (_obj2)
+ delete _arg2;
+}
return _resultobj;
}
-#define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend())
-static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_GetTwoPhaseDraw(_swigobj) (_swigobj->GetTwoPhaseDraw())
+static PyObject *_wrap_wxStyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
+ bool _result;
wxStyledTextCtrl * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTwoPhaseDraw",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_GetTwoPhaseDraw(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetTwoPhaseDraw(_swigobj,_swigarg0) (_swigobj->SetTwoPhaseDraw(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","twoPhase", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTwoPhaseDraw",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetTwoPhaseDraw(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_TargetFromSelection(_swigobj) (_swigobj->TargetFromSelection())
+static PyObject *_wrap_wxStyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_TargetFromSelection",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TargetFromSelection. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_TargetFromSelection(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LinesJoin(_swigobj) (_swigobj->LinesJoin())
+static PyObject *_wrap_wxStyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesJoin",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesJoin. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LinesJoin(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LinesSplit(_swigobj,_swigarg0) (_swigobj->LinesSplit(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","pixelWidth", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LinesSplit",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesSplit. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LinesSplit(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetFoldMarginColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","back", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginColour",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginColour. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetFoldMarginColour(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetFoldMarginHiColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginHiColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginHiColour",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginHiColour. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetFoldMarginHiColour(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineDuplicate(_swigobj) (_swigobj->LineDuplicate())
+static PyObject *_wrap_wxStyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineDuplicate",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineDuplicate. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LineDuplicate(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
+static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_HomeDisplay(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend())
+static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_HomeDisplayExtend(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay())
+static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LineEndDisplay(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend())
+static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
@@ -8739,6 +9351,34 @@ static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *arg
return _resultobj;
}
+#define wxStyledTextCtrl_ChooseCaretX(_swigobj) (_swigobj->ChooseCaretX())
+static PyObject *_wrap_wxStyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ChooseCaretX",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ChooseCaretX. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_ChooseCaretX(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -8799,6 +9439,172 @@ static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject
return _resultobj;
}
+#define wxStyledTextCtrl_SetPrintWrapMode(_swigobj,_swigarg0) (_swigobj->SetPrintWrapMode(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","mode", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintWrapMode",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetPrintWrapMode(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_GetPrintWrapMode(_swigobj) (_swigobj->GetPrintWrapMode())
+static PyObject *_wrap_wxStyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintWrapMode",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxStyledTextCtrl_GetPrintWrapMode(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveForeground(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveForeground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveForeground(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveBackground(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","back", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveBackground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveBackground(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveUnderline(_swigobj,_swigarg0) (_swigobj->SetHotspotActiveUnderline(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","underline", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHotspotActiveUnderline",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveUnderline. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveUnderline(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -9586,6 +10392,84 @@ static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self,
return _resultobj;
}
+#define wxStyledTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxStyledTextCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","filename", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SaveFile. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_SaveFile(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxStyledTextCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","filename", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LoadFile. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_LoadFile(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
wxStyledTextEvent *src;
wxCommandEvent *dest;
@@ -11012,6 +11896,8 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
{ "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
{ "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LoadFile", (PyCFunction) _wrap_wxStyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SaveFile", (PyCFunction) _wrap_wxStyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
@@ -11035,8 +11921,14 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_wxStyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
@@ -11088,6 +11980,17 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_wxStyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LinesSplit", (PyCFunction) _wrap_wxStyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LinesJoin", (PyCFunction) _wrap_wxStyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_wxStyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AppendText", (PyCFunction) _wrap_wxStyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
@@ -11121,6 +12024,8 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
@@ -11198,6 +12103,10 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_wxStyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_RegisterImage", (PyCFunction) _wrap_wxStyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
@@ -11248,6 +12157,7 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
@@ -11268,6 +12178,7 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
@@ -11455,6 +12366,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
+ PyDict_SetItemString(d,"wxSTC_CP_DBCS", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
@@ -11481,6 +12393,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22));
PyDict_SetItemString(d,"wxSTC_MARK_DOTDOTDOT", PyInt_FromLong((long) 23));
PyDict_SetItemString(d,"wxSTC_MARK_ARROWS", PyInt_FromLong((long) 24));
+ PyDict_SetItemString(d,"wxSTC_MARK_PIXMAP", PyInt_FromLong((long) 25));
PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
@@ -11541,10 +12454,21 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
+ PyDict_SetItemString(d,"wxSTC_FIND_POSIX", PyInt_FromLong((long) 0x00400000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXHEADERFLAG", PyInt_FromLong((long) 0x4000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXFOOTERFLAG", PyInt_FromLong((long) 0x8000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELCONTRACTED", PyInt_FromLong((long) 0x10000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELUNINDENT", PyInt_FromLong((long) 0x20000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED", PyInt_FromLong((long) 0x0002));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED", PyInt_FromLong((long) 0x0004));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_EXPANDED", PyInt_FromLong((long) 0x0008));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED", PyInt_FromLong((long) 0x0010));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LEVELNUMBERS", PyInt_FromLong((long) 0x0040));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_BOX", PyInt_FromLong((long) 0x0001));
PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1));
@@ -11556,7 +12480,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
- PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
@@ -11629,6 +12553,12 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31));
PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32));
PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33));
+ PyDict_SetItemString(d,"wxSTC_LEX_ASM", PyInt_FromLong((long) 34));
+ PyDict_SetItemString(d,"wxSTC_LEX_CPPNOCASE", PyInt_FromLong((long) 35));
+ PyDict_SetItemString(d,"wxSTC_LEX_FORTRAN", PyInt_FromLong((long) 36));
+ PyDict_SetItemString(d,"wxSTC_LEX_F77", PyInt_FromLong((long) 37));
+ PyDict_SetItemString(d,"wxSTC_LEX_CSS", PyInt_FromLong((long) 38));
+ PyDict_SetItemString(d,"wxSTC_LEX_POV", PyInt_FromLong((long) 39));
PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
@@ -11854,6 +12784,9 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_ERR_PHP", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_ERR_ELF", PyInt_FromLong((long) 15));
+ PyDict_SetItemString(d,"wxSTC_ERR_IFC", PyInt_FromLong((long) 16));
PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
@@ -11890,22 +12823,29 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
- PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
- PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD1", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD2", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD3", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD4", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD5", PyInt_FromLong((long) 15));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD6", PyInt_FromLong((long) 16));
PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
- PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
- PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
- PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
- PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_ADA_DELIMITER", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
- PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
- PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_ADA_CHARACTEREOL", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 7));
PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_ADA_LABEL", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_ADA_COMMENTLINE", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_ADA_ILLEGAL", PyInt_FromLong((long) 11));
PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2));
@@ -11973,6 +12913,58 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19));
+ PyDict_SetItemString(d,"wxSTC_ASM_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_ASM_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_ASM_NUMBER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_ASM_STRING", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_ASM_OPERATOR", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_ASM_IDENTIFIER", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_ASM_CPUINSTRUCTION", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_ASM_MATHINSTRUCTION", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_ASM_REGISTER", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVE", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVEOPERAND", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_F_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_F_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_F_NUMBER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_F_STRING1", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_F_STRING2", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_F_STRINGEOL", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_F_OPERATOR", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_F_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_F_WORD", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_F_WORD2", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_F_WORD3", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_F_PREPROCESSOR", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_F_OPERATOR2", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_F_LABEL", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_F_CONTINUATION", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_CSS_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_CSS_TAG", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_CSS_CLASS", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_CSS_PSEUDOCLASS", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_PSEUDOCLASS", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_CSS_OPERATOR", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_CSS_IDENTIFIER", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_CSS_VALUE", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_CSS_COMMENT", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_CSS_ID", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_CSS_IMPORTANT", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_CSS_DIRECTIVE", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_CSS_DOUBLESTRING", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_CSS_SINGLESTRING", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_POV_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENTLINE", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENTDOC", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_POV_NUMBER", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_POV_WORD", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_POV_STRING", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_POV_OPERATOR", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_POV_IDENTIFIER", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_POV_BRACE", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_POV_WORD2", PyInt_FromLong((long) 10));
PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
@@ -12020,6 +13012,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEDUPLICATE", PyInt_FromLong((long) 2404));
PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
@@ -12029,12 +13022,22 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAYEXTEND", PyInt_FromLong((long) 2346));
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAY", PyInt_FromLong((long) 2347));
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAYEXTEND", PyInt_FromLong((long) 2348));
+ PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAP", PyInt_FromLong((long) 2349));
+ PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAPEXTEND", PyInt_FromLong((long) 2450));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAP", PyInt_FromLong((long) 2451));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAPEXTEND", PyInt_FromLong((long) 2452));
+ PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAP", PyInt_FromLong((long) 2453));
+ PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAPEXTEND", PyInt_FromLong((long) 2454));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFT", PyInt_FromLong((long) 2390));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFTEXTEND", PyInt_FromLong((long) 2391));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHT", PyInt_FromLong((long) 2392));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHTEXTEND", PyInt_FromLong((long) 2393));
PyDict_SetItemString(d,"wxSTC_CMD_DELLINELEFT", PyInt_FromLong((long) 2395));
PyDict_SetItemString(d,"wxSTC_CMD_DELLINERIGHT", PyInt_FromLong((long) 2396));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARADOWN", PyInt_FromLong((long) 2413));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARADOWNEXTEND", PyInt_FromLong((long) 2414));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARAUP", PyInt_FromLong((long) 2415));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARAUPEXTEND", PyInt_FromLong((long) 2416));
PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
@@ -12059,6 +13062,9 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER));
PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP));
PyDict_SetItemString(d,"wxEVT_STC_ZOOM", PyInt_FromLong((long) wxEVT_STC_ZOOM));
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_CLICK));
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_DCLICK));
+ PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", PyInt_FromLong((long) wxEVT_STC_CALLTIP_CLICK));
wxClassInfo::CleanUpClasses();
diff --git a/wxPython/contrib/stc/gtk/stc_.py b/wxPython/contrib/stc/gtk/stc_.py
index a3a4fef4a9..93e7f892ef 100644
--- a/wxPython/contrib/stc/gtk/stc_.py
+++ b/wxPython/contrib/stc/gtk/stc_.py
@@ -112,930 +112,1019 @@ def EVT_STC_DO_DROP(win, id, func):
def EVT_STC_ZOOM(win, id, func):
win.Connect(id, -1, wxEVT_STC_ZOOM, func)
+def EVT_STC_HOTSPOT_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_CLICK, func)
+
+def EVT_STC_HOTSPOT_DCLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_DCLICK, func)
+
+def EVT_STC_CALLTIP_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_CALLTIP_CLICK, func)
class wxStyledTextCtrlPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def AddText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddText(self, *_args, **_kwargs)
return val
def AddStyledText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddStyledText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddStyledText(self, *_args, **_kwargs)
return val
def InsertText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_InsertText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_InsertText(self, *_args, **_kwargs)
return val
def ClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ClearAll(self, *_args, **_kwargs)
return val
def ClearDocumentStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ClearDocumentStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ClearDocumentStyle(self, *_args, **_kwargs)
return val
def GetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLength(self, *_args, **_kwargs)
return val
def GetCharAt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCharAt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCharAt(self, *_args, **_kwargs)
return val
def GetCurrentPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurrentPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurrentPos(self, *_args, **_kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetAnchor(self, *_args, **_kwargs)
return val
def GetStyleAt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyleAt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyleAt(self, *_args, **_kwargs)
return val
def Redo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Redo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Redo(self, *_args, **_kwargs)
return val
def SetUndoCollection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUndoCollection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUndoCollection(self, *_args, **_kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SelectAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SelectAll(self, *_args, **_kwargs)
return val
def SetSavePoint(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSavePoint,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSavePoint(self, *_args, **_kwargs)
return val
def GetStyledText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyledText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyledText(self, *_args, **_kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanRedo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanRedo(self, *_args, **_kwargs)
return val
def MarkerLineFromHandle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerLineFromHandle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerLineFromHandle(self, *_args, **_kwargs)
return val
def MarkerDeleteHandle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDeleteHandle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDeleteHandle(self, *_args, **_kwargs)
return val
def GetUndoCollection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUndoCollection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUndoCollection(self, *_args, **_kwargs)
return val
def GetViewWhiteSpace(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetViewWhiteSpace,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetViewWhiteSpace(self, *_args, **_kwargs)
return val
def SetViewWhiteSpace(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetViewWhiteSpace,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetViewWhiteSpace(self, *_args, **_kwargs)
return val
def PositionFromPoint(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromPoint,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromPoint(self, *_args, **_kwargs)
return val
def PositionFromPointClose(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromPointClose,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromPointClose(self, *_args, **_kwargs)
return val
def GotoLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GotoLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GotoLine(self, *_args, **_kwargs)
return val
def GotoPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GotoPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GotoPos(self, *_args, **_kwargs)
return val
def SetAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetAnchor(self, *_args, **_kwargs)
return val
def GetCurLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurLine(self, *_args, **_kwargs)
return val
def GetEndStyled(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEndStyled,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEndStyled(self, *_args, **_kwargs)
return val
def ConvertEOLs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ConvertEOLs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ConvertEOLs(self, *_args, **_kwargs)
return val
def GetEOLMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEOLMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEOLMode(self, *_args, **_kwargs)
return val
def SetEOLMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEOLMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEOLMode(self, *_args, **_kwargs)
return val
def StartStyling(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StartStyling,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StartStyling(self, *_args, **_kwargs)
return val
def SetStyling(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyling,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyling(self, *_args, **_kwargs)
return val
def GetBufferedDraw(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetBufferedDraw,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetBufferedDraw(self, *_args, **_kwargs)
return val
def SetBufferedDraw(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetBufferedDraw,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetBufferedDraw(self, *_args, **_kwargs)
return val
def SetTabWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTabWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTabWidth(self, *_args, **_kwargs)
return val
def GetTabWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTabWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTabWidth(self, *_args, **_kwargs)
return val
def SetCodePage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCodePage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCodePage(self, *_args, **_kwargs)
return val
def MarkerDefine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDefine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDefine(self, *_args, **_kwargs)
return val
def MarkerSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerSetForeground(self, *_args, **_kwargs)
return val
def MarkerSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerSetBackground(self, *_args, **_kwargs)
return val
def MarkerAdd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerAdd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerAdd(self, *_args, **_kwargs)
return val
def MarkerDelete(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDelete,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDelete(self, *_args, **_kwargs)
return val
def MarkerDeleteAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDeleteAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDeleteAll(self, *_args, **_kwargs)
return val
def MarkerGet(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerGet,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerGet(self, *_args, **_kwargs)
return val
def MarkerNext(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerNext,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerNext(self, *_args, **_kwargs)
return val
def MarkerPrevious(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerPrevious,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerPrevious(self, *_args, **_kwargs)
+ return val
+ def MarkerDefineBitmap(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_MarkerDefineBitmap(self, *_args, **_kwargs)
return val
def SetMarginType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginType(self, *_args, **_kwargs)
return val
def GetMarginType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginType(self, *_args, **_kwargs)
return val
def SetMarginWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginWidth(self, *_args, **_kwargs)
return val
def GetMarginWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginWidth(self, *_args, **_kwargs)
return val
def SetMarginMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginMask(self, *_args, **_kwargs)
return val
def GetMarginMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginMask(self, *_args, **_kwargs)
return val
def SetMarginSensitive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginSensitive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginSensitive(self, *_args, **_kwargs)
return val
def GetMarginSensitive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginSensitive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginSensitive(self, *_args, **_kwargs)
return val
def StyleClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleClearAll(self, *_args, **_kwargs)
return val
def StyleSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetForeground(self, *_args, **_kwargs)
return val
def StyleSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetBackground(self, *_args, **_kwargs)
return val
def StyleSetBold(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetBold,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetBold(self, *_args, **_kwargs)
return val
def StyleSetItalic(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetItalic,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetItalic(self, *_args, **_kwargs)
return val
def StyleSetSize(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetSize,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetSize(self, *_args, **_kwargs)
return val
def StyleSetFaceName(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFaceName,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFaceName(self, *_args, **_kwargs)
return val
def StyleSetEOLFilled(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetEOLFilled,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetEOLFilled(self, *_args, **_kwargs)
return val
def StyleResetDefault(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleResetDefault,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleResetDefault(self, *_args, **_kwargs)
return val
def StyleSetUnderline(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetUnderline,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetUnderline(self, *_args, **_kwargs)
return val
def StyleSetCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetCase(self, *_args, **_kwargs)
return val
def StyleSetCharacterSet(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetCharacterSet,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetCharacterSet(self, *_args, **_kwargs)
+ return val
+ def StyleSetHotSpot(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_StyleSetHotSpot(self, *_args, **_kwargs)
return val
def SetSelForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelForeground(self, *_args, **_kwargs)
return val
def SetSelBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelBackground(self, *_args, **_kwargs)
return val
def SetCaretForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretForeground(self, *_args, **_kwargs)
return val
def CmdKeyAssign(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyAssign,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyAssign(self, *_args, **_kwargs)
return val
def CmdKeyClear(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyClear,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyClear(self, *_args, **_kwargs)
return val
def CmdKeyClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyClearAll(self, *_args, **_kwargs)
return val
def SetStyleBytes(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyleBytes,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyleBytes(self, *_args, **_kwargs)
return val
def StyleSetVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetVisible(self, *_args, **_kwargs)
return val
def GetCaretPeriod(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretPeriod,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretPeriod(self, *_args, **_kwargs)
return val
def SetCaretPeriod(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretPeriod,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretPeriod(self, *_args, **_kwargs)
return val
def SetWordChars(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWordChars,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWordChars(self, *_args, **_kwargs)
return val
def BeginUndoAction(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BeginUndoAction,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BeginUndoAction(self, *_args, **_kwargs)
return val
def EndUndoAction(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EndUndoAction,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EndUndoAction(self, *_args, **_kwargs)
return val
def IndicatorSetStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorSetStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorSetStyle(self, *_args, **_kwargs)
return val
def IndicatorGetStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorGetStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorGetStyle(self, *_args, **_kwargs)
return val
def IndicatorSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorSetForeground(self, *_args, **_kwargs)
return val
def IndicatorGetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorGetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorGetForeground(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetWhitespaceForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWhitespaceForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWhitespaceForeground(self, *_args, **_kwargs)
return val
def SetWhitespaceBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWhitespaceBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWhitespaceBackground(self, *_args, **_kwargs)
return val
def SetStyleBits(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyleBits,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyleBits(self, *_args, **_kwargs)
return val
def GetStyleBits(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyleBits,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyleBits(self, *_args, **_kwargs)
return val
def SetLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLineState(self, *_args, **_kwargs)
return val
def GetLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineState(self, *_args, **_kwargs)
return val
def GetMaxLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMaxLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMaxLineState(self, *_args, **_kwargs)
return val
def GetCaretLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretLineVisible(self, *_args, **_kwargs)
return val
def SetCaretLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretLineVisible(self, *_args, **_kwargs)
return val
def GetCaretLineBack(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretLineBack,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretLineBack(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetCaretLineBack(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretLineBack,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretLineBack(self, *_args, **_kwargs)
return val
def StyleSetChangeable(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetChangeable,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetChangeable(self, *_args, **_kwargs)
return val
def AutoCompShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompShow(self, *_args, **_kwargs)
return val
def AutoCompCancel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompCancel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompCancel(self, *_args, **_kwargs)
return val
def AutoCompActive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompActive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompActive(self, *_args, **_kwargs)
return val
def AutoCompPosStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompPosStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompPosStart(self, *_args, **_kwargs)
return val
def AutoCompComplete(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompComplete,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompComplete(self, *_args, **_kwargs)
return val
def AutoCompStops(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompStops,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompStops(self, *_args, **_kwargs)
return val
def AutoCompSetSeparator(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetSeparator,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetSeparator(self, *_args, **_kwargs)
return val
def AutoCompGetSeparator(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetSeparator,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetSeparator(self, *_args, **_kwargs)
return val
def AutoCompSelect(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSelect,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSelect(self, *_args, **_kwargs)
return val
def AutoCompSetCancelAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetCancelAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetCancelAtStart(self, *_args, **_kwargs)
return val
def AutoCompGetCancelAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetCancelAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetCancelAtStart(self, *_args, **_kwargs)
return val
def AutoCompSetFillUps(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetFillUps,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetFillUps(self, *_args, **_kwargs)
return val
def AutoCompSetChooseSingle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetChooseSingle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetChooseSingle(self, *_args, **_kwargs)
return val
def AutoCompGetChooseSingle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetChooseSingle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetChooseSingle(self, *_args, **_kwargs)
return val
def AutoCompSetIgnoreCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetIgnoreCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetIgnoreCase(self, *_args, **_kwargs)
return val
def AutoCompGetIgnoreCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetIgnoreCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetIgnoreCase(self, *_args, **_kwargs)
return val
def UserListShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_UserListShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_UserListShow(self, *_args, **_kwargs)
return val
def AutoCompSetAutoHide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetAutoHide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetAutoHide(self, *_args, **_kwargs)
return val
def AutoCompGetAutoHide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetAutoHide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetAutoHide(self, *_args, **_kwargs)
return val
def AutoCompSetDropRestOfWord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetDropRestOfWord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetDropRestOfWord(self, *_args, **_kwargs)
return val
def AutoCompGetDropRestOfWord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord(self, *_args, **_kwargs)
+ return val
+ def RegisterImage(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_RegisterImage(self, *_args, **_kwargs)
+ return val
+ def ClearRegisteredImages(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_ClearRegisteredImages(self, *_args, **_kwargs)
+ return val
+ def AutoCompGetTypeSeparator(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AutoCompGetTypeSeparator(self, *_args, **_kwargs)
+ return val
+ def AutoCompSetTypeSeparator(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AutoCompSetTypeSeparator(self, *_args, **_kwargs)
return val
def SetIndent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetIndent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetIndent(self, *_args, **_kwargs)
return val
def GetIndent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetIndent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetIndent(self, *_args, **_kwargs)
return val
def SetUseTabs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUseTabs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUseTabs(self, *_args, **_kwargs)
return val
def GetUseTabs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUseTabs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUseTabs(self, *_args, **_kwargs)
return val
def SetLineIndentation(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLineIndentation,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLineIndentation(self, *_args, **_kwargs)
return val
def GetLineIndentation(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineIndentation,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineIndentation(self, *_args, **_kwargs)
return val
def GetLineIndentPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineIndentPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineIndentPosition(self, *_args, **_kwargs)
return val
def GetColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetColumn(self, *_args, **_kwargs)
return val
def SetUseHorizontalScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUseHorizontalScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUseHorizontalScrollBar(self, *_args, **_kwargs)
return val
def GetUseHorizontalScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUseHorizontalScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUseHorizontalScrollBar(self, *_args, **_kwargs)
return val
def SetIndentationGuides(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetIndentationGuides,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetIndentationGuides(self, *_args, **_kwargs)
return val
def GetIndentationGuides(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetIndentationGuides,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetIndentationGuides(self, *_args, **_kwargs)
return val
def SetHighlightGuide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetHighlightGuide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetHighlightGuide(self, *_args, **_kwargs)
return val
def GetHighlightGuide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetHighlightGuide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetHighlightGuide(self, *_args, **_kwargs)
return val
def GetLineEndPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineEndPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineEndPosition(self, *_args, **_kwargs)
return val
def GetCodePage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCodePage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCodePage(self, *_args, **_kwargs)
return val
def GetCaretForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretForeground(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetReadOnly(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetReadOnly,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetReadOnly(self, *_args, **_kwargs)
return val
def SetCurrentPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCurrentPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCurrentPos(self, *_args, **_kwargs)
return val
def SetSelectionStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelectionStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelectionStart(self, *_args, **_kwargs)
return val
def GetSelectionStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectionStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectionStart(self, *_args, **_kwargs)
return val
def SetSelectionEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelectionEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelectionEnd(self, *_args, **_kwargs)
return val
def GetSelectionEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectionEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectionEnd(self, *_args, **_kwargs)
return val
def SetPrintMagnification(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetPrintMagnification,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetPrintMagnification(self, *_args, **_kwargs)
return val
def GetPrintMagnification(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetPrintMagnification,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetPrintMagnification(self, *_args, **_kwargs)
return val
def SetPrintColourMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetPrintColourMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetPrintColourMode(self, *_args, **_kwargs)
return val
def GetPrintColourMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetPrintColourMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetPrintColourMode(self, *_args, **_kwargs)
return val
def FindText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_FindText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_FindText(self, *_args, **_kwargs)
return val
def FormatRange(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_FormatRange,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_FormatRange(self, *_args, **_kwargs)
return val
def GetFirstVisibleLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFirstVisibleLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFirstVisibleLine(self, *_args, **_kwargs)
return val
def GetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLine(self, *_args, **_kwargs)
return val
def GetLineCount(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineCount,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineCount(self, *_args, **_kwargs)
return val
def SetMarginLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginLeft(self, *_args, **_kwargs)
return val
def GetMarginLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginLeft(self, *_args, **_kwargs)
return val
def SetMarginRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginRight(self, *_args, **_kwargs)
return val
def GetMarginRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginRight(self, *_args, **_kwargs)
return val
def GetModify(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetModify,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetModify(self, *_args, **_kwargs)
return val
def SetSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelection(self, *_args, **_kwargs)
return val
def GetSelectedText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectedText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectedText(self, *_args, **_kwargs)
return val
def GetTextRange(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTextRange,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTextRange(self, *_args, **_kwargs)
return val
def HideSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HideSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HideSelection(self, *_args, **_kwargs)
return val
def LineFromPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineFromPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineFromPosition(self, *_args, **_kwargs)
return val
def PositionFromLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromLine(self, *_args, **_kwargs)
return val
def LineScroll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineScroll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineScroll(self, *_args, **_kwargs)
return val
def EnsureCaretVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureCaretVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureCaretVisible(self, *_args, **_kwargs)
return val
def ReplaceSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceSelection(self, *_args, **_kwargs)
return val
def SetReadOnly(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetReadOnly,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetReadOnly(self, *_args, **_kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanPaste,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanPaste(self, *_args, **_kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanUndo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanUndo(self, *_args, **_kwargs)
return val
def EmptyUndoBuffer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EmptyUndoBuffer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EmptyUndoBuffer(self, *_args, **_kwargs)
return val
def Undo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Undo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Undo(self, *_args, **_kwargs)
return val
def Cut(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Cut,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Cut(self, *_args, **_kwargs)
return val
def Copy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Copy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Copy(self, *_args, **_kwargs)
return val
def Paste(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Paste,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Paste(self, *_args, **_kwargs)
return val
def Clear(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Clear,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Clear(self, *_args, **_kwargs)
return val
def SetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetText(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetText(self, *_args, **_kwargs)
return val
def GetTextLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTextLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTextLength(self, *_args, **_kwargs)
return val
def SetOvertype(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetOvertype,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetOvertype(self, *_args, **_kwargs)
return val
def GetOvertype(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetOvertype,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetOvertype(self, *_args, **_kwargs)
return val
def SetCaretWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretWidth(self, *_args, **_kwargs)
return val
def GetCaretWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretWidth(self, *_args, **_kwargs)
return val
def SetTargetStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTargetStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTargetStart(self, *_args, **_kwargs)
return val
def GetTargetStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTargetStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTargetStart(self, *_args, **_kwargs)
return val
def SetTargetEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTargetEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTargetEnd(self, *_args, **_kwargs)
return val
def GetTargetEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTargetEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTargetEnd(self, *_args, **_kwargs)
return val
def ReplaceTarget(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceTarget,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceTarget(self, *_args, **_kwargs)
return val
def ReplaceTargetRE(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceTargetRE,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceTargetRE(self, *_args, **_kwargs)
return val
def SearchInTarget(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchInTarget,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchInTarget(self, *_args, **_kwargs)
return val
def SetSearchFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSearchFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSearchFlags(self, *_args, **_kwargs)
return val
def GetSearchFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSearchFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSearchFlags(self, *_args, **_kwargs)
return val
def CallTipShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipShow(self, *_args, **_kwargs)
return val
def CallTipCancel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipCancel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipCancel(self, *_args, **_kwargs)
return val
def CallTipActive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipActive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipActive(self, *_args, **_kwargs)
return val
def CallTipPosAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipPosAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipPosAtStart(self, *_args, **_kwargs)
return val
def CallTipSetHighlight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipSetHighlight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipSetHighlight(self, *_args, **_kwargs)
return val
def CallTipSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipSetBackground(self, *_args, **_kwargs)
+ return val
+ def CallTipSetForeground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_CallTipSetForeground(self, *_args, **_kwargs)
+ return val
+ def CallTipSetForegroundHighlight(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_CallTipSetForegroundHighlight(self, *_args, **_kwargs)
return val
def VisibleFromDocLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_VisibleFromDocLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_VisibleFromDocLine(self, *_args, **_kwargs)
return val
def DocLineFromVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DocLineFromVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DocLineFromVisible(self, *_args, **_kwargs)
return val
def SetFoldLevel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldLevel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldLevel(self, *_args, **_kwargs)
return val
def GetFoldLevel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldLevel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldLevel(self, *_args, **_kwargs)
return val
def GetLastChild(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLastChild,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLastChild(self, *_args, **_kwargs)
return val
def GetFoldParent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldParent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldParent(self, *_args, **_kwargs)
return val
def ShowLines(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ShowLines,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ShowLines(self, *_args, **_kwargs)
return val
def HideLines(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HideLines,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HideLines(self, *_args, **_kwargs)
return val
def GetLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineVisible(self, *_args, **_kwargs)
return val
def SetFoldExpanded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldExpanded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldExpanded(self, *_args, **_kwargs)
return val
def GetFoldExpanded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldExpanded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldExpanded(self, *_args, **_kwargs)
return val
def ToggleFold(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ToggleFold,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ToggleFold(self, *_args, **_kwargs)
return val
def EnsureVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureVisible(self, *_args, **_kwargs)
return val
def SetFoldFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldFlags(self, *_args, **_kwargs)
return val
def EnsureVisibleEnforcePolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureVisibleEnforcePolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureVisibleEnforcePolicy(self, *_args, **_kwargs)
return val
def SetTabIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTabIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTabIndents(self, *_args, **_kwargs)
return val
def GetTabIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTabIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTabIndents(self, *_args, **_kwargs)
return val
def SetBackSpaceUnIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetBackSpaceUnIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetBackSpaceUnIndents(self, *_args, **_kwargs)
return val
def GetBackSpaceUnIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetBackSpaceUnIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetBackSpaceUnIndents(self, *_args, **_kwargs)
return val
def SetMouseDwellTime(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMouseDwellTime,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMouseDwellTime(self, *_args, **_kwargs)
return val
def GetMouseDwellTime(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMouseDwellTime,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMouseDwellTime(self, *_args, **_kwargs)
return val
def WordStartPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordStartPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordStartPosition(self, *_args, **_kwargs)
return val
def WordEndPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordEndPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordEndPosition(self, *_args, **_kwargs)
return val
def SetWrapMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWrapMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWrapMode(self, *_args, **_kwargs)
return val
def GetWrapMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetWrapMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetWrapMode(self, *_args, **_kwargs)
return val
def SetLayoutCache(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLayoutCache,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLayoutCache(self, *_args, **_kwargs)
return val
def GetLayoutCache(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLayoutCache,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLayoutCache(self, *_args, **_kwargs)
return val
def SetScrollWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetScrollWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetScrollWidth(self, *_args, **_kwargs)
return val
def GetScrollWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetScrollWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetScrollWidth(self, *_args, **_kwargs)
return val
def TextWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_TextWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_TextWidth(self, *_args, **_kwargs)
return val
def SetEndAtLastLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEndAtLastLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEndAtLastLine(self, *_args, **_kwargs)
return val
def GetEndAtLastLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEndAtLastLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEndAtLastLine(self, *_args, **_kwargs)
return val
def TextHeight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_TextHeight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_TextHeight(self, *_args, **_kwargs)
+ return val
+ def SetUseVerticalScrollBar(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetUseVerticalScrollBar(self, *_args, **_kwargs)
+ return val
+ def GetUseVerticalScrollBar(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetUseVerticalScrollBar(self, *_args, **_kwargs)
+ return val
+ def AppendText(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AppendText(self, *_args, **_kwargs)
+ return val
+ def GetTwoPhaseDraw(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetTwoPhaseDraw(self, *_args, **_kwargs)
+ return val
+ def SetTwoPhaseDraw(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetTwoPhaseDraw(self, *_args, **_kwargs)
+ return val
+ def TargetFromSelection(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_TargetFromSelection(self, *_args, **_kwargs)
+ return val
+ def LinesJoin(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LinesJoin(self, *_args, **_kwargs)
+ return val
+ def LinesSplit(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LinesSplit(self, *_args, **_kwargs)
+ return val
+ def SetFoldMarginColour(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetFoldMarginColour(self, *_args, **_kwargs)
+ return val
+ def SetFoldMarginHiColour(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetFoldMarginHiColour(self, *_args, **_kwargs)
+ return val
+ def LineDuplicate(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LineDuplicate(self, *_args, **_kwargs)
return val
def HomeDisplay(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HomeDisplay,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HomeDisplay(self, *_args, **_kwargs)
return val
def HomeDisplayExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HomeDisplayExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HomeDisplayExtend(self, *_args, **_kwargs)
return val
def LineEndDisplay(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineEndDisplay,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineEndDisplay(self, *_args, **_kwargs)
return val
def LineEndDisplayExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineEndDisplayExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineEndDisplayExtend(self, *_args, **_kwargs)
return val
def MoveCaretInsideView(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MoveCaretInsideView,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MoveCaretInsideView(self, *_args, **_kwargs)
return val
def LineLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineLength(self, *_args, **_kwargs)
return val
def BraceHighlight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceHighlight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceHighlight(self, *_args, **_kwargs)
return val
def BraceBadLight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceBadLight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceBadLight(self, *_args, **_kwargs)
return val
def BraceMatch(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceMatch,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceMatch(self, *_args, **_kwargs)
return val
def GetViewEOL(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetViewEOL,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetViewEOL(self, *_args, **_kwargs)
return val
def SetViewEOL(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetViewEOL,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetViewEOL(self, *_args, **_kwargs)
return val
def GetDocPointer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetDocPointer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetDocPointer(self, *_args, **_kwargs)
return val
def SetDocPointer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetDocPointer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetDocPointer(self, *_args, **_kwargs)
return val
def SetModEventMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetModEventMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetModEventMask(self, *_args, **_kwargs)
return val
def GetEdgeColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeColumn(self, *_args, **_kwargs)
return val
def SetEdgeColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeColumn(self, *_args, **_kwargs)
return val
def GetEdgeMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeMode(self, *_args, **_kwargs)
return val
def SetEdgeMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeMode(self, *_args, **_kwargs)
return val
def GetEdgeColour(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeColour,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeColour(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetEdgeColour(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeColour,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeColour(self, *_args, **_kwargs)
return val
def SearchAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchAnchor(self, *_args, **_kwargs)
return val
def SearchNext(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchNext,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchNext(self, *_args, **_kwargs)
return val
def SearchPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchPrev(self, *_args, **_kwargs)
return val
def LinesOnScreen(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LinesOnScreen,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LinesOnScreen(self, *_args, **_kwargs)
return val
def UsePopUp(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_UsePopUp,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_UsePopUp(self, *_args, **_kwargs)
return val
def SelectionIsRectangle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SelectionIsRectangle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SelectionIsRectangle(self, *_args, **_kwargs)
return val
def SetZoom(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetZoom,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetZoom(self, *_args, **_kwargs)
return val
def GetZoom(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetZoom,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetZoom(self, *_args, **_kwargs)
return val
def CreateDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CreateDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CreateDocument(self, *_args, **_kwargs)
return val
def AddRefDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddRefDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddRefDocument(self, *_args, **_kwargs)
return val
def ReleaseDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReleaseDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReleaseDocument(self, *_args, **_kwargs)
return val
def GetModEventMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetModEventMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetModEventMask(self, *_args, **_kwargs)
return val
def SetSTCFocus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSTCFocus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSTCFocus(self, *_args, **_kwargs)
return val
def GetSTCFocus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSTCFocus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSTCFocus(self, *_args, **_kwargs)
return val
def SetStatus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStatus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStatus(self, *_args, **_kwargs)
return val
def GetStatus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStatus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStatus(self, *_args, **_kwargs)
return val
def SetMouseDownCaptures(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMouseDownCaptures,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMouseDownCaptures(self, *_args, **_kwargs)
return val
def GetMouseDownCaptures(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMouseDownCaptures,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMouseDownCaptures(self, *_args, **_kwargs)
return val
def SetCursor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCursor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCursor(self, *_args, **_kwargs)
return val
def GetCursor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCursor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCursor(self, *_args, **_kwargs)
return val
def SetControlCharSymbol(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetControlCharSymbol,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetControlCharSymbol(self, *_args, **_kwargs)
return val
def GetControlCharSymbol(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetControlCharSymbol,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetControlCharSymbol(self, *_args, **_kwargs)
return val
def WordPartLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartLeft(self, *_args, **_kwargs)
return val
def WordPartLeftExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartLeftExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartLeftExtend(self, *_args, **_kwargs)
return val
def WordPartRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartRight(self, *_args, **_kwargs)
return val
def WordPartRightExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartRightExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartRightExtend(self, *_args, **_kwargs)
return val
def SetVisiblePolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetVisiblePolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetVisiblePolicy(self, *_args, **_kwargs)
return val
def DelLineLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DelLineLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DelLineLeft(self, *_args, **_kwargs)
return val
def DelLineRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DelLineRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DelLineRight(self, *_args, **_kwargs)
return val
def SetXOffset(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetXOffset,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetXOffset(self, *_args, **_kwargs)
return val
def GetXOffset(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetXOffset,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetXOffset(self, *_args, **_kwargs)
+ return val
+ def ChooseCaretX(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_ChooseCaretX(self, *_args, **_kwargs)
return val
def SetXCaretPolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetXCaretPolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetXCaretPolicy(self, *_args, **_kwargs)
return val
def SetYCaretPolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetYCaretPolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetYCaretPolicy(self, *_args, **_kwargs)
+ return val
+ def SetPrintWrapMode(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetPrintWrapMode(self, *_args, **_kwargs)
+ return val
+ def GetPrintWrapMode(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetPrintWrapMode(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveForeground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveForeground(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveBackground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveBackground(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveUnderline(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveUnderline(self, *_args, **_kwargs)
return val
def StartRecord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StartRecord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StartRecord(self, *_args, **_kwargs)
return val
def StopRecord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StopRecord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StopRecord(self, *_args, **_kwargs)
return val
def SetLexer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLexer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLexer(self, *_args, **_kwargs)
return val
def GetLexer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLexer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLexer(self, *_args, **_kwargs)
return val
def Colourise(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Colourise,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Colourise(self, *_args, **_kwargs)
return val
def SetProperty(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetProperty,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetProperty(self, *_args, **_kwargs)
return val
def SetKeyWords(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetKeyWords,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetKeyWords(self, *_args, **_kwargs)
return val
def SetLexerLanguage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLexerLanguage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLexerLanguage(self, *_args, **_kwargs)
return val
def GetCurrentLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurrentLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurrentLine(self, *_args, **_kwargs)
return val
def StyleSetSpec(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetSpec,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetSpec(self, *_args, **_kwargs)
return val
def StyleSetFont(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFont,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFont(self, *_args, **_kwargs)
return val
def StyleSetFontAttr(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFontAttr,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFontAttr(self, *_args, **_kwargs)
return val
def CmdKeyExecute(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyExecute,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyExecute(self, *_args, **_kwargs)
return val
def SetMargins(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMargins,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMargins(self, *_args, **_kwargs)
return val
def GetSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelection(self, *_args, **_kwargs)
return val
def PointFromPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PointFromPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PointFromPosition(self, *_args, **_kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def ScrollToLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ScrollToLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ScrollToLine(self, *_args, **_kwargs)
return val
def ScrollToColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ScrollToColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ScrollToColumn(self, *_args, **_kwargs)
return val
def SendMsg(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SendMsg,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SendMsg(self, *_args, **_kwargs)
return val
def SetVScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetVScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetVScrollBar(self, *_args, **_kwargs)
return val
def SetHScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetHScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetHScrollBar(self, *_args, **_kwargs)
return val
def GetLastKeydownProcessed(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLastKeydownProcessed,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLastKeydownProcessed(self, *_args, **_kwargs)
return val
def SetLastKeydownProcessed(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLastKeydownProcessed,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLastKeydownProcessed(self, *_args, **_kwargs)
+ return val
+ def SaveFile(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SaveFile(self, *_args, **_kwargs)
+ return val
+ def LoadFile(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LoadFile(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxStyledTextCtrl(wxStyledTextCtrlPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(stc_c.new_wxStyledTextCtrl,_args,_kwargs)
+ self.this = stc_c.new_wxStyledTextCtrl(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -1053,143 +1142,143 @@ class wxStyledTextEventPtr(wxCommandEventPtr):
except:
pass
def SetPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetPosition(self, *_args, **_kwargs)
return val
def SetKey(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetKey,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetKey(self, *_args, **_kwargs)
return val
def SetModifiers(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetModifiers,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetModifiers(self, *_args, **_kwargs)
return val
def SetModificationType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetModificationType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetModificationType(self, *_args, **_kwargs)
return val
def SetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetText(self, *_args, **_kwargs)
return val
def SetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLength(self, *_args, **_kwargs)
return val
def SetLinesAdded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLinesAdded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLinesAdded(self, *_args, **_kwargs)
return val
def SetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLine(self, *_args, **_kwargs)
return val
def SetFoldLevelNow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetFoldLevelNow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetFoldLevelNow(self, *_args, **_kwargs)
return val
def SetFoldLevelPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetFoldLevelPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetFoldLevelPrev(self, *_args, **_kwargs)
return val
def SetMargin(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetMargin,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetMargin(self, *_args, **_kwargs)
return val
def SetMessage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetMessage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetMessage(self, *_args, **_kwargs)
return val
def SetWParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetWParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetWParam(self, *_args, **_kwargs)
return val
def SetLParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLParam(self, *_args, **_kwargs)
return val
def SetListType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetListType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetListType(self, *_args, **_kwargs)
return val
def SetX(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetX,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetX(self, *_args, **_kwargs)
return val
def SetY(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetY,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetY(self, *_args, **_kwargs)
return val
def SetDragText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragText(self, *_args, **_kwargs)
return val
def SetDragAllowMove(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragAllowMove,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragAllowMove(self, *_args, **_kwargs)
return val
def SetDragResult(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragResult,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragResult(self, *_args, **_kwargs)
return val
def GetPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetPosition(self, *_args, **_kwargs)
return val
def GetKey(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetKey,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetKey(self, *_args, **_kwargs)
return val
def GetModifiers(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetModifiers,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetModifiers(self, *_args, **_kwargs)
return val
def GetModificationType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetModificationType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetModificationType(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetText(self, *_args, **_kwargs)
return val
def GetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLength(self, *_args, **_kwargs)
return val
def GetLinesAdded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLinesAdded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLinesAdded(self, *_args, **_kwargs)
return val
def GetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLine(self, *_args, **_kwargs)
return val
def GetFoldLevelNow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetFoldLevelNow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetFoldLevelNow(self, *_args, **_kwargs)
return val
def GetFoldLevelPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetFoldLevelPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetFoldLevelPrev(self, *_args, **_kwargs)
return val
def GetMargin(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetMargin,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetMargin(self, *_args, **_kwargs)
return val
def GetMessage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetMessage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetMessage(self, *_args, **_kwargs)
return val
def GetWParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetWParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetWParam(self, *_args, **_kwargs)
return val
def GetLParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLParam(self, *_args, **_kwargs)
return val
def GetListType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetListType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetListType(self, *_args, **_kwargs)
return val
def GetX(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetX,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetX(self, *_args, **_kwargs)
return val
def GetY(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetY,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetY(self, *_args, **_kwargs)
return val
def GetDragText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragText(self, *_args, **_kwargs)
return val
def GetDragAllowMove(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragAllowMove,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragAllowMove(self, *_args, **_kwargs)
return val
def GetDragResult(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragResult,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragResult(self, *_args, **_kwargs)
return val
def GetShift(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetShift,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetShift(self, *_args, **_kwargs)
return val
def GetControl(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetControl,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetControl(self, *_args, **_kwargs)
return val
def GetAlt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetAlt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetAlt(self, *_args, **_kwargs)
return val
def Clone(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_Clone,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_Clone(self, *_args, **_kwargs)
if val: val = wxEventPtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxStyledTextEvent(wxStyledTextEventPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(stc_c.new_wxStyledTextEvent,_args,_kwargs)
+ self.this = stc_c.new_wxStyledTextEvent(*_args,**_kwargs)
self.thisown = 1
@@ -1215,6 +1304,7 @@ wxSTC_EOL_CRLF = stc_c.wxSTC_EOL_CRLF
wxSTC_EOL_CR = stc_c.wxSTC_EOL_CR
wxSTC_EOL_LF = stc_c.wxSTC_EOL_LF
wxSTC_CP_UTF8 = stc_c.wxSTC_CP_UTF8
+wxSTC_CP_DBCS = stc_c.wxSTC_CP_DBCS
wxSTC_MARKER_MAX = stc_c.wxSTC_MARKER_MAX
wxSTC_MARK_CIRCLE = stc_c.wxSTC_MARK_CIRCLE
wxSTC_MARK_ROUNDRECT = stc_c.wxSTC_MARK_ROUNDRECT
@@ -1241,6 +1331,7 @@ wxSTC_MARK_CIRCLEMINUSCONNECTED = stc_c.wxSTC_MARK_CIRCLEMINUSCONNECTED
wxSTC_MARK_BACKGROUND = stc_c.wxSTC_MARK_BACKGROUND
wxSTC_MARK_DOTDOTDOT = stc_c.wxSTC_MARK_DOTDOTDOT
wxSTC_MARK_ARROWS = stc_c.wxSTC_MARK_ARROWS
+wxSTC_MARK_PIXMAP = stc_c.wxSTC_MARK_PIXMAP
wxSTC_MARK_CHARACTER = stc_c.wxSTC_MARK_CHARACTER
wxSTC_MARKNUM_FOLDEREND = stc_c.wxSTC_MARKNUM_FOLDEREND
wxSTC_MARKNUM_FOLDEROPENMID = stc_c.wxSTC_MARKNUM_FOLDEROPENMID
@@ -1301,10 +1392,21 @@ wxSTC_FIND_WHOLEWORD = stc_c.wxSTC_FIND_WHOLEWORD
wxSTC_FIND_MATCHCASE = stc_c.wxSTC_FIND_MATCHCASE
wxSTC_FIND_WORDSTART = stc_c.wxSTC_FIND_WORDSTART
wxSTC_FIND_REGEXP = stc_c.wxSTC_FIND_REGEXP
+wxSTC_FIND_POSIX = stc_c.wxSTC_FIND_POSIX
wxSTC_FOLDLEVELBASE = stc_c.wxSTC_FOLDLEVELBASE
wxSTC_FOLDLEVELWHITEFLAG = stc_c.wxSTC_FOLDLEVELWHITEFLAG
wxSTC_FOLDLEVELHEADERFLAG = stc_c.wxSTC_FOLDLEVELHEADERFLAG
+wxSTC_FOLDLEVELBOXHEADERFLAG = stc_c.wxSTC_FOLDLEVELBOXHEADERFLAG
+wxSTC_FOLDLEVELBOXFOOTERFLAG = stc_c.wxSTC_FOLDLEVELBOXFOOTERFLAG
+wxSTC_FOLDLEVELCONTRACTED = stc_c.wxSTC_FOLDLEVELCONTRACTED
+wxSTC_FOLDLEVELUNINDENT = stc_c.wxSTC_FOLDLEVELUNINDENT
wxSTC_FOLDLEVELNUMBERMASK = stc_c.wxSTC_FOLDLEVELNUMBERMASK
+wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED
+wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED
+wxSTC_FOLDFLAG_LINEAFTER_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_EXPANDED
+wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED
+wxSTC_FOLDFLAG_LEVELNUMBERS = stc_c.wxSTC_FOLDFLAG_LEVELNUMBERS
+wxSTC_FOLDFLAG_BOX = stc_c.wxSTC_FOLDFLAG_BOX
wxSTC_TIME_FOREVER = stc_c.wxSTC_TIME_FOREVER
wxSTC_WRAP_NONE = stc_c.wxSTC_WRAP_NONE
wxSTC_WRAP_WORD = stc_c.wxSTC_WRAP_WORD
@@ -1389,6 +1491,12 @@ wxSTC_LEX_PHP = stc_c.wxSTC_LEX_PHP
wxSTC_LEX_BAAN = stc_c.wxSTC_LEX_BAAN
wxSTC_LEX_MATLAB = stc_c.wxSTC_LEX_MATLAB
wxSTC_LEX_SCRIPTOL = stc_c.wxSTC_LEX_SCRIPTOL
+wxSTC_LEX_ASM = stc_c.wxSTC_LEX_ASM
+wxSTC_LEX_CPPNOCASE = stc_c.wxSTC_LEX_CPPNOCASE
+wxSTC_LEX_FORTRAN = stc_c.wxSTC_LEX_FORTRAN
+wxSTC_LEX_F77 = stc_c.wxSTC_LEX_F77
+wxSTC_LEX_CSS = stc_c.wxSTC_LEX_CSS
+wxSTC_LEX_POV = stc_c.wxSTC_LEX_POV
wxSTC_LEX_AUTOMATIC = stc_c.wxSTC_LEX_AUTOMATIC
wxSTC_P_DEFAULT = stc_c.wxSTC_P_DEFAULT
wxSTC_P_COMMENTLINE = stc_c.wxSTC_P_COMMENTLINE
@@ -1614,6 +1722,9 @@ wxSTC_ERR_DIFF_CHANGED = stc_c.wxSTC_ERR_DIFF_CHANGED
wxSTC_ERR_DIFF_ADDITION = stc_c.wxSTC_ERR_DIFF_ADDITION
wxSTC_ERR_DIFF_DELETION = stc_c.wxSTC_ERR_DIFF_DELETION
wxSTC_ERR_DIFF_MESSAGE = stc_c.wxSTC_ERR_DIFF_MESSAGE
+wxSTC_ERR_PHP = stc_c.wxSTC_ERR_PHP
+wxSTC_ERR_ELF = stc_c.wxSTC_ERR_ELF
+wxSTC_ERR_IFC = stc_c.wxSTC_ERR_IFC
wxSTC_BAT_DEFAULT = stc_c.wxSTC_BAT_DEFAULT
wxSTC_BAT_COMMENT = stc_c.wxSTC_BAT_COMMENT
wxSTC_BAT_WORD = stc_c.wxSTC_BAT_WORD
@@ -1650,22 +1761,29 @@ wxSTC_AVE_DEFAULT = stc_c.wxSTC_AVE_DEFAULT
wxSTC_AVE_COMMENT = stc_c.wxSTC_AVE_COMMENT
wxSTC_AVE_NUMBER = stc_c.wxSTC_AVE_NUMBER
wxSTC_AVE_WORD = stc_c.wxSTC_AVE_WORD
-wxSTC_AVE_KEYWORD = stc_c.wxSTC_AVE_KEYWORD
-wxSTC_AVE_STATEMENT = stc_c.wxSTC_AVE_STATEMENT
wxSTC_AVE_STRING = stc_c.wxSTC_AVE_STRING
wxSTC_AVE_ENUM = stc_c.wxSTC_AVE_ENUM
wxSTC_AVE_STRINGEOL = stc_c.wxSTC_AVE_STRINGEOL
wxSTC_AVE_IDENTIFIER = stc_c.wxSTC_AVE_IDENTIFIER
wxSTC_AVE_OPERATOR = stc_c.wxSTC_AVE_OPERATOR
+wxSTC_AVE_WORD1 = stc_c.wxSTC_AVE_WORD1
+wxSTC_AVE_WORD2 = stc_c.wxSTC_AVE_WORD2
+wxSTC_AVE_WORD3 = stc_c.wxSTC_AVE_WORD3
+wxSTC_AVE_WORD4 = stc_c.wxSTC_AVE_WORD4
+wxSTC_AVE_WORD5 = stc_c.wxSTC_AVE_WORD5
+wxSTC_AVE_WORD6 = stc_c.wxSTC_AVE_WORD6
wxSTC_ADA_DEFAULT = stc_c.wxSTC_ADA_DEFAULT
-wxSTC_ADA_COMMENT = stc_c.wxSTC_ADA_COMMENT
-wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
wxSTC_ADA_WORD = stc_c.wxSTC_ADA_WORD
-wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
-wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
-wxSTC_ADA_OPERATOR = stc_c.wxSTC_ADA_OPERATOR
wxSTC_ADA_IDENTIFIER = stc_c.wxSTC_ADA_IDENTIFIER
+wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
+wxSTC_ADA_DELIMITER = stc_c.wxSTC_ADA_DELIMITER
+wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
+wxSTC_ADA_CHARACTEREOL = stc_c.wxSTC_ADA_CHARACTEREOL
+wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
wxSTC_ADA_STRINGEOL = stc_c.wxSTC_ADA_STRINGEOL
+wxSTC_ADA_LABEL = stc_c.wxSTC_ADA_LABEL
+wxSTC_ADA_COMMENTLINE = stc_c.wxSTC_ADA_COMMENTLINE
+wxSTC_ADA_ILLEGAL = stc_c.wxSTC_ADA_ILLEGAL
wxSTC_BAAN_DEFAULT = stc_c.wxSTC_BAAN_DEFAULT
wxSTC_BAAN_COMMENT = stc_c.wxSTC_BAAN_COMMENT
wxSTC_BAAN_COMMENTDOC = stc_c.wxSTC_BAAN_COMMENTDOC
@@ -1733,6 +1851,58 @@ wxSTC_SCRIPTOL_WORD2 = stc_c.wxSTC_SCRIPTOL_WORD2
wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORD
wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR
wxSTC_SCRIPTOL_COMMENTBASIC = stc_c.wxSTC_SCRIPTOL_COMMENTBASIC
+wxSTC_ASM_DEFAULT = stc_c.wxSTC_ASM_DEFAULT
+wxSTC_ASM_COMMENT = stc_c.wxSTC_ASM_COMMENT
+wxSTC_ASM_NUMBER = stc_c.wxSTC_ASM_NUMBER
+wxSTC_ASM_STRING = stc_c.wxSTC_ASM_STRING
+wxSTC_ASM_OPERATOR = stc_c.wxSTC_ASM_OPERATOR
+wxSTC_ASM_IDENTIFIER = stc_c.wxSTC_ASM_IDENTIFIER
+wxSTC_ASM_CPUINSTRUCTION = stc_c.wxSTC_ASM_CPUINSTRUCTION
+wxSTC_ASM_MATHINSTRUCTION = stc_c.wxSTC_ASM_MATHINSTRUCTION
+wxSTC_ASM_REGISTER = stc_c.wxSTC_ASM_REGISTER
+wxSTC_ASM_DIRECTIVE = stc_c.wxSTC_ASM_DIRECTIVE
+wxSTC_ASM_DIRECTIVEOPERAND = stc_c.wxSTC_ASM_DIRECTIVEOPERAND
+wxSTC_F_DEFAULT = stc_c.wxSTC_F_DEFAULT
+wxSTC_F_COMMENT = stc_c.wxSTC_F_COMMENT
+wxSTC_F_NUMBER = stc_c.wxSTC_F_NUMBER
+wxSTC_F_STRING1 = stc_c.wxSTC_F_STRING1
+wxSTC_F_STRING2 = stc_c.wxSTC_F_STRING2
+wxSTC_F_STRINGEOL = stc_c.wxSTC_F_STRINGEOL
+wxSTC_F_OPERATOR = stc_c.wxSTC_F_OPERATOR
+wxSTC_F_IDENTIFIER = stc_c.wxSTC_F_IDENTIFIER
+wxSTC_F_WORD = stc_c.wxSTC_F_WORD
+wxSTC_F_WORD2 = stc_c.wxSTC_F_WORD2
+wxSTC_F_WORD3 = stc_c.wxSTC_F_WORD3
+wxSTC_F_PREPROCESSOR = stc_c.wxSTC_F_PREPROCESSOR
+wxSTC_F_OPERATOR2 = stc_c.wxSTC_F_OPERATOR2
+wxSTC_F_LABEL = stc_c.wxSTC_F_LABEL
+wxSTC_F_CONTINUATION = stc_c.wxSTC_F_CONTINUATION
+wxSTC_CSS_DEFAULT = stc_c.wxSTC_CSS_DEFAULT
+wxSTC_CSS_TAG = stc_c.wxSTC_CSS_TAG
+wxSTC_CSS_CLASS = stc_c.wxSTC_CSS_CLASS
+wxSTC_CSS_PSEUDOCLASS = stc_c.wxSTC_CSS_PSEUDOCLASS
+wxSTC_CSS_UNKNOWN_PSEUDOCLASS = stc_c.wxSTC_CSS_UNKNOWN_PSEUDOCLASS
+wxSTC_CSS_OPERATOR = stc_c.wxSTC_CSS_OPERATOR
+wxSTC_CSS_IDENTIFIER = stc_c.wxSTC_CSS_IDENTIFIER
+wxSTC_CSS_UNKNOWN_IDENTIFIER = stc_c.wxSTC_CSS_UNKNOWN_IDENTIFIER
+wxSTC_CSS_VALUE = stc_c.wxSTC_CSS_VALUE
+wxSTC_CSS_COMMENT = stc_c.wxSTC_CSS_COMMENT
+wxSTC_CSS_ID = stc_c.wxSTC_CSS_ID
+wxSTC_CSS_IMPORTANT = stc_c.wxSTC_CSS_IMPORTANT
+wxSTC_CSS_DIRECTIVE = stc_c.wxSTC_CSS_DIRECTIVE
+wxSTC_CSS_DOUBLESTRING = stc_c.wxSTC_CSS_DOUBLESTRING
+wxSTC_CSS_SINGLESTRING = stc_c.wxSTC_CSS_SINGLESTRING
+wxSTC_POV_DEFAULT = stc_c.wxSTC_POV_DEFAULT
+wxSTC_POV_COMMENT = stc_c.wxSTC_POV_COMMENT
+wxSTC_POV_COMMENTLINE = stc_c.wxSTC_POV_COMMENTLINE
+wxSTC_POV_COMMENTDOC = stc_c.wxSTC_POV_COMMENTDOC
+wxSTC_POV_NUMBER = stc_c.wxSTC_POV_NUMBER
+wxSTC_POV_WORD = stc_c.wxSTC_POV_WORD
+wxSTC_POV_STRING = stc_c.wxSTC_POV_STRING
+wxSTC_POV_OPERATOR = stc_c.wxSTC_POV_OPERATOR
+wxSTC_POV_IDENTIFIER = stc_c.wxSTC_POV_IDENTIFIER
+wxSTC_POV_BRACE = stc_c.wxSTC_POV_BRACE
+wxSTC_POV_WORD2 = stc_c.wxSTC_POV_WORD2
wxSTC_CMD_REDO = stc_c.wxSTC_CMD_REDO
wxSTC_CMD_SELECTALL = stc_c.wxSTC_CMD_SELECTALL
wxSTC_CMD_UNDO = stc_c.wxSTC_CMD_UNDO
@@ -1780,6 +1950,7 @@ wxSTC_CMD_DELWORDRIGHT = stc_c.wxSTC_CMD_DELWORDRIGHT
wxSTC_CMD_LINECUT = stc_c.wxSTC_CMD_LINECUT
wxSTC_CMD_LINEDELETE = stc_c.wxSTC_CMD_LINEDELETE
wxSTC_CMD_LINETRANSPOSE = stc_c.wxSTC_CMD_LINETRANSPOSE
+wxSTC_CMD_LINEDUPLICATE = stc_c.wxSTC_CMD_LINEDUPLICATE
wxSTC_CMD_LOWERCASE = stc_c.wxSTC_CMD_LOWERCASE
wxSTC_CMD_UPPERCASE = stc_c.wxSTC_CMD_UPPERCASE
wxSTC_CMD_LINESCROLLDOWN = stc_c.wxSTC_CMD_LINESCROLLDOWN
@@ -1789,12 +1960,22 @@ wxSTC_CMD_HOMEDISPLAY = stc_c.wxSTC_CMD_HOMEDISPLAY
wxSTC_CMD_HOMEDISPLAYEXTEND = stc_c.wxSTC_CMD_HOMEDISPLAYEXTEND
wxSTC_CMD_LINEENDDISPLAY = stc_c.wxSTC_CMD_LINEENDDISPLAY
wxSTC_CMD_LINEENDDISPLAYEXTEND = stc_c.wxSTC_CMD_LINEENDDISPLAYEXTEND
+wxSTC_CMD_HOMEWRAP = stc_c.wxSTC_CMD_HOMEWRAP
+wxSTC_CMD_HOMEWRAPEXTEND = stc_c.wxSTC_CMD_HOMEWRAPEXTEND
+wxSTC_CMD_LINEENDWRAP = stc_c.wxSTC_CMD_LINEENDWRAP
+wxSTC_CMD_LINEENDWRAPEXTEND = stc_c.wxSTC_CMD_LINEENDWRAPEXTEND
+wxSTC_CMD_VCHOMEWRAP = stc_c.wxSTC_CMD_VCHOMEWRAP
+wxSTC_CMD_VCHOMEWRAPEXTEND = stc_c.wxSTC_CMD_VCHOMEWRAPEXTEND
wxSTC_CMD_WORDPARTLEFT = stc_c.wxSTC_CMD_WORDPARTLEFT
wxSTC_CMD_WORDPARTLEFTEXTEND = stc_c.wxSTC_CMD_WORDPARTLEFTEXTEND
wxSTC_CMD_WORDPARTRIGHT = stc_c.wxSTC_CMD_WORDPARTRIGHT
wxSTC_CMD_WORDPARTRIGHTEXTEND = stc_c.wxSTC_CMD_WORDPARTRIGHTEXTEND
wxSTC_CMD_DELLINELEFT = stc_c.wxSTC_CMD_DELLINELEFT
wxSTC_CMD_DELLINERIGHT = stc_c.wxSTC_CMD_DELLINERIGHT
+wxSTC_CMD_PARADOWN = stc_c.wxSTC_CMD_PARADOWN
+wxSTC_CMD_PARADOWNEXTEND = stc_c.wxSTC_CMD_PARADOWNEXTEND
+wxSTC_CMD_PARAUP = stc_c.wxSTC_CMD_PARAUP
+wxSTC_CMD_PARAUPEXTEND = stc_c.wxSTC_CMD_PARAUPEXTEND
STC_USE_DND = stc_c.STC_USE_DND
wxEVT_STC_CHANGE = stc_c.wxEVT_STC_CHANGE
wxEVT_STC_STYLENEEDED = stc_c.wxEVT_STC_STYLENEEDED
@@ -1819,6 +2000,9 @@ wxEVT_STC_START_DRAG = stc_c.wxEVT_STC_START_DRAG
wxEVT_STC_DRAG_OVER = stc_c.wxEVT_STC_DRAG_OVER
wxEVT_STC_DO_DROP = stc_c.wxEVT_STC_DO_DROP
wxEVT_STC_ZOOM = stc_c.wxEVT_STC_ZOOM
+wxEVT_STC_HOTSPOT_CLICK = stc_c.wxEVT_STC_HOTSPOT_CLICK
+wxEVT_STC_HOTSPOT_DCLICK = stc_c.wxEVT_STC_HOTSPOT_DCLICK
+wxEVT_STC_CALLTIP_CLICK = stc_c.wxEVT_STC_CALLTIP_CLICK
#-------------- USER INCLUDE -----------------------
diff --git a/wxPython/contrib/stc/mac/stc_.cpp b/wxPython/contrib/stc/mac/stc_.cpp
index 0aa420109b..d6c081cfb5 100644
--- a/wxPython/contrib/stc/mac/stc_.cpp
+++ b/wxPython/contrib/stc/mac/stc_.cpp
@@ -1649,6 +1649,43 @@ static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject
return _resultobj;
}
+#define wxStyledTextCtrl_MarkerDefineBitmap(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDefineBitmap(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","markerNumber","bmp", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerDefineBitmap",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_MarkerDefineBitmap(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -2275,6 +2312,38 @@ static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyO
return _resultobj;
}
+#define wxStyledTextCtrl_StyleSetHotSpot(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetHotSpot(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ bool _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool2;
+ char *_kwnames[] = { "self","style","hotspot", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetHotSpot",_kwnames,&_argo0,&_arg1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetHotSpot. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_StyleSetHotSpot(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -3859,6 +3928,128 @@ static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self
return _resultobj;
}
+#define wxStyledTextCtrl_RegisterImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->RegisterImage(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","type","bmp", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_RegisterImage",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_RegisterImage. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_RegisterImage. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_RegisterImage(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_ClearRegisteredImages(_swigobj) (_swigobj->ClearRegisteredImages())
+static PyObject *_wrap_wxStyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearRegisteredImages",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearRegisteredImages. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_ClearRegisteredImages(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_AutoCompGetTypeSeparator(_swigobj) (_swigobj->AutoCompGetTypeSeparator())
+static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetTypeSeparator",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetTypeSeparator. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxStyledTextCtrl_AutoCompGetTypeSeparator(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_AutoCompSetTypeSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetTypeSeparator(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","separatorCharacter", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetTypeSeparator",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetTypeSeparator. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_AutoCompSetTypeSeparator(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -6229,6 +6420,78 @@ static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyO
return _resultobj;
}
+#define wxStyledTextCtrl_CallTipSetForeground(_swigobj,_swigarg0) (_swigobj->CallTipSetForeground(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ wxColour * _arg1;
+ PyObject * _argo0 = 0;
+ wxColour temp;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForeground",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForeground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp;
+ if (! wxColour_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_CallTipSetForeground(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_CallTipSetForegroundHighlight(_swigobj,_swigarg0) (_swigobj->CallTipSetForegroundHighlight(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ wxColour * _arg1;
+ PyObject * _argo0 = 0;
+ wxColour temp;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForegroundHighlight",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForegroundHighlight. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp;
+ if (! wxColour_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_CallTipSetForegroundHighlight(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -7209,26 +7472,29 @@ static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *arg
return _resultobj;
}
-#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
-static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_SetUseVerticalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseVerticalScrollBar(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxStyledTextCtrl * _arg0;
+ bool _arg1;
PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
+ int tempbool1;
+ char *_kwnames[] = { "self","show", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseVerticalScrollBar",_kwnames,&_argo0,&tempbool1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
+ _arg1 = (bool ) tempbool1;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_HomeDisplay(_arg0);
+ wxStyledTextCtrl_SetUseVerticalScrollBar(_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
@@ -7237,76 +7503,422 @@ static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *ar
return _resultobj;
}
-#define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend())
-static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_GetUseVerticalScrollBar(_swigobj) (_swigobj->GetUseVerticalScrollBar())
+static PyObject *_wrap_wxStyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
+ bool _result;
wxStyledTextCtrl * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseVerticalScrollBar",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_HomeDisplayExtend(_arg0);
+ _result = (bool )wxStyledTextCtrl_GetUseVerticalScrollBar(_arg0);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay())
-static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_AppendText(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendText(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxString * _arg2;
PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","length","text", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AppendText",_kwnames,&_argo0,&_arg1,&_obj2))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AppendText. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_LineEndDisplay(_arg0);
+ wxStyledTextCtrl_AppendText(_arg0,_arg1,*_arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
+{
+ if (_obj2)
+ delete _arg2;
+}
return _resultobj;
}
-#define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend())
-static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_GetTwoPhaseDraw(_swigobj) (_swigobj->GetTwoPhaseDraw())
+static PyObject *_wrap_wxStyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
+ bool _result;
wxStyledTextCtrl * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTwoPhaseDraw",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_GetTwoPhaseDraw(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetTwoPhaseDraw(_swigobj,_swigarg0) (_swigobj->SetTwoPhaseDraw(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","twoPhase", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTwoPhaseDraw",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetTwoPhaseDraw(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_TargetFromSelection(_swigobj) (_swigobj->TargetFromSelection())
+static PyObject *_wrap_wxStyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_TargetFromSelection",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TargetFromSelection. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_TargetFromSelection(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LinesJoin(_swigobj) (_swigobj->LinesJoin())
+static PyObject *_wrap_wxStyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesJoin",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesJoin. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LinesJoin(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LinesSplit(_swigobj,_swigarg0) (_swigobj->LinesSplit(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","pixelWidth", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LinesSplit",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesSplit. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LinesSplit(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetFoldMarginColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","back", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginColour",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginColour. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetFoldMarginColour(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetFoldMarginHiColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginHiColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginHiColour",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginHiColour. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetFoldMarginHiColour(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineDuplicate(_swigobj) (_swigobj->LineDuplicate())
+static PyObject *_wrap_wxStyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineDuplicate",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineDuplicate. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LineDuplicate(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
+static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_HomeDisplay(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend())
+static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_HomeDisplayExtend(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay())
+static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LineEndDisplay(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend())
+static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
@@ -8739,6 +9351,34 @@ static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *arg
return _resultobj;
}
+#define wxStyledTextCtrl_ChooseCaretX(_swigobj) (_swigobj->ChooseCaretX())
+static PyObject *_wrap_wxStyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ChooseCaretX",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ChooseCaretX. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_ChooseCaretX(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -8799,6 +9439,172 @@ static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject
return _resultobj;
}
+#define wxStyledTextCtrl_SetPrintWrapMode(_swigobj,_swigarg0) (_swigobj->SetPrintWrapMode(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","mode", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintWrapMode",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetPrintWrapMode(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_GetPrintWrapMode(_swigobj) (_swigobj->GetPrintWrapMode())
+static PyObject *_wrap_wxStyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintWrapMode",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxStyledTextCtrl_GetPrintWrapMode(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveForeground(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveForeground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveForeground(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveBackground(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","back", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveBackground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveBackground(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveUnderline(_swigobj,_swigarg0) (_swigobj->SetHotspotActiveUnderline(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","underline", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHotspotActiveUnderline",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveUnderline. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveUnderline(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -9586,6 +10392,84 @@ static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self,
return _resultobj;
}
+#define wxStyledTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxStyledTextCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","filename", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SaveFile. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_SaveFile(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxStyledTextCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","filename", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LoadFile. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_LoadFile(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
wxStyledTextEvent *src;
wxCommandEvent *dest;
@@ -11012,6 +11896,8 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
{ "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
{ "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LoadFile", (PyCFunction) _wrap_wxStyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SaveFile", (PyCFunction) _wrap_wxStyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
@@ -11035,8 +11921,14 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_wxStyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
@@ -11088,6 +11980,17 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_wxStyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LinesSplit", (PyCFunction) _wrap_wxStyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LinesJoin", (PyCFunction) _wrap_wxStyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_wxStyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AppendText", (PyCFunction) _wrap_wxStyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
@@ -11121,6 +12024,8 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
@@ -11198,6 +12103,10 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_wxStyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_RegisterImage", (PyCFunction) _wrap_wxStyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
@@ -11248,6 +12157,7 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
@@ -11268,6 +12178,7 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
@@ -11455,6 +12366,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
+ PyDict_SetItemString(d,"wxSTC_CP_DBCS", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
@@ -11481,6 +12393,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22));
PyDict_SetItemString(d,"wxSTC_MARK_DOTDOTDOT", PyInt_FromLong((long) 23));
PyDict_SetItemString(d,"wxSTC_MARK_ARROWS", PyInt_FromLong((long) 24));
+ PyDict_SetItemString(d,"wxSTC_MARK_PIXMAP", PyInt_FromLong((long) 25));
PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
@@ -11541,10 +12454,21 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
+ PyDict_SetItemString(d,"wxSTC_FIND_POSIX", PyInt_FromLong((long) 0x00400000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXHEADERFLAG", PyInt_FromLong((long) 0x4000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXFOOTERFLAG", PyInt_FromLong((long) 0x8000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELCONTRACTED", PyInt_FromLong((long) 0x10000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELUNINDENT", PyInt_FromLong((long) 0x20000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED", PyInt_FromLong((long) 0x0002));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED", PyInt_FromLong((long) 0x0004));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_EXPANDED", PyInt_FromLong((long) 0x0008));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED", PyInt_FromLong((long) 0x0010));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LEVELNUMBERS", PyInt_FromLong((long) 0x0040));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_BOX", PyInt_FromLong((long) 0x0001));
PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1));
@@ -11556,7 +12480,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
- PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
@@ -11629,6 +12553,12 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31));
PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32));
PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33));
+ PyDict_SetItemString(d,"wxSTC_LEX_ASM", PyInt_FromLong((long) 34));
+ PyDict_SetItemString(d,"wxSTC_LEX_CPPNOCASE", PyInt_FromLong((long) 35));
+ PyDict_SetItemString(d,"wxSTC_LEX_FORTRAN", PyInt_FromLong((long) 36));
+ PyDict_SetItemString(d,"wxSTC_LEX_F77", PyInt_FromLong((long) 37));
+ PyDict_SetItemString(d,"wxSTC_LEX_CSS", PyInt_FromLong((long) 38));
+ PyDict_SetItemString(d,"wxSTC_LEX_POV", PyInt_FromLong((long) 39));
PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
@@ -11854,6 +12784,9 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_ERR_PHP", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_ERR_ELF", PyInt_FromLong((long) 15));
+ PyDict_SetItemString(d,"wxSTC_ERR_IFC", PyInt_FromLong((long) 16));
PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
@@ -11890,22 +12823,29 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
- PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
- PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD1", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD2", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD3", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD4", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD5", PyInt_FromLong((long) 15));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD6", PyInt_FromLong((long) 16));
PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
- PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
- PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
- PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
- PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_ADA_DELIMITER", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
- PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
- PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_ADA_CHARACTEREOL", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 7));
PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_ADA_LABEL", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_ADA_COMMENTLINE", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_ADA_ILLEGAL", PyInt_FromLong((long) 11));
PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2));
@@ -11973,6 +12913,58 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19));
+ PyDict_SetItemString(d,"wxSTC_ASM_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_ASM_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_ASM_NUMBER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_ASM_STRING", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_ASM_OPERATOR", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_ASM_IDENTIFIER", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_ASM_CPUINSTRUCTION", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_ASM_MATHINSTRUCTION", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_ASM_REGISTER", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVE", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVEOPERAND", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_F_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_F_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_F_NUMBER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_F_STRING1", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_F_STRING2", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_F_STRINGEOL", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_F_OPERATOR", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_F_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_F_WORD", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_F_WORD2", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_F_WORD3", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_F_PREPROCESSOR", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_F_OPERATOR2", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_F_LABEL", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_F_CONTINUATION", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_CSS_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_CSS_TAG", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_CSS_CLASS", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_CSS_PSEUDOCLASS", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_PSEUDOCLASS", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_CSS_OPERATOR", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_CSS_IDENTIFIER", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_CSS_VALUE", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_CSS_COMMENT", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_CSS_ID", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_CSS_IMPORTANT", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_CSS_DIRECTIVE", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_CSS_DOUBLESTRING", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_CSS_SINGLESTRING", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_POV_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENTLINE", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENTDOC", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_POV_NUMBER", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_POV_WORD", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_POV_STRING", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_POV_OPERATOR", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_POV_IDENTIFIER", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_POV_BRACE", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_POV_WORD2", PyInt_FromLong((long) 10));
PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
@@ -12020,6 +13012,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEDUPLICATE", PyInt_FromLong((long) 2404));
PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
@@ -12029,12 +13022,22 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAYEXTEND", PyInt_FromLong((long) 2346));
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAY", PyInt_FromLong((long) 2347));
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAYEXTEND", PyInt_FromLong((long) 2348));
+ PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAP", PyInt_FromLong((long) 2349));
+ PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAPEXTEND", PyInt_FromLong((long) 2450));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAP", PyInt_FromLong((long) 2451));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAPEXTEND", PyInt_FromLong((long) 2452));
+ PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAP", PyInt_FromLong((long) 2453));
+ PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAPEXTEND", PyInt_FromLong((long) 2454));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFT", PyInt_FromLong((long) 2390));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFTEXTEND", PyInt_FromLong((long) 2391));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHT", PyInt_FromLong((long) 2392));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHTEXTEND", PyInt_FromLong((long) 2393));
PyDict_SetItemString(d,"wxSTC_CMD_DELLINELEFT", PyInt_FromLong((long) 2395));
PyDict_SetItemString(d,"wxSTC_CMD_DELLINERIGHT", PyInt_FromLong((long) 2396));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARADOWN", PyInt_FromLong((long) 2413));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARADOWNEXTEND", PyInt_FromLong((long) 2414));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARAUP", PyInt_FromLong((long) 2415));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARAUPEXTEND", PyInt_FromLong((long) 2416));
PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
@@ -12059,6 +13062,9 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER));
PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP));
PyDict_SetItemString(d,"wxEVT_STC_ZOOM", PyInt_FromLong((long) wxEVT_STC_ZOOM));
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_CLICK));
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_DCLICK));
+ PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", PyInt_FromLong((long) wxEVT_STC_CALLTIP_CLICK));
wxClassInfo::CleanUpClasses();
diff --git a/wxPython/contrib/stc/mac/stc_.py b/wxPython/contrib/stc/mac/stc_.py
index a3a4fef4a9..93e7f892ef 100644
--- a/wxPython/contrib/stc/mac/stc_.py
+++ b/wxPython/contrib/stc/mac/stc_.py
@@ -112,930 +112,1019 @@ def EVT_STC_DO_DROP(win, id, func):
def EVT_STC_ZOOM(win, id, func):
win.Connect(id, -1, wxEVT_STC_ZOOM, func)
+def EVT_STC_HOTSPOT_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_CLICK, func)
+
+def EVT_STC_HOTSPOT_DCLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_DCLICK, func)
+
+def EVT_STC_CALLTIP_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_CALLTIP_CLICK, func)
class wxStyledTextCtrlPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def AddText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddText(self, *_args, **_kwargs)
return val
def AddStyledText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddStyledText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddStyledText(self, *_args, **_kwargs)
return val
def InsertText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_InsertText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_InsertText(self, *_args, **_kwargs)
return val
def ClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ClearAll(self, *_args, **_kwargs)
return val
def ClearDocumentStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ClearDocumentStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ClearDocumentStyle(self, *_args, **_kwargs)
return val
def GetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLength(self, *_args, **_kwargs)
return val
def GetCharAt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCharAt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCharAt(self, *_args, **_kwargs)
return val
def GetCurrentPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurrentPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurrentPos(self, *_args, **_kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetAnchor(self, *_args, **_kwargs)
return val
def GetStyleAt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyleAt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyleAt(self, *_args, **_kwargs)
return val
def Redo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Redo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Redo(self, *_args, **_kwargs)
return val
def SetUndoCollection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUndoCollection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUndoCollection(self, *_args, **_kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SelectAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SelectAll(self, *_args, **_kwargs)
return val
def SetSavePoint(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSavePoint,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSavePoint(self, *_args, **_kwargs)
return val
def GetStyledText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyledText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyledText(self, *_args, **_kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanRedo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanRedo(self, *_args, **_kwargs)
return val
def MarkerLineFromHandle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerLineFromHandle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerLineFromHandle(self, *_args, **_kwargs)
return val
def MarkerDeleteHandle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDeleteHandle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDeleteHandle(self, *_args, **_kwargs)
return val
def GetUndoCollection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUndoCollection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUndoCollection(self, *_args, **_kwargs)
return val
def GetViewWhiteSpace(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetViewWhiteSpace,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetViewWhiteSpace(self, *_args, **_kwargs)
return val
def SetViewWhiteSpace(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetViewWhiteSpace,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetViewWhiteSpace(self, *_args, **_kwargs)
return val
def PositionFromPoint(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromPoint,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromPoint(self, *_args, **_kwargs)
return val
def PositionFromPointClose(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromPointClose,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromPointClose(self, *_args, **_kwargs)
return val
def GotoLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GotoLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GotoLine(self, *_args, **_kwargs)
return val
def GotoPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GotoPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GotoPos(self, *_args, **_kwargs)
return val
def SetAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetAnchor(self, *_args, **_kwargs)
return val
def GetCurLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurLine(self, *_args, **_kwargs)
return val
def GetEndStyled(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEndStyled,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEndStyled(self, *_args, **_kwargs)
return val
def ConvertEOLs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ConvertEOLs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ConvertEOLs(self, *_args, **_kwargs)
return val
def GetEOLMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEOLMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEOLMode(self, *_args, **_kwargs)
return val
def SetEOLMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEOLMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEOLMode(self, *_args, **_kwargs)
return val
def StartStyling(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StartStyling,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StartStyling(self, *_args, **_kwargs)
return val
def SetStyling(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyling,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyling(self, *_args, **_kwargs)
return val
def GetBufferedDraw(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetBufferedDraw,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetBufferedDraw(self, *_args, **_kwargs)
return val
def SetBufferedDraw(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetBufferedDraw,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetBufferedDraw(self, *_args, **_kwargs)
return val
def SetTabWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTabWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTabWidth(self, *_args, **_kwargs)
return val
def GetTabWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTabWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTabWidth(self, *_args, **_kwargs)
return val
def SetCodePage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCodePage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCodePage(self, *_args, **_kwargs)
return val
def MarkerDefine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDefine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDefine(self, *_args, **_kwargs)
return val
def MarkerSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerSetForeground(self, *_args, **_kwargs)
return val
def MarkerSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerSetBackground(self, *_args, **_kwargs)
return val
def MarkerAdd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerAdd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerAdd(self, *_args, **_kwargs)
return val
def MarkerDelete(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDelete,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDelete(self, *_args, **_kwargs)
return val
def MarkerDeleteAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDeleteAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDeleteAll(self, *_args, **_kwargs)
return val
def MarkerGet(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerGet,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerGet(self, *_args, **_kwargs)
return val
def MarkerNext(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerNext,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerNext(self, *_args, **_kwargs)
return val
def MarkerPrevious(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerPrevious,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerPrevious(self, *_args, **_kwargs)
+ return val
+ def MarkerDefineBitmap(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_MarkerDefineBitmap(self, *_args, **_kwargs)
return val
def SetMarginType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginType(self, *_args, **_kwargs)
return val
def GetMarginType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginType(self, *_args, **_kwargs)
return val
def SetMarginWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginWidth(self, *_args, **_kwargs)
return val
def GetMarginWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginWidth(self, *_args, **_kwargs)
return val
def SetMarginMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginMask(self, *_args, **_kwargs)
return val
def GetMarginMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginMask(self, *_args, **_kwargs)
return val
def SetMarginSensitive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginSensitive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginSensitive(self, *_args, **_kwargs)
return val
def GetMarginSensitive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginSensitive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginSensitive(self, *_args, **_kwargs)
return val
def StyleClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleClearAll(self, *_args, **_kwargs)
return val
def StyleSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetForeground(self, *_args, **_kwargs)
return val
def StyleSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetBackground(self, *_args, **_kwargs)
return val
def StyleSetBold(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetBold,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetBold(self, *_args, **_kwargs)
return val
def StyleSetItalic(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetItalic,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetItalic(self, *_args, **_kwargs)
return val
def StyleSetSize(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetSize,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetSize(self, *_args, **_kwargs)
return val
def StyleSetFaceName(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFaceName,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFaceName(self, *_args, **_kwargs)
return val
def StyleSetEOLFilled(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetEOLFilled,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetEOLFilled(self, *_args, **_kwargs)
return val
def StyleResetDefault(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleResetDefault,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleResetDefault(self, *_args, **_kwargs)
return val
def StyleSetUnderline(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetUnderline,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetUnderline(self, *_args, **_kwargs)
return val
def StyleSetCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetCase(self, *_args, **_kwargs)
return val
def StyleSetCharacterSet(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetCharacterSet,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetCharacterSet(self, *_args, **_kwargs)
+ return val
+ def StyleSetHotSpot(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_StyleSetHotSpot(self, *_args, **_kwargs)
return val
def SetSelForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelForeground(self, *_args, **_kwargs)
return val
def SetSelBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelBackground(self, *_args, **_kwargs)
return val
def SetCaretForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretForeground(self, *_args, **_kwargs)
return val
def CmdKeyAssign(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyAssign,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyAssign(self, *_args, **_kwargs)
return val
def CmdKeyClear(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyClear,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyClear(self, *_args, **_kwargs)
return val
def CmdKeyClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyClearAll(self, *_args, **_kwargs)
return val
def SetStyleBytes(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyleBytes,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyleBytes(self, *_args, **_kwargs)
return val
def StyleSetVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetVisible(self, *_args, **_kwargs)
return val
def GetCaretPeriod(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretPeriod,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretPeriod(self, *_args, **_kwargs)
return val
def SetCaretPeriod(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretPeriod,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretPeriod(self, *_args, **_kwargs)
return val
def SetWordChars(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWordChars,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWordChars(self, *_args, **_kwargs)
return val
def BeginUndoAction(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BeginUndoAction,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BeginUndoAction(self, *_args, **_kwargs)
return val
def EndUndoAction(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EndUndoAction,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EndUndoAction(self, *_args, **_kwargs)
return val
def IndicatorSetStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorSetStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorSetStyle(self, *_args, **_kwargs)
return val
def IndicatorGetStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorGetStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorGetStyle(self, *_args, **_kwargs)
return val
def IndicatorSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorSetForeground(self, *_args, **_kwargs)
return val
def IndicatorGetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorGetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorGetForeground(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetWhitespaceForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWhitespaceForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWhitespaceForeground(self, *_args, **_kwargs)
return val
def SetWhitespaceBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWhitespaceBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWhitespaceBackground(self, *_args, **_kwargs)
return val
def SetStyleBits(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyleBits,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyleBits(self, *_args, **_kwargs)
return val
def GetStyleBits(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyleBits,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyleBits(self, *_args, **_kwargs)
return val
def SetLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLineState(self, *_args, **_kwargs)
return val
def GetLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineState(self, *_args, **_kwargs)
return val
def GetMaxLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMaxLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMaxLineState(self, *_args, **_kwargs)
return val
def GetCaretLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretLineVisible(self, *_args, **_kwargs)
return val
def SetCaretLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretLineVisible(self, *_args, **_kwargs)
return val
def GetCaretLineBack(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretLineBack,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretLineBack(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetCaretLineBack(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretLineBack,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretLineBack(self, *_args, **_kwargs)
return val
def StyleSetChangeable(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetChangeable,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetChangeable(self, *_args, **_kwargs)
return val
def AutoCompShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompShow(self, *_args, **_kwargs)
return val
def AutoCompCancel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompCancel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompCancel(self, *_args, **_kwargs)
return val
def AutoCompActive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompActive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompActive(self, *_args, **_kwargs)
return val
def AutoCompPosStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompPosStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompPosStart(self, *_args, **_kwargs)
return val
def AutoCompComplete(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompComplete,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompComplete(self, *_args, **_kwargs)
return val
def AutoCompStops(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompStops,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompStops(self, *_args, **_kwargs)
return val
def AutoCompSetSeparator(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetSeparator,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetSeparator(self, *_args, **_kwargs)
return val
def AutoCompGetSeparator(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetSeparator,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetSeparator(self, *_args, **_kwargs)
return val
def AutoCompSelect(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSelect,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSelect(self, *_args, **_kwargs)
return val
def AutoCompSetCancelAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetCancelAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetCancelAtStart(self, *_args, **_kwargs)
return val
def AutoCompGetCancelAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetCancelAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetCancelAtStart(self, *_args, **_kwargs)
return val
def AutoCompSetFillUps(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetFillUps,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetFillUps(self, *_args, **_kwargs)
return val
def AutoCompSetChooseSingle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetChooseSingle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetChooseSingle(self, *_args, **_kwargs)
return val
def AutoCompGetChooseSingle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetChooseSingle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetChooseSingle(self, *_args, **_kwargs)
return val
def AutoCompSetIgnoreCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetIgnoreCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetIgnoreCase(self, *_args, **_kwargs)
return val
def AutoCompGetIgnoreCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetIgnoreCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetIgnoreCase(self, *_args, **_kwargs)
return val
def UserListShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_UserListShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_UserListShow(self, *_args, **_kwargs)
return val
def AutoCompSetAutoHide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetAutoHide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetAutoHide(self, *_args, **_kwargs)
return val
def AutoCompGetAutoHide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetAutoHide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetAutoHide(self, *_args, **_kwargs)
return val
def AutoCompSetDropRestOfWord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetDropRestOfWord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetDropRestOfWord(self, *_args, **_kwargs)
return val
def AutoCompGetDropRestOfWord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord(self, *_args, **_kwargs)
+ return val
+ def RegisterImage(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_RegisterImage(self, *_args, **_kwargs)
+ return val
+ def ClearRegisteredImages(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_ClearRegisteredImages(self, *_args, **_kwargs)
+ return val
+ def AutoCompGetTypeSeparator(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AutoCompGetTypeSeparator(self, *_args, **_kwargs)
+ return val
+ def AutoCompSetTypeSeparator(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AutoCompSetTypeSeparator(self, *_args, **_kwargs)
return val
def SetIndent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetIndent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetIndent(self, *_args, **_kwargs)
return val
def GetIndent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetIndent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetIndent(self, *_args, **_kwargs)
return val
def SetUseTabs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUseTabs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUseTabs(self, *_args, **_kwargs)
return val
def GetUseTabs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUseTabs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUseTabs(self, *_args, **_kwargs)
return val
def SetLineIndentation(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLineIndentation,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLineIndentation(self, *_args, **_kwargs)
return val
def GetLineIndentation(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineIndentation,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineIndentation(self, *_args, **_kwargs)
return val
def GetLineIndentPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineIndentPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineIndentPosition(self, *_args, **_kwargs)
return val
def GetColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetColumn(self, *_args, **_kwargs)
return val
def SetUseHorizontalScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUseHorizontalScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUseHorizontalScrollBar(self, *_args, **_kwargs)
return val
def GetUseHorizontalScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUseHorizontalScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUseHorizontalScrollBar(self, *_args, **_kwargs)
return val
def SetIndentationGuides(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetIndentationGuides,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetIndentationGuides(self, *_args, **_kwargs)
return val
def GetIndentationGuides(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetIndentationGuides,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetIndentationGuides(self, *_args, **_kwargs)
return val
def SetHighlightGuide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetHighlightGuide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetHighlightGuide(self, *_args, **_kwargs)
return val
def GetHighlightGuide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetHighlightGuide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetHighlightGuide(self, *_args, **_kwargs)
return val
def GetLineEndPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineEndPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineEndPosition(self, *_args, **_kwargs)
return val
def GetCodePage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCodePage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCodePage(self, *_args, **_kwargs)
return val
def GetCaretForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretForeground(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetReadOnly(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetReadOnly,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetReadOnly(self, *_args, **_kwargs)
return val
def SetCurrentPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCurrentPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCurrentPos(self, *_args, **_kwargs)
return val
def SetSelectionStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelectionStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelectionStart(self, *_args, **_kwargs)
return val
def GetSelectionStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectionStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectionStart(self, *_args, **_kwargs)
return val
def SetSelectionEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelectionEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelectionEnd(self, *_args, **_kwargs)
return val
def GetSelectionEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectionEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectionEnd(self, *_args, **_kwargs)
return val
def SetPrintMagnification(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetPrintMagnification,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetPrintMagnification(self, *_args, **_kwargs)
return val
def GetPrintMagnification(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetPrintMagnification,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetPrintMagnification(self, *_args, **_kwargs)
return val
def SetPrintColourMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetPrintColourMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetPrintColourMode(self, *_args, **_kwargs)
return val
def GetPrintColourMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetPrintColourMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetPrintColourMode(self, *_args, **_kwargs)
return val
def FindText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_FindText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_FindText(self, *_args, **_kwargs)
return val
def FormatRange(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_FormatRange,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_FormatRange(self, *_args, **_kwargs)
return val
def GetFirstVisibleLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFirstVisibleLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFirstVisibleLine(self, *_args, **_kwargs)
return val
def GetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLine(self, *_args, **_kwargs)
return val
def GetLineCount(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineCount,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineCount(self, *_args, **_kwargs)
return val
def SetMarginLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginLeft(self, *_args, **_kwargs)
return val
def GetMarginLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginLeft(self, *_args, **_kwargs)
return val
def SetMarginRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginRight(self, *_args, **_kwargs)
return val
def GetMarginRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginRight(self, *_args, **_kwargs)
return val
def GetModify(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetModify,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetModify(self, *_args, **_kwargs)
return val
def SetSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelection(self, *_args, **_kwargs)
return val
def GetSelectedText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectedText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectedText(self, *_args, **_kwargs)
return val
def GetTextRange(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTextRange,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTextRange(self, *_args, **_kwargs)
return val
def HideSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HideSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HideSelection(self, *_args, **_kwargs)
return val
def LineFromPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineFromPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineFromPosition(self, *_args, **_kwargs)
return val
def PositionFromLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromLine(self, *_args, **_kwargs)
return val
def LineScroll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineScroll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineScroll(self, *_args, **_kwargs)
return val
def EnsureCaretVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureCaretVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureCaretVisible(self, *_args, **_kwargs)
return val
def ReplaceSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceSelection(self, *_args, **_kwargs)
return val
def SetReadOnly(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetReadOnly,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetReadOnly(self, *_args, **_kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanPaste,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanPaste(self, *_args, **_kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanUndo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanUndo(self, *_args, **_kwargs)
return val
def EmptyUndoBuffer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EmptyUndoBuffer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EmptyUndoBuffer(self, *_args, **_kwargs)
return val
def Undo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Undo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Undo(self, *_args, **_kwargs)
return val
def Cut(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Cut,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Cut(self, *_args, **_kwargs)
return val
def Copy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Copy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Copy(self, *_args, **_kwargs)
return val
def Paste(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Paste,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Paste(self, *_args, **_kwargs)
return val
def Clear(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Clear,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Clear(self, *_args, **_kwargs)
return val
def SetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetText(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetText(self, *_args, **_kwargs)
return val
def GetTextLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTextLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTextLength(self, *_args, **_kwargs)
return val
def SetOvertype(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetOvertype,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetOvertype(self, *_args, **_kwargs)
return val
def GetOvertype(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetOvertype,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetOvertype(self, *_args, **_kwargs)
return val
def SetCaretWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretWidth(self, *_args, **_kwargs)
return val
def GetCaretWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretWidth(self, *_args, **_kwargs)
return val
def SetTargetStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTargetStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTargetStart(self, *_args, **_kwargs)
return val
def GetTargetStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTargetStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTargetStart(self, *_args, **_kwargs)
return val
def SetTargetEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTargetEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTargetEnd(self, *_args, **_kwargs)
return val
def GetTargetEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTargetEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTargetEnd(self, *_args, **_kwargs)
return val
def ReplaceTarget(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceTarget,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceTarget(self, *_args, **_kwargs)
return val
def ReplaceTargetRE(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceTargetRE,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceTargetRE(self, *_args, **_kwargs)
return val
def SearchInTarget(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchInTarget,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchInTarget(self, *_args, **_kwargs)
return val
def SetSearchFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSearchFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSearchFlags(self, *_args, **_kwargs)
return val
def GetSearchFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSearchFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSearchFlags(self, *_args, **_kwargs)
return val
def CallTipShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipShow(self, *_args, **_kwargs)
return val
def CallTipCancel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipCancel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipCancel(self, *_args, **_kwargs)
return val
def CallTipActive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipActive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipActive(self, *_args, **_kwargs)
return val
def CallTipPosAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipPosAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipPosAtStart(self, *_args, **_kwargs)
return val
def CallTipSetHighlight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipSetHighlight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipSetHighlight(self, *_args, **_kwargs)
return val
def CallTipSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipSetBackground(self, *_args, **_kwargs)
+ return val
+ def CallTipSetForeground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_CallTipSetForeground(self, *_args, **_kwargs)
+ return val
+ def CallTipSetForegroundHighlight(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_CallTipSetForegroundHighlight(self, *_args, **_kwargs)
return val
def VisibleFromDocLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_VisibleFromDocLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_VisibleFromDocLine(self, *_args, **_kwargs)
return val
def DocLineFromVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DocLineFromVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DocLineFromVisible(self, *_args, **_kwargs)
return val
def SetFoldLevel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldLevel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldLevel(self, *_args, **_kwargs)
return val
def GetFoldLevel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldLevel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldLevel(self, *_args, **_kwargs)
return val
def GetLastChild(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLastChild,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLastChild(self, *_args, **_kwargs)
return val
def GetFoldParent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldParent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldParent(self, *_args, **_kwargs)
return val
def ShowLines(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ShowLines,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ShowLines(self, *_args, **_kwargs)
return val
def HideLines(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HideLines,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HideLines(self, *_args, **_kwargs)
return val
def GetLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineVisible(self, *_args, **_kwargs)
return val
def SetFoldExpanded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldExpanded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldExpanded(self, *_args, **_kwargs)
return val
def GetFoldExpanded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldExpanded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldExpanded(self, *_args, **_kwargs)
return val
def ToggleFold(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ToggleFold,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ToggleFold(self, *_args, **_kwargs)
return val
def EnsureVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureVisible(self, *_args, **_kwargs)
return val
def SetFoldFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldFlags(self, *_args, **_kwargs)
return val
def EnsureVisibleEnforcePolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureVisibleEnforcePolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureVisibleEnforcePolicy(self, *_args, **_kwargs)
return val
def SetTabIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTabIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTabIndents(self, *_args, **_kwargs)
return val
def GetTabIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTabIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTabIndents(self, *_args, **_kwargs)
return val
def SetBackSpaceUnIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetBackSpaceUnIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetBackSpaceUnIndents(self, *_args, **_kwargs)
return val
def GetBackSpaceUnIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetBackSpaceUnIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetBackSpaceUnIndents(self, *_args, **_kwargs)
return val
def SetMouseDwellTime(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMouseDwellTime,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMouseDwellTime(self, *_args, **_kwargs)
return val
def GetMouseDwellTime(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMouseDwellTime,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMouseDwellTime(self, *_args, **_kwargs)
return val
def WordStartPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordStartPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordStartPosition(self, *_args, **_kwargs)
return val
def WordEndPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordEndPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordEndPosition(self, *_args, **_kwargs)
return val
def SetWrapMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWrapMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWrapMode(self, *_args, **_kwargs)
return val
def GetWrapMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetWrapMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetWrapMode(self, *_args, **_kwargs)
return val
def SetLayoutCache(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLayoutCache,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLayoutCache(self, *_args, **_kwargs)
return val
def GetLayoutCache(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLayoutCache,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLayoutCache(self, *_args, **_kwargs)
return val
def SetScrollWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetScrollWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetScrollWidth(self, *_args, **_kwargs)
return val
def GetScrollWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetScrollWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetScrollWidth(self, *_args, **_kwargs)
return val
def TextWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_TextWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_TextWidth(self, *_args, **_kwargs)
return val
def SetEndAtLastLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEndAtLastLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEndAtLastLine(self, *_args, **_kwargs)
return val
def GetEndAtLastLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEndAtLastLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEndAtLastLine(self, *_args, **_kwargs)
return val
def TextHeight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_TextHeight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_TextHeight(self, *_args, **_kwargs)
+ return val
+ def SetUseVerticalScrollBar(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetUseVerticalScrollBar(self, *_args, **_kwargs)
+ return val
+ def GetUseVerticalScrollBar(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetUseVerticalScrollBar(self, *_args, **_kwargs)
+ return val
+ def AppendText(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AppendText(self, *_args, **_kwargs)
+ return val
+ def GetTwoPhaseDraw(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetTwoPhaseDraw(self, *_args, **_kwargs)
+ return val
+ def SetTwoPhaseDraw(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetTwoPhaseDraw(self, *_args, **_kwargs)
+ return val
+ def TargetFromSelection(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_TargetFromSelection(self, *_args, **_kwargs)
+ return val
+ def LinesJoin(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LinesJoin(self, *_args, **_kwargs)
+ return val
+ def LinesSplit(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LinesSplit(self, *_args, **_kwargs)
+ return val
+ def SetFoldMarginColour(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetFoldMarginColour(self, *_args, **_kwargs)
+ return val
+ def SetFoldMarginHiColour(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetFoldMarginHiColour(self, *_args, **_kwargs)
+ return val
+ def LineDuplicate(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LineDuplicate(self, *_args, **_kwargs)
return val
def HomeDisplay(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HomeDisplay,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HomeDisplay(self, *_args, **_kwargs)
return val
def HomeDisplayExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HomeDisplayExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HomeDisplayExtend(self, *_args, **_kwargs)
return val
def LineEndDisplay(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineEndDisplay,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineEndDisplay(self, *_args, **_kwargs)
return val
def LineEndDisplayExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineEndDisplayExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineEndDisplayExtend(self, *_args, **_kwargs)
return val
def MoveCaretInsideView(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MoveCaretInsideView,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MoveCaretInsideView(self, *_args, **_kwargs)
return val
def LineLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineLength(self, *_args, **_kwargs)
return val
def BraceHighlight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceHighlight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceHighlight(self, *_args, **_kwargs)
return val
def BraceBadLight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceBadLight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceBadLight(self, *_args, **_kwargs)
return val
def BraceMatch(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceMatch,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceMatch(self, *_args, **_kwargs)
return val
def GetViewEOL(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetViewEOL,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetViewEOL(self, *_args, **_kwargs)
return val
def SetViewEOL(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetViewEOL,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetViewEOL(self, *_args, **_kwargs)
return val
def GetDocPointer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetDocPointer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetDocPointer(self, *_args, **_kwargs)
return val
def SetDocPointer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetDocPointer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetDocPointer(self, *_args, **_kwargs)
return val
def SetModEventMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetModEventMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetModEventMask(self, *_args, **_kwargs)
return val
def GetEdgeColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeColumn(self, *_args, **_kwargs)
return val
def SetEdgeColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeColumn(self, *_args, **_kwargs)
return val
def GetEdgeMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeMode(self, *_args, **_kwargs)
return val
def SetEdgeMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeMode(self, *_args, **_kwargs)
return val
def GetEdgeColour(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeColour,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeColour(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetEdgeColour(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeColour,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeColour(self, *_args, **_kwargs)
return val
def SearchAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchAnchor(self, *_args, **_kwargs)
return val
def SearchNext(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchNext,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchNext(self, *_args, **_kwargs)
return val
def SearchPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchPrev(self, *_args, **_kwargs)
return val
def LinesOnScreen(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LinesOnScreen,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LinesOnScreen(self, *_args, **_kwargs)
return val
def UsePopUp(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_UsePopUp,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_UsePopUp(self, *_args, **_kwargs)
return val
def SelectionIsRectangle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SelectionIsRectangle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SelectionIsRectangle(self, *_args, **_kwargs)
return val
def SetZoom(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetZoom,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetZoom(self, *_args, **_kwargs)
return val
def GetZoom(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetZoom,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetZoom(self, *_args, **_kwargs)
return val
def CreateDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CreateDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CreateDocument(self, *_args, **_kwargs)
return val
def AddRefDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddRefDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddRefDocument(self, *_args, **_kwargs)
return val
def ReleaseDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReleaseDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReleaseDocument(self, *_args, **_kwargs)
return val
def GetModEventMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetModEventMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetModEventMask(self, *_args, **_kwargs)
return val
def SetSTCFocus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSTCFocus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSTCFocus(self, *_args, **_kwargs)
return val
def GetSTCFocus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSTCFocus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSTCFocus(self, *_args, **_kwargs)
return val
def SetStatus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStatus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStatus(self, *_args, **_kwargs)
return val
def GetStatus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStatus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStatus(self, *_args, **_kwargs)
return val
def SetMouseDownCaptures(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMouseDownCaptures,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMouseDownCaptures(self, *_args, **_kwargs)
return val
def GetMouseDownCaptures(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMouseDownCaptures,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMouseDownCaptures(self, *_args, **_kwargs)
return val
def SetCursor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCursor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCursor(self, *_args, **_kwargs)
return val
def GetCursor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCursor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCursor(self, *_args, **_kwargs)
return val
def SetControlCharSymbol(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetControlCharSymbol,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetControlCharSymbol(self, *_args, **_kwargs)
return val
def GetControlCharSymbol(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetControlCharSymbol,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetControlCharSymbol(self, *_args, **_kwargs)
return val
def WordPartLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartLeft(self, *_args, **_kwargs)
return val
def WordPartLeftExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartLeftExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartLeftExtend(self, *_args, **_kwargs)
return val
def WordPartRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartRight(self, *_args, **_kwargs)
return val
def WordPartRightExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartRightExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartRightExtend(self, *_args, **_kwargs)
return val
def SetVisiblePolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetVisiblePolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetVisiblePolicy(self, *_args, **_kwargs)
return val
def DelLineLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DelLineLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DelLineLeft(self, *_args, **_kwargs)
return val
def DelLineRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DelLineRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DelLineRight(self, *_args, **_kwargs)
return val
def SetXOffset(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetXOffset,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetXOffset(self, *_args, **_kwargs)
return val
def GetXOffset(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetXOffset,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetXOffset(self, *_args, **_kwargs)
+ return val
+ def ChooseCaretX(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_ChooseCaretX(self, *_args, **_kwargs)
return val
def SetXCaretPolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetXCaretPolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetXCaretPolicy(self, *_args, **_kwargs)
return val
def SetYCaretPolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetYCaretPolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetYCaretPolicy(self, *_args, **_kwargs)
+ return val
+ def SetPrintWrapMode(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetPrintWrapMode(self, *_args, **_kwargs)
+ return val
+ def GetPrintWrapMode(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetPrintWrapMode(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveForeground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveForeground(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveBackground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveBackground(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveUnderline(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveUnderline(self, *_args, **_kwargs)
return val
def StartRecord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StartRecord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StartRecord(self, *_args, **_kwargs)
return val
def StopRecord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StopRecord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StopRecord(self, *_args, **_kwargs)
return val
def SetLexer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLexer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLexer(self, *_args, **_kwargs)
return val
def GetLexer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLexer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLexer(self, *_args, **_kwargs)
return val
def Colourise(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Colourise,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Colourise(self, *_args, **_kwargs)
return val
def SetProperty(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetProperty,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetProperty(self, *_args, **_kwargs)
return val
def SetKeyWords(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetKeyWords,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetKeyWords(self, *_args, **_kwargs)
return val
def SetLexerLanguage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLexerLanguage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLexerLanguage(self, *_args, **_kwargs)
return val
def GetCurrentLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurrentLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurrentLine(self, *_args, **_kwargs)
return val
def StyleSetSpec(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetSpec,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetSpec(self, *_args, **_kwargs)
return val
def StyleSetFont(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFont,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFont(self, *_args, **_kwargs)
return val
def StyleSetFontAttr(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFontAttr,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFontAttr(self, *_args, **_kwargs)
return val
def CmdKeyExecute(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyExecute,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyExecute(self, *_args, **_kwargs)
return val
def SetMargins(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMargins,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMargins(self, *_args, **_kwargs)
return val
def GetSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelection(self, *_args, **_kwargs)
return val
def PointFromPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PointFromPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PointFromPosition(self, *_args, **_kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def ScrollToLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ScrollToLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ScrollToLine(self, *_args, **_kwargs)
return val
def ScrollToColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ScrollToColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ScrollToColumn(self, *_args, **_kwargs)
return val
def SendMsg(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SendMsg,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SendMsg(self, *_args, **_kwargs)
return val
def SetVScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetVScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetVScrollBar(self, *_args, **_kwargs)
return val
def SetHScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetHScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetHScrollBar(self, *_args, **_kwargs)
return val
def GetLastKeydownProcessed(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLastKeydownProcessed,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLastKeydownProcessed(self, *_args, **_kwargs)
return val
def SetLastKeydownProcessed(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLastKeydownProcessed,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLastKeydownProcessed(self, *_args, **_kwargs)
+ return val
+ def SaveFile(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SaveFile(self, *_args, **_kwargs)
+ return val
+ def LoadFile(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LoadFile(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxStyledTextCtrl(wxStyledTextCtrlPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(stc_c.new_wxStyledTextCtrl,_args,_kwargs)
+ self.this = stc_c.new_wxStyledTextCtrl(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -1053,143 +1142,143 @@ class wxStyledTextEventPtr(wxCommandEventPtr):
except:
pass
def SetPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetPosition(self, *_args, **_kwargs)
return val
def SetKey(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetKey,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetKey(self, *_args, **_kwargs)
return val
def SetModifiers(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetModifiers,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetModifiers(self, *_args, **_kwargs)
return val
def SetModificationType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetModificationType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetModificationType(self, *_args, **_kwargs)
return val
def SetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetText(self, *_args, **_kwargs)
return val
def SetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLength(self, *_args, **_kwargs)
return val
def SetLinesAdded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLinesAdded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLinesAdded(self, *_args, **_kwargs)
return val
def SetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLine(self, *_args, **_kwargs)
return val
def SetFoldLevelNow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetFoldLevelNow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetFoldLevelNow(self, *_args, **_kwargs)
return val
def SetFoldLevelPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetFoldLevelPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetFoldLevelPrev(self, *_args, **_kwargs)
return val
def SetMargin(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetMargin,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetMargin(self, *_args, **_kwargs)
return val
def SetMessage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetMessage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetMessage(self, *_args, **_kwargs)
return val
def SetWParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetWParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetWParam(self, *_args, **_kwargs)
return val
def SetLParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLParam(self, *_args, **_kwargs)
return val
def SetListType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetListType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetListType(self, *_args, **_kwargs)
return val
def SetX(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetX,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetX(self, *_args, **_kwargs)
return val
def SetY(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetY,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetY(self, *_args, **_kwargs)
return val
def SetDragText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragText(self, *_args, **_kwargs)
return val
def SetDragAllowMove(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragAllowMove,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragAllowMove(self, *_args, **_kwargs)
return val
def SetDragResult(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragResult,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragResult(self, *_args, **_kwargs)
return val
def GetPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetPosition(self, *_args, **_kwargs)
return val
def GetKey(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetKey,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetKey(self, *_args, **_kwargs)
return val
def GetModifiers(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetModifiers,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetModifiers(self, *_args, **_kwargs)
return val
def GetModificationType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetModificationType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetModificationType(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetText(self, *_args, **_kwargs)
return val
def GetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLength(self, *_args, **_kwargs)
return val
def GetLinesAdded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLinesAdded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLinesAdded(self, *_args, **_kwargs)
return val
def GetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLine(self, *_args, **_kwargs)
return val
def GetFoldLevelNow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetFoldLevelNow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetFoldLevelNow(self, *_args, **_kwargs)
return val
def GetFoldLevelPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetFoldLevelPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetFoldLevelPrev(self, *_args, **_kwargs)
return val
def GetMargin(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetMargin,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetMargin(self, *_args, **_kwargs)
return val
def GetMessage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetMessage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetMessage(self, *_args, **_kwargs)
return val
def GetWParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetWParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetWParam(self, *_args, **_kwargs)
return val
def GetLParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLParam(self, *_args, **_kwargs)
return val
def GetListType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetListType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetListType(self, *_args, **_kwargs)
return val
def GetX(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetX,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetX(self, *_args, **_kwargs)
return val
def GetY(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetY,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetY(self, *_args, **_kwargs)
return val
def GetDragText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragText(self, *_args, **_kwargs)
return val
def GetDragAllowMove(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragAllowMove,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragAllowMove(self, *_args, **_kwargs)
return val
def GetDragResult(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragResult,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragResult(self, *_args, **_kwargs)
return val
def GetShift(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetShift,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetShift(self, *_args, **_kwargs)
return val
def GetControl(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetControl,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetControl(self, *_args, **_kwargs)
return val
def GetAlt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetAlt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetAlt(self, *_args, **_kwargs)
return val
def Clone(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_Clone,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_Clone(self, *_args, **_kwargs)
if val: val = wxEventPtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxStyledTextEvent(wxStyledTextEventPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(stc_c.new_wxStyledTextEvent,_args,_kwargs)
+ self.this = stc_c.new_wxStyledTextEvent(*_args,**_kwargs)
self.thisown = 1
@@ -1215,6 +1304,7 @@ wxSTC_EOL_CRLF = stc_c.wxSTC_EOL_CRLF
wxSTC_EOL_CR = stc_c.wxSTC_EOL_CR
wxSTC_EOL_LF = stc_c.wxSTC_EOL_LF
wxSTC_CP_UTF8 = stc_c.wxSTC_CP_UTF8
+wxSTC_CP_DBCS = stc_c.wxSTC_CP_DBCS
wxSTC_MARKER_MAX = stc_c.wxSTC_MARKER_MAX
wxSTC_MARK_CIRCLE = stc_c.wxSTC_MARK_CIRCLE
wxSTC_MARK_ROUNDRECT = stc_c.wxSTC_MARK_ROUNDRECT
@@ -1241,6 +1331,7 @@ wxSTC_MARK_CIRCLEMINUSCONNECTED = stc_c.wxSTC_MARK_CIRCLEMINUSCONNECTED
wxSTC_MARK_BACKGROUND = stc_c.wxSTC_MARK_BACKGROUND
wxSTC_MARK_DOTDOTDOT = stc_c.wxSTC_MARK_DOTDOTDOT
wxSTC_MARK_ARROWS = stc_c.wxSTC_MARK_ARROWS
+wxSTC_MARK_PIXMAP = stc_c.wxSTC_MARK_PIXMAP
wxSTC_MARK_CHARACTER = stc_c.wxSTC_MARK_CHARACTER
wxSTC_MARKNUM_FOLDEREND = stc_c.wxSTC_MARKNUM_FOLDEREND
wxSTC_MARKNUM_FOLDEROPENMID = stc_c.wxSTC_MARKNUM_FOLDEROPENMID
@@ -1301,10 +1392,21 @@ wxSTC_FIND_WHOLEWORD = stc_c.wxSTC_FIND_WHOLEWORD
wxSTC_FIND_MATCHCASE = stc_c.wxSTC_FIND_MATCHCASE
wxSTC_FIND_WORDSTART = stc_c.wxSTC_FIND_WORDSTART
wxSTC_FIND_REGEXP = stc_c.wxSTC_FIND_REGEXP
+wxSTC_FIND_POSIX = stc_c.wxSTC_FIND_POSIX
wxSTC_FOLDLEVELBASE = stc_c.wxSTC_FOLDLEVELBASE
wxSTC_FOLDLEVELWHITEFLAG = stc_c.wxSTC_FOLDLEVELWHITEFLAG
wxSTC_FOLDLEVELHEADERFLAG = stc_c.wxSTC_FOLDLEVELHEADERFLAG
+wxSTC_FOLDLEVELBOXHEADERFLAG = stc_c.wxSTC_FOLDLEVELBOXHEADERFLAG
+wxSTC_FOLDLEVELBOXFOOTERFLAG = stc_c.wxSTC_FOLDLEVELBOXFOOTERFLAG
+wxSTC_FOLDLEVELCONTRACTED = stc_c.wxSTC_FOLDLEVELCONTRACTED
+wxSTC_FOLDLEVELUNINDENT = stc_c.wxSTC_FOLDLEVELUNINDENT
wxSTC_FOLDLEVELNUMBERMASK = stc_c.wxSTC_FOLDLEVELNUMBERMASK
+wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED
+wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED
+wxSTC_FOLDFLAG_LINEAFTER_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_EXPANDED
+wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED
+wxSTC_FOLDFLAG_LEVELNUMBERS = stc_c.wxSTC_FOLDFLAG_LEVELNUMBERS
+wxSTC_FOLDFLAG_BOX = stc_c.wxSTC_FOLDFLAG_BOX
wxSTC_TIME_FOREVER = stc_c.wxSTC_TIME_FOREVER
wxSTC_WRAP_NONE = stc_c.wxSTC_WRAP_NONE
wxSTC_WRAP_WORD = stc_c.wxSTC_WRAP_WORD
@@ -1389,6 +1491,12 @@ wxSTC_LEX_PHP = stc_c.wxSTC_LEX_PHP
wxSTC_LEX_BAAN = stc_c.wxSTC_LEX_BAAN
wxSTC_LEX_MATLAB = stc_c.wxSTC_LEX_MATLAB
wxSTC_LEX_SCRIPTOL = stc_c.wxSTC_LEX_SCRIPTOL
+wxSTC_LEX_ASM = stc_c.wxSTC_LEX_ASM
+wxSTC_LEX_CPPNOCASE = stc_c.wxSTC_LEX_CPPNOCASE
+wxSTC_LEX_FORTRAN = stc_c.wxSTC_LEX_FORTRAN
+wxSTC_LEX_F77 = stc_c.wxSTC_LEX_F77
+wxSTC_LEX_CSS = stc_c.wxSTC_LEX_CSS
+wxSTC_LEX_POV = stc_c.wxSTC_LEX_POV
wxSTC_LEX_AUTOMATIC = stc_c.wxSTC_LEX_AUTOMATIC
wxSTC_P_DEFAULT = stc_c.wxSTC_P_DEFAULT
wxSTC_P_COMMENTLINE = stc_c.wxSTC_P_COMMENTLINE
@@ -1614,6 +1722,9 @@ wxSTC_ERR_DIFF_CHANGED = stc_c.wxSTC_ERR_DIFF_CHANGED
wxSTC_ERR_DIFF_ADDITION = stc_c.wxSTC_ERR_DIFF_ADDITION
wxSTC_ERR_DIFF_DELETION = stc_c.wxSTC_ERR_DIFF_DELETION
wxSTC_ERR_DIFF_MESSAGE = stc_c.wxSTC_ERR_DIFF_MESSAGE
+wxSTC_ERR_PHP = stc_c.wxSTC_ERR_PHP
+wxSTC_ERR_ELF = stc_c.wxSTC_ERR_ELF
+wxSTC_ERR_IFC = stc_c.wxSTC_ERR_IFC
wxSTC_BAT_DEFAULT = stc_c.wxSTC_BAT_DEFAULT
wxSTC_BAT_COMMENT = stc_c.wxSTC_BAT_COMMENT
wxSTC_BAT_WORD = stc_c.wxSTC_BAT_WORD
@@ -1650,22 +1761,29 @@ wxSTC_AVE_DEFAULT = stc_c.wxSTC_AVE_DEFAULT
wxSTC_AVE_COMMENT = stc_c.wxSTC_AVE_COMMENT
wxSTC_AVE_NUMBER = stc_c.wxSTC_AVE_NUMBER
wxSTC_AVE_WORD = stc_c.wxSTC_AVE_WORD
-wxSTC_AVE_KEYWORD = stc_c.wxSTC_AVE_KEYWORD
-wxSTC_AVE_STATEMENT = stc_c.wxSTC_AVE_STATEMENT
wxSTC_AVE_STRING = stc_c.wxSTC_AVE_STRING
wxSTC_AVE_ENUM = stc_c.wxSTC_AVE_ENUM
wxSTC_AVE_STRINGEOL = stc_c.wxSTC_AVE_STRINGEOL
wxSTC_AVE_IDENTIFIER = stc_c.wxSTC_AVE_IDENTIFIER
wxSTC_AVE_OPERATOR = stc_c.wxSTC_AVE_OPERATOR
+wxSTC_AVE_WORD1 = stc_c.wxSTC_AVE_WORD1
+wxSTC_AVE_WORD2 = stc_c.wxSTC_AVE_WORD2
+wxSTC_AVE_WORD3 = stc_c.wxSTC_AVE_WORD3
+wxSTC_AVE_WORD4 = stc_c.wxSTC_AVE_WORD4
+wxSTC_AVE_WORD5 = stc_c.wxSTC_AVE_WORD5
+wxSTC_AVE_WORD6 = stc_c.wxSTC_AVE_WORD6
wxSTC_ADA_DEFAULT = stc_c.wxSTC_ADA_DEFAULT
-wxSTC_ADA_COMMENT = stc_c.wxSTC_ADA_COMMENT
-wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
wxSTC_ADA_WORD = stc_c.wxSTC_ADA_WORD
-wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
-wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
-wxSTC_ADA_OPERATOR = stc_c.wxSTC_ADA_OPERATOR
wxSTC_ADA_IDENTIFIER = stc_c.wxSTC_ADA_IDENTIFIER
+wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
+wxSTC_ADA_DELIMITER = stc_c.wxSTC_ADA_DELIMITER
+wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
+wxSTC_ADA_CHARACTEREOL = stc_c.wxSTC_ADA_CHARACTEREOL
+wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
wxSTC_ADA_STRINGEOL = stc_c.wxSTC_ADA_STRINGEOL
+wxSTC_ADA_LABEL = stc_c.wxSTC_ADA_LABEL
+wxSTC_ADA_COMMENTLINE = stc_c.wxSTC_ADA_COMMENTLINE
+wxSTC_ADA_ILLEGAL = stc_c.wxSTC_ADA_ILLEGAL
wxSTC_BAAN_DEFAULT = stc_c.wxSTC_BAAN_DEFAULT
wxSTC_BAAN_COMMENT = stc_c.wxSTC_BAAN_COMMENT
wxSTC_BAAN_COMMENTDOC = stc_c.wxSTC_BAAN_COMMENTDOC
@@ -1733,6 +1851,58 @@ wxSTC_SCRIPTOL_WORD2 = stc_c.wxSTC_SCRIPTOL_WORD2
wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORD
wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR
wxSTC_SCRIPTOL_COMMENTBASIC = stc_c.wxSTC_SCRIPTOL_COMMENTBASIC
+wxSTC_ASM_DEFAULT = stc_c.wxSTC_ASM_DEFAULT
+wxSTC_ASM_COMMENT = stc_c.wxSTC_ASM_COMMENT
+wxSTC_ASM_NUMBER = stc_c.wxSTC_ASM_NUMBER
+wxSTC_ASM_STRING = stc_c.wxSTC_ASM_STRING
+wxSTC_ASM_OPERATOR = stc_c.wxSTC_ASM_OPERATOR
+wxSTC_ASM_IDENTIFIER = stc_c.wxSTC_ASM_IDENTIFIER
+wxSTC_ASM_CPUINSTRUCTION = stc_c.wxSTC_ASM_CPUINSTRUCTION
+wxSTC_ASM_MATHINSTRUCTION = stc_c.wxSTC_ASM_MATHINSTRUCTION
+wxSTC_ASM_REGISTER = stc_c.wxSTC_ASM_REGISTER
+wxSTC_ASM_DIRECTIVE = stc_c.wxSTC_ASM_DIRECTIVE
+wxSTC_ASM_DIRECTIVEOPERAND = stc_c.wxSTC_ASM_DIRECTIVEOPERAND
+wxSTC_F_DEFAULT = stc_c.wxSTC_F_DEFAULT
+wxSTC_F_COMMENT = stc_c.wxSTC_F_COMMENT
+wxSTC_F_NUMBER = stc_c.wxSTC_F_NUMBER
+wxSTC_F_STRING1 = stc_c.wxSTC_F_STRING1
+wxSTC_F_STRING2 = stc_c.wxSTC_F_STRING2
+wxSTC_F_STRINGEOL = stc_c.wxSTC_F_STRINGEOL
+wxSTC_F_OPERATOR = stc_c.wxSTC_F_OPERATOR
+wxSTC_F_IDENTIFIER = stc_c.wxSTC_F_IDENTIFIER
+wxSTC_F_WORD = stc_c.wxSTC_F_WORD
+wxSTC_F_WORD2 = stc_c.wxSTC_F_WORD2
+wxSTC_F_WORD3 = stc_c.wxSTC_F_WORD3
+wxSTC_F_PREPROCESSOR = stc_c.wxSTC_F_PREPROCESSOR
+wxSTC_F_OPERATOR2 = stc_c.wxSTC_F_OPERATOR2
+wxSTC_F_LABEL = stc_c.wxSTC_F_LABEL
+wxSTC_F_CONTINUATION = stc_c.wxSTC_F_CONTINUATION
+wxSTC_CSS_DEFAULT = stc_c.wxSTC_CSS_DEFAULT
+wxSTC_CSS_TAG = stc_c.wxSTC_CSS_TAG
+wxSTC_CSS_CLASS = stc_c.wxSTC_CSS_CLASS
+wxSTC_CSS_PSEUDOCLASS = stc_c.wxSTC_CSS_PSEUDOCLASS
+wxSTC_CSS_UNKNOWN_PSEUDOCLASS = stc_c.wxSTC_CSS_UNKNOWN_PSEUDOCLASS
+wxSTC_CSS_OPERATOR = stc_c.wxSTC_CSS_OPERATOR
+wxSTC_CSS_IDENTIFIER = stc_c.wxSTC_CSS_IDENTIFIER
+wxSTC_CSS_UNKNOWN_IDENTIFIER = stc_c.wxSTC_CSS_UNKNOWN_IDENTIFIER
+wxSTC_CSS_VALUE = stc_c.wxSTC_CSS_VALUE
+wxSTC_CSS_COMMENT = stc_c.wxSTC_CSS_COMMENT
+wxSTC_CSS_ID = stc_c.wxSTC_CSS_ID
+wxSTC_CSS_IMPORTANT = stc_c.wxSTC_CSS_IMPORTANT
+wxSTC_CSS_DIRECTIVE = stc_c.wxSTC_CSS_DIRECTIVE
+wxSTC_CSS_DOUBLESTRING = stc_c.wxSTC_CSS_DOUBLESTRING
+wxSTC_CSS_SINGLESTRING = stc_c.wxSTC_CSS_SINGLESTRING
+wxSTC_POV_DEFAULT = stc_c.wxSTC_POV_DEFAULT
+wxSTC_POV_COMMENT = stc_c.wxSTC_POV_COMMENT
+wxSTC_POV_COMMENTLINE = stc_c.wxSTC_POV_COMMENTLINE
+wxSTC_POV_COMMENTDOC = stc_c.wxSTC_POV_COMMENTDOC
+wxSTC_POV_NUMBER = stc_c.wxSTC_POV_NUMBER
+wxSTC_POV_WORD = stc_c.wxSTC_POV_WORD
+wxSTC_POV_STRING = stc_c.wxSTC_POV_STRING
+wxSTC_POV_OPERATOR = stc_c.wxSTC_POV_OPERATOR
+wxSTC_POV_IDENTIFIER = stc_c.wxSTC_POV_IDENTIFIER
+wxSTC_POV_BRACE = stc_c.wxSTC_POV_BRACE
+wxSTC_POV_WORD2 = stc_c.wxSTC_POV_WORD2
wxSTC_CMD_REDO = stc_c.wxSTC_CMD_REDO
wxSTC_CMD_SELECTALL = stc_c.wxSTC_CMD_SELECTALL
wxSTC_CMD_UNDO = stc_c.wxSTC_CMD_UNDO
@@ -1780,6 +1950,7 @@ wxSTC_CMD_DELWORDRIGHT = stc_c.wxSTC_CMD_DELWORDRIGHT
wxSTC_CMD_LINECUT = stc_c.wxSTC_CMD_LINECUT
wxSTC_CMD_LINEDELETE = stc_c.wxSTC_CMD_LINEDELETE
wxSTC_CMD_LINETRANSPOSE = stc_c.wxSTC_CMD_LINETRANSPOSE
+wxSTC_CMD_LINEDUPLICATE = stc_c.wxSTC_CMD_LINEDUPLICATE
wxSTC_CMD_LOWERCASE = stc_c.wxSTC_CMD_LOWERCASE
wxSTC_CMD_UPPERCASE = stc_c.wxSTC_CMD_UPPERCASE
wxSTC_CMD_LINESCROLLDOWN = stc_c.wxSTC_CMD_LINESCROLLDOWN
@@ -1789,12 +1960,22 @@ wxSTC_CMD_HOMEDISPLAY = stc_c.wxSTC_CMD_HOMEDISPLAY
wxSTC_CMD_HOMEDISPLAYEXTEND = stc_c.wxSTC_CMD_HOMEDISPLAYEXTEND
wxSTC_CMD_LINEENDDISPLAY = stc_c.wxSTC_CMD_LINEENDDISPLAY
wxSTC_CMD_LINEENDDISPLAYEXTEND = stc_c.wxSTC_CMD_LINEENDDISPLAYEXTEND
+wxSTC_CMD_HOMEWRAP = stc_c.wxSTC_CMD_HOMEWRAP
+wxSTC_CMD_HOMEWRAPEXTEND = stc_c.wxSTC_CMD_HOMEWRAPEXTEND
+wxSTC_CMD_LINEENDWRAP = stc_c.wxSTC_CMD_LINEENDWRAP
+wxSTC_CMD_LINEENDWRAPEXTEND = stc_c.wxSTC_CMD_LINEENDWRAPEXTEND
+wxSTC_CMD_VCHOMEWRAP = stc_c.wxSTC_CMD_VCHOMEWRAP
+wxSTC_CMD_VCHOMEWRAPEXTEND = stc_c.wxSTC_CMD_VCHOMEWRAPEXTEND
wxSTC_CMD_WORDPARTLEFT = stc_c.wxSTC_CMD_WORDPARTLEFT
wxSTC_CMD_WORDPARTLEFTEXTEND = stc_c.wxSTC_CMD_WORDPARTLEFTEXTEND
wxSTC_CMD_WORDPARTRIGHT = stc_c.wxSTC_CMD_WORDPARTRIGHT
wxSTC_CMD_WORDPARTRIGHTEXTEND = stc_c.wxSTC_CMD_WORDPARTRIGHTEXTEND
wxSTC_CMD_DELLINELEFT = stc_c.wxSTC_CMD_DELLINELEFT
wxSTC_CMD_DELLINERIGHT = stc_c.wxSTC_CMD_DELLINERIGHT
+wxSTC_CMD_PARADOWN = stc_c.wxSTC_CMD_PARADOWN
+wxSTC_CMD_PARADOWNEXTEND = stc_c.wxSTC_CMD_PARADOWNEXTEND
+wxSTC_CMD_PARAUP = stc_c.wxSTC_CMD_PARAUP
+wxSTC_CMD_PARAUPEXTEND = stc_c.wxSTC_CMD_PARAUPEXTEND
STC_USE_DND = stc_c.STC_USE_DND
wxEVT_STC_CHANGE = stc_c.wxEVT_STC_CHANGE
wxEVT_STC_STYLENEEDED = stc_c.wxEVT_STC_STYLENEEDED
@@ -1819,6 +2000,9 @@ wxEVT_STC_START_DRAG = stc_c.wxEVT_STC_START_DRAG
wxEVT_STC_DRAG_OVER = stc_c.wxEVT_STC_DRAG_OVER
wxEVT_STC_DO_DROP = stc_c.wxEVT_STC_DO_DROP
wxEVT_STC_ZOOM = stc_c.wxEVT_STC_ZOOM
+wxEVT_STC_HOTSPOT_CLICK = stc_c.wxEVT_STC_HOTSPOT_CLICK
+wxEVT_STC_HOTSPOT_DCLICK = stc_c.wxEVT_STC_HOTSPOT_DCLICK
+wxEVT_STC_CALLTIP_CLICK = stc_c.wxEVT_STC_CALLTIP_CLICK
#-------------- USER INCLUDE -----------------------
diff --git a/wxPython/contrib/stc/msw/stc_.cpp b/wxPython/contrib/stc/msw/stc_.cpp
index 70f55c2596..ac7fbdb933 100644
--- a/wxPython/contrib/stc/msw/stc_.cpp
+++ b/wxPython/contrib/stc/msw/stc_.cpp
@@ -1649,6 +1649,43 @@ static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject
return _resultobj;
}
+#define wxStyledTextCtrl_MarkerDefineBitmap(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDefineBitmap(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","markerNumber","bmp", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerDefineBitmap",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_MarkerDefineBitmap(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -2275,6 +2312,38 @@ static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyO
return _resultobj;
}
+#define wxStyledTextCtrl_StyleSetHotSpot(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetHotSpot(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ bool _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool2;
+ char *_kwnames[] = { "self","style","hotspot", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetHotSpot",_kwnames,&_argo0,&_arg1,&tempbool2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetHotSpot. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg2 = (bool ) tempbool2;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_StyleSetHotSpot(_arg0,_arg1,_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -3859,6 +3928,128 @@ static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self
return _resultobj;
}
+#define wxStyledTextCtrl_RegisterImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->RegisterImage(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxBitmap * _arg2;
+ PyObject * _argo0 = 0;
+ PyObject * _argo2 = 0;
+ char *_kwnames[] = { "self","type","bmp", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_RegisterImage",_kwnames,&_argo0,&_arg1,&_argo2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_RegisterImage. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ if (_argo2) {
+ if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_RegisterImage. Expected _wxBitmap_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_RegisterImage(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_ClearRegisteredImages(_swigobj) (_swigobj->ClearRegisteredImages())
+static PyObject *_wrap_wxStyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearRegisteredImages",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearRegisteredImages. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_ClearRegisteredImages(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_AutoCompGetTypeSeparator(_swigobj) (_swigobj->AutoCompGetTypeSeparator())
+static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetTypeSeparator",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetTypeSeparator. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxStyledTextCtrl_AutoCompGetTypeSeparator(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_AutoCompSetTypeSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetTypeSeparator(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","separatorCharacter", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetTypeSeparator",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetTypeSeparator. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_AutoCompSetTypeSeparator(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -6229,6 +6420,78 @@ static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyO
return _resultobj;
}
+#define wxStyledTextCtrl_CallTipSetForeground(_swigobj,_swigarg0) (_swigobj->CallTipSetForeground(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ wxColour * _arg1;
+ PyObject * _argo0 = 0;
+ wxColour temp;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForeground",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForeground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp;
+ if (! wxColour_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_CallTipSetForeground(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_CallTipSetForegroundHighlight(_swigobj,_swigarg0) (_swigobj->CallTipSetForegroundHighlight(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ wxColour * _arg1;
+ PyObject * _argo0 = 0;
+ wxColour temp;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForegroundHighlight",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForegroundHighlight. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = &temp;
+ if (! wxColour_helper(_obj1, &_arg1))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_CallTipSetForegroundHighlight(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -7209,26 +7472,29 @@ static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *arg
return _resultobj;
}
-#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
-static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_SetUseVerticalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseVerticalScrollBar(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxStyledTextCtrl * _arg0;
+ bool _arg1;
PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
+ int tempbool1;
+ char *_kwnames[] = { "self","show", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseVerticalScrollBar",_kwnames,&_argo0,&tempbool1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
+ _arg1 = (bool ) tempbool1;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_HomeDisplay(_arg0);
+ wxStyledTextCtrl_SetUseVerticalScrollBar(_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
@@ -7237,76 +7503,422 @@ static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *ar
return _resultobj;
}
-#define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend())
-static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_GetUseVerticalScrollBar(_swigobj) (_swigobj->GetUseVerticalScrollBar())
+static PyObject *_wrap_wxStyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
+ bool _result;
wxStyledTextCtrl * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseVerticalScrollBar",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_HomeDisplayExtend(_arg0);
+ _result = (bool )wxStyledTextCtrl_GetUseVerticalScrollBar(_arg0);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
-#define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay())
-static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_AppendText(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendText(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxStyledTextCtrl * _arg0;
+ int _arg1;
+ wxString * _arg2;
PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","length","text", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AppendText",_kwnames,&_argo0,&_arg1,&_obj2))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AppendText. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
+{
+ _arg2 = wxString_in_helper(_obj2);
+ if (_arg2 == NULL)
+ return NULL;
+}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxStyledTextCtrl_LineEndDisplay(_arg0);
+ wxStyledTextCtrl_AppendText(_arg0,_arg1,*_arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
+{
+ if (_obj2)
+ delete _arg2;
+}
return _resultobj;
}
-#define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend())
-static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxStyledTextCtrl_GetTwoPhaseDraw(_swigobj) (_swigobj->GetTwoPhaseDraw())
+static PyObject *_wrap_wxStyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
+ bool _result;
wxStyledTextCtrl * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTwoPhaseDraw",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_GetTwoPhaseDraw(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetTwoPhaseDraw(_swigobj,_swigarg0) (_swigobj->SetTwoPhaseDraw(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","twoPhase", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTwoPhaseDraw",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTwoPhaseDraw. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetTwoPhaseDraw(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_TargetFromSelection(_swigobj) (_swigobj->TargetFromSelection())
+static PyObject *_wrap_wxStyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_TargetFromSelection",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TargetFromSelection. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_TargetFromSelection(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LinesJoin(_swigobj) (_swigobj->LinesJoin())
+static PyObject *_wrap_wxStyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesJoin",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesJoin. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LinesJoin(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LinesSplit(_swigobj,_swigarg0) (_swigobj->LinesSplit(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","pixelWidth", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LinesSplit",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesSplit. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LinesSplit(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetFoldMarginColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","back", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginColour",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginColour. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetFoldMarginColour(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetFoldMarginHiColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginHiColour(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginHiColour",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginHiColour. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetFoldMarginHiColour(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineDuplicate(_swigobj) (_swigobj->LineDuplicate())
+static PyObject *_wrap_wxStyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineDuplicate",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineDuplicate. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LineDuplicate(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay())
+static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_HomeDisplay(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend())
+static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_HomeDisplayExtend(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay())
+static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_LineEndDisplay(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend())
+static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p.");
return NULL;
}
}
@@ -8739,6 +9351,34 @@ static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *arg
return _resultobj;
}
+#define wxStyledTextCtrl_ChooseCaretX(_swigobj) (_swigobj->ChooseCaretX())
+static PyObject *_wrap_wxStyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ChooseCaretX",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ChooseCaretX. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_ChooseCaretX(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1))
static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -8799,6 +9439,172 @@ static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject
return _resultobj;
}
+#define wxStyledTextCtrl_SetPrintWrapMode(_swigobj,_swigarg0) (_swigobj->SetPrintWrapMode(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ int _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","mode", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintWrapMode",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetPrintWrapMode(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_GetPrintWrapMode(_swigobj) (_swigobj->GetPrintWrapMode())
+static PyObject *_wrap_wxStyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _result;
+ wxStyledTextCtrl * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintWrapMode",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintWrapMode. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxStyledTextCtrl_GetPrintWrapMode(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveForeground(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","fore", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveForeground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveForeground(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveBackground(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ wxColour * _arg2;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ wxColour temp;
+ PyObject * _obj2 = 0;
+ char *_kwnames[] = { "self","useSetting","back", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveBackground. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ _arg2 = &temp;
+ if (! wxColour_helper(_obj2, &_arg2))
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveBackground(_arg0,_arg1,*_arg2);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_SetHotspotActiveUnderline(_swigobj,_swigarg0) (_swigobj->SetHotspotActiveUnderline(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxStyledTextCtrl * _arg0;
+ bool _arg1;
+ PyObject * _argo0 = 0;
+ int tempbool1;
+ char *_kwnames[] = { "self","underline", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHotspotActiveUnderline",_kwnames,&_argo0,&tempbool1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveUnderline. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStyledTextCtrl_SetHotspotActiveUnderline(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
@@ -9586,6 +10392,84 @@ static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self,
return _resultobj;
}
+#define wxStyledTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxStyledTextCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","filename", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SaveFile. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_SaveFile(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxStyledTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
+static PyObject *_wrap_wxStyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxStyledTextCtrl * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","filename", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LoadFile. Expected _wxStyledTextCtrl_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = wxString_in_helper(_obj1);
+ if (_arg1 == NULL)
+ return NULL;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxStyledTextCtrl_LoadFile(_arg0,*_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
wxStyledTextEvent *src;
wxCommandEvent *dest;
@@ -11012,6 +11896,8 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
{ "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
{ "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LoadFile", (PyCFunction) _wrap_wxStyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SaveFile", (PyCFunction) _wrap_wxStyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
@@ -11035,8 +11921,14 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_wxStyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
@@ -11088,6 +11980,17 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_wxStyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LinesSplit", (PyCFunction) _wrap_wxStyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_LinesJoin", (PyCFunction) _wrap_wxStyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_wxStyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AppendText", (PyCFunction) _wrap_wxStyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
@@ -11121,6 +12024,8 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
@@ -11198,6 +12103,10 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_wxStyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_RegisterImage", (PyCFunction) _wrap_wxStyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
@@ -11248,6 +12157,7 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
@@ -11268,6 +12178,7 @@ static PyMethodDef stc_cMethods[] = {
{ "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
+ { "wxStyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
{ "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
@@ -11455,6 +12366,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
+ PyDict_SetItemString(d,"wxSTC_CP_DBCS", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
@@ -11481,6 +12393,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22));
PyDict_SetItemString(d,"wxSTC_MARK_DOTDOTDOT", PyInt_FromLong((long) 23));
PyDict_SetItemString(d,"wxSTC_MARK_ARROWS", PyInt_FromLong((long) 24));
+ PyDict_SetItemString(d,"wxSTC_MARK_PIXMAP", PyInt_FromLong((long) 25));
PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
@@ -11541,10 +12454,21 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
+ PyDict_SetItemString(d,"wxSTC_FIND_POSIX", PyInt_FromLong((long) 0x00400000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXHEADERFLAG", PyInt_FromLong((long) 0x4000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXFOOTERFLAG", PyInt_FromLong((long) 0x8000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELCONTRACTED", PyInt_FromLong((long) 0x10000));
+ PyDict_SetItemString(d,"wxSTC_FOLDLEVELUNINDENT", PyInt_FromLong((long) 0x20000));
PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED", PyInt_FromLong((long) 0x0002));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED", PyInt_FromLong((long) 0x0004));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_EXPANDED", PyInt_FromLong((long) 0x0008));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED", PyInt_FromLong((long) 0x0010));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LEVELNUMBERS", PyInt_FromLong((long) 0x0040));
+ PyDict_SetItemString(d,"wxSTC_FOLDFLAG_BOX", PyInt_FromLong((long) 0x0001));
PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1));
@@ -11556,7 +12480,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
- PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
@@ -11629,6 +12553,12 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31));
PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32));
PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33));
+ PyDict_SetItemString(d,"wxSTC_LEX_ASM", PyInt_FromLong((long) 34));
+ PyDict_SetItemString(d,"wxSTC_LEX_CPPNOCASE", PyInt_FromLong((long) 35));
+ PyDict_SetItemString(d,"wxSTC_LEX_FORTRAN", PyInt_FromLong((long) 36));
+ PyDict_SetItemString(d,"wxSTC_LEX_F77", PyInt_FromLong((long) 37));
+ PyDict_SetItemString(d,"wxSTC_LEX_CSS", PyInt_FromLong((long) 38));
+ PyDict_SetItemString(d,"wxSTC_LEX_POV", PyInt_FromLong((long) 39));
PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
@@ -11854,6 +12784,9 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_ERR_PHP", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_ERR_ELF", PyInt_FromLong((long) 15));
+ PyDict_SetItemString(d,"wxSTC_ERR_IFC", PyInt_FromLong((long) 16));
PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
@@ -11890,22 +12823,29 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
- PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
- PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD1", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD2", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD3", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD4", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD5", PyInt_FromLong((long) 15));
+ PyDict_SetItemString(d,"wxSTC_AVE_WORD6", PyInt_FromLong((long) 16));
PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
- PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
- PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
- PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
- PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_ADA_DELIMITER", PyInt_FromLong((long) 4));
PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
- PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
- PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_ADA_CHARACTEREOL", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 7));
PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_ADA_LABEL", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_ADA_COMMENTLINE", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_ADA_ILLEGAL", PyInt_FromLong((long) 11));
PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0));
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2));
@@ -11973,6 +12913,58 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19));
+ PyDict_SetItemString(d,"wxSTC_ASM_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_ASM_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_ASM_NUMBER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_ASM_STRING", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_ASM_OPERATOR", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_ASM_IDENTIFIER", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_ASM_CPUINSTRUCTION", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_ASM_MATHINSTRUCTION", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_ASM_REGISTER", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVE", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVEOPERAND", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_F_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_F_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_F_NUMBER", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_F_STRING1", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_F_STRING2", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_F_STRINGEOL", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_F_OPERATOR", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_F_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_F_WORD", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_F_WORD2", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_F_WORD3", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_F_PREPROCESSOR", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_F_OPERATOR2", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_F_LABEL", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_F_CONTINUATION", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_CSS_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_CSS_TAG", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_CSS_CLASS", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_CSS_PSEUDOCLASS", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_PSEUDOCLASS", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_CSS_OPERATOR", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_CSS_IDENTIFIER", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_IDENTIFIER", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_CSS_VALUE", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_CSS_COMMENT", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_CSS_ID", PyInt_FromLong((long) 10));
+ PyDict_SetItemString(d,"wxSTC_CSS_IMPORTANT", PyInt_FromLong((long) 11));
+ PyDict_SetItemString(d,"wxSTC_CSS_DIRECTIVE", PyInt_FromLong((long) 12));
+ PyDict_SetItemString(d,"wxSTC_CSS_DOUBLESTRING", PyInt_FromLong((long) 13));
+ PyDict_SetItemString(d,"wxSTC_CSS_SINGLESTRING", PyInt_FromLong((long) 14));
+ PyDict_SetItemString(d,"wxSTC_POV_DEFAULT", PyInt_FromLong((long) 0));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENT", PyInt_FromLong((long) 1));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENTLINE", PyInt_FromLong((long) 2));
+ PyDict_SetItemString(d,"wxSTC_POV_COMMENTDOC", PyInt_FromLong((long) 3));
+ PyDict_SetItemString(d,"wxSTC_POV_NUMBER", PyInt_FromLong((long) 4));
+ PyDict_SetItemString(d,"wxSTC_POV_WORD", PyInt_FromLong((long) 5));
+ PyDict_SetItemString(d,"wxSTC_POV_STRING", PyInt_FromLong((long) 6));
+ PyDict_SetItemString(d,"wxSTC_POV_OPERATOR", PyInt_FromLong((long) 7));
+ PyDict_SetItemString(d,"wxSTC_POV_IDENTIFIER", PyInt_FromLong((long) 8));
+ PyDict_SetItemString(d,"wxSTC_POV_BRACE", PyInt_FromLong((long) 9));
+ PyDict_SetItemString(d,"wxSTC_POV_WORD2", PyInt_FromLong((long) 10));
PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
@@ -12020,6 +13012,7 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEDUPLICATE", PyInt_FromLong((long) 2404));
PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
@@ -12029,12 +13022,22 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAYEXTEND", PyInt_FromLong((long) 2346));
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAY", PyInt_FromLong((long) 2347));
PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAYEXTEND", PyInt_FromLong((long) 2348));
+ PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAP", PyInt_FromLong((long) 2349));
+ PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAPEXTEND", PyInt_FromLong((long) 2450));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAP", PyInt_FromLong((long) 2451));
+ PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAPEXTEND", PyInt_FromLong((long) 2452));
+ PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAP", PyInt_FromLong((long) 2453));
+ PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAPEXTEND", PyInt_FromLong((long) 2454));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFT", PyInt_FromLong((long) 2390));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFTEXTEND", PyInt_FromLong((long) 2391));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHT", PyInt_FromLong((long) 2392));
PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHTEXTEND", PyInt_FromLong((long) 2393));
PyDict_SetItemString(d,"wxSTC_CMD_DELLINELEFT", PyInt_FromLong((long) 2395));
PyDict_SetItemString(d,"wxSTC_CMD_DELLINERIGHT", PyInt_FromLong((long) 2396));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARADOWN", PyInt_FromLong((long) 2413));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARADOWNEXTEND", PyInt_FromLong((long) 2414));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARAUP", PyInt_FromLong((long) 2415));
+ PyDict_SetItemString(d,"wxSTC_CMD_PARAUPEXTEND", PyInt_FromLong((long) 2416));
PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1));
PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
@@ -12059,6 +13062,9 @@ SWIGEXPORT(void) initstc_c() {
PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER));
PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP));
PyDict_SetItemString(d,"wxEVT_STC_ZOOM", PyInt_FromLong((long) wxEVT_STC_ZOOM));
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_CLICK));
+ PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_DCLICK));
+ PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", PyInt_FromLong((long) wxEVT_STC_CALLTIP_CLICK));
wxClassInfo::CleanUpClasses();
diff --git a/wxPython/contrib/stc/msw/stc_.py b/wxPython/contrib/stc/msw/stc_.py
index a3a4fef4a9..93e7f892ef 100644
--- a/wxPython/contrib/stc/msw/stc_.py
+++ b/wxPython/contrib/stc/msw/stc_.py
@@ -112,930 +112,1019 @@ def EVT_STC_DO_DROP(win, id, func):
def EVT_STC_ZOOM(win, id, func):
win.Connect(id, -1, wxEVT_STC_ZOOM, func)
+def EVT_STC_HOTSPOT_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_CLICK, func)
+
+def EVT_STC_HOTSPOT_DCLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_DCLICK, func)
+
+def EVT_STC_CALLTIP_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_CALLTIP_CLICK, func)
class wxStyledTextCtrlPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def AddText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddText(self, *_args, **_kwargs)
return val
def AddStyledText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddStyledText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddStyledText(self, *_args, **_kwargs)
return val
def InsertText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_InsertText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_InsertText(self, *_args, **_kwargs)
return val
def ClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ClearAll(self, *_args, **_kwargs)
return val
def ClearDocumentStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ClearDocumentStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ClearDocumentStyle(self, *_args, **_kwargs)
return val
def GetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLength(self, *_args, **_kwargs)
return val
def GetCharAt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCharAt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCharAt(self, *_args, **_kwargs)
return val
def GetCurrentPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurrentPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurrentPos(self, *_args, **_kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetAnchor(self, *_args, **_kwargs)
return val
def GetStyleAt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyleAt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyleAt(self, *_args, **_kwargs)
return val
def Redo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Redo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Redo(self, *_args, **_kwargs)
return val
def SetUndoCollection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUndoCollection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUndoCollection(self, *_args, **_kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SelectAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SelectAll(self, *_args, **_kwargs)
return val
def SetSavePoint(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSavePoint,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSavePoint(self, *_args, **_kwargs)
return val
def GetStyledText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyledText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyledText(self, *_args, **_kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanRedo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanRedo(self, *_args, **_kwargs)
return val
def MarkerLineFromHandle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerLineFromHandle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerLineFromHandle(self, *_args, **_kwargs)
return val
def MarkerDeleteHandle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDeleteHandle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDeleteHandle(self, *_args, **_kwargs)
return val
def GetUndoCollection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUndoCollection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUndoCollection(self, *_args, **_kwargs)
return val
def GetViewWhiteSpace(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetViewWhiteSpace,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetViewWhiteSpace(self, *_args, **_kwargs)
return val
def SetViewWhiteSpace(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetViewWhiteSpace,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetViewWhiteSpace(self, *_args, **_kwargs)
return val
def PositionFromPoint(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromPoint,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromPoint(self, *_args, **_kwargs)
return val
def PositionFromPointClose(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromPointClose,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromPointClose(self, *_args, **_kwargs)
return val
def GotoLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GotoLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GotoLine(self, *_args, **_kwargs)
return val
def GotoPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GotoPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GotoPos(self, *_args, **_kwargs)
return val
def SetAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetAnchor(self, *_args, **_kwargs)
return val
def GetCurLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurLine(self, *_args, **_kwargs)
return val
def GetEndStyled(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEndStyled,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEndStyled(self, *_args, **_kwargs)
return val
def ConvertEOLs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ConvertEOLs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ConvertEOLs(self, *_args, **_kwargs)
return val
def GetEOLMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEOLMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEOLMode(self, *_args, **_kwargs)
return val
def SetEOLMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEOLMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEOLMode(self, *_args, **_kwargs)
return val
def StartStyling(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StartStyling,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StartStyling(self, *_args, **_kwargs)
return val
def SetStyling(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyling,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyling(self, *_args, **_kwargs)
return val
def GetBufferedDraw(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetBufferedDraw,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetBufferedDraw(self, *_args, **_kwargs)
return val
def SetBufferedDraw(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetBufferedDraw,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetBufferedDraw(self, *_args, **_kwargs)
return val
def SetTabWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTabWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTabWidth(self, *_args, **_kwargs)
return val
def GetTabWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTabWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTabWidth(self, *_args, **_kwargs)
return val
def SetCodePage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCodePage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCodePage(self, *_args, **_kwargs)
return val
def MarkerDefine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDefine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDefine(self, *_args, **_kwargs)
return val
def MarkerSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerSetForeground(self, *_args, **_kwargs)
return val
def MarkerSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerSetBackground(self, *_args, **_kwargs)
return val
def MarkerAdd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerAdd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerAdd(self, *_args, **_kwargs)
return val
def MarkerDelete(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDelete,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDelete(self, *_args, **_kwargs)
return val
def MarkerDeleteAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerDeleteAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerDeleteAll(self, *_args, **_kwargs)
return val
def MarkerGet(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerGet,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerGet(self, *_args, **_kwargs)
return val
def MarkerNext(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerNext,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerNext(self, *_args, **_kwargs)
return val
def MarkerPrevious(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MarkerPrevious,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MarkerPrevious(self, *_args, **_kwargs)
+ return val
+ def MarkerDefineBitmap(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_MarkerDefineBitmap(self, *_args, **_kwargs)
return val
def SetMarginType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginType(self, *_args, **_kwargs)
return val
def GetMarginType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginType(self, *_args, **_kwargs)
return val
def SetMarginWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginWidth(self, *_args, **_kwargs)
return val
def GetMarginWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginWidth(self, *_args, **_kwargs)
return val
def SetMarginMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginMask(self, *_args, **_kwargs)
return val
def GetMarginMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginMask(self, *_args, **_kwargs)
return val
def SetMarginSensitive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginSensitive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginSensitive(self, *_args, **_kwargs)
return val
def GetMarginSensitive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginSensitive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginSensitive(self, *_args, **_kwargs)
return val
def StyleClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleClearAll(self, *_args, **_kwargs)
return val
def StyleSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetForeground(self, *_args, **_kwargs)
return val
def StyleSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetBackground(self, *_args, **_kwargs)
return val
def StyleSetBold(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetBold,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetBold(self, *_args, **_kwargs)
return val
def StyleSetItalic(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetItalic,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetItalic(self, *_args, **_kwargs)
return val
def StyleSetSize(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetSize,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetSize(self, *_args, **_kwargs)
return val
def StyleSetFaceName(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFaceName,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFaceName(self, *_args, **_kwargs)
return val
def StyleSetEOLFilled(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetEOLFilled,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetEOLFilled(self, *_args, **_kwargs)
return val
def StyleResetDefault(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleResetDefault,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleResetDefault(self, *_args, **_kwargs)
return val
def StyleSetUnderline(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetUnderline,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetUnderline(self, *_args, **_kwargs)
return val
def StyleSetCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetCase(self, *_args, **_kwargs)
return val
def StyleSetCharacterSet(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetCharacterSet,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetCharacterSet(self, *_args, **_kwargs)
+ return val
+ def StyleSetHotSpot(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_StyleSetHotSpot(self, *_args, **_kwargs)
return val
def SetSelForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelForeground(self, *_args, **_kwargs)
return val
def SetSelBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelBackground(self, *_args, **_kwargs)
return val
def SetCaretForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretForeground(self, *_args, **_kwargs)
return val
def CmdKeyAssign(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyAssign,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyAssign(self, *_args, **_kwargs)
return val
def CmdKeyClear(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyClear,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyClear(self, *_args, **_kwargs)
return val
def CmdKeyClearAll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyClearAll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyClearAll(self, *_args, **_kwargs)
return val
def SetStyleBytes(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyleBytes,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyleBytes(self, *_args, **_kwargs)
return val
def StyleSetVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetVisible(self, *_args, **_kwargs)
return val
def GetCaretPeriod(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretPeriod,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretPeriod(self, *_args, **_kwargs)
return val
def SetCaretPeriod(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretPeriod,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretPeriod(self, *_args, **_kwargs)
return val
def SetWordChars(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWordChars,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWordChars(self, *_args, **_kwargs)
return val
def BeginUndoAction(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BeginUndoAction,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BeginUndoAction(self, *_args, **_kwargs)
return val
def EndUndoAction(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EndUndoAction,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EndUndoAction(self, *_args, **_kwargs)
return val
def IndicatorSetStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorSetStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorSetStyle(self, *_args, **_kwargs)
return val
def IndicatorGetStyle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorGetStyle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorGetStyle(self, *_args, **_kwargs)
return val
def IndicatorSetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorSetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorSetForeground(self, *_args, **_kwargs)
return val
def IndicatorGetForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_IndicatorGetForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_IndicatorGetForeground(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetWhitespaceForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWhitespaceForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWhitespaceForeground(self, *_args, **_kwargs)
return val
def SetWhitespaceBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWhitespaceBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWhitespaceBackground(self, *_args, **_kwargs)
return val
def SetStyleBits(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStyleBits,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStyleBits(self, *_args, **_kwargs)
return val
def GetStyleBits(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStyleBits,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStyleBits(self, *_args, **_kwargs)
return val
def SetLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLineState(self, *_args, **_kwargs)
return val
def GetLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineState(self, *_args, **_kwargs)
return val
def GetMaxLineState(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMaxLineState,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMaxLineState(self, *_args, **_kwargs)
return val
def GetCaretLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretLineVisible(self, *_args, **_kwargs)
return val
def SetCaretLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretLineVisible(self, *_args, **_kwargs)
return val
def GetCaretLineBack(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretLineBack,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretLineBack(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetCaretLineBack(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretLineBack,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretLineBack(self, *_args, **_kwargs)
return val
def StyleSetChangeable(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetChangeable,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetChangeable(self, *_args, **_kwargs)
return val
def AutoCompShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompShow(self, *_args, **_kwargs)
return val
def AutoCompCancel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompCancel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompCancel(self, *_args, **_kwargs)
return val
def AutoCompActive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompActive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompActive(self, *_args, **_kwargs)
return val
def AutoCompPosStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompPosStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompPosStart(self, *_args, **_kwargs)
return val
def AutoCompComplete(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompComplete,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompComplete(self, *_args, **_kwargs)
return val
def AutoCompStops(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompStops,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompStops(self, *_args, **_kwargs)
return val
def AutoCompSetSeparator(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetSeparator,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetSeparator(self, *_args, **_kwargs)
return val
def AutoCompGetSeparator(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetSeparator,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetSeparator(self, *_args, **_kwargs)
return val
def AutoCompSelect(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSelect,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSelect(self, *_args, **_kwargs)
return val
def AutoCompSetCancelAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetCancelAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetCancelAtStart(self, *_args, **_kwargs)
return val
def AutoCompGetCancelAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetCancelAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetCancelAtStart(self, *_args, **_kwargs)
return val
def AutoCompSetFillUps(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetFillUps,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetFillUps(self, *_args, **_kwargs)
return val
def AutoCompSetChooseSingle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetChooseSingle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetChooseSingle(self, *_args, **_kwargs)
return val
def AutoCompGetChooseSingle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetChooseSingle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetChooseSingle(self, *_args, **_kwargs)
return val
def AutoCompSetIgnoreCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetIgnoreCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetIgnoreCase(self, *_args, **_kwargs)
return val
def AutoCompGetIgnoreCase(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetIgnoreCase,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetIgnoreCase(self, *_args, **_kwargs)
return val
def UserListShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_UserListShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_UserListShow(self, *_args, **_kwargs)
return val
def AutoCompSetAutoHide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetAutoHide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetAutoHide(self, *_args, **_kwargs)
return val
def AutoCompGetAutoHide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetAutoHide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetAutoHide(self, *_args, **_kwargs)
return val
def AutoCompSetDropRestOfWord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompSetDropRestOfWord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompSetDropRestOfWord(self, *_args, **_kwargs)
return val
def AutoCompGetDropRestOfWord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AutoCompGetDropRestOfWord(self, *_args, **_kwargs)
+ return val
+ def RegisterImage(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_RegisterImage(self, *_args, **_kwargs)
+ return val
+ def ClearRegisteredImages(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_ClearRegisteredImages(self, *_args, **_kwargs)
+ return val
+ def AutoCompGetTypeSeparator(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AutoCompGetTypeSeparator(self, *_args, **_kwargs)
+ return val
+ def AutoCompSetTypeSeparator(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AutoCompSetTypeSeparator(self, *_args, **_kwargs)
return val
def SetIndent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetIndent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetIndent(self, *_args, **_kwargs)
return val
def GetIndent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetIndent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetIndent(self, *_args, **_kwargs)
return val
def SetUseTabs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUseTabs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUseTabs(self, *_args, **_kwargs)
return val
def GetUseTabs(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUseTabs,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUseTabs(self, *_args, **_kwargs)
return val
def SetLineIndentation(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLineIndentation,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLineIndentation(self, *_args, **_kwargs)
return val
def GetLineIndentation(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineIndentation,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineIndentation(self, *_args, **_kwargs)
return val
def GetLineIndentPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineIndentPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineIndentPosition(self, *_args, **_kwargs)
return val
def GetColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetColumn(self, *_args, **_kwargs)
return val
def SetUseHorizontalScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetUseHorizontalScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetUseHorizontalScrollBar(self, *_args, **_kwargs)
return val
def GetUseHorizontalScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetUseHorizontalScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetUseHorizontalScrollBar(self, *_args, **_kwargs)
return val
def SetIndentationGuides(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetIndentationGuides,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetIndentationGuides(self, *_args, **_kwargs)
return val
def GetIndentationGuides(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetIndentationGuides,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetIndentationGuides(self, *_args, **_kwargs)
return val
def SetHighlightGuide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetHighlightGuide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetHighlightGuide(self, *_args, **_kwargs)
return val
def GetHighlightGuide(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetHighlightGuide,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetHighlightGuide(self, *_args, **_kwargs)
return val
def GetLineEndPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineEndPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineEndPosition(self, *_args, **_kwargs)
return val
def GetCodePage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCodePage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCodePage(self, *_args, **_kwargs)
return val
def GetCaretForeground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretForeground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretForeground(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetReadOnly(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetReadOnly,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetReadOnly(self, *_args, **_kwargs)
return val
def SetCurrentPos(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCurrentPos,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCurrentPos(self, *_args, **_kwargs)
return val
def SetSelectionStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelectionStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelectionStart(self, *_args, **_kwargs)
return val
def GetSelectionStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectionStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectionStart(self, *_args, **_kwargs)
return val
def SetSelectionEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelectionEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelectionEnd(self, *_args, **_kwargs)
return val
def GetSelectionEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectionEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectionEnd(self, *_args, **_kwargs)
return val
def SetPrintMagnification(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetPrintMagnification,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetPrintMagnification(self, *_args, **_kwargs)
return val
def GetPrintMagnification(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetPrintMagnification,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetPrintMagnification(self, *_args, **_kwargs)
return val
def SetPrintColourMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetPrintColourMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetPrintColourMode(self, *_args, **_kwargs)
return val
def GetPrintColourMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetPrintColourMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetPrintColourMode(self, *_args, **_kwargs)
return val
def FindText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_FindText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_FindText(self, *_args, **_kwargs)
return val
def FormatRange(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_FormatRange,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_FormatRange(self, *_args, **_kwargs)
return val
def GetFirstVisibleLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFirstVisibleLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFirstVisibleLine(self, *_args, **_kwargs)
return val
def GetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLine(self, *_args, **_kwargs)
return val
def GetLineCount(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineCount,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineCount(self, *_args, **_kwargs)
return val
def SetMarginLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginLeft(self, *_args, **_kwargs)
return val
def GetMarginLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginLeft(self, *_args, **_kwargs)
return val
def SetMarginRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMarginRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMarginRight(self, *_args, **_kwargs)
return val
def GetMarginRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMarginRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMarginRight(self, *_args, **_kwargs)
return val
def GetModify(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetModify,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetModify(self, *_args, **_kwargs)
return val
def SetSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSelection(self, *_args, **_kwargs)
return val
def GetSelectedText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelectedText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelectedText(self, *_args, **_kwargs)
return val
def GetTextRange(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTextRange,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTextRange(self, *_args, **_kwargs)
return val
def HideSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HideSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HideSelection(self, *_args, **_kwargs)
return val
def LineFromPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineFromPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineFromPosition(self, *_args, **_kwargs)
return val
def PositionFromLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PositionFromLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PositionFromLine(self, *_args, **_kwargs)
return val
def LineScroll(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineScroll,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineScroll(self, *_args, **_kwargs)
return val
def EnsureCaretVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureCaretVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureCaretVisible(self, *_args, **_kwargs)
return val
def ReplaceSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceSelection(self, *_args, **_kwargs)
return val
def SetReadOnly(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetReadOnly,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetReadOnly(self, *_args, **_kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanPaste,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanPaste(self, *_args, **_kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CanUndo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CanUndo(self, *_args, **_kwargs)
return val
def EmptyUndoBuffer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EmptyUndoBuffer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EmptyUndoBuffer(self, *_args, **_kwargs)
return val
def Undo(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Undo,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Undo(self, *_args, **_kwargs)
return val
def Cut(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Cut,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Cut(self, *_args, **_kwargs)
return val
def Copy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Copy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Copy(self, *_args, **_kwargs)
return val
def Paste(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Paste,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Paste(self, *_args, **_kwargs)
return val
def Clear(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Clear,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Clear(self, *_args, **_kwargs)
return val
def SetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetText(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetText(self, *_args, **_kwargs)
return val
def GetTextLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTextLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTextLength(self, *_args, **_kwargs)
return val
def SetOvertype(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetOvertype,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetOvertype(self, *_args, **_kwargs)
return val
def GetOvertype(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetOvertype,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetOvertype(self, *_args, **_kwargs)
return val
def SetCaretWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCaretWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCaretWidth(self, *_args, **_kwargs)
return val
def GetCaretWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCaretWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCaretWidth(self, *_args, **_kwargs)
return val
def SetTargetStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTargetStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTargetStart(self, *_args, **_kwargs)
return val
def GetTargetStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTargetStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTargetStart(self, *_args, **_kwargs)
return val
def SetTargetEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTargetEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTargetEnd(self, *_args, **_kwargs)
return val
def GetTargetEnd(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTargetEnd,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTargetEnd(self, *_args, **_kwargs)
return val
def ReplaceTarget(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceTarget,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceTarget(self, *_args, **_kwargs)
return val
def ReplaceTargetRE(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReplaceTargetRE,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReplaceTargetRE(self, *_args, **_kwargs)
return val
def SearchInTarget(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchInTarget,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchInTarget(self, *_args, **_kwargs)
return val
def SetSearchFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSearchFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSearchFlags(self, *_args, **_kwargs)
return val
def GetSearchFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSearchFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSearchFlags(self, *_args, **_kwargs)
return val
def CallTipShow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipShow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipShow(self, *_args, **_kwargs)
return val
def CallTipCancel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipCancel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipCancel(self, *_args, **_kwargs)
return val
def CallTipActive(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipActive,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipActive(self, *_args, **_kwargs)
return val
def CallTipPosAtStart(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipPosAtStart,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipPosAtStart(self, *_args, **_kwargs)
return val
def CallTipSetHighlight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipSetHighlight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipSetHighlight(self, *_args, **_kwargs)
return val
def CallTipSetBackground(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CallTipSetBackground,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CallTipSetBackground(self, *_args, **_kwargs)
+ return val
+ def CallTipSetForeground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_CallTipSetForeground(self, *_args, **_kwargs)
+ return val
+ def CallTipSetForegroundHighlight(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_CallTipSetForegroundHighlight(self, *_args, **_kwargs)
return val
def VisibleFromDocLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_VisibleFromDocLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_VisibleFromDocLine(self, *_args, **_kwargs)
return val
def DocLineFromVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DocLineFromVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DocLineFromVisible(self, *_args, **_kwargs)
return val
def SetFoldLevel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldLevel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldLevel(self, *_args, **_kwargs)
return val
def GetFoldLevel(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldLevel,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldLevel(self, *_args, **_kwargs)
return val
def GetLastChild(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLastChild,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLastChild(self, *_args, **_kwargs)
return val
def GetFoldParent(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldParent,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldParent(self, *_args, **_kwargs)
return val
def ShowLines(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ShowLines,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ShowLines(self, *_args, **_kwargs)
return val
def HideLines(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HideLines,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HideLines(self, *_args, **_kwargs)
return val
def GetLineVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLineVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLineVisible(self, *_args, **_kwargs)
return val
def SetFoldExpanded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldExpanded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldExpanded(self, *_args, **_kwargs)
return val
def GetFoldExpanded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetFoldExpanded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetFoldExpanded(self, *_args, **_kwargs)
return val
def ToggleFold(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ToggleFold,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ToggleFold(self, *_args, **_kwargs)
return val
def EnsureVisible(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureVisible,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureVisible(self, *_args, **_kwargs)
return val
def SetFoldFlags(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetFoldFlags,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetFoldFlags(self, *_args, **_kwargs)
return val
def EnsureVisibleEnforcePolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_EnsureVisibleEnforcePolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_EnsureVisibleEnforcePolicy(self, *_args, **_kwargs)
return val
def SetTabIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetTabIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetTabIndents(self, *_args, **_kwargs)
return val
def GetTabIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetTabIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetTabIndents(self, *_args, **_kwargs)
return val
def SetBackSpaceUnIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetBackSpaceUnIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetBackSpaceUnIndents(self, *_args, **_kwargs)
return val
def GetBackSpaceUnIndents(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetBackSpaceUnIndents,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetBackSpaceUnIndents(self, *_args, **_kwargs)
return val
def SetMouseDwellTime(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMouseDwellTime,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMouseDwellTime(self, *_args, **_kwargs)
return val
def GetMouseDwellTime(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMouseDwellTime,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMouseDwellTime(self, *_args, **_kwargs)
return val
def WordStartPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordStartPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordStartPosition(self, *_args, **_kwargs)
return val
def WordEndPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordEndPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordEndPosition(self, *_args, **_kwargs)
return val
def SetWrapMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetWrapMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetWrapMode(self, *_args, **_kwargs)
return val
def GetWrapMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetWrapMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetWrapMode(self, *_args, **_kwargs)
return val
def SetLayoutCache(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLayoutCache,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLayoutCache(self, *_args, **_kwargs)
return val
def GetLayoutCache(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLayoutCache,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLayoutCache(self, *_args, **_kwargs)
return val
def SetScrollWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetScrollWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetScrollWidth(self, *_args, **_kwargs)
return val
def GetScrollWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetScrollWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetScrollWidth(self, *_args, **_kwargs)
return val
def TextWidth(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_TextWidth,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_TextWidth(self, *_args, **_kwargs)
return val
def SetEndAtLastLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEndAtLastLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEndAtLastLine(self, *_args, **_kwargs)
return val
def GetEndAtLastLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEndAtLastLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEndAtLastLine(self, *_args, **_kwargs)
return val
def TextHeight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_TextHeight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_TextHeight(self, *_args, **_kwargs)
+ return val
+ def SetUseVerticalScrollBar(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetUseVerticalScrollBar(self, *_args, **_kwargs)
+ return val
+ def GetUseVerticalScrollBar(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetUseVerticalScrollBar(self, *_args, **_kwargs)
+ return val
+ def AppendText(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_AppendText(self, *_args, **_kwargs)
+ return val
+ def GetTwoPhaseDraw(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetTwoPhaseDraw(self, *_args, **_kwargs)
+ return val
+ def SetTwoPhaseDraw(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetTwoPhaseDraw(self, *_args, **_kwargs)
+ return val
+ def TargetFromSelection(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_TargetFromSelection(self, *_args, **_kwargs)
+ return val
+ def LinesJoin(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LinesJoin(self, *_args, **_kwargs)
+ return val
+ def LinesSplit(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LinesSplit(self, *_args, **_kwargs)
+ return val
+ def SetFoldMarginColour(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetFoldMarginColour(self, *_args, **_kwargs)
+ return val
+ def SetFoldMarginHiColour(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetFoldMarginHiColour(self, *_args, **_kwargs)
+ return val
+ def LineDuplicate(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LineDuplicate(self, *_args, **_kwargs)
return val
def HomeDisplay(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HomeDisplay,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HomeDisplay(self, *_args, **_kwargs)
return val
def HomeDisplayExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_HomeDisplayExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_HomeDisplayExtend(self, *_args, **_kwargs)
return val
def LineEndDisplay(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineEndDisplay,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineEndDisplay(self, *_args, **_kwargs)
return val
def LineEndDisplayExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineEndDisplayExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineEndDisplayExtend(self, *_args, **_kwargs)
return val
def MoveCaretInsideView(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_MoveCaretInsideView,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_MoveCaretInsideView(self, *_args, **_kwargs)
return val
def LineLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LineLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LineLength(self, *_args, **_kwargs)
return val
def BraceHighlight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceHighlight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceHighlight(self, *_args, **_kwargs)
return val
def BraceBadLight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceBadLight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceBadLight(self, *_args, **_kwargs)
return val
def BraceMatch(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_BraceMatch,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_BraceMatch(self, *_args, **_kwargs)
return val
def GetViewEOL(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetViewEOL,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetViewEOL(self, *_args, **_kwargs)
return val
def SetViewEOL(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetViewEOL,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetViewEOL(self, *_args, **_kwargs)
return val
def GetDocPointer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetDocPointer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetDocPointer(self, *_args, **_kwargs)
return val
def SetDocPointer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetDocPointer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetDocPointer(self, *_args, **_kwargs)
return val
def SetModEventMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetModEventMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetModEventMask(self, *_args, **_kwargs)
return val
def GetEdgeColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeColumn(self, *_args, **_kwargs)
return val
def SetEdgeColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeColumn(self, *_args, **_kwargs)
return val
def GetEdgeMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeMode(self, *_args, **_kwargs)
return val
def SetEdgeMode(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeMode,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeMode(self, *_args, **_kwargs)
return val
def GetEdgeColour(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetEdgeColour,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetEdgeColour(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def SetEdgeColour(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetEdgeColour,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetEdgeColour(self, *_args, **_kwargs)
return val
def SearchAnchor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchAnchor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchAnchor(self, *_args, **_kwargs)
return val
def SearchNext(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchNext,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchNext(self, *_args, **_kwargs)
return val
def SearchPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SearchPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SearchPrev(self, *_args, **_kwargs)
return val
def LinesOnScreen(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_LinesOnScreen,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_LinesOnScreen(self, *_args, **_kwargs)
return val
def UsePopUp(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_UsePopUp,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_UsePopUp(self, *_args, **_kwargs)
return val
def SelectionIsRectangle(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SelectionIsRectangle,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SelectionIsRectangle(self, *_args, **_kwargs)
return val
def SetZoom(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetZoom,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetZoom(self, *_args, **_kwargs)
return val
def GetZoom(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetZoom,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetZoom(self, *_args, **_kwargs)
return val
def CreateDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CreateDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CreateDocument(self, *_args, **_kwargs)
return val
def AddRefDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_AddRefDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_AddRefDocument(self, *_args, **_kwargs)
return val
def ReleaseDocument(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ReleaseDocument,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ReleaseDocument(self, *_args, **_kwargs)
return val
def GetModEventMask(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetModEventMask,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetModEventMask(self, *_args, **_kwargs)
return val
def SetSTCFocus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetSTCFocus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetSTCFocus(self, *_args, **_kwargs)
return val
def GetSTCFocus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSTCFocus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSTCFocus(self, *_args, **_kwargs)
return val
def SetStatus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetStatus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetStatus(self, *_args, **_kwargs)
return val
def GetStatus(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetStatus,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetStatus(self, *_args, **_kwargs)
return val
def SetMouseDownCaptures(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMouseDownCaptures,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMouseDownCaptures(self, *_args, **_kwargs)
return val
def GetMouseDownCaptures(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetMouseDownCaptures,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetMouseDownCaptures(self, *_args, **_kwargs)
return val
def SetCursor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetCursor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetCursor(self, *_args, **_kwargs)
return val
def GetCursor(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCursor,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCursor(self, *_args, **_kwargs)
return val
def SetControlCharSymbol(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetControlCharSymbol,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetControlCharSymbol(self, *_args, **_kwargs)
return val
def GetControlCharSymbol(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetControlCharSymbol,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetControlCharSymbol(self, *_args, **_kwargs)
return val
def WordPartLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartLeft(self, *_args, **_kwargs)
return val
def WordPartLeftExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartLeftExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartLeftExtend(self, *_args, **_kwargs)
return val
def WordPartRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartRight(self, *_args, **_kwargs)
return val
def WordPartRightExtend(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_WordPartRightExtend,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_WordPartRightExtend(self, *_args, **_kwargs)
return val
def SetVisiblePolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetVisiblePolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetVisiblePolicy(self, *_args, **_kwargs)
return val
def DelLineLeft(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DelLineLeft,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DelLineLeft(self, *_args, **_kwargs)
return val
def DelLineRight(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_DelLineRight,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_DelLineRight(self, *_args, **_kwargs)
return val
def SetXOffset(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetXOffset,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetXOffset(self, *_args, **_kwargs)
return val
def GetXOffset(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetXOffset,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetXOffset(self, *_args, **_kwargs)
+ return val
+ def ChooseCaretX(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_ChooseCaretX(self, *_args, **_kwargs)
return val
def SetXCaretPolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetXCaretPolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetXCaretPolicy(self, *_args, **_kwargs)
return val
def SetYCaretPolicy(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetYCaretPolicy,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetYCaretPolicy(self, *_args, **_kwargs)
+ return val
+ def SetPrintWrapMode(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetPrintWrapMode(self, *_args, **_kwargs)
+ return val
+ def GetPrintWrapMode(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_GetPrintWrapMode(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveForeground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveForeground(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveBackground(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveBackground(self, *_args, **_kwargs)
+ return val
+ def SetHotspotActiveUnderline(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SetHotspotActiveUnderline(self, *_args, **_kwargs)
return val
def StartRecord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StartRecord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StartRecord(self, *_args, **_kwargs)
return val
def StopRecord(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StopRecord,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StopRecord(self, *_args, **_kwargs)
return val
def SetLexer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLexer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLexer(self, *_args, **_kwargs)
return val
def GetLexer(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLexer,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLexer(self, *_args, **_kwargs)
return val
def Colourise(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_Colourise,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_Colourise(self, *_args, **_kwargs)
return val
def SetProperty(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetProperty,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetProperty(self, *_args, **_kwargs)
return val
def SetKeyWords(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetKeyWords,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetKeyWords(self, *_args, **_kwargs)
return val
def SetLexerLanguage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLexerLanguage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLexerLanguage(self, *_args, **_kwargs)
return val
def GetCurrentLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetCurrentLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetCurrentLine(self, *_args, **_kwargs)
return val
def StyleSetSpec(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetSpec,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetSpec(self, *_args, **_kwargs)
return val
def StyleSetFont(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFont,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFont(self, *_args, **_kwargs)
return val
def StyleSetFontAttr(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_StyleSetFontAttr,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_StyleSetFontAttr(self, *_args, **_kwargs)
return val
def CmdKeyExecute(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_CmdKeyExecute,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_CmdKeyExecute(self, *_args, **_kwargs)
return val
def SetMargins(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetMargins,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetMargins(self, *_args, **_kwargs)
return val
def GetSelection(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetSelection,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetSelection(self, *_args, **_kwargs)
return val
def PointFromPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_PointFromPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_PointFromPosition(self, *_args, **_kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def ScrollToLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ScrollToLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ScrollToLine(self, *_args, **_kwargs)
return val
def ScrollToColumn(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_ScrollToColumn,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_ScrollToColumn(self, *_args, **_kwargs)
return val
def SendMsg(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SendMsg,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SendMsg(self, *_args, **_kwargs)
return val
def SetVScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetVScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetVScrollBar(self, *_args, **_kwargs)
return val
def SetHScrollBar(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetHScrollBar,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetHScrollBar(self, *_args, **_kwargs)
return val
def GetLastKeydownProcessed(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_GetLastKeydownProcessed,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_GetLastKeydownProcessed(self, *_args, **_kwargs)
return val
def SetLastKeydownProcessed(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextCtrl_SetLastKeydownProcessed,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextCtrl_SetLastKeydownProcessed(self, *_args, **_kwargs)
+ return val
+ def SaveFile(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_SaveFile(self, *_args, **_kwargs)
+ return val
+ def LoadFile(self, *_args, **_kwargs):
+ val = stc_c.wxStyledTextCtrl_LoadFile(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxStyledTextCtrl(wxStyledTextCtrlPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(stc_c.new_wxStyledTextCtrl,_args,_kwargs)
+ self.this = stc_c.new_wxStyledTextCtrl(*_args,**_kwargs)
self.thisown = 1
self._setOORInfo(self)
@@ -1053,143 +1142,143 @@ class wxStyledTextEventPtr(wxCommandEventPtr):
except:
pass
def SetPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetPosition(self, *_args, **_kwargs)
return val
def SetKey(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetKey,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetKey(self, *_args, **_kwargs)
return val
def SetModifiers(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetModifiers,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetModifiers(self, *_args, **_kwargs)
return val
def SetModificationType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetModificationType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetModificationType(self, *_args, **_kwargs)
return val
def SetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetText(self, *_args, **_kwargs)
return val
def SetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLength(self, *_args, **_kwargs)
return val
def SetLinesAdded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLinesAdded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLinesAdded(self, *_args, **_kwargs)
return val
def SetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLine(self, *_args, **_kwargs)
return val
def SetFoldLevelNow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetFoldLevelNow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetFoldLevelNow(self, *_args, **_kwargs)
return val
def SetFoldLevelPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetFoldLevelPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetFoldLevelPrev(self, *_args, **_kwargs)
return val
def SetMargin(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetMargin,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetMargin(self, *_args, **_kwargs)
return val
def SetMessage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetMessage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetMessage(self, *_args, **_kwargs)
return val
def SetWParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetWParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetWParam(self, *_args, **_kwargs)
return val
def SetLParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetLParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetLParam(self, *_args, **_kwargs)
return val
def SetListType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetListType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetListType(self, *_args, **_kwargs)
return val
def SetX(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetX,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetX(self, *_args, **_kwargs)
return val
def SetY(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetY,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetY(self, *_args, **_kwargs)
return val
def SetDragText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragText(self, *_args, **_kwargs)
return val
def SetDragAllowMove(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragAllowMove,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragAllowMove(self, *_args, **_kwargs)
return val
def SetDragResult(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_SetDragResult,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_SetDragResult(self, *_args, **_kwargs)
return val
def GetPosition(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetPosition,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetPosition(self, *_args, **_kwargs)
return val
def GetKey(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetKey,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetKey(self, *_args, **_kwargs)
return val
def GetModifiers(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetModifiers,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetModifiers(self, *_args, **_kwargs)
return val
def GetModificationType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetModificationType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetModificationType(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetText(self, *_args, **_kwargs)
return val
def GetLength(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLength,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLength(self, *_args, **_kwargs)
return val
def GetLinesAdded(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLinesAdded,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLinesAdded(self, *_args, **_kwargs)
return val
def GetLine(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLine,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLine(self, *_args, **_kwargs)
return val
def GetFoldLevelNow(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetFoldLevelNow,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetFoldLevelNow(self, *_args, **_kwargs)
return val
def GetFoldLevelPrev(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetFoldLevelPrev,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetFoldLevelPrev(self, *_args, **_kwargs)
return val
def GetMargin(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetMargin,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetMargin(self, *_args, **_kwargs)
return val
def GetMessage(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetMessage,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetMessage(self, *_args, **_kwargs)
return val
def GetWParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetWParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetWParam(self, *_args, **_kwargs)
return val
def GetLParam(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetLParam,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetLParam(self, *_args, **_kwargs)
return val
def GetListType(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetListType,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetListType(self, *_args, **_kwargs)
return val
def GetX(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetX,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetX(self, *_args, **_kwargs)
return val
def GetY(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetY,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetY(self, *_args, **_kwargs)
return val
def GetDragText(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragText,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragText(self, *_args, **_kwargs)
return val
def GetDragAllowMove(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragAllowMove,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragAllowMove(self, *_args, **_kwargs)
return val
def GetDragResult(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetDragResult,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetDragResult(self, *_args, **_kwargs)
return val
def GetShift(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetShift,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetShift(self, *_args, **_kwargs)
return val
def GetControl(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetControl,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetControl(self, *_args, **_kwargs)
return val
def GetAlt(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_GetAlt,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_GetAlt(self, *_args, **_kwargs)
return val
def Clone(self, *_args, **_kwargs):
- val = apply(stc_c.wxStyledTextEvent_Clone,(self,) + _args, _kwargs)
+ val = stc_c.wxStyledTextEvent_Clone(self, *_args, **_kwargs)
if val: val = wxEventPtr(val)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxStyledTextEvent(wxStyledTextEventPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(stc_c.new_wxStyledTextEvent,_args,_kwargs)
+ self.this = stc_c.new_wxStyledTextEvent(*_args,**_kwargs)
self.thisown = 1
@@ -1215,6 +1304,7 @@ wxSTC_EOL_CRLF = stc_c.wxSTC_EOL_CRLF
wxSTC_EOL_CR = stc_c.wxSTC_EOL_CR
wxSTC_EOL_LF = stc_c.wxSTC_EOL_LF
wxSTC_CP_UTF8 = stc_c.wxSTC_CP_UTF8
+wxSTC_CP_DBCS = stc_c.wxSTC_CP_DBCS
wxSTC_MARKER_MAX = stc_c.wxSTC_MARKER_MAX
wxSTC_MARK_CIRCLE = stc_c.wxSTC_MARK_CIRCLE
wxSTC_MARK_ROUNDRECT = stc_c.wxSTC_MARK_ROUNDRECT
@@ -1241,6 +1331,7 @@ wxSTC_MARK_CIRCLEMINUSCONNECTED = stc_c.wxSTC_MARK_CIRCLEMINUSCONNECTED
wxSTC_MARK_BACKGROUND = stc_c.wxSTC_MARK_BACKGROUND
wxSTC_MARK_DOTDOTDOT = stc_c.wxSTC_MARK_DOTDOTDOT
wxSTC_MARK_ARROWS = stc_c.wxSTC_MARK_ARROWS
+wxSTC_MARK_PIXMAP = stc_c.wxSTC_MARK_PIXMAP
wxSTC_MARK_CHARACTER = stc_c.wxSTC_MARK_CHARACTER
wxSTC_MARKNUM_FOLDEREND = stc_c.wxSTC_MARKNUM_FOLDEREND
wxSTC_MARKNUM_FOLDEROPENMID = stc_c.wxSTC_MARKNUM_FOLDEROPENMID
@@ -1301,10 +1392,21 @@ wxSTC_FIND_WHOLEWORD = stc_c.wxSTC_FIND_WHOLEWORD
wxSTC_FIND_MATCHCASE = stc_c.wxSTC_FIND_MATCHCASE
wxSTC_FIND_WORDSTART = stc_c.wxSTC_FIND_WORDSTART
wxSTC_FIND_REGEXP = stc_c.wxSTC_FIND_REGEXP
+wxSTC_FIND_POSIX = stc_c.wxSTC_FIND_POSIX
wxSTC_FOLDLEVELBASE = stc_c.wxSTC_FOLDLEVELBASE
wxSTC_FOLDLEVELWHITEFLAG = stc_c.wxSTC_FOLDLEVELWHITEFLAG
wxSTC_FOLDLEVELHEADERFLAG = stc_c.wxSTC_FOLDLEVELHEADERFLAG
+wxSTC_FOLDLEVELBOXHEADERFLAG = stc_c.wxSTC_FOLDLEVELBOXHEADERFLAG
+wxSTC_FOLDLEVELBOXFOOTERFLAG = stc_c.wxSTC_FOLDLEVELBOXFOOTERFLAG
+wxSTC_FOLDLEVELCONTRACTED = stc_c.wxSTC_FOLDLEVELCONTRACTED
+wxSTC_FOLDLEVELUNINDENT = stc_c.wxSTC_FOLDLEVELUNINDENT
wxSTC_FOLDLEVELNUMBERMASK = stc_c.wxSTC_FOLDLEVELNUMBERMASK
+wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED
+wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED
+wxSTC_FOLDFLAG_LINEAFTER_EXPANDED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_EXPANDED
+wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED = stc_c.wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED
+wxSTC_FOLDFLAG_LEVELNUMBERS = stc_c.wxSTC_FOLDFLAG_LEVELNUMBERS
+wxSTC_FOLDFLAG_BOX = stc_c.wxSTC_FOLDFLAG_BOX
wxSTC_TIME_FOREVER = stc_c.wxSTC_TIME_FOREVER
wxSTC_WRAP_NONE = stc_c.wxSTC_WRAP_NONE
wxSTC_WRAP_WORD = stc_c.wxSTC_WRAP_WORD
@@ -1389,6 +1491,12 @@ wxSTC_LEX_PHP = stc_c.wxSTC_LEX_PHP
wxSTC_LEX_BAAN = stc_c.wxSTC_LEX_BAAN
wxSTC_LEX_MATLAB = stc_c.wxSTC_LEX_MATLAB
wxSTC_LEX_SCRIPTOL = stc_c.wxSTC_LEX_SCRIPTOL
+wxSTC_LEX_ASM = stc_c.wxSTC_LEX_ASM
+wxSTC_LEX_CPPNOCASE = stc_c.wxSTC_LEX_CPPNOCASE
+wxSTC_LEX_FORTRAN = stc_c.wxSTC_LEX_FORTRAN
+wxSTC_LEX_F77 = stc_c.wxSTC_LEX_F77
+wxSTC_LEX_CSS = stc_c.wxSTC_LEX_CSS
+wxSTC_LEX_POV = stc_c.wxSTC_LEX_POV
wxSTC_LEX_AUTOMATIC = stc_c.wxSTC_LEX_AUTOMATIC
wxSTC_P_DEFAULT = stc_c.wxSTC_P_DEFAULT
wxSTC_P_COMMENTLINE = stc_c.wxSTC_P_COMMENTLINE
@@ -1614,6 +1722,9 @@ wxSTC_ERR_DIFF_CHANGED = stc_c.wxSTC_ERR_DIFF_CHANGED
wxSTC_ERR_DIFF_ADDITION = stc_c.wxSTC_ERR_DIFF_ADDITION
wxSTC_ERR_DIFF_DELETION = stc_c.wxSTC_ERR_DIFF_DELETION
wxSTC_ERR_DIFF_MESSAGE = stc_c.wxSTC_ERR_DIFF_MESSAGE
+wxSTC_ERR_PHP = stc_c.wxSTC_ERR_PHP
+wxSTC_ERR_ELF = stc_c.wxSTC_ERR_ELF
+wxSTC_ERR_IFC = stc_c.wxSTC_ERR_IFC
wxSTC_BAT_DEFAULT = stc_c.wxSTC_BAT_DEFAULT
wxSTC_BAT_COMMENT = stc_c.wxSTC_BAT_COMMENT
wxSTC_BAT_WORD = stc_c.wxSTC_BAT_WORD
@@ -1650,22 +1761,29 @@ wxSTC_AVE_DEFAULT = stc_c.wxSTC_AVE_DEFAULT
wxSTC_AVE_COMMENT = stc_c.wxSTC_AVE_COMMENT
wxSTC_AVE_NUMBER = stc_c.wxSTC_AVE_NUMBER
wxSTC_AVE_WORD = stc_c.wxSTC_AVE_WORD
-wxSTC_AVE_KEYWORD = stc_c.wxSTC_AVE_KEYWORD
-wxSTC_AVE_STATEMENT = stc_c.wxSTC_AVE_STATEMENT
wxSTC_AVE_STRING = stc_c.wxSTC_AVE_STRING
wxSTC_AVE_ENUM = stc_c.wxSTC_AVE_ENUM
wxSTC_AVE_STRINGEOL = stc_c.wxSTC_AVE_STRINGEOL
wxSTC_AVE_IDENTIFIER = stc_c.wxSTC_AVE_IDENTIFIER
wxSTC_AVE_OPERATOR = stc_c.wxSTC_AVE_OPERATOR
+wxSTC_AVE_WORD1 = stc_c.wxSTC_AVE_WORD1
+wxSTC_AVE_WORD2 = stc_c.wxSTC_AVE_WORD2
+wxSTC_AVE_WORD3 = stc_c.wxSTC_AVE_WORD3
+wxSTC_AVE_WORD4 = stc_c.wxSTC_AVE_WORD4
+wxSTC_AVE_WORD5 = stc_c.wxSTC_AVE_WORD5
+wxSTC_AVE_WORD6 = stc_c.wxSTC_AVE_WORD6
wxSTC_ADA_DEFAULT = stc_c.wxSTC_ADA_DEFAULT
-wxSTC_ADA_COMMENT = stc_c.wxSTC_ADA_COMMENT
-wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
wxSTC_ADA_WORD = stc_c.wxSTC_ADA_WORD
-wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
-wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
-wxSTC_ADA_OPERATOR = stc_c.wxSTC_ADA_OPERATOR
wxSTC_ADA_IDENTIFIER = stc_c.wxSTC_ADA_IDENTIFIER
+wxSTC_ADA_NUMBER = stc_c.wxSTC_ADA_NUMBER
+wxSTC_ADA_DELIMITER = stc_c.wxSTC_ADA_DELIMITER
+wxSTC_ADA_CHARACTER = stc_c.wxSTC_ADA_CHARACTER
+wxSTC_ADA_CHARACTEREOL = stc_c.wxSTC_ADA_CHARACTEREOL
+wxSTC_ADA_STRING = stc_c.wxSTC_ADA_STRING
wxSTC_ADA_STRINGEOL = stc_c.wxSTC_ADA_STRINGEOL
+wxSTC_ADA_LABEL = stc_c.wxSTC_ADA_LABEL
+wxSTC_ADA_COMMENTLINE = stc_c.wxSTC_ADA_COMMENTLINE
+wxSTC_ADA_ILLEGAL = stc_c.wxSTC_ADA_ILLEGAL
wxSTC_BAAN_DEFAULT = stc_c.wxSTC_BAAN_DEFAULT
wxSTC_BAAN_COMMENT = stc_c.wxSTC_BAAN_COMMENT
wxSTC_BAAN_COMMENTDOC = stc_c.wxSTC_BAAN_COMMENTDOC
@@ -1733,6 +1851,58 @@ wxSTC_SCRIPTOL_WORD2 = stc_c.wxSTC_SCRIPTOL_WORD2
wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORD
wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = stc_c.wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR
wxSTC_SCRIPTOL_COMMENTBASIC = stc_c.wxSTC_SCRIPTOL_COMMENTBASIC
+wxSTC_ASM_DEFAULT = stc_c.wxSTC_ASM_DEFAULT
+wxSTC_ASM_COMMENT = stc_c.wxSTC_ASM_COMMENT
+wxSTC_ASM_NUMBER = stc_c.wxSTC_ASM_NUMBER
+wxSTC_ASM_STRING = stc_c.wxSTC_ASM_STRING
+wxSTC_ASM_OPERATOR = stc_c.wxSTC_ASM_OPERATOR
+wxSTC_ASM_IDENTIFIER = stc_c.wxSTC_ASM_IDENTIFIER
+wxSTC_ASM_CPUINSTRUCTION = stc_c.wxSTC_ASM_CPUINSTRUCTION
+wxSTC_ASM_MATHINSTRUCTION = stc_c.wxSTC_ASM_MATHINSTRUCTION
+wxSTC_ASM_REGISTER = stc_c.wxSTC_ASM_REGISTER
+wxSTC_ASM_DIRECTIVE = stc_c.wxSTC_ASM_DIRECTIVE
+wxSTC_ASM_DIRECTIVEOPERAND = stc_c.wxSTC_ASM_DIRECTIVEOPERAND
+wxSTC_F_DEFAULT = stc_c.wxSTC_F_DEFAULT
+wxSTC_F_COMMENT = stc_c.wxSTC_F_COMMENT
+wxSTC_F_NUMBER = stc_c.wxSTC_F_NUMBER
+wxSTC_F_STRING1 = stc_c.wxSTC_F_STRING1
+wxSTC_F_STRING2 = stc_c.wxSTC_F_STRING2
+wxSTC_F_STRINGEOL = stc_c.wxSTC_F_STRINGEOL
+wxSTC_F_OPERATOR = stc_c.wxSTC_F_OPERATOR
+wxSTC_F_IDENTIFIER = stc_c.wxSTC_F_IDENTIFIER
+wxSTC_F_WORD = stc_c.wxSTC_F_WORD
+wxSTC_F_WORD2 = stc_c.wxSTC_F_WORD2
+wxSTC_F_WORD3 = stc_c.wxSTC_F_WORD3
+wxSTC_F_PREPROCESSOR = stc_c.wxSTC_F_PREPROCESSOR
+wxSTC_F_OPERATOR2 = stc_c.wxSTC_F_OPERATOR2
+wxSTC_F_LABEL = stc_c.wxSTC_F_LABEL
+wxSTC_F_CONTINUATION = stc_c.wxSTC_F_CONTINUATION
+wxSTC_CSS_DEFAULT = stc_c.wxSTC_CSS_DEFAULT
+wxSTC_CSS_TAG = stc_c.wxSTC_CSS_TAG
+wxSTC_CSS_CLASS = stc_c.wxSTC_CSS_CLASS
+wxSTC_CSS_PSEUDOCLASS = stc_c.wxSTC_CSS_PSEUDOCLASS
+wxSTC_CSS_UNKNOWN_PSEUDOCLASS = stc_c.wxSTC_CSS_UNKNOWN_PSEUDOCLASS
+wxSTC_CSS_OPERATOR = stc_c.wxSTC_CSS_OPERATOR
+wxSTC_CSS_IDENTIFIER = stc_c.wxSTC_CSS_IDENTIFIER
+wxSTC_CSS_UNKNOWN_IDENTIFIER = stc_c.wxSTC_CSS_UNKNOWN_IDENTIFIER
+wxSTC_CSS_VALUE = stc_c.wxSTC_CSS_VALUE
+wxSTC_CSS_COMMENT = stc_c.wxSTC_CSS_COMMENT
+wxSTC_CSS_ID = stc_c.wxSTC_CSS_ID
+wxSTC_CSS_IMPORTANT = stc_c.wxSTC_CSS_IMPORTANT
+wxSTC_CSS_DIRECTIVE = stc_c.wxSTC_CSS_DIRECTIVE
+wxSTC_CSS_DOUBLESTRING = stc_c.wxSTC_CSS_DOUBLESTRING
+wxSTC_CSS_SINGLESTRING = stc_c.wxSTC_CSS_SINGLESTRING
+wxSTC_POV_DEFAULT = stc_c.wxSTC_POV_DEFAULT
+wxSTC_POV_COMMENT = stc_c.wxSTC_POV_COMMENT
+wxSTC_POV_COMMENTLINE = stc_c.wxSTC_POV_COMMENTLINE
+wxSTC_POV_COMMENTDOC = stc_c.wxSTC_POV_COMMENTDOC
+wxSTC_POV_NUMBER = stc_c.wxSTC_POV_NUMBER
+wxSTC_POV_WORD = stc_c.wxSTC_POV_WORD
+wxSTC_POV_STRING = stc_c.wxSTC_POV_STRING
+wxSTC_POV_OPERATOR = stc_c.wxSTC_POV_OPERATOR
+wxSTC_POV_IDENTIFIER = stc_c.wxSTC_POV_IDENTIFIER
+wxSTC_POV_BRACE = stc_c.wxSTC_POV_BRACE
+wxSTC_POV_WORD2 = stc_c.wxSTC_POV_WORD2
wxSTC_CMD_REDO = stc_c.wxSTC_CMD_REDO
wxSTC_CMD_SELECTALL = stc_c.wxSTC_CMD_SELECTALL
wxSTC_CMD_UNDO = stc_c.wxSTC_CMD_UNDO
@@ -1780,6 +1950,7 @@ wxSTC_CMD_DELWORDRIGHT = stc_c.wxSTC_CMD_DELWORDRIGHT
wxSTC_CMD_LINECUT = stc_c.wxSTC_CMD_LINECUT
wxSTC_CMD_LINEDELETE = stc_c.wxSTC_CMD_LINEDELETE
wxSTC_CMD_LINETRANSPOSE = stc_c.wxSTC_CMD_LINETRANSPOSE
+wxSTC_CMD_LINEDUPLICATE = stc_c.wxSTC_CMD_LINEDUPLICATE
wxSTC_CMD_LOWERCASE = stc_c.wxSTC_CMD_LOWERCASE
wxSTC_CMD_UPPERCASE = stc_c.wxSTC_CMD_UPPERCASE
wxSTC_CMD_LINESCROLLDOWN = stc_c.wxSTC_CMD_LINESCROLLDOWN
@@ -1789,12 +1960,22 @@ wxSTC_CMD_HOMEDISPLAY = stc_c.wxSTC_CMD_HOMEDISPLAY
wxSTC_CMD_HOMEDISPLAYEXTEND = stc_c.wxSTC_CMD_HOMEDISPLAYEXTEND
wxSTC_CMD_LINEENDDISPLAY = stc_c.wxSTC_CMD_LINEENDDISPLAY
wxSTC_CMD_LINEENDDISPLAYEXTEND = stc_c.wxSTC_CMD_LINEENDDISPLAYEXTEND
+wxSTC_CMD_HOMEWRAP = stc_c.wxSTC_CMD_HOMEWRAP
+wxSTC_CMD_HOMEWRAPEXTEND = stc_c.wxSTC_CMD_HOMEWRAPEXTEND
+wxSTC_CMD_LINEENDWRAP = stc_c.wxSTC_CMD_LINEENDWRAP
+wxSTC_CMD_LINEENDWRAPEXTEND = stc_c.wxSTC_CMD_LINEENDWRAPEXTEND
+wxSTC_CMD_VCHOMEWRAP = stc_c.wxSTC_CMD_VCHOMEWRAP
+wxSTC_CMD_VCHOMEWRAPEXTEND = stc_c.wxSTC_CMD_VCHOMEWRAPEXTEND
wxSTC_CMD_WORDPARTLEFT = stc_c.wxSTC_CMD_WORDPARTLEFT
wxSTC_CMD_WORDPARTLEFTEXTEND = stc_c.wxSTC_CMD_WORDPARTLEFTEXTEND
wxSTC_CMD_WORDPARTRIGHT = stc_c.wxSTC_CMD_WORDPARTRIGHT
wxSTC_CMD_WORDPARTRIGHTEXTEND = stc_c.wxSTC_CMD_WORDPARTRIGHTEXTEND
wxSTC_CMD_DELLINELEFT = stc_c.wxSTC_CMD_DELLINELEFT
wxSTC_CMD_DELLINERIGHT = stc_c.wxSTC_CMD_DELLINERIGHT
+wxSTC_CMD_PARADOWN = stc_c.wxSTC_CMD_PARADOWN
+wxSTC_CMD_PARADOWNEXTEND = stc_c.wxSTC_CMD_PARADOWNEXTEND
+wxSTC_CMD_PARAUP = stc_c.wxSTC_CMD_PARAUP
+wxSTC_CMD_PARAUPEXTEND = stc_c.wxSTC_CMD_PARAUPEXTEND
STC_USE_DND = stc_c.STC_USE_DND
wxEVT_STC_CHANGE = stc_c.wxEVT_STC_CHANGE
wxEVT_STC_STYLENEEDED = stc_c.wxEVT_STC_STYLENEEDED
@@ -1819,6 +2000,9 @@ wxEVT_STC_START_DRAG = stc_c.wxEVT_STC_START_DRAG
wxEVT_STC_DRAG_OVER = stc_c.wxEVT_STC_DRAG_OVER
wxEVT_STC_DO_DROP = stc_c.wxEVT_STC_DO_DROP
wxEVT_STC_ZOOM = stc_c.wxEVT_STC_ZOOM
+wxEVT_STC_HOTSPOT_CLICK = stc_c.wxEVT_STC_HOTSPOT_CLICK
+wxEVT_STC_HOTSPOT_DCLICK = stc_c.wxEVT_STC_HOTSPOT_DCLICK
+wxEVT_STC_CALLTIP_CLICK = stc_c.wxEVT_STC_CALLTIP_CLICK
#-------------- USER INCLUDE -----------------------
diff --git a/wxPython/contrib/stc/stc_.i b/wxPython/contrib/stc/stc_.i
index 2f0ef5416a..fef927b591 100644
--- a/wxPython/contrib/stc/stc_.i
+++ b/wxPython/contrib/stc/stc_.i
@@ -114,6 +114,14 @@ def EVT_STC_DO_DROP(win, id, func):
def EVT_STC_ZOOM(win, id, func):
win.Connect(id, -1, wxEVT_STC_ZOOM, func)
+def EVT_STC_HOTSPOT_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_CLICK, func)
+
+def EVT_STC_HOTSPOT_DCLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_HOTSPOT_DCLICK, func)
+
+def EVT_STC_CALLTIP_CLICK(win, id, func):
+ win.Connect(id, -1, wxEVT_STC_CALLTIP_CLICK, func)
"
//----------------------------------------------------------------------
diff --git a/wxPython/contrib/xrc/xrc.py b/wxPython/contrib/xrc/xrc.py
index 79f0b6a62c..0ff99fdb75 100644
--- a/wxPython/contrib/xrc/xrc.py
+++ b/wxPython/contrib/xrc/xrc.py
@@ -63,96 +63,96 @@ class wxXmlResourcePtr(wxObjectPtr):
except:
pass
def Load(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_Load,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_Load(self, *_args, **_kwargs)
return val
def LoadFromString(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadFromString,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadFromString(self, *_args, **_kwargs)
return val
def InitAllHandlers(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_InitAllHandlers,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_InitAllHandlers(self, *_args, **_kwargs)
return val
def AddHandler(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_AddHandler,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_AddHandler(self, *_args, **_kwargs)
return val
def InsertHandler(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_InsertHandler,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_InsertHandler(self, *_args, **_kwargs)
return val
def ClearHandlers(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_ClearHandlers,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_ClearHandlers(self, *_args, **_kwargs)
return val
def LoadMenu(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadMenu,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadMenu(self, *_args, **_kwargs)
return val
def LoadMenuBar(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadMenuBar,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadMenuBar(self, *_args, **_kwargs)
return val
def LoadMenuBarOnFrame(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadMenuBarOnFrame,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadMenuBarOnFrame(self, *_args, **_kwargs)
return val
def LoadToolBar(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadToolBar,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadToolBar(self, *_args, **_kwargs)
return val
def LoadDialog(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadDialog,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadDialog(self, *_args, **_kwargs)
if val: val = wxDialogPtr(val)
return val
def LoadOnDialog(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadOnDialog,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadOnDialog(self, *_args, **_kwargs)
return val
def LoadPanel(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadPanel,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadPanel(self, *_args, **_kwargs)
if val: val = wxPanelPtr(val)
return val
def LoadOnPanel(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadOnPanel,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadOnPanel(self, *_args, **_kwargs)
return val
def LoadFrame(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadFrame,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadFrame(self, *_args, **_kwargs)
return val
def LoadOnFrame(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadOnFrame,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadOnFrame(self, *_args, **_kwargs)
return val
def LoadObject(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadObject,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadObject(self, *_args, **_kwargs)
return val
def LoadOnObject(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadOnObject,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadOnObject(self, *_args, **_kwargs)
return val
def LoadBitmap(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadBitmap,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadBitmap(self, *_args, **_kwargs)
if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def LoadIcon(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadIcon,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_LoadIcon(self, *_args, **_kwargs)
if val: val = wxIconPtr(val) ; val.thisown = 1
return val
def AttachUnknownControl(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_AttachUnknownControl,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_AttachUnknownControl(self, *_args, **_kwargs)
return val
def GetVersion(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_GetVersion,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_GetVersion(self, *_args, **_kwargs)
return val
def CompareVersion(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_CompareVersion,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_CompareVersion(self, *_args, **_kwargs)
return val
def GetFlags(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_GetFlags,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_GetFlags(self, *_args, **_kwargs)
return val
def SetFlags(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_SetFlags,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResource_SetFlags(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxXmlResource instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxXmlResource(wxXmlResourcePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(xrcc.new_wxXmlResource,_args,_kwargs)
+ self.this = xrcc.new_wxXmlResource(*_args,**_kwargs)
self.thisown = 1
self.InitAllHandlers()
def wxEmptyXmlResource(*_args,**_kwargs):
- val = wxXmlResourcePtr(apply(xrcc.new_wxEmptyXmlResource,_args,_kwargs))
+ val = wxXmlResourcePtr(xrcc.new_wxEmptyXmlResource(*_args,**_kwargs))
val.thisown = 1
val.InitAllHandlers()
return val
@@ -163,13 +163,13 @@ class wxXmlSubclassFactoryPtr :
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlSubclassFactory__setCallbackInfo,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlSubclassFactory__setCallbackInfo(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxXmlSubclassFactory instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxXmlSubclassFactory(wxXmlSubclassFactoryPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(xrcc.new_wxXmlSubclassFactory,_args,_kwargs)
+ self.this = xrcc.new_wxXmlSubclassFactory(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxXmlSubclassFactory)
@@ -181,29 +181,29 @@ class wxXmlPropertyPtr :
self.this = this
self.thisown = 0
def GetName(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlProperty_GetName,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlProperty_GetName(self, *_args, **_kwargs)
return val
def GetValue(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlProperty_GetValue,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlProperty_GetValue(self, *_args, **_kwargs)
return val
def GetNext(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlProperty_GetNext,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlProperty_GetNext(self, *_args, **_kwargs)
if val: val = wxXmlPropertyPtr(val)
return val
def SetName(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlProperty_SetName,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlProperty_SetName(self, *_args, **_kwargs)
return val
def SetValue(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlProperty_SetValue,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlProperty_SetValue(self, *_args, **_kwargs)
return val
def SetNext(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlProperty_SetNext,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlProperty_SetNext(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxXmlProperty instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxXmlProperty(wxXmlPropertyPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(xrcc.new_wxXmlProperty,_args,_kwargs)
+ self.this = xrcc.new_wxXmlProperty(*_args,**_kwargs)
self.thisown = 1
@@ -220,86 +220,86 @@ class wxXmlNodePtr :
except:
pass
def AddChild(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_AddChild,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_AddChild(self, *_args, **_kwargs)
return val
def InsertChild(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_InsertChild,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_InsertChild(self, *_args, **_kwargs)
return val
def RemoveChild(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_RemoveChild,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_RemoveChild(self, *_args, **_kwargs)
return val
def AddProperty(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_AddProperty,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_AddProperty(self, *_args, **_kwargs)
return val
def AddPropertyName(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_AddPropertyName,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_AddPropertyName(self, *_args, **_kwargs)
return val
def DeleteProperty(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_DeleteProperty,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_DeleteProperty(self, *_args, **_kwargs)
return val
def GetType(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetType,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetType(self, *_args, **_kwargs)
return val
def GetName(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetName,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetName(self, *_args, **_kwargs)
return val
def GetContent(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetContent,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetContent(self, *_args, **_kwargs)
return val
def GetParent(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetParent,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetParent(self, *_args, **_kwargs)
if val: val = wxXmlNodePtr(val)
return val
def GetNext(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetNext,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetNext(self, *_args, **_kwargs)
if val: val = wxXmlNodePtr(val)
return val
def GetChildren(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetChildren,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetChildren(self, *_args, **_kwargs)
if val: val = wxXmlNodePtr(val)
return val
def GetProperties(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetProperties,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetProperties(self, *_args, **_kwargs)
if val: val = wxXmlPropertyPtr(val)
return val
def GetPropVal(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_GetPropVal,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_GetPropVal(self, *_args, **_kwargs)
return val
def HasProp(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_HasProp,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_HasProp(self, *_args, **_kwargs)
return val
def SetType(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetType,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetType(self, *_args, **_kwargs)
return val
def SetName(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetName,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetName(self, *_args, **_kwargs)
return val
def SetContent(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetContent,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetContent(self, *_args, **_kwargs)
return val
def SetParent(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetParent,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetParent(self, *_args, **_kwargs)
return val
def SetNext(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetNext,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetNext(self, *_args, **_kwargs)
return val
def SetChildren(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetChildren,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetChildren(self, *_args, **_kwargs)
return val
def SetProperties(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlNode_SetProperties,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlNode_SetProperties(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxXmlNode instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxXmlNode(wxXmlNodePtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(xrcc.new_wxXmlNode,_args,_kwargs)
+ self.this = xrcc.new_wxXmlNode(*_args,**_kwargs)
self.thisown = 1
def wxXmlNodeEasy(*_args,**_kwargs):
- val = wxXmlNodePtr(apply(xrcc.new_wxXmlNodeEasy,_args,_kwargs))
+ val = wxXmlNodePtr(xrcc.new_wxXmlNodeEasy(*_args,**_kwargs))
val.thisown = 1
return val
@@ -315,61 +315,61 @@ class wxXmlDocumentPtr(wxObjectPtr):
except:
pass
def Load(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_Load,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_Load(self, *_args, **_kwargs)
return val
def LoadFromStream(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_LoadFromStream,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_LoadFromStream(self, *_args, **_kwargs)
return val
def Save(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_Save,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_Save(self, *_args, **_kwargs)
return val
def SaveToStream(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_SaveToStream,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_SaveToStream(self, *_args, **_kwargs)
return val
def IsOk(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_IsOk,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_IsOk(self, *_args, **_kwargs)
return val
def GetRoot(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_GetRoot,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_GetRoot(self, *_args, **_kwargs)
if val: val = wxXmlNodePtr(val)
return val
def GetVersion(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_GetVersion,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_GetVersion(self, *_args, **_kwargs)
return val
def GetFileEncoding(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_GetFileEncoding,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_GetFileEncoding(self, *_args, **_kwargs)
return val
def SetRoot(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_SetRoot,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_SetRoot(self, *_args, **_kwargs)
return val
def SetVersion(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_SetVersion,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_SetVersion(self, *_args, **_kwargs)
return val
def SetFileEncoding(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_SetFileEncoding,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_SetFileEncoding(self, *_args, **_kwargs)
return val
def GetEncoding(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_GetEncoding,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_GetEncoding(self, *_args, **_kwargs)
return val
def SetEncoding(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlDocument_SetEncoding,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlDocument_SetEncoding(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxXmlDocument instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxXmlDocument(wxXmlDocumentPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(xrcc.new_wxXmlDocument,_args,_kwargs)
+ self.this = xrcc.new_wxXmlDocument(*_args,**_kwargs)
self.thisown = 1
def wxXmlDocumentFromStream(*_args,**_kwargs):
- val = wxXmlDocumentPtr(apply(xrcc.new_wxXmlDocumentFromStream,_args,_kwargs))
+ val = wxXmlDocumentPtr(xrcc.new_wxXmlDocumentFromStream(*_args,**_kwargs))
val.thisown = 1
return val
def wxEmptyXmlDocument(*_args,**_kwargs):
- val = wxXmlDocumentPtr(apply(xrcc.new_wxEmptyXmlDocument,_args,_kwargs))
+ val = wxXmlDocumentPtr(xrcc.new_wxEmptyXmlDocument(*_args,**_kwargs))
val.thisown = 1
return val
@@ -379,124 +379,124 @@ class wxXmlResourceHandlerPtr(wxObjectPtr):
self.this = this
self.thisown = 0
def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler__setCallbackInfo,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler__setCallbackInfo(self, *_args, **_kwargs)
return val
def CreateResource(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_CreateResource,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_CreateResource(self, *_args, **_kwargs)
return val
def SetParentResource(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_SetParentResource,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_SetParentResource(self, *_args, **_kwargs)
return val
def GetResource(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetResource,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetResource(self, *_args, **_kwargs)
if val: val = wxXmlResourcePtr(val)
return val
def GetNode(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetNode,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetNode(self, *_args, **_kwargs)
if val: val = wxXmlNodePtr(val)
return val
def GetClass(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetClass,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetClass(self, *_args, **_kwargs)
return val
def GetParent(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetParent,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetParent(self, *_args, **_kwargs)
return val
def GetInstance(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetInstance,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetInstance(self, *_args, **_kwargs)
return val
def GetParentAsWindow(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetParentAsWindow,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetParentAsWindow(self, *_args, **_kwargs)
return val
def GetInstanceAsWindow(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetInstanceAsWindow,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetInstanceAsWindow(self, *_args, **_kwargs)
return val
def IsOfClass(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_IsOfClass,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_IsOfClass(self, *_args, **_kwargs)
return val
def GetNodeContent(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetNodeContent,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetNodeContent(self, *_args, **_kwargs)
return val
def HasParam(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_HasParam,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_HasParam(self, *_args, **_kwargs)
return val
def GetParamNode(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetParamNode,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetParamNode(self, *_args, **_kwargs)
if val: val = wxXmlNodePtr(val)
return val
def GetParamValue(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetParamValue,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetParamValue(self, *_args, **_kwargs)
return val
def AddStyle(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_AddStyle,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_AddStyle(self, *_args, **_kwargs)
return val
def AddWindowStyles(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_AddWindowStyles,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_AddWindowStyles(self, *_args, **_kwargs)
return val
def GetStyle(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetStyle,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetStyle(self, *_args, **_kwargs)
return val
def GetText(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetText,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetText(self, *_args, **_kwargs)
return val
def GetID(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetID,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetID(self, *_args, **_kwargs)
return val
def GetName(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetName,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetName(self, *_args, **_kwargs)
return val
def GetBool(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetBool,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetBool(self, *_args, **_kwargs)
return val
def GetLong(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetLong,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetLong(self, *_args, **_kwargs)
return val
def GetColour(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetColour,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetColour(self, *_args, **_kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
def GetSize(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetSize,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetSize(self, *_args, **_kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def GetPosition(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetPosition,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetPosition(self, *_args, **_kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def GetDimension(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetDimension,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetDimension(self, *_args, **_kwargs)
return val
def GetBitmap(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetBitmap,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetBitmap(self, *_args, **_kwargs)
if val: val = wxBitmapPtr(val) ; val.thisown = 1
return val
def GetIcon(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetIcon,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetIcon(self, *_args, **_kwargs)
if val: val = wxIconPtr(val) ; val.thisown = 1
return val
def GetFont(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetFont,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetFont(self, *_args, **_kwargs)
if val: val = wxFontPtr(val) ; val.thisown = 1
return val
def SetupWindow(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_SetupWindow,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_SetupWindow(self, *_args, **_kwargs)
return val
def CreateChildren(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_CreateChildren,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_CreateChildren(self, *_args, **_kwargs)
return val
def CreateChildrenPrivately(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_CreateChildrenPrivately,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_CreateChildrenPrivately(self, *_args, **_kwargs)
return val
def CreateResFromNode(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_CreateResFromNode,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_CreateResFromNode(self, *_args, **_kwargs)
return val
def GetCurFileSystem(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResourceHandler_GetCurFileSystem,(self,) + _args, _kwargs)
+ val = xrcc.wxXmlResourceHandler_GetCurFileSystem(self, *_args, **_kwargs)
return val
def __repr__(self):
- return "" % (self.this,)
+ return "<%s.%s instance; proxy of C++ wxXmlResourceHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
class wxXmlResourceHandler(wxXmlResourceHandlerPtr):
def __init__(self,*_args,**_kwargs):
- self.this = apply(xrcc.new_wxXmlResourceHandler,_args,_kwargs)
+ self.this = xrcc.new_wxXmlResourceHandler(*_args,**_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxXmlResourceHandler)
@@ -512,12 +512,12 @@ wxXmlResource_AddSubclassFactory = xrcc.wxXmlResource_AddSubclassFactory
wxXmlResource_GetXRCID = xrcc.wxXmlResource_GetXRCID
def wxXmlResource_Get(*_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_Get,_args,_kwargs)
+ val = xrcc.wxXmlResource_Get(*_args,**_kwargs)
if val: val = wxXmlResourcePtr(val)
return val
def wxXmlResource_Set(*_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_Set,_args,_kwargs)
+ val = xrcc.wxXmlResource_Set(*_args,**_kwargs)
if val: val = wxXmlResourcePtr(val)
return val
diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py
index 3e22739553..43ac255556 100644
--- a/wxPython/demo/About.py
+++ b/wxPython/demo/About.py
@@ -1,12 +1,12 @@
import sys
-from wxPython.wx import *
-from wxPython.html import *
-import wxPython.lib.wxpTag
+import wx # This module uses the new wx namespace
+import wx.html
+import wx.lib.wxpTag
#---------------------------------------------------------------------------
-class MyAboutBox(wxDialog):
+class MyAboutBox(wx.Dialog):
text = '''
@@ -29,36 +29,40 @@ sit back and enjoy. Be sure to take a peek at the source code for each
demo item so you can learn how to use the classes yourself.
wxPython is brought to you by Robin Dunn and
-Total Control Software, Copyright (c) 1997-2002.
+Total Control Software, Copyright (c) 1997-2003.
Please see license.txt for licensing information.
-
+
-
+
'''
def __init__(self, parent):
- wxDialog.__init__(self, parent, -1, 'About the wxPython demo',)
- html = wxHtmlWindow(self, -1, size=(420, -1))
+ wx.Dialog.__init__(self, parent, -1, 'About the wxPython demo',)
+ html = wx.html.HtmlWindow(self, -1, size=(420, -1))
py_version = sys.version.split()[0]
- html.SetPage(self.text % (wx.__version__, py_version))
- btn = html.FindWindowById(wxID_OK)
+ html.SetPage(self.text % (wx.VERSION_STRING, py_version))
+ btn = html.FindWindowById(wx.ID_OK)
btn.SetDefault()
ir = html.GetInternalRepresentation()
html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )
self.SetClientSize(html.GetSize())
- self.CentreOnParent(wxBOTH)
+ self.CentreOnParent(wx.BOTH)
#---------------------------------------------------------------------------
-
-
+if __name__ == '__main__':
+ app = wx.PySimpleApp()
+ dlg = MyAboutBox(None)
+ dlg.ShowModal()
+ dlg.Destroy()
+ app.MainLoop()
diff --git a/wxPython/demo/AnalogClockWindow.py b/wxPython/demo/AnalogClockWindow.py
new file mode 100644
index 0000000000..7d85145a33
--- /dev/null
+++ b/wxPython/demo/AnalogClockWindow.py
@@ -0,0 +1,79 @@
+
+
+
+from wxPython.wx import *
+from wxPython.lib.analogclock import AnalogClockWindow
+
+#----------------------------------------------------------------------
+
+class TestPanel(wxPanel):
+ def __init__(self, parent, log):
+ self.log = log
+ wxPanel.__init__(self, parent, -1)
+
+ c1 = AnalogClockWindow(self)
+ c1.SetBackgroundColour("RED")
+ c1.SetHandsColour("BLUE")
+ c1.SetTickMarkColours("WHITE")
+
+ c2 = AnalogClockWindow(self)
+ c2.SetBackgroundColour("WHITE")
+ c2.SetHandsColour("RED")
+ c2.SetTickMarkColours("BLUE")
+
+ c3 = AnalogClockWindow(self)
+ c3.SetBackgroundColour("BLUE")
+ c3.SetHandsColour("WHITE")
+ c3.SetTickMarkColours("RED")
+
+ c4 = AnalogClockWindow(self, style=wxRAISED_BORDER)
+ c4.SetTickMarkStyle(AnalogClockWindow.TICKS_CIRCLE)
+
+ c5 = AnalogClockWindow(self)
+ c5.SetTickMarkStyle(AnalogClockWindow.TICKS_NONE)
+
+ c6 = AnalogClockWindow(self, style=wxSUNKEN_BORDER)
+
+
+ # layout the clocks in a grid
+ gs = wxGridSizer(2, 3, 4, 4)
+ gs.Add(c1, 0, wxEXPAND)
+ gs.Add(c2, 0, wxEXPAND)
+ gs.Add(c3, 0, wxEXPAND)
+ gs.Add(c4, 0, wxEXPAND)
+ gs.Add(c5, 0, wxEXPAND)
+ gs.Add(c6, 0, wxEXPAND)
+
+ # put it in another sizer for a border
+ sizer = wxBoxSizer(wxVERTICAL)
+ sizer.Add(gs, 1, wxEXPAND|wxALL, 10)
+
+ self.SetSizer(sizer)
+
+
+#----------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ win = TestPanel(nb, log)
+ return win
+
+#----------------------------------------------------------------------
+
+
+
+overview = """
+AnalogClockWindow
+
+This is a nice little clock class that was contributed to by several
+members of the wxPython-users group.
+
+
+"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/ColourDB.py b/wxPython/demo/ColourDB.py
index 8e00407dba..05fbccdad1 100644
--- a/wxPython/demo/ColourDB.py
+++ b/wxPython/demo/ColourDB.py
@@ -127,3 +127,10 @@ def runTest(frame, nb, log):
overview = """
"""
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/ContextHelp.py b/wxPython/demo/ContextHelp.py
index c115f22c44..7bca0c5156 100644
--- a/wxPython/demo/ContextHelp.py
+++ b/wxPython/demo/ContextHelp.py
@@ -90,3 +90,10 @@ help into your applicaiton using the wxSimpleHelpProvider class.
#----------------------------------------------------------------------
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/DragAndDrop.py b/wxPython/demo/DragAndDrop.py
index e99abc3660..c69091d378 100644
--- a/wxPython/demo/DragAndDrop.py
+++ b/wxPython/demo/DragAndDrop.py
@@ -206,11 +206,38 @@ def runTest(frame, nb, log):
-overview = """\
-This demo shows some examples of data transfer through clipboard or drag and drop. In wxWindows, these two ways to transfer data (either between different applications or inside one and the same) are very similar which allows to implement both of them using almost the same code - or, in other words, if you implement drag and drop support for your application, you get clipboard support for free and vice versa.
+overview = """\
+This demo shows some examples of data transfer through clipboard or
+drag and drop. In wxWindows, these two ways to transfer data (either
+between different applications or inside one and the same) are very
+similar which allows to implement both of them using almost the same
+code - or, in other words, if you implement drag and drop support for
+your application, you get clipboard support for free and vice versa.
+
+At the heart of both clipboard and drag and drop operations lies the
+wxDataObject class. The objects of this class (or, to be precise,
+classes derived from it) represent the data which is being carried by
+the mouse during drag and drop operation or copied to or pasted from
+the clipboard. wxDataObject is a "smart" piece of data because it
+knows which formats it supports (see GetFormatCount and GetAllFormats)
+and knows how to render itself in any of them (see GetDataHere). It
+can also receive its value from the outside in a format it supports if
+it implements the SetData method. Please see the documentation of this
+class for more details.
+
+Both clipboard and drag and drop operations have two sides: the source
+and target, the data provider and the data receiver. These which may
+be in the same application and even the same window when, for example,
+you drag some text from one position to another in a word
+processor. Let us describe what each of them should do.
+
+"""
-At the heart of both clipboard and drag and drop operations lies the wxDataObject class. The objects of this class (or, to be precise, classes derived from it) represent the data which is being carried by the mouse during drag and drop operation or copied to or pasted from the clipboard. wxDataObject is a "smart" piece of data because it knows which formats it supports (see GetFormatCount and GetAllFormats) and knows how to render itself in any of them (see GetDataHere). It can also receive its value from the outside in a format it supports if it implements the SetData method. Please see the documentation of this class for more details.
-Both clipboard and drag and drop operations have two sides: the source and target, the data provider and the data receiver. These which may be in the same application and even the same window when, for example, you drag some text from one position to another in a word processor. Let us describe what each of them should do.
-"""
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/FancyText.py b/wxPython/demo/FancyText.py
index f504ccc21c..959a0dd1b5 100644
--- a/wxPython/demo/FancyText.py
+++ b/wxPython/demo/FancyText.py
@@ -38,3 +38,11 @@ def runTest(frame, nb, log):
overview = fancytext.__doc__.replace("<", "<")
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/FileBrowseButton.py b/wxPython/demo/FileBrowseButton.py
index 9967ea355f..798f201259 100644
--- a/wxPython/demo/FileBrowseButton.py
+++ b/wxPython/demo/FileBrowseButton.py
@@ -74,3 +74,12 @@ overview = """
""" % ( FileBrowseButton.__doc__,
FileBrowseButtonWithHistory.__doc__ ,
str(DirBrowseButton.__doc__) )
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/FontEnumerator.py b/wxPython/demo/FontEnumerator.py
index 67b5f6ef10..3ac7e51d4a 100644
--- a/wxPython/demo/FontEnumerator.py
+++ b/wxPython/demo/FontEnumerator.py
@@ -24,7 +24,7 @@ class TestPanel(wxPanel):
row = wxBoxSizer(wxHORIZONTAL)
row.Add(s1, 0, wxALL, 5)
row.Add(self.lb1, 0, wxALL, 5)
- row.Add(self.txt, 0, wxALL, 5)
+ row.Add(self.txt, 0, wxALL|wxADJUST_MINSIZE, 5)
sizer = wxBoxSizer(wxVERTICAL)
sizer.Add(row, 0, wxALL, 30)
@@ -32,13 +32,27 @@ class TestPanel(wxPanel):
self.Layout()
self.lb1.SetSelection(0)
+ self.OnSelect(None)
+ wxFutureCall(300, self.SetTextSize)
+
+
+ def SetTextSize(self):
+ self.txt.SetSize(self.txt.GetBestSize())
def OnSelect(self, evt):
+ #print "OnSelect: "
face = self.lb1.GetStringSelection()
+ #print '\t '+face
font = wxFont(28, wxDEFAULT, wxNORMAL, wxNORMAL, False, face)
+ #print "\t got font"
+ self.txt.SetLabel(face)
+ #print "\t set label"
self.txt.SetFont(font)
- self.txt.SetSize(self.txt.GetBestSize())
+ #print "\t set font"
+ #self.txt.SetSize(self.txt.GetBestSize())
+ #print "\t set size"
+
## st = font.GetNativeFontInfo().ToString()
## ni2 = wxNativeFontInfo()
diff --git a/wxPython/demo/GridDragAndDrop.py b/wxPython/demo/GridDragAndDrop.py
new file mode 100644
index 0000000000..aae9d5f2dc
--- /dev/null
+++ b/wxPython/demo/GridDragAndDrop.py
@@ -0,0 +1,104 @@
+"""
+Example showing how to make a grid a drop target for files.
+
+"""
+
+from wxPython.wx import *
+from wxPython.grid import *
+
+#---------------------------------------------------------------------------
+# Set VIRTUAL to 1 to use a virtual grid
+
+VIRTUAL = 1
+
+class GridFileDropTarget(wxFileDropTarget):
+ def __init__(self, grid):
+ wxFileDropTarget.__init__(self)
+ self.grid = grid
+
+ def OnDropFiles(self, x, y, filenames):
+ # the x,y coordinates here are Unscrolled coordinates. They must be changed
+ # to scrolled coordinates.
+ x, y = self.grid.CalcUnscrolledPosition(x, y)
+
+ # now we need to get the row and column from the grid
+ # but we need to first remove the RowLabel and ColumnLabel
+ # bounding boxes
+ # Why this isn't done for us, I'll never know...
+ x = x - self.grid.GetGridRowLabelWindow().GetRect().width
+ y = y - self.grid.GetGridColLabelWindow().GetRect().height
+ col = self.grid.XToCol(x)
+ row = self.grid.YToRow(y)
+
+ if row > -1 and col > -1:
+ self.grid.SetCellValue(row, col, filenames[0])
+ self.grid.AutoSizeColumn(col)
+ self.grid.Refresh()
+
+
+
+class FooTable(wxPyGridTableBase):
+ def __init__(self):
+ wxPyGridTableBase.__init__(self)
+ self.dropTargets = {(0,0):"Drag",
+ (1,0):"A",
+ (2,0):"File",
+ (3,0):"To",
+ (4,0):"A",
+ (5,0):"Cell"}
+ def GetNumberCols(self):
+ return 100
+ def GetNumberRows(self):
+ return 100
+ def GetValue(self, row, col):
+ return self.dropTargets.get((row, col), "")
+
+
+
+class SimpleGrid(wxGrid):
+ def __init__(self, parent, log):
+ wxGrid.__init__(self, parent, -1)
+ self.log = log
+ self.moveTo = None
+ if VIRTUAL:
+ self.table = FooTable()
+ self.SetTable(self.table)
+ else:
+ self.CreateGrid(25, 25)
+
+ # set the drag and drop target
+ dropTarget = GridFileDropTarget(self)
+ self.SetDropTarget(dropTarget)
+ self.EnableDragRowSize()
+ self.EnableDragColSize()
+
+ def SetCellValue(self, row, col, value):
+ if VIRTUAL:
+ self.table.dropTargets[row, col] = value
+ else:
+ wxGrid.SetCellValue(self, row, col, value)
+
+
+
+class TestFrame(wxFrame):
+ def __init__(self, parent, log):
+ wxFrame.__init__(self, parent, -1, "DragAndDrop Grid", size=(640,480))
+ grid = SimpleGrid(self, log)
+
+
+
+#---------------------------------------------------------------------------
+
+if __name__ == '__main__':
+ import sys
+ app = wxPySimpleApp()
+ frame = TestFrame(None, sys.stdout)
+ frame.Show(True)
+ app.MainLoop()
+
+
+#---------------------------------------------------------------------------
+
+
+
+
diff --git a/wxPython/demo/GridSimple.py b/wxPython/demo/GridSimple.py
index 89c2ec6e07..267867c434 100644
--- a/wxPython/demo/GridSimple.py
+++ b/wxPython/demo/GridSimple.py
@@ -64,6 +64,11 @@ class SimpleGrid(wxGrid): ##, wxGridAutoEditMixin):
self.SetCellValue(11, 1, "This cell is set to span 3 rows and 3 columns");
+ editor = wxGridCellTextEditor()
+ editor.SetParameters('10')
+ self.SetCellEditor(0, 4, editor)
+ self.SetCellValue(0, 4, "Limited text")
+
# test all the events
EVT_GRID_CELL_LEFT_CLICK(self, self.OnCellLeftClick)
diff --git a/wxPython/demo/ImageBrowser.py b/wxPython/demo/ImageBrowser.py
index 4e234695e0..4a38b95d7c 100644
--- a/wxPython/demo/ImageBrowser.py
+++ b/wxPython/demo/ImageBrowser.py
@@ -4,7 +4,7 @@
#
# Author: Lorne White (email: lorne.white@telusplanet.net)
#
-# Version 0.5
+# Version 0.5
# Date: Feb 26, 2001
# Licence: wxWindows license
#----------------------------------------------------------------------------
@@ -20,11 +20,11 @@ def runTest(frame, nb, log):
initial_dir = os.path.join(dir, 'bitmaps') # set the initial directory for the demo bitmaps
win = ImageDialog(frame, initial_dir) # open the image browser dialog
win.Centre()
- if win.ShowModal() == wxID_OK:
+ if win.ShowModal() == wxID_OK:
log.WriteText("You Selected File: " + win.GetFile()) # show the selected file
else:
log.WriteText("You pressed Cancel\n")
-
+
#---------------------------------------------------------------------------
@@ -38,3 +38,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/LayoutAnchors.py b/wxPython/demo/LayoutAnchors.py
index 04b0c3f92c..f4aa323ed6 100644
--- a/wxPython/demo/LayoutAnchors.py
+++ b/wxPython/demo/LayoutAnchors.py
@@ -136,5 +136,8 @@ overview = """
-
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/Layoutf.py b/wxPython/demo/Layoutf.py
index cde4ad405f..b92faffeda 100644
--- a/wxPython/demo/Layoutf.py
+++ b/wxPython/demo/Layoutf.py
@@ -60,3 +60,12 @@ def runTest(frame, nb, log):
overview = Layoutf.__doc__
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py
index 40f9425b84..fd557f0171 100644
--- a/wxPython/demo/Main.py
+++ b/wxPython/demo/Main.py
@@ -12,10 +12,9 @@
#----------------------------------------------------------------------------
import sys, os, time
-from wxPython.wx import *
-from wxPython.html import wxHtmlWindow
-##from wxPython.stc import *
+import wx # This module uses the new wx namespace
+import wx.html
import images
@@ -26,9 +25,14 @@ import images
_treeList = [
# new stuff
('Recent Additions', [
- 'wxIntCtrl',
- 'wxPyColourChooser',
'wxScrolledPanel',
+ 'ShapedWindow',
+ 'NewNamespace',
+ 'PopupMenu',
+ 'AnalogClockWindow',
+ 'MaskedEditControls',
+ 'wxTreeListCtrl',
+ 'wxGrid_MegaExample',
]),
# managed windows == things with a (optional) caption you can close
@@ -45,6 +49,7 @@ _treeList = [
'wxColourDialog',
'wxDirDialog',
'wxFileDialog',
+ 'wxFileDialog_Save',
'wxFindReplaceDialog',
'wxFontDialog',
'wxMessageDialog',
@@ -65,6 +70,7 @@ _treeList = [
# core controls
('Core Windows/Controls', [
+ 'PopupMenu',
'wxButton',
'wxCheckBox',
'wxCheckListBox',
@@ -73,6 +79,7 @@ _treeList = [
'wxGauge',
'wxGenericDirCtrl',
'wxGrid',
+ 'wxGrid_MegaExample',
'wxListBox',
'wxListCtrl',
'wxListCtrl_virtual',
@@ -101,14 +108,16 @@ _treeList = [
('More Windows/Controls', [
#'wxFloatBar', deprecated
#'wxMVCTree', deprecated
- #'wxRightTextCtrl', deprecated as we have wxTE_RIGHT now.
+ #'wxRightTextCtrl', deprecated as we have wxTE_RIGHT now.
+ 'AnalogClockWindow',
'ColourSelect',
'ContextHelp',
'FancyText',
'FileBrowseButton',
'GenericButtons',
+ 'MaskedEditControls',
+ 'PyShell',
'PyCrust',
- 'PyCrustWithFilling',
'SplitTree',
'TablePrint',
'Throbber',
@@ -128,6 +137,7 @@ _treeList = [
'wxStyledTextCtrl_1',
'wxStyledTextCtrl_2',
'wxTimeCtrl',
+ 'wxTreeListCtrl',
]),
# How to lay out the controls in a frame/dialog
@@ -204,9 +214,9 @@ _treeList = [
#---------------------------------------------------------------------------
-class MyLog(wxPyLog):
+class MyLog(wx.PyLog):
def __init__(self, textCtrl, logTime=0):
- wxPyLog.__init__(self)
+ wx.PyLog.__init__(self)
self.tc = textCtrl
self.logTime = logTime
@@ -218,10 +228,63 @@ class MyLog(wxPyLog):
self.tc.AppendText(message + '\n')
-class MyTP(wxPyTipProvider):
+class MyTP(wx.PyTipProvider):
def GetTip(self):
return "This is my tip"
+#---------------------------------------------------------------------------
+# A class to be used to display source code in the demo. Try using the
+# wxSTC in the wxStyledTextCtrl_2 sample first, fall back to wxTextCtrl
+# if there is an error, such as the stc module not being present.
+
+try:
+ ##raise ImportError
+ from wx import stc
+ from wxStyledTextCtrl_2 import PythonSTC
+ class DemoCodeViewer(PythonSTC):
+ def __init__(self, parent, ID):
+ PythonSTC.__init__(self, parent, ID)
+ self.SetEdgeMode(stc.STC_EDGE_NONE)
+ self.SetSelBackground(True, wx.SystemSettings_GetColour(wx.SYS_COLOUR_HIGHLIGHT))
+ self.SetSelForeground(True, wx.SystemSettings_GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT))
+
+ # Some methods to make it compatible with how the wxTextCtrl is used
+ def SetValue(self, value):
+ self.SetReadOnly(False)
+ self.SetText(value)
+ self.SetReadOnly(True)
+
+ def Clear(self):
+ self.ClearAll()
+
+ def SetInsertionPoint(self, pos):
+ self.SetCurrentPos(pos)
+
+ def ShowPosition(self, pos):
+ self.GotoPos(pos)
+
+ def GetLastPosition(self):
+ return self.GetLength()
+
+ def GetRange(self, start, end):
+ return self.GetTextRange(start, end)
+
+ def GetSelection(self):
+ return self.GetAnchor(), self.GetCurrentPos()
+
+ def SetSelection(self, start, end):
+ self.SetSelectionStart(start)
+ self.SetSelectionEnd(end)
+
+
+except ImportError:
+ class DemoCodeViewer(wx.TextCtrl):
+ def __init__(self, parent, ID):
+ wx.TextCtrl.__init__(self, parent, ID, style =
+ wx.TE_MULTILINE | wx.TE_READONLY |
+ wx.HSCROLL | wx.TE_RICH2 | wx.TE_NOHIDESEL)
+
+
#---------------------------------------------------------------------------
def opj(path):
@@ -231,12 +294,12 @@ def opj(path):
#---------------------------------------------------------------------------
-class wxPythonDemo(wxFrame):
+class wxPythonDemo(wx.Frame):
overviewText = "wxPython Overview"
def __init__(self, parent, id, title):
- wxFrame.__init__(self, parent, -1, title, size = (800, 600),
- style=wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE)
+ wx.Frame.__init__(self, parent, -1, title, size = (800, 600),
+ style=wx.DEFAULT_FRAME_STYLE|wx.NO_FULL_REPAINT_ON_RESIZE)
self.cwd = os.getcwd()
self.curOverview = ""
@@ -245,97 +308,97 @@ class wxPythonDemo(wxFrame):
icon = images.getMondrianIcon()
self.SetIcon(icon)
- if wxPlatform == '__WXMSW__':
+ if wx.Platform == '__WXMSW__':
# setup a taskbar icon, and catch some events from it
- self.tbicon = wxTaskBarIcon()
+ self.tbicon = wx.TaskBarIcon()
self.tbicon.SetIcon(icon, "wxPython Demo")
- EVT_TASKBAR_LEFT_DCLICK(self.tbicon, self.OnTaskBarActivate)
- EVT_TASKBAR_RIGHT_UP(self.tbicon, self.OnTaskBarMenu)
- EVT_MENU(self.tbicon, self.TBMENU_RESTORE, self.OnTaskBarActivate)
- EVT_MENU(self.tbicon, self.TBMENU_CLOSE, self.OnTaskBarClose)
+ wx.EVT_TASKBAR_LEFT_DCLICK(self.tbicon, self.OnTaskBarActivate)
+ wx.EVT_TASKBAR_RIGHT_UP(self.tbicon, self.OnTaskBarMenu)
+ wx.EVT_MENU(self.tbicon, self.TBMENU_RESTORE, self.OnTaskBarActivate)
+ wx.EVT_MENU(self.tbicon, self.TBMENU_CLOSE, self.OnTaskBarClose)
- wxCallAfter(self.ShowTip)
+ wx.CallAfter(self.ShowTip)
self.otherWin = None
- EVT_IDLE(self, self.OnIdle)
- EVT_CLOSE(self, self.OnCloseWindow)
- EVT_ICONIZE(self, self.OnIconfiy)
- EVT_MAXIMIZE(self, self.OnMaximize)
+ wx.EVT_IDLE(self, self.OnIdle)
+ wx.EVT_CLOSE(self, self.OnCloseWindow)
+ wx.EVT_ICONIZE(self, self.OnIconfiy)
+ wx.EVT_MAXIMIZE(self, self.OnMaximize)
- self.Centre(wxBOTH)
- self.CreateStatusBar(1, wxST_SIZEGRIP)
+ self.Centre(wx.BOTH)
+ self.CreateStatusBar(1, wx.ST_SIZEGRIP)
- splitter = wxSplitterWindow(self, -1, style=wxNO_3D|wxSP_3D)
- splitter2 = wxSplitterWindow(splitter, -1, style=wxNO_3D|wxSP_3D)
+ splitter = wx.SplitterWindow(self, -1, style=wx.NO_3D|wx.SP_3D)
+ splitter2 = wx.SplitterWindow(splitter, -1, style=wx.NO_3D|wx.SP_3D)
def EmptyHandler(evt): pass
- EVT_ERASE_BACKGROUND(splitter, EmptyHandler)
- EVT_ERASE_BACKGROUND(splitter2, EmptyHandler)
+ wx.EVT_ERASE_BACKGROUND(splitter, EmptyHandler)
+ wx.EVT_ERASE_BACKGROUND(splitter2, EmptyHandler)
# Prevent TreeCtrl from displaying all items after destruction when True
self.dying = False
# Make a File menu
- self.mainmenu = wxMenuBar()
- menu = wxMenu()
- exitID = wxNewId()
+ self.mainmenu = wx.MenuBar()
+ menu = wx.Menu()
+ exitID = wx.NewId()
menu.Append(exitID, 'E&xit\tAlt-X', 'Get the heck outta here!')
- EVT_MENU(self, exitID, self.OnFileExit)
- wxApp_SetMacExitMenuItemId(exitID)
+ wx.EVT_MENU(self, exitID, self.OnFileExit)
+ wx.App_SetMacExitMenuItemId(exitID)
self.mainmenu.Append(menu, '&File')
# Make a Demo menu
- menu = wxMenu()
+ menu = wx.Menu()
for item in _treeList:
- submenu = wxMenu()
+ submenu = wx.Menu()
for childItem in item[1]:
- mID = wxNewId()
+ mID = wx.NewId()
submenu.Append(mID, childItem)
- EVT_MENU(self, mID, self.OnDemoMenu)
- menu.AppendMenu(wxNewId(), item[0], submenu)
+ wx.EVT_MENU(self, mID, self.OnDemoMenu)
+ menu.AppendMenu(wx.NewId(), item[0], submenu)
self.mainmenu.Append(menu, '&Demo')
# Make a Help menu
- helpID = wxNewId()
- findID = wxNewId()
- findnextID = wxNewId()
- menu = wxMenu()
+ helpID = wx.NewId()
+ findID = wx.NewId()
+ findnextID = wx.NewId()
+ menu = wx.Menu()
menu.Append(findID, '&Find\tCtrl-F', 'Find in the Demo Code')
menu.Append(findnextID, 'Find &Next\tF3', 'Find Next')
menu.AppendSeparator()
menu.Append(helpID, '&About\tCtrl-H', 'wxPython RULES!!!')
- wxApp_SetMacAboutMenuItemId(helpID)
- EVT_MENU(self, helpID, self.OnHelpAbout)
- EVT_MENU(self, findID, self.OnHelpFind)
- EVT_MENU(self, findnextID, self.OnFindNext)
- EVT_COMMAND_FIND(self, -1, self.OnFind)
- EVT_COMMAND_FIND_NEXT(self, -1, self.OnFind)
- EVT_COMMAND_FIND_CLOSE(self, -1 , self.OnFindClose)
+ wx.App_SetMacAboutMenuItemId(helpID)
+ wx.EVT_MENU(self, helpID, self.OnHelpAbout)
+ wx.EVT_MENU(self, findID, self.OnHelpFind)
+ wx.EVT_MENU(self, findnextID, self.OnFindNext)
+ wx.EVT_COMMAND_FIND(self, -1, self.OnFind)
+ wx.EVT_COMMAND_FIND_NEXT(self, -1, self.OnFind)
+ wx.EVT_COMMAND_FIND_CLOSE(self, -1 , self.OnFindClose)
self.mainmenu.Append(menu, '&Help')
self.SetMenuBar(self.mainmenu)
- self.finddata = wxFindReplaceData()
+ self.finddata = wx.FindReplaceData()
if 0:
# This is another way to set Accelerators, in addition to
# using the '\t' syntax in the menu items.
- aTable = wxAcceleratorTable([(wxACCEL_ALT, ord('X'), exitID),
- (wxACCEL_CTRL, ord('H'), helpID),
- (wxACCEL_CTRL, ord('F'), findID),
- (wxACCEL_NORMAL, WXK_F3, findnextID)])
+ aTable = wx.AcceleratorTable([(wx.ACCEL_ALT, ord('X'), exitID),
+ (wx.ACCEL_CTRL, ord('H'), helpID),
+ (wx.ACCEL_CTRL, ord('F'), findID),
+ (wx.ACCEL_NORMAL, WXK_F3, findnextID)
+ ])
self.SetAcceleratorTable(aTable)
# Create a TreeCtrl
- tID = wxNewId()
+ tID = wx.NewId()
self.treeMap = {}
- self.tree = wxTreeCtrl(splitter, tID,
- style=wxTR_HAS_BUTTONS |
- wxTR_HAS_VARIABLE_ROW_HEIGHT
+ self.tree = wx.TreeCtrl(splitter, tID,
+ style=wx.TR_HAS_BUTTONS |
+ wx.TR_HAS_VARIABLE_ROW_HEIGHT
)
- #self.tree.SetBackgroundColour(wxNamedColour("Pink"))
root = self.tree.AddRoot("wxPython Overview")
firstChild = None
for item in _treeList:
@@ -347,57 +410,56 @@ class wxPythonDemo(wxFrame):
self.tree.Expand(root)
self.tree.Expand(firstChild)
- EVT_TREE_ITEM_EXPANDED (self.tree, tID, self.OnItemExpanded)
- EVT_TREE_ITEM_COLLAPSED (self.tree, tID, self.OnItemCollapsed)
- EVT_TREE_SEL_CHANGED (self.tree, tID, self.OnSelChanged)
- EVT_LEFT_DOWN (self.tree, self.OnTreeLeftDown)
+ wx.EVT_TREE_ITEM_EXPANDED (self.tree, tID, self.OnItemExpanded)
+ wx.EVT_TREE_ITEM_COLLAPSED (self.tree, tID, self.OnItemCollapsed)
+ wx.EVT_TREE_SEL_CHANGED (self.tree, tID, self.OnSelChanged)
+ wx.EVT_LEFT_DOWN (self.tree, self.OnTreeLeftDown)
# Create a Notebook
- self.nb = wxNotebook(splitter2, -1, style=wxCLIP_CHILDREN)
+ self.nb = wx.Notebook(splitter2, -1, style=wx.CLIP_CHILDREN)
- # Set up a wxHtmlWindow on the Overview Notebook page
+ # Set up a wx.html.HtmlWindow on the Overview Notebook page
# we put it in a panel first because there seems to be a
# refresh bug of some sort (wxGTK) when it is directly in
# the notebook...
if 0: # the old way
- self.ovr = wxHtmlWindow(self.nb, -1, size=(400, 400))
+ self.ovr = wx.html.HtmlWindow(self.nb, -1, size=(400, 400))
self.nb.AddPage(self.ovr, self.overviewText)
- else: # hopefully I can remove this hacky code soon, see bug #216861
- panel = wxPanel(self.nb, -1, style=wxCLIP_CHILDREN)
- self.ovr = wxHtmlWindow(panel, -1, size=(400, 400))
+ else: # hopefully I can remove this hacky code soon, see SF bug #216861
+ panel = wx.Panel(self.nb, -1, style=wx.CLIP_CHILDREN)
+ self.ovr = wx.html.HtmlWindow(panel, -1, size=(400, 400))
self.nb.AddPage(panel, self.overviewText)
def OnOvrSize(evt, ovr=self.ovr):
ovr.SetSize(evt.GetSize())
- EVT_SIZE(panel, OnOvrSize)
- EVT_ERASE_BACKGROUND(panel, EmptyHandler)
+ wx.EVT_SIZE(panel, OnOvrSize)
+ wx.EVT_ERASE_BACKGROUND(panel, EmptyHandler)
self.SetOverview(self.overviewText, overview)
- # Set up a TextCtrl on the Demo Code Notebook page
- self.txt = wxTextCtrl(self.nb, -1,
- style = wxTE_MULTILINE|wxTE_READONLY|
- wxHSCROLL|wxTE_RICH2|wxTE_NOHIDESEL)
+ # Set up a notebook page for viewing the source code of each sample
+ self.txt = DemoCodeViewer(self.nb, -1)
self.nb.AddPage(self.txt, "Demo Code")
+ self.GetDemoFile('Main.py')
# Set up a log on the View Log Notebook page
- self.log = wxTextCtrl(splitter2, -1,
- style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
+ self.log = wx.TextCtrl(splitter2, -1,
+ style = wx.TE_MULTILINE|wx.TE_READONLY|wx.HSCROLL)
# Set the wxWindows log target to be this textctrl
- #wxLog_SetActiveTarget(wxLogTextCtrl(self.log))
+ #wx.Log_SetActiveTarget(wx.LogTextCtrl(self.log))
- # But instead of the above we want to show how to use our own wxLog class
- wxLog_SetActiveTarget(MyLog(self.log))
+ # But instead of the above we want to show how to use our own wx.Log class
+ wx.Log_SetActiveTarget(MyLog(self.log))
# for serious debugging
- #wxLog_SetActiveTarget(wxLogStderr())
- #wxLog_SetTraceMask(wxTraceMessages)
+ #wx.Log_SetActiveTarget(wx.LogStderr())
+ #wx.Log_SetTraceMask(wx.TraceMessages)
self.Show(True)
@@ -425,14 +487,14 @@ class wxPythonDemo(wxFrame):
self.tree.EnsureVisible(selectedDemo)
- wxLogMessage('window handle: %s' % self.GetHandle())
+ wx.LogMessage('window handle: %s' % self.GetHandle())
#---------------------------------------------
def WriteText(self, text):
if text[-1:] == '\n':
text = text[:-1]
- wxLogMessage(text)
+ wx.LogMessage(text)
def write(self, txt):
@@ -441,13 +503,13 @@ class wxPythonDemo(wxFrame):
#---------------------------------------------
def OnItemExpanded(self, event):
item = event.GetItem()
- wxLogMessage("OnItemExpanded: %s" % self.tree.GetItemText(item))
+ wx.LogMessage("OnItemExpanded: %s" % self.tree.GetItemText(item))
event.Skip()
#---------------------------------------------
def OnItemCollapsed(self, event):
item = event.GetItem()
- wxLogMessage("OnItemCollapsed: %s" % self.tree.GetItemText(item))
+ wx.LogMessage("OnItemCollapsed: %s" % self.tree.GetItemText(item))
event.Skip()
#---------------------------------------------
@@ -478,7 +540,7 @@ class wxPythonDemo(wxFrame):
if self.window is not None:
if hasattr(self.window, "ShutdownDemo"):
self.window.ShutdownDemo()
- wxSafeYield() # in case the page has pending events
+ wx.SafeYield() # in case the page has pending events
self.nb.DeletePage(2)
if itemText == self.overviewText:
@@ -489,19 +551,19 @@ class wxPythonDemo(wxFrame):
else:
if os.path.exists(itemText + '.py'):
- wxBeginBusyCursor()
- wxLogMessage("Running demo %s.py..." % itemText)
+ wx.BeginBusyCursor()
+ wx.LogMessage("Running demo %s.py..." % itemText)
try:
self.GetDemoFile(itemText + '.py')
module = __import__(itemText, globals())
self.SetOverview(itemText + " Overview", module.overview)
finally:
- wxEndBusyCursor()
+ wx.EndBusyCursor()
self.tree.Refresh()
# in case runTest is modal, make sure things look right...
self.nb.Refresh();
- wxSafeYield()
+ wx.SafeYield()
self.window = module.runTest(self, self.nb, self) ###
if self.window is not None:
@@ -523,7 +585,7 @@ class wxPythonDemo(wxFrame):
try:
self.txt.SetValue(open(filename).read())
except IOError:
- self.txt.WriteText("Cannot open %s file." % filename)
+ self.txt.SetValue("Cannot open %s file." % filename)
self.txt.SetInsertionPoint(0)
self.txt.ShowPosition(0)
@@ -550,10 +612,10 @@ class wxPythonDemo(wxFrame):
def OnHelpFind(self, event):
self.nb.SetSelection(1)
- self.finddlg = wxFindReplaceDialog(self, self.finddata, "Find",
- wxFR_NOUPDOWN |
- wxFR_NOMATCHCASE |
- wxFR_NOWHOLEWORD)
+ self.finddlg = wx.FindReplaceDialog(self, self.finddata, "Find",
+ wx.FR_NOUPDOWN |
+ wx.FR_NOMATCHCASE |
+ wx.FR_NOWHOLEWORD)
self.finddlg.Show(True)
def OnFind(self, event):
@@ -568,9 +630,9 @@ class wxPythonDemo(wxFrame):
start = 0
loc = textstring.find(findstring, start)
if loc == -1:
- dlg = wxMessageDialog(self, 'Find String Not Found',
+ dlg = wx.MessageDialog(self, 'Find String Not Found',
'Find String Not Found in Demo File',
- wxOK | wxICON_INFORMATION)
+ wx.OK | wx.ICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()
if self.finddlg:
@@ -579,8 +641,8 @@ class wxPythonDemo(wxFrame):
return
else:
self.finddlg.Destroy()
- self.txt.SetSelection(loc, loc + len(findstring))
self.txt.ShowPosition(loc)
+ self.txt.SetSelection(loc, loc + len(findstring))
@@ -620,9 +682,9 @@ class wxPythonDemo(wxFrame):
except IOError:
showTip, index = (1, 0)
if showTip:
- tp = wxCreateFileTipProvider(opj("data/tips.txt"), index)
+ tp = wx.CreateFileTipProvider(opj("data/tips.txt"), index)
##tp = MyTP(0)
- showTip = wxShowTip(self, tp)
+ showTip = wx.ShowTip(self, tp)
index = tp.GetCurrentTip()
open(opj("data/showTips"), "w").write(str( (showTip, index) ))
@@ -652,7 +714,7 @@ class wxPythonDemo(wxFrame):
TBMENU_CLOSE = 1001
def OnTaskBarMenu(self, evt):
- menu = wxMenu()
+ menu = wx.Menu()
menu.Append(self.TBMENU_RESTORE, "Restore wxPython Demo")
menu.Append(self.TBMENU_CLOSE, "Close")
self.tbicon.PopupMenu(menu)
@@ -662,19 +724,19 @@ class wxPythonDemo(wxFrame):
def OnTaskBarClose(self, evt):
self.Close()
- # because of the way wxTaskBarIcon.PopupMenu is implemented we have to
+ # because of the way wx.TaskBarIcon.PopupMenu is implemented we have to
# prod the main idle handler a bit to get the window to actually close
- wxGetApp().ProcessIdle()
+ wx.GetApp().ProcessIdle()
#---------------------------------------------
def OnIconfiy(self, evt):
- wxLogMessage("OnIconfiy")
+ wx.LogMessage("OnIconfiy")
evt.Skip()
#---------------------------------------------
def OnMaximize(self, evt):
- wxLogMessage("OnMaximize")
+ wx.LogMessage("OnMaximize")
evt.Skip()
@@ -683,14 +745,14 @@ class wxPythonDemo(wxFrame):
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
-class MySplashScreen(wxSplashScreen):
+class MySplashScreen(wx.SplashScreen):
def __init__(self):
- bmp = wxImage(opj("bitmaps/splash.gif")).ConvertToBitmap()
- wxSplashScreen.__init__(self, bmp,
- wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
+ bmp = wx.Image(opj("bitmaps/splash.gif")).ConvertToBitmap()
+ wx.SplashScreen.__init__(self, bmp,
+ wx.SPLASH_CENTRE_ON_SCREEN|wx.SPLASH_TIMEOUT,
4000, None, -1,
- style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP)
- EVT_CLOSE(self, self.OnClose)
+ style = wx.SIMPLE_BORDER|wx.FRAME_NO_TASKBAR|wx.STAY_ON_TOP)
+ wx.EVT_CLOSE(self, self.OnClose)
def OnClose(self, evt):
frame = wxPythonDemo(None, -1, "wxPython: (A Demonstration)")
@@ -698,7 +760,7 @@ class MySplashScreen(wxSplashScreen):
evt.Skip() # Make sure the default handler runs too...
-class MyApp(wxApp):
+class MyApp(wx.App):
def OnInit(self):
"""
Create and show the splash screen. It will then create and show
@@ -706,10 +768,10 @@ class MyApp(wxApp):
"""
#import locale
- #self.locale = wxLocale(wxLANGUAGE_FRENCH)
+ #self.locale = wx.Locale(wx.LANGUAGE_FRENCH)
#locale.setlocale(locale.LC_ALL, 'fr')
- wxInitAllImageHandlers()
+ wx.InitAllImageHandlers()
splash = MySplashScreen()
splash.Show()
return True
@@ -724,7 +786,7 @@ def main():
os.chdir(demoPath)
except:
pass
- app = MyApp(wxPlatform == "__WXMAC__")
+ app = MyApp(wx.Platform == "__WXMAC__")
app.MainLoop()
@@ -733,76 +795,36 @@ def main():
overview = """
- Python
-
- Python is an interpreted, interactive, object-oriented programming
- language often compared to Tcl, Perl, Scheme, or Java.
-
- Python combines remarkable power with very clear syntax. It has
- modules, classes, exceptions, very high level dynamic data types, and
- dynamic typing. There are interfaces to many system calls and
- libraries, and new built-in modules are easily written in C or
- C++. Python is also usable as an extension language for applications
- that need a programmable interface.
-
-
wxWindows
-
- wxWindows is a free C++ framework designed to make cross-platform
- programming child's play. Well, almost. wxWindows 2 supports Windows
- 3.1/95/98/NT, Unix with GTK/Motif/Lesstif, with a Mac version
- underway. Other ports are under consideration.
-
- wxWindows is a set of libraries that allows C++ applications to
- compile and run on several different types of computers, with minimal
- source code changes. There is one library per supported GUI (such as
- Motif, or Windows). As well as providing a common API (Application
- Programming Interface) for GUI functionality, it provides
- functionality for accessing some commonly-used operating system
- facilities, such as copying or deleting files. wxWindows is a
- 'framework' in the sense that it provides a lot of built-in
- functionality, which the application can use or replace as required,
- thus saving a great deal of coding effort. Basic data structures such
- as strings, linked lists and hash tables are also supported.
-
-
-
wxPython
-
- wxPython is a Python extension module that encapsulates the wxWindows
- GUI classes. Currently it is only available for the Win32 and GTK
- ports of wxWindows, but as soon as the other ports are brought up to
- the same level as Win32 and GTK, it should be fairly trivial to
- enable wxPython to be used with the new GUI.
-
-
-
- The wxPython extension module attempts to mirror the class heiarchy
- of wxWindows as closely as possible. This means that there is a
- wxFrame class in wxPython that looks, smells, tastes and acts almost
- the same as the wxFrame class in the C++ version. Unfortunately,
- because of differences in the languages, wxPython doesn't match
- wxWindows exactly, but the differences should be easy to absorb
- because they are natural to Python. For example, some methods that
- return multiple values via argument pointers in C++ will return a
- tuple of values in Python.
-
-
-
- There is still much to be done for wxPython, many classes still need
- to be mirrored. Also, wxWindows is still somewhat of a moving target
- so it is a bit of an effort just keeping wxPython up to date. On the
- other hand, there are enough of the core classes completed that
- useful applications can be written.
-
-
-
- wxPython is close enough to the C++ version that the majority of
- the wxPython documentation is actually just notes attached to the C++
- documents that describe the places where wxPython is different. There
- is also a series of sample programs included, and a series of
- documentation pages that assist the programmer in getting started
- with wxPython.
-
- """
+
wxPython
+
+ wxPython is a GUI toolkit for the Python programming language. It
+allows Python programmers to create programs with a robust, highly
+functional graphical user interface, simply and easily. It is
+implemented as a Python extension module (native code) that wraps the
+popular wxWindows cross
+platform GUI library, which is written in C++.
+
+
Like Python and wxWindows, wxPython is Open Source which
+means that it is free for anyone to use and the source code is
+available for anyone to look at and modify. Or anyone can contribute
+fixes or enhnacments to the project.
+
+
wxPython is a cross-platform toolkit. This means that the
+same program will run on multiple platforms without modification.
+Currently supported platforms are 32-bit Microsoft Windows, most Unix
+or unix-like systems, and Macintosh OS X. Since the language is
+Python, wxPython programs are simple, easy to write and easy to
+understand.
+
+
This demo is not only a collection of test cases for
+wxPython, but is also designed to help you learn about and how to use
+wxPython. Each sample is listed in the tree control on the left.
+When a sample is selected in the tree then a module is loaded and run
+(usually in a tab of this notebook,) and the source code of the module
+is loaded in another tab for you to browse and learn from.
+
+"""
#----------------------------------------------------------------------------
diff --git a/wxPython/demo/MaskedEditControls.py b/wxPython/demo/MaskedEditControls.py
new file mode 100644
index 0000000000..92a6cf3d77
--- /dev/null
+++ b/wxPython/demo/MaskedEditControls.py
@@ -0,0 +1,540 @@
+from wxPython.wx import *
+from wxPython.lib.maskededit import Field, wxMaskedTextCtrl, wxMaskedComboBox, wxIpAddrCtrl, states, months
+from wxPython.lib.maskededit import __doc__ as overviewdoc
+from wxPython.lib.maskededit import autoformats
+from wxPython.lib.scrolledpanel import wxScrolledPanel
+import string, sys, traceback
+
+class demoMixin:
+ """
+ Centralized routines common to demo pages, to remove repetition.
+ """
+ def labelGeneralTable(self, sizer):
+ description = wxStaticText( self, -1, "Description", )
+ mask = wxStaticText( self, -1, "Mask Value" )
+ formatcode = wxStaticText( self, -1, "Format" )
+ regex = wxStaticText( self, -1, "Regexp Validator(opt.)" )
+ ctrl = wxStaticText( self, -1, "wxMaskedEdit Ctrl" )
+
+ description.SetFont( wxFont(9, wxSWISS, wxNORMAL, wxBOLD))
+ mask.SetFont( wxFont(9, wxSWISS, wxNORMAL, wxBOLD))
+ formatcode.SetFont( wxFont(9, wxSWISS, wxNORMAL, wxBOLD) )
+ regex.SetFont( wxFont(9, wxSWISS, wxNORMAL, wxBOLD))
+ ctrl.SetFont( wxFont(9, wxSWISS, wxNORMAL, wxBOLD))
+
+ sizer.Add(description)
+ sizer.Add(mask)
+ sizer.Add(formatcode)
+ sizer.Add(regex)
+ sizer.Add(ctrl)
+
+
+ def layoutGeneralTable(self, controls, sizer):
+ for control in controls:
+ sizer.Add( wxStaticText( self, -1, control[0]) )
+ sizer.Add( wxStaticText( self, -1, control[1]) )
+ sizer.Add( wxStaticText( self, -1, control[3]) )
+ sizer.Add( wxStaticText( self, -1, control[4]) )
+
+ if control in controls:
+ newControl = wxMaskedTextCtrl( self, -1, "",
+ mask = control[1],
+ excludeChars = control[2],
+ formatcodes = control[3],
+ includeChars = "",
+ validRegex = control[4],
+ validRange = control[5],
+ choices = control[6],
+ choiceRequired = True,
+ defaultValue = control[7],
+ demo = True,
+ name = control[0])
+ self.editList.append(newControl)
+ sizer.Add(newControl)
+
+
+ def changeControlParams(self, event, parameter, checked_value, notchecked_value):
+ if event.Checked(): value = checked_value
+ else: value = notchecked_value
+ kwargs = {parameter: value}
+ for control in self.editList:
+ control.SetCtrlParameters(**kwargs)
+ control.Refresh()
+ self.Refresh()
+
+
+
+#----------------------------------------------------------------------------
+class demoPage1(wxScrolledPanel, demoMixin):
+ def __init__(self, parent, log):
+ wxScrolledPanel.__init__(self, parent, -1)
+ self.sizer = wxBoxSizer( wxVERTICAL )
+ self.editList = []
+
+ label = wxStaticText( self, -1, """\
+Here are some basic wxMaskedTextCtrls to give you an idea of what you can do
+with this control. Note that all controls have been auto-sized by including 'F' in
+the format codes.
+
+Try entering nonsensical or partial values in validated fields to see what happens.
+Note that the State and Last Name fields are list-limited (valid last names are:
+Smith, Jones, Williams). Signs on numbers can be toggled with the minus key.
+""")
+ label.SetForegroundColour( "Blue" )
+ header = wxBoxSizer( wxHORIZONTAL )
+ header.Add( label, 0, flag=wxALIGN_LEFT|wxALL, border = 5 )
+
+ highlight = wxCheckBox( self, -1, "Highlight Empty" )
+ disallow = wxCheckBox( self, -1, "Disallow Empty" )
+ showFill = wxCheckBox( self, -1, "change fillChar" )
+
+ vbox = wxBoxSizer( wxVERTICAL )
+ vbox.Add( highlight, 0, wxALIGN_LEFT|wxALL, 5 )
+ vbox.Add( disallow, 0, wxALIGN_LEFT|wxALL, 5 )
+ vbox.Add( showFill, 0, wxALIGN_LEFT|wxALL, 5 )
+ header.AddSpacer(15, 0)
+ header.Add(vbox, 0, flag=wxALIGN_LEFT|wxALL, border=5 )
+
+ EVT_CHECKBOX( self, highlight.GetId(), self.onHighlightEmpty )
+ EVT_CHECKBOX( self, disallow.GetId(), self.onDisallowEmpty )
+ EVT_CHECKBOX( self, showFill.GetId(), self.onShowFill )
+
+ grid = wxFlexGridSizer( 0, 5, vgap=10, hgap=10 )
+ self.labelGeneralTable(grid)
+
+ # The following list is of the controls for the demo. Feel free to play around with
+ # the options!
+ controls = [
+ #description mask excl format regexp range,list,initial
+ ("Phone No", "(###) ###-#### x:###", "", 'F^-', "^\(\d{3}\) \d{3}-\d{4}", '','',''),
+ ("Social Sec#", "###-##-####", "", 'F', "\d{3}-\d{2}-\d{4}", '','',''),
+ ("Full Name", "C{14}", "", 'F_', '^[A-Z][a-zA-Z]+ [A-Z][a-zA-Z]+', '','',''),
+ ("Last Name Only", "C{14}", "", 'F {list}', '^[A-Z][a-zA-Z]+', '',('Smith','Jones','Williams'),''),
+ ("Zip plus 4", "#{5}-#{4}", "", 'F', "\d{5}-(\s{4}|\d{4})", '','',''),
+ ("Customer No", "\CAA-###", "", 'F!', "C[A-Z]{2}-\d{3}", '','',''),
+ ("Invoice Total", "#{9}.##", "", 'F-_,', "", '','',''),
+ ("Integer", "#{9}", "", 'F-_', "", '','',''),
+ ]
+
+ self.layoutGeneralTable(controls, grid)
+ self.sizer.Add( header, 0, flag=wxALIGN_LEFT|wxALL, border=5 )
+ self.sizer.Add( grid, 0, flag= wxALIGN_LEFT|wxLEFT, border=5 )
+ self.SetSizer(self.sizer)
+ self.SetupScrolling()
+ self.SetAutoLayout(1)
+
+
+ def onDisallowEmpty( self, event ):
+ """ Set emptyInvalid parameter on/off """
+ self.changeControlParams( event, "emptyInvalid", True, False )
+
+ def onHighlightEmpty( self, event ):
+ """ Highlight empty values"""
+ self.changeControlParams( event, "emptyBackgroundColor", "Blue", "White" )
+
+ def onShowFill( self, event ):
+ """ Set fillChar parameter to '?' or ' ' """
+ self.changeControlParams( event, "fillChar", '?', ' ' )
+
+
+class demoPage2(wxScrolledPanel, demoMixin):
+ def __init__( self, parent, log ):
+ self.log = log
+ wxScrolledPanel.__init__( self, parent, -1 )
+ self.sizer = wxBoxSizer( wxVERTICAL )
+
+ label = wxStaticText( self, -1, """\
+All these controls have been created by passing a single parameter, the autoformat code.
+The class contains an internal dictionary of types and formats (autoformats).
+Many of these already do complicated validation; To see some examples, try
+29 Feb 2002 vs. 2004 for the date formats, or email address validation.
+""")
+
+ label.SetForegroundColour( "Blue" )
+ self.sizer.Add( label, 0, wxALIGN_LEFT|wxALL, 5 )
+
+ description = wxStaticText( self, -1, "Description")
+ autofmt = wxStaticText( self, -1, "AutoFormat Code")
+ ctrl = wxStaticText( self, -1, "wxMaskedEdit Control")
+
+ description.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+ autofmt.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+ ctrl.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+
+ grid = wxFlexGridSizer( 0, 3, vgap=10, hgap=5 )
+ grid.Add( description, 0, wxALIGN_LEFT )
+ grid.Add( autofmt, 0, wxALIGN_LEFT )
+ grid.Add( ctrl, 0, wxALIGN_LEFT )
+
+ for autoformat, desc in autoformats:
+ grid.Add( wxStaticText( self, -1, desc), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, autoformat), 0, wxALIGN_LEFT )
+ grid.Add( wxMaskedTextCtrl( self, -1, "",
+ autoformat = autoformat,
+ demo = True,
+ name = autoformat),
+ 0, wxALIGN_LEFT )
+
+ self.sizer.Add( grid, 0, wxALIGN_LEFT|wxALL, border=5 )
+ self.SetSizer( self.sizer )
+ self.SetAutoLayout( 1 )
+ self.SetupScrolling()
+
+
+class demoPage3(wxScrolledPanel, demoMixin):
+ def __init__(self, parent, log):
+ self.log = log
+ wxScrolledPanel.__init__(self, parent, -1)
+ self.sizer = wxBoxSizer( wxVERTICAL )
+ self.editList = []
+
+ label = wxStaticText( self, -1, """\
+Here wxMaskedTextCtrls that have default values. The states
+control has a list of valid values, and the unsigned integer
+has a legal range specified.
+""")
+ label.SetForegroundColour( "Blue" )
+ requireValid = wxCheckBox( self, -1, "Require Valid Value" )
+ EVT_CHECKBOX( self, requireValid.GetId(), self.onRequireValid )
+
+ header = wxBoxSizer( wxHORIZONTAL )
+ header.Add( label, 0, flag=wxALIGN_LEFT|wxALL, border = 5)
+ header.AddSpacer(75, 0)
+ header.Add( requireValid, 0, flag=wxALIGN_LEFT|wxALL, border=10 )
+
+ grid = wxFlexGridSizer( 0, 5, vgap=10, hgap=10 )
+ self.labelGeneralTable( grid )
+
+ controls = [
+ #description mask excl format regexp range,list,initial
+ ("U.S. State (2 char)", "AA", "", 'F!_', "[A-Z]{2}", '',states, states[0]),
+ ("Integer (signed)", "#{6}", "", 'F-_R', "", '','', '0 '),
+ ("Integer (unsigned)\n(1-399)","######", "", 'F_', "", (1,399),'', '1 '),
+ ("Float (signed)", "#{6}.#{9}", "", 'F-_R', "", '','', '000000.000000000'),
+ ("Date (MDY) + Time", "##/##/#### ##:##:## AM", 'BCDEFGHIJKLMNOQRSTUVWXYZ','DF!',"", '','', wxDateTime_Now().Format("%m/%d/%Y %I:%M:%S %p")),
+ ]
+ self.layoutGeneralTable( controls, grid )
+
+ self.sizer.Add( header, 0, flag=wxALIGN_LEFT|wxALL, border=5 )
+ self.sizer.Add( grid, 0, flag=wxALIGN_LEFT|wxALL, border=5 )
+
+ self.SetSizer( self.sizer )
+ self.SetAutoLayout( 1 )
+ self.SetupScrolling()
+
+ def onRequireValid( self, event ):
+ """ Set validRequired parameter on/off """
+ self.changeControlParams( event, "validRequired", True, False )
+
+
+class demoPage4(wxScrolledPanel, demoMixin):
+ def __init__( self, parent, log ):
+ self.log = log
+ wxScrolledPanel.__init__( self, parent, -1 )
+ self.sizer = wxBoxSizer( wxVERTICAL )
+
+ label = wxStaticText( self, -1, """\
+These controls have field-specific choice lists and allow autocompletion.
+
+Down arrow or Page Down in an uncompleted field with an auto-completable field will attempt
+to auto-complete a field if it has a choice list.
+Page Down and Shift-Down arrow will also auto-complete, or cycle through the complete list.
+Page Up and Shift-Up arrow will similarly cycle backwards through the list.
+""")
+
+ label.SetForegroundColour( "Blue" )
+ self.sizer.Add( label, 0, wxALIGN_LEFT|wxALL, 5 )
+
+ description = wxStaticText( self, -1, "Description" )
+ autofmt = wxStaticText( self, -1, "AutoFormat Code" )
+ fields = wxStaticText( self, -1, "Field Objects" )
+ ctrl = wxStaticText( self, -1, "wxMaskedEdit Control" )
+
+ description.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+ autofmt.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+ fields.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+ ctrl.SetFont( wxFont( 9, wxSWISS, wxNORMAL, wxBOLD ) )
+
+ grid = wxFlexGridSizer( 0, 4, vgap=10, hgap=10 )
+ grid.Add( description, 0, wxALIGN_LEFT )
+ grid.Add( autofmt, 0, wxALIGN_LEFT )
+ grid.Add( fields, 0, wxALIGN_LEFT )
+ grid.Add( ctrl, 0, wxALIGN_LEFT )
+
+ autoformat = "USPHONEFULLEXT"
+ fieldsDict = {0: Field(choices=["617","781","508","978","413"], choiceRequired=True)}
+ fieldsLabel = """\
+{0: Field(choices=[
+ "617","781",
+ "508","978","413"],
+ choiceRequired=True)}"""
+ grid.Add( wxStaticText( self, -1, "Restricted Area Code"), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, autoformat), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, fieldsLabel), 0, wxALIGN_LEFT )
+ grid.Add( wxMaskedTextCtrl( self, -1, "",
+ autoformat = autoformat,
+ fields = fieldsDict,
+ demo = True,
+ name = autoformat),
+ 0, wxALIGN_LEFT )
+
+ autoformat = "EXPDATEMMYY"
+ fieldsDict = {1: Field(choices=["03", "04", "05"], choiceRequired=True)}
+ fieldsLabel = """\
+{1: Field(choices=[
+ "03", "04", "05"],
+ choiceRequired=True)}"""
+ exp = wxMaskedTextCtrl( self, -1, "",
+ autoformat = autoformat,
+ fields = fieldsDict,
+ demo = True,
+ name = autoformat)
+
+ grid.Add( wxStaticText( self, -1, "Restricted Expiration"), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, autoformat), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, fieldsLabel), 0, wxALIGN_LEFT )
+ grid.Add( exp, 0, wxALIGN_LEFT )
+
+ fieldsDict = {0: Field(choices=["02134","02155"], choiceRequired=True),
+ 1: Field(choices=["1234", "5678"], choiceRequired=False)}
+ fieldsLabel = """\
+{0: Field(choices=["02134","02155"],
+ choiceRequired=True),
+ 1: Field(choices=["1234", "5678"],
+ choiceRequired=False)}"""
+ autoformat = "USZIPPLUS4"
+ zip = wxMaskedTextCtrl( self, -1, "",
+ autoformat = autoformat,
+ fields = fieldsDict,
+ demo = True,
+ name = autoformat)
+
+ grid.Add( wxStaticText( self, -1, "Restricted Zip + 4"), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, autoformat), 0, wxALIGN_LEFT )
+ grid.Add( wxStaticText( self, -1, fieldsLabel), 0, wxALIGN_LEFT )
+ grid.Add( zip, 0, wxALIGN_LEFT )
+
+ self.sizer.Add( grid, 0, wxALIGN_LEFT|wxALL, border=5 )
+ self.SetSizer( self.sizer )
+ self.SetAutoLayout(1)
+ self.SetupScrolling()
+
+
+class demoPage5(wxScrolledPanel, demoMixin):
+ def __init__( self, parent, log ):
+ self.log = log
+ wxScrolledPanel.__init__( self, parent, -1 )
+ self.sizer = wxBoxSizer( wxVERTICAL )
+ label = wxStaticText( self, -1, """\
+These are examples of wxMaskedComboBox and wxIpAddrCtrl, and more useful
+configurations of a wxMaskedTextCtrl for integer and floating point input.
+""")
+ label.SetForegroundColour( "Blue" )
+ self.sizer.Add( label, 0, wxALIGN_LEFT|wxALL, 5 )
+
+ numerators = [ str(i) for i in range(1, 4) ]
+ denominators = [ string.ljust(str(i), 2) for i in [2,3,4,5,8,16,32,64] ]
+ fieldsDict = {0: Field(choices=numerators, choiceRequired=False),
+ 1: Field(choices=denominators, choiceRequired=True)}
+ choices = []
+ for n in numerators:
+ for d in denominators:
+ if n != d:
+ choices.append( '%s/%s' % (n,d) )
+
+
+ text1 = wxStaticText( self, -1, """\
+A masked ComboBox for fraction selection.
+Choices for each side of the fraction can be
+selected with PageUp/Down:""")
+
+ fraction = wxMaskedComboBox( self, -1, "",
+ choices = choices,
+ choiceRequired = True,
+ mask = "#/##",
+ formatcodes = "F_",
+ validRegex = "^\d\/\d\d?",
+ fields = fieldsDict )
+
+
+ text2 = wxStaticText( self, -1, """
+A masked ComboBox to validate
+text from a list of numeric codes:""")
+
+ choices = ["91", "136", "305", "4579"]
+ code = wxMaskedComboBox( self, -1, choices[0],
+ choices = choices,
+ choiceRequired = True,
+ formatcodes = "F_r",
+ mask = "####")
+
+
+ text3 = wxStaticText( self, -1, """\
+A masked state selector; only "legal" values
+can be entered:""")
+
+ state = wxMaskedComboBox( self, -1, states[0],
+ choices = states,
+ autoformat="USSTATE")
+
+ text4 = wxStaticText( self, -1, "An empty IP Address entry control:")
+ ip_addr1 = wxIpAddrCtrl( self, -1, style = wxTE_PROCESS_TAB )
+
+
+ text5 = wxStaticText( self, -1, "An IP Address control with a restricted mask:")
+ ip_addr2 = wxIpAddrCtrl( self, -1, mask=" 10. 1.109.###" )
+
+
+ text6 = wxStaticText( self, -1, """\
+An IP Address control with restricted choices
+of form: 10. (1|2) . (129..255) . (0..255)""")
+ ip_addr3 = wxIpAddrCtrl( self, -1, mask=" 10. #.###.###")
+ ip_addr3.SetFieldParameters(0, validRegex="1|2" ) # requires entry to match or not allowed
+
+
+ # This allows any value in penultimate field, but colors anything outside of the range invalid:
+ ip_addr3.SetFieldParameters(1, validRange=(129,255), validRequired=False )
+
+ text7 = wxStaticText( self, -1, """\
+A right-insert integer entry control:""")
+ intctrl = wxMaskedTextCtrl(self, -1, name='intctrl', mask="#{9}", formatcodes = '_-r,F')
+
+ text8 = wxStaticText( self, -1, """\
+A floating point entry control
+with right-insert for ordinal:""")
+ self.floatctrl = wxMaskedTextCtrl(self, -1, name='floatctrl', mask="#{9}.#{2}", formatcodes="F,_-R")
+ self.floatctrl.SetFieldParameters(0, formatcodes='r<', validRequired=True) # right-insert, require explicit cursor movement to change fields
+ self.floatctrl.SetFieldParameters(1, defaultValue='00') # don't allow blank fraction
+
+ text9 = wxStaticText( self, -1, """\
+Use this control to programmatically set
+the value of the above float control:""")
+ number_combo = wxComboBox(self, -1, choices = [ '', '111', '222.22', '-3', '54321.666666666', '-1353.978',
+ '1234567', '-1234567', '123456789', '-123456789.1',
+ '1234567890.', '-1234567890.1' ])
+
+ grid = wxFlexGridSizer( 0, 2, vgap=10, hgap = 5 )
+ grid.Add( text1, 0, wxALIGN_LEFT )
+ grid.Add( fraction, 0, wxALIGN_LEFT )
+ grid.Add( text2, 0, wxALIGN_LEFT )
+ grid.Add( code, 0, wxALIGN_LEFT )
+ grid.Add( text3, 0, wxALIGN_LEFT )
+ grid.Add( state, 0, wxALIGN_LEFT )
+ grid.Add( text4, 0, wxALIGN_LEFT )
+ grid.Add( ip_addr1, 0, wxALIGN_LEFT )
+ grid.Add( text5, 0, wxALIGN_LEFT )
+ grid.Add( ip_addr2, 0, wxALIGN_LEFT )
+ grid.Add( text6, 0, wxALIGN_LEFT )
+ grid.Add( ip_addr3, 0, wxALIGN_LEFT )
+ grid.Add( text7, 0, wxALIGN_LEFT )
+ grid.Add( intctrl, 0, wxALIGN_LEFT )
+ grid.Add( text8, 0, wxALIGN_LEFT )
+ grid.Add( self.floatctrl, 0, wxALIGN_LEFT )
+ grid.Add( text9, 0, wxALIGN_LEFT )
+ grid.Add( number_combo, 0, wxALIGN_LEFT )
+
+ self.sizer.Add( grid, 0, wxALIGN_LEFT|wxALL, border=5 )
+ self.SetSizer( self.sizer )
+ self.SetAutoLayout(1)
+ self.SetupScrolling()
+
+ EVT_COMBOBOX( self, fraction.GetId(), self.OnComboChange )
+ EVT_COMBOBOX( self, code.GetId(), self.OnComboChange )
+ EVT_COMBOBOX( self, state.GetId(), self.OnComboChange )
+ EVT_TEXT( self, fraction.GetId(), self.OnComboChange )
+ EVT_TEXT( self, code.GetId(), self.OnComboChange )
+ EVT_TEXT( self, state.GetId(), self.OnComboChange )
+
+ EVT_TEXT( self, ip_addr1.GetId(), self.OnIpAddrChange )
+ EVT_TEXT( self, ip_addr2.GetId(), self.OnIpAddrChange )
+ EVT_TEXT( self, ip_addr3.GetId(), self.OnIpAddrChange )
+ EVT_TEXT( self, intctrl.GetId(), self.OnTextChange )
+ EVT_TEXT( self, self.floatctrl.GetId(), self.OnTextChange )
+ EVT_COMBOBOX( self, number_combo.GetId(), self.OnNumberSelect )
+
+
+ def OnComboChange( self, event ):
+ ctl = self.FindWindowById( event.GetId() )
+ if not ctl.IsValid():
+ self.log.write('current value not a valid choice')
+
+ def OnIpAddrChange( self, event ):
+ ip_addr = self.FindWindowById( event.GetId() )
+ if ip_addr.IsValid():
+ self.log.write('new addr = %s\n' % ip_addr.GetAddress() )
+
+ def OnTextChange( self, event ):
+ ctl = self.FindWindowById( event.GetId() )
+ if ctl.IsValid():
+ self.log.write('new value = %s\n' % ctl.GetValue() )
+
+ def OnNumberSelect( self, event ):
+ value = event.GetString()
+
+ # Format choice to fit into format for #{9}.#{2}, with sign position reserved:
+ # (ordinal + fraction == 11 + decimal point + sign == 13)
+ #
+ # Note: since self.floatctrl a right-aligned control, you could also just use
+ # "%.2f", but this wouldn't work properly for a left-aligned control.
+ # (See .SetValue() documentation in Overview.)
+ #
+ if value:
+ floattext = "%13.2f" % float(value)
+ else:
+ floattext = value # clear the value again
+ try:
+ self.floatctrl.SetValue(floattext)
+ except:
+ type, value, tb = sys.exc_info()
+ for line in traceback.format_exception_only(type, value):
+ self.log.write(line)
+
+# ---------------------------------------------------------------------
+class TestMaskedTextCtrls(wxNotebook):
+ def __init__(self, parent, id, log):
+ wxNotebook.__init__(self, parent, id)
+ self.log = log
+
+ win = demoPage1(self, log)
+ self.AddPage(win, "General examples")
+
+ win = demoPage2(self, log)
+ self.AddPage(win, 'Auto-formatted controls')
+
+ win = demoPage3(self, log)
+ self.AddPage(win, "Using default values")
+
+ win = demoPage4(self, log)
+ self.AddPage(win, 'Using auto-complete fields')
+
+ win = demoPage5(self, log)
+ self.AddPage(win, 'Other masked controls')
+
+
+#----------------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ testWin = TestMaskedTextCtrls(nb, -1, log)
+ return testWin
+
+def RunStandalone():
+ app = wxPySimpleApp()
+ frame = wxFrame(None, -1, "Test wxMaskedTextCtrl", size=(640, 480))
+ win = TestMaskedTextCtrls(frame, -1, sys.stdout)
+ frame.Show(True)
+ app.MainLoop()
+#----------------------------------------------------------------------------
+if __name__ == "__main__":
+ RunStandalone()
+
+
+overview = """
+
+""" + overviewdoc + """
+
+"""
+
+if __name__ == "__main__":
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/NewNamespace.py b/wxPython/demo/NewNamespace.py
new file mode 100644
index 0000000000..97b04d190c
--- /dev/null
+++ b/wxPython/demo/NewNamespace.py
@@ -0,0 +1,47 @@
+
+import wx # This module uses the new wx namespace
+from wx import html
+from Main import opj
+
+#----------------------------------------------------------------------
+
+class TestPanel(wx.Panel):
+ def __init__(self, parent, log):
+ self.log = log
+ wx.Panel.__init__(self, parent, -1)
+
+ hwin = html.HtmlWindow(self, -1)
+ hwin.LoadFile(opj('data/wxPackage.html'))
+
+ sizer = wx.BoxSizer(wx.VERTICAL)
+ sizer.Add(hwin, 1, wx.EXPAND)
+
+ self.SetSizer(sizer)
+
+
+#----------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ win = TestPanel(nb, log)
+ return win
+
+#----------------------------------------------------------------------
+
+
+
+overview = """
+Using the New Namespace
+
+This sample isn't really a demo, but rather a place to display the
+introductory doc for using the new namespace.
+
+
+"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/OOR.py b/wxPython/demo/OOR.py
index e0e84b0112..d58bc42bbd 100644
--- a/wxPython/demo/OOR.py
+++ b/wxPython/demo/OOR.py
@@ -136,3 +136,12 @@ and the second will show #2 (working as of 2.3.2 )
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/PopupMenu.py b/wxPython/demo/PopupMenu.py
new file mode 100644
index 0000000000..97966273e3
--- /dev/null
+++ b/wxPython/demo/PopupMenu.py
@@ -0,0 +1,148 @@
+
+from wxPython.wx import *
+import images
+
+#----------------------------------------------------------------------
+
+text = """\
+
+Right-click on the panel (or Ctrl-click on the Mac) to show a popup
+menu. Then look at the code for this sample. Notice how the
+PopupMenu method is similar to the ShowModal method of a wxDialog in
+that it doesn't return until the popup menu has been dismissed. The
+event handlers for the popup menu items can either be attached to the
+menu itself, or to the window that invokes PopupMenu.
+"""
+
+#----------------------------------------------------------------------
+
+class TestPanel(wxPanel):
+ def __init__(self, parent, log):
+ self.log = log
+ wxPanel.__init__(self, parent, -1)
+ box = wxBoxSizer(wxVERTICAL)
+
+ # Make and layout the controls
+ fs = self.GetFont().GetPointSize()
+ bf = wxFont(fs+4, wxSWISS, wxNORMAL, wxBOLD)
+ nf = wxFont(fs+2, wxSWISS, wxNORMAL, wxNORMAL)
+
+ t = wxStaticText(self, -1, "PopupMenu")
+ t.SetFont(bf)
+ box.Add(t, 0, wxCENTER|wxALL, 5)
+
+ box.Add(wxStaticLine(self, -1), 0, wxEXPAND)
+ box.Add(10,20)
+
+ t = wxStaticText(self, -1, text)
+ t.SetFont(nf)
+ box.Add(t, 0, wxCENTER|wxALL, 5)
+
+ self.SetSizer(box)
+
+ EVT_RIGHT_UP(self, self.OnRightClick)
+
+
+ def OnRightClick(self, event):
+ self.log.WriteText("OnRightClick\n")
+
+ # only do this part the first time so the events are only bound once
+ if not hasattr(self, "popupID1"):
+ self.popupID1 = wxNewId()
+ self.popupID2 = wxNewId()
+ self.popupID3 = wxNewId()
+ self.popupID4 = wxNewId()
+ self.popupID5 = wxNewId()
+ self.popupID6 = wxNewId()
+ self.popupID7 = wxNewId()
+ self.popupID8 = wxNewId()
+ self.popupID9 = wxNewId()
+ EVT_MENU(self, self.popupID1, self.OnPopupOne)
+ EVT_MENU(self, self.popupID2, self.OnPopupTwo)
+ EVT_MENU(self, self.popupID3, self.OnPopupThree)
+ EVT_MENU(self, self.popupID4, self.OnPopupFour)
+ EVT_MENU(self, self.popupID5, self.OnPopupFive)
+ EVT_MENU(self, self.popupID6, self.OnPopupSix)
+ EVT_MENU(self, self.popupID7, self.OnPopupSeven)
+ EVT_MENU(self, self.popupID8, self.OnPopupEIght)
+ EVT_MENU(self, self.popupID9, self.OnPopupNine)
+
+ # make a menu
+ menu = wxMenu()
+ # Show how to put an icon in the menu
+ item = wxMenuItem(menu, self.popupID1,"One")
+ item.SetBitmap(images.getSmilesBitmap())
+ menu.AppendItem(item)
+ # add some other items
+ menu.Append(self.popupID2, "Two")
+ menu.Append(self.popupID3, "Three")
+ menu.Append(self.popupID4, "Four")
+ menu.Append(self.popupID5, "Five")
+ menu.Append(self.popupID6, "Six")
+ # make a submenu
+ sm = wxMenu()
+ sm.Append(self.popupID8, "sub item 1")
+ sm.Append(self.popupID9, "sub item 1")
+ menu.AppendMenu(self.popupID7, "Test Submenu", sm)
+
+
+ # Popup the menu. If an item is selected then its handler
+ # will be called before PopupMenu returns.
+ self.PopupMenu(menu, event.GetPosition())
+ menu.Destroy()
+
+
+ def OnPopupOne(self, event):
+ self.log.WriteText("Popup one\n")
+
+ def OnPopupTwo(self, event):
+ self.log.WriteText("Popup two\n")
+
+ def OnPopupThree(self, event):
+ self.log.WriteText("Popup three\n")
+
+ def OnPopupFour(self, event):
+ self.log.WriteText("Popup four\n")
+
+ def OnPopupFive(self, event):
+ self.log.WriteText("Popup five\n")
+
+ def OnPopupSix(self, event):
+ self.log.WriteText("Popup six\n")
+
+ def OnPopupSeven(self, event):
+ self.log.WriteText("Popup seven\n")
+
+ def OnPopupEIght(self, event):
+ self.log.WriteText("Popup eight\n")
+
+ def OnPopupNine(self, event):
+ self.log.WriteText("Popup nine\n")
+
+
+
+
+
+#----------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ win = TestPanel(nb, log)
+ return win
+
+#----------------------------------------------------------------------
+
+
+
+overview = """
+PopupMenu
+""" + text + """
+
+"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/PrintFramework.py b/wxPython/demo/PrintFramework.py
index 36c3ea5a2b..d7a78e1dd4 100644
--- a/wxPython/demo/PrintFramework.py
+++ b/wxPython/demo/PrintFramework.py
@@ -79,7 +79,7 @@ class MyPrintout(wxPrintout):
#-------------------------------------------
- self.canvas.DoDrawing(dc)
+ self.canvas.DoDrawing(dc, True)
dc.DrawText("Page: %d" % page, marginX/2, maxY-marginY)
return True
@@ -176,3 +176,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/PyCrust.py b/wxPython/demo/PyCrust.py
index 4d2ae22b32..5bf452e2cc 100644
--- a/wxPython/demo/PyCrust.py
+++ b/wxPython/demo/PyCrust.py
@@ -1,20 +1,18 @@
-
-from wxPython.lib.PyCrust import shell, version
+from wx import py
#----------------------------------------------------------------------
-intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
+intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
def runTest(frame, nb, log):
- win = shell.Shell(nb, -1, introText=intro)
+ win = py.crust.Crust(nb, intro=intro)
return win
#----------------------------------------------------------------------
-overview = shell.__doc__
-
+overview = py.filling.__doc__ + "\n\n" + py.crust.__doc__
if __name__ == '__main__':
import sys,os
diff --git a/wxPython/demo/PyCrustWithFilling.py b/wxPython/demo/PyCrustWithFilling.py
deleted file mode 100644
index a90c61649a..0000000000
--- a/wxPython/demo/PyCrustWithFilling.py
+++ /dev/null
@@ -1,28 +0,0 @@
-
-from wxPython.wx import wxSplitterWindow
-from wxPython.lib.PyCrust import shell, version, filling
-
-
-#----------------------------------------------------------------------
-
-intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
-
-def runTest(frame, nb, log):
- win = wxSplitterWindow(nb, -1, size=(640, 480))
- shellWin = shell.Shell(win, -1, introText=intro)
- fillingWin = filling.Filling(win, -1, size=(640, 480),
- rootObject=shellWin.interp.locals,
- rootIsNamespace=1
- )
- win.SplitHorizontally(shellWin, fillingWin)
- return win
-
-#----------------------------------------------------------------------
-
-overview = filling.__doc__
-
-if __name__ == '__main__':
- import sys,os
- import run
- run.main(['', os.path.basename(sys.argv[0])])
-
diff --git a/wxPython/demo/PyShell.py b/wxPython/demo/PyShell.py
new file mode 100644
index 0000000000..d93fc9b4ca
--- /dev/null
+++ b/wxPython/demo/PyShell.py
@@ -0,0 +1,23 @@
+
+
+from wx import py
+
+
+#----------------------------------------------------------------------
+
+intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
+
+def runTest(frame, nb, log):
+ win = py.shell.Shell(nb, -1, introText=intro)
+ return win
+
+#----------------------------------------------------------------------
+
+overview = py.shell.__doc__
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/PythonEvents.py b/wxPython/demo/PythonEvents.py
index d7454aac6b..98301706ff 100644
--- a/wxPython/demo/PythonEvents.py
+++ b/wxPython/demo/PythonEvents.py
@@ -83,3 +83,10 @@ This demo is a contrived example of defining an event class in wxPython and send
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/ShapedWindow.py b/wxPython/demo/ShapedWindow.py
new file mode 100644
index 0000000000..f5097a91f5
--- /dev/null
+++ b/wxPython/demo/ShapedWindow.py
@@ -0,0 +1,122 @@
+
+from wxPython.wx import *
+import images
+
+#----------------------------------------------------------------------
+
+class TestFrame(wxFrame):
+ def __init__(self, parent, log):
+ self.log = log
+ wxFrame.__init__(self, parent, -1, "Shaped Window",
+ style =
+ wxFRAME_SHAPED
+ | wxSIMPLE_BORDER
+ | wxFRAME_NO_TASKBAR
+ | wxSTAY_ON_TOP
+ )
+
+ self.hasShape = False
+ self.delta = wxPoint(0,0)
+
+ EVT_LEFT_DCLICK(self, self.OnDoubleClick)
+ EVT_LEFT_DOWN(self, self.OnLeftDown)
+ EVT_LEFT_UP(self, self.OnLeftUp)
+ EVT_MOTION(self, self.OnMouseMove)
+ EVT_RIGHT_UP(self, self.OnExit)
+ EVT_PAINT(self, self.OnPaint)
+
+ self.bmp = images.getTuxBitmap()
+ w, h = self.bmp.GetWidth(), self.bmp.GetHeight()
+ self.SetClientSize( (w, h) )
+
+ if wxPlatform != "__WXMAC__":
+ # wxMac clips the tooltip to the window shape, YUCK!!!
+ self.SetToolTipString("Right-click to close the window\n"
+ "Double-click the image to set/unset the window shape")
+
+ if wxPlatform == "__WXGTK__":
+ # wxGTK requires that the window be created before you can
+ # set its shape, so delay the call to SetWindowShape until
+ # this event.
+ EVT_WINDOW_CREATE(self, self.SetWindowShape)
+ else:
+ # On wxMSW and wxMac the window has already been created, so go for it.
+ self.SetWindowShape()
+
+ dc = wxClientDC(self)
+ dc.DrawBitmap(self.bmp, 0,0, True)
+
+
+ def SetWindowShape(self, *evt):
+ # Use the bitmap's mask to determine the region
+ r = wxRegionFromBitmap(self.bmp)
+ self.hasShape = self.SetShape(r)
+
+
+ def OnDoubleClick(self, evt):
+ if self.hasShape:
+ self.SetShape(wxRegion())
+ self.hasShape = False
+ else:
+ self.SetWindowShape()
+
+
+ def OnPaint(self, evt):
+ dc = wxPaintDC(self)
+ dc.DrawBitmap(self.bmp, 0,0, True)
+
+ def OnExit(self, evt):
+ self.Close()
+
+
+ def OnLeftDown(self, evt):
+ self.CaptureMouse()
+ pos = self.ClientToScreen(evt.GetPosition())
+ origin = self.GetPosition()
+ dx = pos.x - origin.x
+ dy = pos.y - origin.y
+ self.delta = wxPoint(dx, dy)
+
+
+ def OnLeftUp(self, evt):
+ if self.HasCapture():
+ self.ReleaseMouse()
+
+
+ def OnMouseMove(self, evt):
+ if evt.Dragging() and evt.LeftIsDown():
+ pos = self.ClientToScreen(evt.GetPosition())
+ fp = (pos.x - self.delta.x, pos.y - self.delta.y)
+ self.Move(fp)
+
+
+#----------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ win = TestFrame(nb, log)
+ frame.otherWin = win
+ win.Show(True)
+
+
+#----------------------------------------------------------------------
+
+
+
+overview = """
+Shaped Window
+
+Top level windows now have a SetShape method that lets you set a
+non-rectangular shape for the window using a wxRegion. All pixels
+outside of the region will not be drawn and the window will not be
+sensitive to the mouse in those areas either.
+
+
+"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/Sizers.py b/wxPython/demo/Sizers.py
index ab95d06fd7..0fb4657edc 100644
--- a/wxPython/demo/Sizers.py
+++ b/wxPython/demo/Sizers.py
@@ -141,11 +141,11 @@ def makeBoxInBox(win):
box.Add(wxButton(win, 1010, "one"), 0, wxEXPAND)
box2 = wxBoxSizer(wxHORIZONTAL)
- box2.AddMany([ (wxButton(win, 1010, "two"), 0, wxEXPAND),
- (wxButton(win, 1010, "three"), 0, wxEXPAND),
- (wxButton(win, 1010, "four"), 0, wxEXPAND),
- (wxButton(win, 1010, "five"), 0, wxEXPAND),
- ])
+ box2.Add(wxButton(win, 1010, "two"), 0, wxEXPAND)
+ btn3 = wxButton(win, 1010, "three")
+ box2.Add(btn3, 0, wxEXPAND)
+ box2.Add(wxButton(win, 1010, "four"), 0, wxEXPAND)
+ box2.Add(wxButton(win, 1010, "five"), 0, wxEXPAND)
box3 = wxBoxSizer(wxVERTICAL)
box3.AddMany([ (wxButton(win, 1010, "six"), 0, wxEXPAND),
@@ -159,6 +159,8 @@ def makeBoxInBox(win):
box.Add(wxButton(win, 1010, "ten"), 0, wxEXPAND)
+ ##box.Hide(btn3)
+
return box
#----------------------------------------------------------------------
diff --git a/wxPython/demo/SlashDot.py b/wxPython/demo/SlashDot.py
deleted file mode 100644
index eb0ded644e..0000000000
--- a/wxPython/demo/SlashDot.py
+++ /dev/null
@@ -1,379 +0,0 @@
-#!/usr/bin/python
-"""This is SlashDot 1.2
-
- It's the obligatory Slashdot.org headlines reader that
-any modern widget set/library must have in order to be taken
-seriously :-)
-
- Usage is quite simple; wxSlash attempts to download the
-'ultramode.txt' file from http://slashdot.org, which
-contains the headlines in a computer friendly format. It
-then displays said headlines in a wxWindows list control.
-
- You can read articles using either Python's html library
-or an external browser. Uncheck the 'browser->internal' menu
-item to use the latter option. Use the settings dialog box
-to set which external browser is started.
-
- This code is available under the wxWindows license, see
-elsewhere. If you modify this code, be aware of the fact
-that slashdot.org's maintainer, CmdrTaco, explicitly asks
-'ultramode.txt' downloaders not to do this automatically
-more than twice per hour. If this feature is abused,
-CmdrTaco may remove the ultramode file completely and that
-will make a *lot* of people unhappy.
-
- I want to thank Alex Shnitman whose slashes.pl
-(Perl/GTK) script gave me the idea for this applet.
-
- Have fun with it,
-
- Harm van der Heijden (H.v.d.Heijden@phys.tue.nl)
-"""
-
-from wxPython.wx import *
-from httplib import HTTP
-from htmllib import HTMLParser
-import os
-import re
-import formatter
-
-class HTMLTextView(wxFrame):
- def __init__(self, parent, id, title='HTMLTextView', url=None):
- wxFrame.__init__(self, parent, id, title, wxPyDefaultPosition,
- wxSize(600,400))
-
- EVT_CLOSE(self, self.OnCloseWindow)
- self.mainmenu = wxMenuBar()
-
- menu = wxMenu()
- menu.Append(201, '&Open URL...', 'Open URL')
- EVT_MENU(self, 201, self.OnFileOpen)
- menu.Append(209, 'E&xit', 'Exit viewer')
- EVT_MENU(self, 209, self.OnFileExit)
-
- self.mainmenu.Append(menu, '&File')
- self.SetMenuBar(self.mainmenu)
- self.CreateStatusBar(1)
-
- self.text = wxTextCtrl(self, -1, "", wxPyDefaultPosition,
- wxPyDefaultSize, wxTE_MULTILINE | wxTE_READONLY)
-
- if (url):
- self.OpenURL(url)
-
- def logprint(self, x):
- self.SetStatusText(x)
-
- def OpenURL(self, url):
- self.url = url
- m = re.match('file:(\S+)\s*', url)
- if m:
- f = open(m.groups()[0],'r')
- else:
- m = re.match('http://([^/]+)(/\S*)\s*', url)
- if m:
- host = m.groups()[0]
- path = m.groups()[1]
- else:
- m = re.match('http://(\S+)\s*', url)
- if not m:
- # Invalid URL
- self.logprint("Invalid or unsupported URL: %s" % (url))
- return
- host = m.groups()[0]
- path = ''
- f = RetrieveAsFile(host,path,self.logprint)
- if not f:
- self.logprint("Could not open %s" % (url))
- return
- self.logprint("Receiving data...")
- data = f.read()
- tmp = open('tmphtml.txt','w')
- fmt = formatter.AbstractFormatter(formatter.DumbWriter(tmp))
- p = HTMLParser(fmt)
- self.logprint("Parsing data...")
- p.feed(data)
- p.close()
- tmp.close()
- tmp = open('tmphtml.txt', 'r')
- self.text.SetValue(tmp.read())
- self.SetTitle(url)
- self.logprint(url)
-
- def OnFileOpen(self, event):
- dlg = wxTextEntryDialog(self, "Enter URL to open:", "")
- if dlg.ShowModal() == wxID_OK:
- url = dlg.GetValue()
- else:
- url = None
- if url:
- self.OpenURL(url)
-
- def OnFileExit(self, event):
- self.Close()
-
- def OnCloseWindow(self, event):
- self.Destroy()
-
-
-def ParseSlashdot(f):
- art_sep = re.compile('%%\r?\n')
- line_sep = re.compile('\r?\n')
- data = f.read()
- list = art_sep.split(data)
- art_list = []
- for i in range(1,len(list)-1):
- art_list.append(line_sep.split(list[i]))
- return art_list
-
-def myprint(x):
- print x
-
-def RetrieveAsFile(host, path='', logprint = myprint):
- try:
- h = HTTP(host)
- except:
- logprint("Failed to create HTTP connection to %s... is the network available?" % (host))
- return None
- h.putrequest('GET',path)
- h.putheader('Accept','text/html')
- h.putheader('Accept','text/plain')
- h.endheaders()
- errcode, errmsg, headers = h.getreply()
- if errcode != 200:
- logprint("HTTP error code %d: %s" % (errcode, errmsg))
- return None
- f = h.getfile()
-# f = open('/home/harm/ultramode.txt','r')
- return f
-
-
-class AppStatusBar(wxStatusBar):
- def __init__(self, parent):
- wxStatusBar.__init__(self,parent, -1)
- self.SetFieldsCount(2)
- self.SetStatusWidths([-1, 100])
- self.but = wxButton(self, 1001, "Refresh")
- EVT_BUTTON(self, 1001, parent.OnViewRefresh)
- EVT_SIZE(self, self.OnSize)
- self.OnSize(None)
-
- def logprint(self,x):
- self.SetStatusText(x,0)
-
- def OnSize(self, event):
- rect = self.GetFieldRect(1)
- self.but.SetPosition(wxPoint(rect.x+2, rect.y+2))
- self.but.SetSize(wxSize(rect.width-4, rect.height-4))
-
-# This is a simple timer class to start a function after a short delay;
-class QuickTimer(wxTimer):
- def __init__(self, func, wait=100):
- wxTimer.__init__(self)
- self.callback = func
- self.Start(wait); # wait .1 second (.001 second doesn't work. why?)
- def Notify(self):
- self.Stop();
- apply(self.callback, ());
-
-class AppFrame(wxFrame):
- def __init__(self, parent, id, title):
- wxFrame.__init__(self, parent, id, title, wxPyDefaultPosition,
- wxSize(650, 250))
-
- # if the window manager closes the window:
- EVT_CLOSE(self, self.OnCloseWindow);
-
- # Now Create the menu bar and items
- self.mainmenu = wxMenuBar()
-
- menu = wxMenu()
- menu.Append(209, 'E&xit', 'Enough of this already!')
- EVT_MENU(self, 209, self.OnFileExit)
- self.mainmenu.Append(menu, '&File')
- menu = wxMenu()
- menu.Append(210, '&Refresh', 'Refresh headlines')
- EVT_MENU(self, 210, self.OnViewRefresh)
- menu.Append(211, '&Slashdot Index', 'View Slashdot index')
- EVT_MENU(self, 211, self.OnViewIndex)
- menu.Append(212, 'Selected &Article', 'View selected article')
- EVT_MENU(self, 212, self.OnViewArticle)
- self.mainmenu.Append(menu, '&View')
- menu = wxMenu()
- menu.Append(220, '&Internal', 'Use internal text browser',True)
- menu.Check(220, True)
- self.UseInternal = 1;
- EVT_MENU(self, 220, self.OnBrowserInternal)
- menu.Append(222, '&Settings...', 'External browser Settings')
- EVT_MENU(self, 222, self.OnBrowserSettings)
- self.mainmenu.Append(menu, '&Browser')
- menu = wxMenu()
- menu.Append(230, '&About', 'Some documentation');
- EVT_MENU(self, 230, self.OnAbout)
- self.mainmenu.Append(menu, '&Help')
-
- self.SetMenuBar(self.mainmenu)
-
- if wxPlatform == '__WXGTK__':
- # I like lynx. Also Netscape 4.5 doesn't react to my cmdline opts
- self.BrowserSettings = "xterm -e lynx %s &"
- elif wxPlatform == '__WXMSW__':
- # netscape 4.x likes to hang out here...
- self.BrowserSettings = '\\progra~1\\Netscape\\Communicator\\Program\\netscape.exe %s'
- else:
- # a wild guess...
- self.BrowserSettings = 'netscape %s'
-
- # A status bar to tell people what's happening
- self.sb = AppStatusBar(self)
- self.SetStatusBar(self.sb)
-
- self.list = wxListCtrl(self, 1100, style=wxLC_REPORT)
- self.list.InsertColumn(0, 'Subject')
- self.list.InsertColumn(1, 'Date')
- self.list.InsertColumn(2, 'Posted by')
- self.list.InsertColumn(3, 'Comments')
- self.list.SetColumnWidth(0, 300)
- self.list.SetColumnWidth(1, 150)
- self.list.SetColumnWidth(2, 100)
- self.list.SetColumnWidth(3, 100)
-
- EVT_LIST_ITEM_SELECTED(self, 1100, self.OnItemSelected)
- EVT_LEFT_DCLICK(self.list, self.OnLeftDClick)
-
- self.logprint("Connecting to slashdot... Please wait.")
- # wxYield doesn't yet work here. That's why we use a timer
- # to make sure that we see some GUI stuff before the slashdot
- # file is transfered.
- self.timer = QuickTimer(self.DoRefresh, 1000)
-
- def logprint(self, x):
- self.sb.logprint(x)
-
- def OnFileExit(self, event):
- self.Destroy()
-
- def DoRefresh(self):
- f = RetrieveAsFile('slashdot.org','/ultramode.txt',self.sb.logprint)
- art_list = ParseSlashdot(f)
- self.list.DeleteAllItems()
- self.url = []
- self.current = -1
- i = 0;
- for article in art_list:
- self.list.InsertStringItem(i, article[0])
- self.list.SetStringItem(i, 1, article[2])
- self.list.SetStringItem(i, 2, article[3])
- self.list.SetStringItem(i, 3, article[6])
- self.url.append(article[1])
- i = i + 1
- self.logprint("File retrieved OK.")
-
- def OnViewRefresh(self, event):
- self.logprint("Connecting to slashdot... Please wait.");
- wxYield()
- self.DoRefresh()
-
- def DoViewIndex(self):
- if self.UseInternal:
- self.view = HTMLTextView(self, -1, 'slashdot.org',
- 'http://slashdot.org')
- self.view.Show(True)
- else:
- self.logprint(self.BrowserSettings % ('http://slashdot.org'))
- #os.system(self.BrowserSettings % ('http://slashdot.org'))
- wxExecute(self.BrowserSettings % ('http://slashdot.org'))
- self.logprint("OK")
-
- def OnViewIndex(self, event):
- self.logprint("Starting browser... Please wait.")
- wxYield()
- self.DoViewIndex()
-
- def DoViewArticle(self):
- if self.current<0: return
- url = self.url[self.current]
- if self.UseInternal:
- self.view = HTMLTextView(self, -1, url, url)
- self.view.Show(True)
- else:
- self.logprint(self.BrowserSettings % (url))
- os.system(self.BrowserSettings % (url))
- self.logprint("OK")
-
- def OnViewArticle(self, event):
- self.logprint("Starting browser... Please wait.")
- wxYield()
- self.DoViewArticle()
-
- def OnBrowserInternal(self, event):
- if self.mainmenu.Checked(220):
- self.UseInternal = 1
- else:
- self.UseInternal = 0
-
- def OnBrowserSettings(self, event):
- dlg = wxTextEntryDialog(self, "Enter command to view URL.\nUse %s as a placeholder for the URL.", "", self.BrowserSettings);
- if dlg.ShowModal() == wxID_OK:
- self.BrowserSettings = dlg.GetValue()
-
- def OnAbout(self, event):
- dlg = wxMessageDialog(self, __doc__, "wxSlash", wxOK | wxICON_INFORMATION)
- dlg.ShowModal()
-
- def OnItemSelected(self, event):
- self.current = event.m_itemIndex
- self.logprint("URL: %s" % (self.url[self.current]))
-
- def OnLeftDClick(self, event):
- (x,y) = event.Position();
- # Actually, we should convert x,y to logical coords using
- # a dc, but only for a wxScrolledWindow widget.
- # Now wxGTK derives wxListCtrl from wxScrolledWindow,
- # and wxMSW from wxControl... So that doesn't work.
- #dc = wxClientDC(self.list)
- ##self.list.PrepareDC(dc)
- #x = dc.DeviceToLogicalX( event.GetX() )
- #y = dc.DeviceToLogicalY( event.GetY() )
- id = self.list.HitTest(wxPoint(x,y))
- #print "Double click at %d %d" % (x,y), id
- # Okay, we got a double click. Let's assume it's the current selection
- wxYield()
- self.OnViewArticle(event)
-
- def OnCloseWindow(self, event):
- self.Destroy()
-
-
-#---------------------------------------------------------------------------
-# if running standalone
-
-if __name__ == '__main__':
- class MyApp(wxApp):
- def OnInit(self):
- frame = AppFrame(None, -1, "Slashdot Breaking News")
- frame.Show(True)
- self.SetTopWindow(frame)
- return True
-
- app = MyApp(0)
- app.MainLoop()
-
-
-
-#---------------------------------------------------------------------------
-# if running as part of the Demo Framework...
-
-def runTest(frame, nb, log):
- win = AppFrame(None, -1, "Slashdot Breaking News")
- frame.otherWin = win
- win.Show(True)
-
-
-overview = __doc__
-
-
-#----------------------------------------------------------------------------
-
-
diff --git a/wxPython/demo/TablePrint.py b/wxPython/demo/TablePrint.py
index 51b075c3da..7b370709d9 100644
--- a/wxPython/demo/TablePrint.py
+++ b/wxPython/demo/TablePrint.py
@@ -205,3 +205,12 @@ when the framework allows for it.
""" % os.path.join(os.path.dirname(wxPython.lib.printout.__file__), "printout.py")
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/Threads.py b/wxPython/demo/Threads.py
index 4c165eeb89..05883731b9 100644
--- a/wxPython/demo/Threads.py
+++ b/wxPython/demo/Threads.py
@@ -244,3 +244,11 @@ ProcessEvent does, it processes it later from the context of the GUI
thread.
"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/URLDragAndDrop.py b/wxPython/demo/URLDragAndDrop.py
index 16b3b96006..51c1a340ad 100644
--- a/wxPython/demo/URLDragAndDrop.py
+++ b/wxPython/demo/URLDragAndDrop.py
@@ -121,3 +121,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/Unicode.py b/wxPython/demo/Unicode.py
index c6910a05c4..ec8a052bf9 100644
--- a/wxPython/demo/Unicode.py
+++ b/wxPython/demo/Unicode.py
@@ -139,3 +139,12 @@ and then pass the unicode to the wxPython method.
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/XMLtreeview.py b/wxPython/demo/XMLtreeview.py
index d57642958e..081ac5f0f6 100644
--- a/wxPython/demo/XMLtreeview.py
+++ b/wxPython/demo/XMLtreeview.py
@@ -110,3 +110,11 @@ else:
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/bmp_source/Tux.png b/wxPython/demo/bmp_source/Tux.png
new file mode 100644
index 0000000000000000000000000000000000000000..fcc18c1296d650b9ad75f9dc61b15d6cb0d09b03
GIT binary patch
literal 31315
zcmbrlRa9JE&@I}yO9;}qO9;V&y9IX-?(PJK4xZo^+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=0_ER;Ai-jK-_l9X9nW1-wy`TeM-E)ijDDMjZ*2l}s_KS-Ox(
z4sd2;sUDpaQC2EiVG2$$v0nx5PBdu=Hkzvs)n*9?YBuS+ms~+X3WpiD0+i7XH
zUeRa(G}@?a?2|R9AD3P=o~)f!hl^US&p7#M`}F1pRLrP!SgBi$OB0wZuzrRLeVE*%
z_Ls&p6&3d>wK`gK6DTDK^GQVn{hNh&j_WQ4%Lnh7DqOpLd*QE*TpE>nRsI0P-86~V
zPI=>77_rMSKF$X`obrvAPKZ8pu7KD?Jg
zinX=q)z3IMPcwjbqnfmJ*3(u_FO#c2G*GJiZnaQj|7U!rNtO!0EdVuS1o1JCwR6PFU!o1
zd-48oYQmkRm%`&aI(MR#<)uO3`Kl(|0Ty9J*g%>iT82t&?L87E?3Md|g!@1M-jJy&
z7;|3Qw2vTTQ(>GyEG60gd-F1YsD&WJDS-*xDB&KXLzQ>ukHr3B@FPH#?x%xHrr}q;
z9Fv{QMZhAhTt~lmJS7iNs`?n`M8p~?99gHXd#a?2q
zTi&Gw|IVXq7nc%Ph@F|VBrgLJi6>IlSW8x2#tq>T=4hKhT+m!
zAT8yZy)1~NhVu$i=rPfu+`Iyh6Z&&Ns
zPBxpYnQ)PaQGhE)8i-@x;qE%5(&8M?HV2lZQjh8N=O&t(zc+dbq?cBTCuUNuWFQUH
zgH+OLLlSHzILN#@JS;rYXyKCZKs5k>e|jKy+RYTJ!js%9ZVu-2a`>j{?{Q%e0N?rpQaBz@6%E99=d4q6BAl$=_$A
z^9a~jSy`QeKmWsn{aabNEX=}Ux4ZxrW2%y{NGS@31-&c=EMN
-/home/others/projects/wx2.3/contrib/include/wx/stc/stc.h.html
-
+/home/work/projects/wx2.4/contrib/include/wx/stc/stc.h.html
+
@@ -31,6 +31,30 @@
#include <wx/wx.h>
#include <wx/dnd.h>
+#ifndef SWIG
+/*
+ * If we're using wx in Dynamic Library format do we
+ * want wxStyledTextCtrl to be in DLL form as well?
+ */
+#if defined(WXUSINGDLL) && \
+ (defined(WXMAKING_STC_DLL) || defined(WXUSING_STC_DLL))
+
+#if defined(WXMAKING_STC_DLL)
+ // When building the DLL WXSTC_DECLSPEC exports classes
+# define WXSTC_DECLSPEC WXEXPORT
+#elif defined(WXUSING_STC_DLL)
+ // When using the DLL WXSTC_DECLSPEC imports classes
+# define WXSTC_DECLSPEC WXIMPORT
+#endif // defined(WXBUILD_STC_DLL)
+
+#else
+// When building the static library nullify the effect of WXSTC_DECLSPEC
+#define WXSTC_DECLSPEC
+#endif // WXUSINGDLL && (WXMAKING_STC_DLL || WXUSING_STC_DLL)
+
+#endif // SWIG
+
+
//----------------------------------------------------------------------
// Should a wxPopupWindow be used for the call tips and autocomplete windows?
@@ -50,12 +74,6 @@
#define wxSTC_START 2000
#define wxSTC_OPTIONAL_START 3000
#define wxSTC_LEXER_START 4000
-
-// Redoes the next action on the undo history.
-#define wxSTC_CMD_REDO 2011
-
-// Select all the text in the document.
-#define wxSTC_CMD_SELECTALL 2013
#define wxSTC_WS_INVISIBLE 0
#define wxSTC_WS_VISIBLEALWAYS 1
#define wxSTC_WS_VISIBLEAFTERINDENT 2
@@ -66,6 +84,9 @@
// The SC_CP_UTF8 value can be used to enter Unicode mode.
// This is the same value as CP_UTF8 in Windows
#define wxSTC_CP_UTF8 65001
+
+// The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
+#define wxSTC_CP_DBCS 1
#define wxSTC_MARKER_MAX 31
#define wxSTC_MARK_CIRCLE 0
#define wxSTC_MARK_ROUNDRECT 1
@@ -96,6 +117,7 @@
#define wxSTC_MARK_BACKGROUND 22
#define wxSTC_MARK_DOTDOTDOT 23
#define wxSTC_MARK_ARROWS 24
+#define wxSTC_MARK_PIXMAP 25
#define wxSTC_MARK_CHARACTER 10000
// Markers used for outlining column.
@@ -174,22 +196,20 @@
#define wxSTC_FIND_MATCHCASE 4
#define wxSTC_FIND_WORDSTART 0x00100000
#define wxSTC_FIND_REGEXP 0x00200000
-
-// Undo one action in the undo history.
-#define wxSTC_CMD_UNDO 2176
-
-// Cut the selection to the clipboard.
-#define wxSTC_CMD_CUT 2177
-
-// Copy the selection to the clipboard.
-#define wxSTC_CMD_COPY 2178
-
-// Paste the contents of the clipboard into the document replacing the selection.
-#define wxSTC_CMD_PASTE 2179
#define wxSTC_FOLDLEVELBASE 0x400
#define wxSTC_FOLDLEVELWHITEFLAG 0x1000
#define wxSTC_FOLDLEVELHEADERFLAG 0x2000
+#define wxSTC_FOLDLEVELBOXHEADERFLAG 0x4000
+#define wxSTC_FOLDLEVELBOXFOOTERFLAG 0x8000
+#define wxSTC_FOLDLEVELCONTRACTED 0x10000
+#define wxSTC_FOLDLEVELUNINDENT 0x20000
#define wxSTC_FOLDLEVELNUMBERMASK 0x0FFF
+#define wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED 0x0002
+#define wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED 0x0004
+#define wxSTC_FOLDFLAG_LINEAFTER_EXPANDED 0x0008
+#define wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED 0x0010
+#define wxSTC_FOLDFLAG_LEVELNUMBERS 0x0040
+#define wxSTC_FOLDFLAG_BOX 0x0001
#define wxSTC_TIME_FOREVER 10000000
#define wxSTC_WRAP_NONE 0
#define wxSTC_WRAP_WORD 1
@@ -197,163 +217,11 @@
#define wxSTC_CACHE_CARET 1
#define wxSTC_CACHE_PAGE 2
#define wxSTC_CACHE_DOCUMENT 3
-
-// Move caret down one line.
-#define wxSTC_CMD_LINEDOWN 2300
-
-// Move caret down one line extending selection to new caret position.
-#define wxSTC_CMD_LINEDOWNEXTEND 2301
-
-// Move caret up one line.
-#define wxSTC_CMD_LINEUP 2302
-
-// Move caret up one line extending selection to new caret position.
-#define wxSTC_CMD_LINEUPEXTEND 2303
-
-// Move caret left one character.
-#define wxSTC_CMD_CHARLEFT 2304
-
-// Move caret left one character extending selection to new caret position.
-#define wxSTC_CMD_CHARLEFTEXTEND 2305
-
-// Move caret right one character.
-#define wxSTC_CMD_CHARRIGHT 2306
-
-// Move caret right one character extending selection to new caret position.
-#define wxSTC_CMD_CHARRIGHTEXTEND 2307
-
-// Move caret left one word.
-#define wxSTC_CMD_WORDLEFT 2308
-
-// Move caret left one word extending selection to new caret position.
-#define wxSTC_CMD_WORDLEFTEXTEND 2309
-
-// Move caret right one word.
-#define wxSTC_CMD_WORDRIGHT 2310
-
-// Move caret right one word extending selection to new caret position.
-#define wxSTC_CMD_WORDRIGHTEXTEND 2311
-
-// Move caret to first position on line.
-#define wxSTC_CMD_HOME 2312
-
-// Move caret to first position on line extending selection to new caret position.
-#define wxSTC_CMD_HOMEEXTEND 2313
-
-// Move caret to last position on line.
-#define wxSTC_CMD_LINEEND 2314
-
-// Move caret to last position on line extending selection to new caret position.
-#define wxSTC_CMD_LINEENDEXTEND 2315
-
-// Move caret to first position in document.
-#define wxSTC_CMD_DOCUMENTSTART 2316
-
-// Move caret to first position in document extending selection to new caret position.
-#define wxSTC_CMD_DOCUMENTSTARTEXTEND 2317
-
-// Move caret to last position in document.
-#define wxSTC_CMD_DOCUMENTEND 2318
-
-// Move caret to last position in document extending selection to new caret position.
-#define wxSTC_CMD_DOCUMENTENDEXTEND 2319
-
-// Move caret one page up.
-#define wxSTC_CMD_PAGEUP 2320
-
-// Move caret one page up extending selection to new caret position.
-#define wxSTC_CMD_PAGEUPEXTEND 2321
-
-// Move caret one page down.
-#define wxSTC_CMD_PAGEDOWN 2322
-
-// Move caret one page down extending selection to new caret position.
-#define wxSTC_CMD_PAGEDOWNEXTEND 2323
-
-// Switch from insert to overtype mode or the reverse.
-#define wxSTC_CMD_EDITTOGGLEOVERTYPE 2324
-
-// Cancel any modes such as call tip or auto-completion list display.
-#define wxSTC_CMD_CANCEL 2325
-
-// Delete the selection or if no selection, the character before the caret.
-#define wxSTC_CMD_DELETEBACK 2326
-
-// If selection is empty or all on one line replace the selection with a tab character.
-// If more than one line selected, indent the lines.
-#define wxSTC_CMD_TAB 2327
-
-// Dedent the selected lines.
-#define wxSTC_CMD_BACKTAB 2328
-
-// Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
-#define wxSTC_CMD_NEWLINE 2329
-
-// Insert a Form Feed character.
-#define wxSTC_CMD_FORMFEED 2330
-
-// Move caret to before first visible character on line.
-// If already there move to first character on line.
-#define wxSTC_CMD_VCHOME 2331
-
-// Like VCHome but extending selection to new caret position.
-#define wxSTC_CMD_VCHOMEEXTEND 2332
-
-// Magnify the displayed text by increasing the sizes by 1 point.
-#define wxSTC_CMD_ZOOMIN 2333
-
-// Make the displayed text smaller by decreasing the sizes by 1 point.
-#define wxSTC_CMD_ZOOMOUT 2334
-
-// Delete the word to the left of the caret.
-#define wxSTC_CMD_DELWORDLEFT 2335
-
-// Delete the word to the right of the caret.
-#define wxSTC_CMD_DELWORDRIGHT 2336
-
-// Cut the line containing the caret.
-#define wxSTC_CMD_LINECUT 2337
-
-// Delete the line containing the caret.
-#define wxSTC_CMD_LINEDELETE 2338
-
-// Switch the current line with the previous.
-#define wxSTC_CMD_LINETRANSPOSE 2339
-
-// Transform the selection to lower case.
-#define wxSTC_CMD_LOWERCASE 2340
-
-// Transform the selection to upper case.
-#define wxSTC_CMD_UPPERCASE 2341
-
-// Scroll the document down, keeping the caret visible.
-#define wxSTC_CMD_LINESCROLLDOWN 2342
-
-// Scroll the document up, keeping the caret visible.
-#define wxSTC_CMD_LINESCROLLUP 2343
-
-// Delete the selection or if no selection, the character before the caret.
-// Will not delete the character before at the start of a line.
-#define wxSTC_CMD_DELETEBACKNOTLINE 2344
-
-// Move caret to first position on display line.
-#define wxSTC_CMD_HOMEDISPLAY 2345
-
-// Move caret to first position on display line extending selection to
-// new caret position.
-#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346
-
-// Move caret to last position on display line.
-#define wxSTC_CMD_LINEENDDISPLAY 2347
-
-// Move caret to last position on display line extending selection to new
-// caret position.
-#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348
#define wxSTC_EDGE_NONE 0
#define wxSTC_EDGE_LINE 1
#define wxSTC_EDGE_BACKGROUND 2
#define wxSTC_CURSORNORMAL - 1
-#define wxSTC_CURSORWAIT 3
+#define wxSTC_CURSORWAIT 4
// Constants for use with SetVisiblePolicy, similar to SetCaretPolicy.
#define wxSTC_VISIBLE_SLOP 0x01
@@ -461,6 +329,11 @@
#define wxSTC_LEX_BAAN 31
#define wxSTC_LEX_MATLAB 32
#define wxSTC_LEX_SCRIPTOL 33
+#define wxSTC_LEX_ASM 34
+#define wxSTC_LEX_CPPNOCASE 35
+#define wxSTC_LEX_FORTRAN 36
+#define wxSTC_LEX_F77 37
+#define wxSTC_LEX_CSS 38
// When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
// value assigned in sequence from SCLEX_AUTOMATIC+1.
@@ -729,6 +602,7 @@
#define wxSTC_ERR_DIFF_ADDITION 11
#define wxSTC_ERR_DIFF_DELETION 12
#define wxSTC_ERR_DIFF_MESSAGE 13
+#define wxSTC_ERR_PHP 14
// Lexical states for SCLEX_BATCH
#define wxSTC_BAT_DEFAULT 0
@@ -775,24 +649,31 @@
#define wxSTC_AVE_COMMENT 1
#define wxSTC_AVE_NUMBER 2
#define wxSTC_AVE_WORD 3
-#define wxSTC_AVE_KEYWORD 4
-#define wxSTC_AVE_STATEMENT 5
#define wxSTC_AVE_STRING 6
#define wxSTC_AVE_ENUM 7
#define wxSTC_AVE_STRINGEOL 8
#define wxSTC_AVE_IDENTIFIER 9
#define wxSTC_AVE_OPERATOR 10
+#define wxSTC_AVE_WORD1 11
+#define wxSTC_AVE_WORD2 12
+#define wxSTC_AVE_WORD3 13
+#define wxSTC_AVE_WORD4 14
+#define wxSTC_AVE_WORD5 15
+#define wxSTC_AVE_WORD6 16
// Lexical states for SCLEX_ADA
#define wxSTC_ADA_DEFAULT 0
-#define wxSTC_ADA_COMMENT 1
-#define wxSTC_ADA_NUMBER 2
-#define wxSTC_ADA_WORD 3
-#define wxSTC_ADA_STRING 4
+#define wxSTC_ADA_WORD 1
+#define wxSTC_ADA_IDENTIFIER 2
+#define wxSTC_ADA_NUMBER 3
+#define wxSTC_ADA_DELIMITER 4
#define wxSTC_ADA_CHARACTER 5
-#define wxSTC_ADA_OPERATOR 6
-#define wxSTC_ADA_IDENTIFIER 7
+#define wxSTC_ADA_CHARACTEREOL 6
+#define wxSTC_ADA_STRING 7
#define wxSTC_ADA_STRINGEOL 8
+#define wxSTC_ADA_LABEL 9
+#define wxSTC_ADA_COMMENTLINE 10
+#define wxSTC_ADA_ILLEGAL 11
// Lexical states for SCLEX_BAAN
#define wxSTC_BAAN_DEFAULT 0
@@ -873,6 +754,252 @@
#define wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR 18
#define wxSTC_SCRIPTOL_COMMENTBASIC 19
+// Lexical states for SCLEX_ASM
+#define wxSTC_ASM_DEFAULT 0
+#define wxSTC_ASM_COMMENT 1
+#define wxSTC_ASM_NUMBER 2
+#define wxSTC_ASM_STRING 3
+#define wxSTC_ASM_OPERATOR 4
+#define wxSTC_ASM_IDENTIFIER 5
+#define wxSTC_ASM_CPUINSTRUCTION 6
+#define wxSTC_ASM_MATHINSTRUCTION 7
+#define wxSTC_ASM_REGISTER 8
+#define wxSTC_ASM_DIRECTIVE 9
+#define wxSTC_ASM_DIRECTIVEOPERAND 10
+
+// Lexical states for SCLEX_FORTRAN
+#define wxSTC_F_DEFAULT 0
+#define wxSTC_F_COMMENT 1
+#define wxSTC_F_NUMBER 2
+#define wxSTC_F_STRING1 3
+#define wxSTC_F_STRING2 4
+#define wxSTC_F_STRINGEOL 5
+#define wxSTC_F_OPERATOR 6
+#define wxSTC_F_IDENTIFIER 7
+#define wxSTC_F_WORD 8
+#define wxSTC_F_WORD2 9
+#define wxSTC_F_WORD3 10
+#define wxSTC_F_PREPROCESSOR 11
+#define wxSTC_F_OPERATOR2 12
+#define wxSTC_F_LABEL 13
+#define wxSTC_F_CONTINUATION 14
+
+// Lexical states for SCLEX_CSS
+#define wxSTC_CSS_DEFAULT 0
+#define wxSTC_CSS_TAG 1
+#define wxSTC_CSS_CLASS 2
+#define wxSTC_CSS_PSEUDOCLASS 3
+#define wxSTC_CSS_UNKNOWN_PSEUDOCLASS 4
+#define wxSTC_CSS_OPERATOR 5
+#define wxSTC_CSS_IDENTIFIER 6
+#define wxSTC_CSS_UNKNOWN_IDENTIFIER 7
+#define wxSTC_CSS_VALUE 8
+#define wxSTC_CSS_COMMENT 9
+#define wxSTC_CSS_ID 10
+#define wxSTC_CSS_IMPORTANT 11
+#define wxSTC_CSS_DIRECTIVE 12
+
+
+//-----------------------------------------
+// Commands that can be bound to keystrokes
+
+// Redoes the next action on the undo history.
+#define wxSTC_CMD_REDO 2011
+
+// Select all the text in the document.
+#define wxSTC_CMD_SELECTALL 2013
+
+// Undo one action in the undo history.
+#define wxSTC_CMD_UNDO 2176
+
+// Cut the selection to the clipboard.
+#define wxSTC_CMD_CUT 2177
+
+// Copy the selection to the clipboard.
+#define wxSTC_CMD_COPY 2178
+
+// Paste the contents of the clipboard into the document replacing the selection.
+#define wxSTC_CMD_PASTE 2179
+
+// Clear the selection.
+#define wxSTC_CMD_CLEAR 2180
+
+// Move caret down one line.
+#define wxSTC_CMD_LINEDOWN 2300
+
+// Move caret down one line extending selection to new caret position.
+#define wxSTC_CMD_LINEDOWNEXTEND 2301
+
+// Move caret up one line.
+#define wxSTC_CMD_LINEUP 2302
+
+// Move caret up one line extending selection to new caret position.
+#define wxSTC_CMD_LINEUPEXTEND 2303
+
+// Move caret left one character.
+#define wxSTC_CMD_CHARLEFT 2304
+
+// Move caret left one character extending selection to new caret position.
+#define wxSTC_CMD_CHARLEFTEXTEND 2305
+
+// Move caret right one character.
+#define wxSTC_CMD_CHARRIGHT 2306
+
+// Move caret right one character extending selection to new caret position.
+#define wxSTC_CMD_CHARRIGHTEXTEND 2307
+
+// Move caret left one word.
+#define wxSTC_CMD_WORDLEFT 2308
+
+// Move caret left one word extending selection to new caret position.
+#define wxSTC_CMD_WORDLEFTEXTEND 2309
+
+// Move caret right one word.
+#define wxSTC_CMD_WORDRIGHT 2310
+
+// Move caret right one word extending selection to new caret position.
+#define wxSTC_CMD_WORDRIGHTEXTEND 2311
+
+// Move caret to first position on line.
+#define wxSTC_CMD_HOME 2312
+
+// Move caret to first position on line extending selection to new caret position.
+#define wxSTC_CMD_HOMEEXTEND 2313
+
+// Move caret to last position on line.
+#define wxSTC_CMD_LINEEND 2314
+
+// Move caret to last position on line extending selection to new caret position.
+#define wxSTC_CMD_LINEENDEXTEND 2315
+
+// Move caret to first position in document.
+#define wxSTC_CMD_DOCUMENTSTART 2316
+
+// Move caret to first position in document extending selection to new caret position.
+#define wxSTC_CMD_DOCUMENTSTARTEXTEND 2317
+
+// Move caret to last position in document.
+#define wxSTC_CMD_DOCUMENTEND 2318
+
+// Move caret to last position in document extending selection to new caret position.
+#define wxSTC_CMD_DOCUMENTENDEXTEND 2319
+
+// Move caret one page up.
+#define wxSTC_CMD_PAGEUP 2320
+
+// Move caret one page up extending selection to new caret position.
+#define wxSTC_CMD_PAGEUPEXTEND 2321
+
+// Move caret one page down.
+#define wxSTC_CMD_PAGEDOWN 2322
+
+// Move caret one page down extending selection to new caret position.
+#define wxSTC_CMD_PAGEDOWNEXTEND 2323
+
+// Switch from insert to overtype mode or the reverse.
+#define wxSTC_CMD_EDITTOGGLEOVERTYPE 2324
+
+// Cancel any modes such as call tip or auto-completion list display.
+#define wxSTC_CMD_CANCEL 2325
+
+// Delete the selection or if no selection, the character before the caret.
+#define wxSTC_CMD_DELETEBACK 2326
+
+// If selection is empty or all on one line replace the selection with a tab character.
+// If more than one line selected, indent the lines.
+#define wxSTC_CMD_TAB 2327
+
+// Dedent the selected lines.
+#define wxSTC_CMD_BACKTAB 2328
+
+// Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
+#define wxSTC_CMD_NEWLINE 2329
+
+// Insert a Form Feed character.
+#define wxSTC_CMD_FORMFEED 2330
+
+// Move caret to before first visible character on line.
+// If already there move to first character on line.
+#define wxSTC_CMD_VCHOME 2331
+
+// Like VCHome but extending selection to new caret position.
+#define wxSTC_CMD_VCHOMEEXTEND 2332
+
+// Magnify the displayed text by increasing the sizes by 1 point.
+#define wxSTC_CMD_ZOOMIN 2333
+
+// Make the displayed text smaller by decreasing the sizes by 1 point.
+#define wxSTC_CMD_ZOOMOUT 2334
+
+// Delete the word to the left of the caret.
+#define wxSTC_CMD_DELWORDLEFT 2335
+
+// Delete the word to the right of the caret.
+#define wxSTC_CMD_DELWORDRIGHT 2336
+
+// Cut the line containing the caret.
+#define wxSTC_CMD_LINECUT 2337
+
+// Delete the line containing the caret.
+#define wxSTC_CMD_LINEDELETE 2338
+
+// Switch the current line with the previous.
+#define wxSTC_CMD_LINETRANSPOSE 2339
+
+// Duplicate the current line.
+#define wxSTC_CMD_LINEDUPLICATE 2404
+
+// Transform the selection to lower case.
+#define wxSTC_CMD_LOWERCASE 2340
+
+// Transform the selection to upper case.
+#define wxSTC_CMD_UPPERCASE 2341
+
+// Scroll the document down, keeping the caret visible.
+#define wxSTC_CMD_LINESCROLLDOWN 2342
+
+// Scroll the document up, keeping the caret visible.
+#define wxSTC_CMD_LINESCROLLUP 2343
+
+// Delete the selection or if no selection, the character before the caret.
+// Will not delete the character before at the start of a line.
+#define wxSTC_CMD_DELETEBACKNOTLINE 2344
+
+// Move caret to first position on display line.
+#define wxSTC_CMD_HOMEDISPLAY 2345
+
+// Move caret to first position on display line extending selection to
+// new caret position.
+#define wxSTC_CMD_HOMEDISPLAYEXTEND 2346
+
+// Move caret to last position on display line.
+#define wxSTC_CMD_LINEENDDISPLAY 2347
+
+// Move caret to last position on display line extending selection to new
+// caret position.
+#define wxSTC_CMD_LINEENDDISPLAYEXTEND 2348
+
+// Move to the previous change in capitalisation.
+#define wxSTC_CMD_WORDPARTLEFT 2390
+
+// Move to the previous change in capitalisation extending selection
+// to new caret position.
+#define wxSTC_CMD_WORDPARTLEFTEXTEND 2391
+
+// Move to the change next in capitalisation.
+#define wxSTC_CMD_WORDPARTRIGHT 2392
+
+// Move to the next change in capitalisation extending selection
+// to new caret position.
+#define wxSTC_CMD_WORDPARTRIGHTEXTEND 2393
+
+// Delete back from the current position to the start of the line.
+#define wxSTC_CMD_DELLINELEFT 2395
+
+// Delete forwards from the current position to the end of the line.
+#define wxSTC_CMD_DELLINERIGHT 2396
+
+
// END of generated section
//----------------------------------------------------------------------
@@ -880,8 +1007,11 @@
class WordList;
struct SCNotification;
-
-extern const wxChar* wxSTCNameStr;
+#ifndef SWIG
+extern WXSTC_DECLSPEC const wxChar* wxSTCNameStr;
+class WXSTC_DECLSPEC wxStyledTextCtrl;
+class WXSTC_DECLSPEC wxStyledTextEvent;
+#endif
//----------------------------------------------------------------------
@@ -1043,8 +1173,8 @@
// Set the symbol used for a particular marker number,
// and optionally the fore and background colours.
void MarkerDefine(int markerNumber, int markerSymbol,
- const wxColour& foreground = wxNullColour,
- const wxColour& background = wxNullColour);
+ const wxColour& foreground = wxNullColour,
+ const wxColour& background = wxNullColour);
// Set the foreground colour used for a particular marker number.
void MarkerSetForeground(int markerNumber, const wxColour& fore);
@@ -1070,6 +1200,9 @@
// Find the previous line before lineStart that includes a marker in mask.
int MarkerPrevious(int lineStart, int markerMask);
+ // Define a marker from a bitmap
+ void MarkerDefineBitmap(int markerNumber, const wxBitmap& bmp);
+
// Set a margin to be either numeric or symbolic.
void SetMarginType(int margin, int marginType);
@@ -1291,6 +1424,19 @@
// after the inserted text upon completion.
bool AutoCompGetDropRestOfWord();
+ // Register an image for use in autocompletion lists.
+ void RegisterImage(int type, const wxBitmap& bmp);
+
+ // Clear all the registered images.
+ void ClearRegisteredImages();
+
+ // Retrieve the auto-completion list type-separator character.
+ int AutoCompGetTypeSeparator();
+
+ // Change the type-separator character in the string setting up an auto-completion list.
+ // Default is '?' but can be changed if items contain '?'.
+ void AutoCompSetTypeSeparator(int separatorCharacter);
+
// Set the number of spaces used for one level of indentation.
void SetIndent(int indentSize);
@@ -1379,14 +1525,14 @@
// On Windows, will draw the document into a display context such as a printer.
int FormatRange(bool doDraw,
- int startPos,
- int endPos,
- wxDC* draw,
- wxDC* target, // Why does it use two? Can they be the same?
- wxRect renderRect,
- wxRect pageRect);
-
- // Retrieve the line at the top of the display.
+ int startPos,
+ int endPos,
+ wxDC* draw,
+ wxDC* target, // Why does it use two? Can they be the same?
+ wxRect renderRect,
+ wxRect pageRect);
+
+ // Retrieve the display line at the top of the display.
int GetFirstVisibleLine();
// Retrieve the contents of a line.
@@ -1582,7 +1728,7 @@
// Ensure a particular line is visible by expanding any header line hiding it.
void EnsureVisible(int line);
- // Set some debugging options for folding.
+ // Set some style options for folding.
void SetFoldFlags(int flags);
// Ensure a particular line is visible by expanding any header line hiding it.
@@ -1648,17 +1794,51 @@
// Retrieve the height of a particular line of text in pixels.
int TextHeight(int line);
+ // Show or hide the vertical scroll bar.
+ void SetUseVerticalScrollBar(bool show);
+
+ // Is the vertical scroll bar visible?
+ bool GetUseVerticalScrollBar();
+
+ // Append a string to the end of the document without changing the selection.
+ void AppendText(int length, const wxString& text);
+
+ // Is drawing done in two phases with backgrounds drawn before foregrounds?
+ bool GetTwoPhaseDraw();
+
+ // In twoPhaseDraw mode, drawing is performed in two phases, first the background
+ // and then the foreground. This avoids chopping off characters that overlap the next run.
+ void SetTwoPhaseDraw(bool twoPhase);
+
+ // Make the target range start and end be the same as the selection range start and end.
+ void TargetFromSelection();
+
+ // Join the lines in the target.
+ // This is an experimental feature and may be changed or removed.
+ void LinesJoin();
+
+ // Split the lines in the target into lines that are less wide than pixelWidth
+ // where possible.
+ void LinesSplit(int pixelWidth);
+
+ // Set the colours used as a chequerboard pattern in the fold margin
+ void SetFoldMarginColour(bool useSetting, const wxColour& back);
+ void SetFoldMarginHiColour(bool useSetting, const wxColour& fore);
+
+ // Duplicate the current line.
+ void LineDuplicate();
+
// Move caret to first position on display line.
void HomeDisplay();
- // Move caret to first position on display line extending selection to
+ // Move caret to first position on display line extending selection to
// new caret position.
void HomeDisplayExtend();
// Move caret to last position on display line.
void LineEndDisplay();
- // Move caret to last position on display line extending selection to new
+ // Move caret to last position on display line extending selection to new
// caret position.
void LineEndDisplayExtend();
@@ -1812,6 +1992,9 @@
void SetXOffset(int newOffset);
int GetXOffset();
+ // Set the last x chosen value to be the caret x position
+ void ChooseCaretX();
+
// Set the way the caret is kept visible when going sideway.
// The exclusion zone is given in pixels.
void SetXCaretPolicy(int caretPolicy, int caretSlop);
@@ -1820,6 +2003,12 @@
// The exclusion zone is given in lines.
void SetYCaretPolicy(int caretPolicy, int caretSlop);
+ // Set printing to line wrapped (SC_WRAP_WORD) or not line wrapped (SC_WRAP_NONE).
+ void SetPrintWrapMode(int mode);
+
+ // Is printing line wrapped.
+ int GetPrintWrapMode();
+
// Start notifying the container of all key presses and commands.
void StartRecord();
@@ -1940,6 +2129,7 @@
void OnMouseMove(wxMouseEvent& evt);
void OnMouseLeftUp(wxMouseEvent& evt);
void OnMouseRightUp(wxMouseEvent& evt);
+ void OnMouseMiddleUp(wxMouseEvent& evt);
void OnContextMenu(wxContextMenuEvent& evt);
void OnMouseWheel(wxMouseEvent& evt);
void OnChar(wxKeyEvent& evt);
@@ -1975,7 +2165,7 @@
//----------------------------------------------------------------------
-// SWIG can't handle "#if" type of conditionals, onlu "#ifdef"
+// SWIG can't handle "#if" type of conditionals, only "#ifdef"
#ifdef SWIG
#define STC_USE_DND 1
#else
diff --git a/wxPython/demo/data/wxPackage.html b/wxPython/demo/data/wxPackage.html
new file mode 100644
index 0000000000..5b2fb06588
--- /dev/null
+++ b/wxPython/demo/data/wxPackage.html
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+The wxPython wx Package
+
+
+
+
+
+
+
+
The wxPython wx Package
+
Or, how to survive the new wx namespace changes.
+
+
+
+
+Author:
+Patrick K. O'Brien
+Contact:
+pobrien@orbtech.com
+Organization:
+Orbtech
+Date:
+2003-05-08
+Revision:
+1.1.2.4
+
+
+
+
+
+
Big things sometimes come in small packages. This is certainly true
+of the new wx package, which is being introduced in wxPython 2.4.1 as
+a way to allow the "wx" prefix to be dropped from the names of all
+wxPython classes, functions, and constants. This document should
+answer all the questions you might have concerning the new wx package.
+If not, feel free to contact the author. I hope you like the new wx
+package as much as I do.
+
+
+
+
This change is being made for a couple of reasons. The first reason
+is to discourage the use of import * , which is a dangerous
+technique that can create name conflicts and bloated namespaces.
+
The second reason is to remove what some perceive to be a "wart." For
+example, the following code is rather ugly in that the "wx" prefix on
+the wxFrame class name is no longer useful when you're using the wx
+module prefix:
+
+from wxPython import wx
+
+class Frame(wx.wxFrame)
+
+
The new wx package allows you to write code like this, instead:
+
+import wx
+
+class Frame(wx.Frame)
+
+
The third reason is that the wxWindows project intends to do the same
+thing (implement a new wx namespace and drop the "wx" prefix) and we
+want wxPython to lead the way.
+
+
+
+
As a way of getting to this new syntax as quickly as possible, the
+code in this new wx package was created. What it does is alter the
+existing wx namespace dynamically. By making the changes on-the-fly
+at runtime, we can try out the new syntax before any permanent changes
+are made to the underlying class library. The downside of making
+these changes at runtime is that there is a slight delay when you
+import wx ; the upside is that you can start using the new syntax
+now.
+
+
+
+
No. Your existing code will continue to work and be supported for
+some time. It will be up to you to decide when to switch to the new
+syntax. But all new documentation and code examples will use the new
+syntax. So don't wait too long. You wouldn't want anyone calling you
+old-fashioned, would you?
+
+
+
+
It's pretty simple, and pretty clever. The wx directory contains an
+__init__.py file, making it a Python package. (In contrast, the
+old wxPython.wx module is a module, not a package.) When you import
+wx the code in the __init__.py file is executed, and that's
+where all the magic takes place. Let's take a look at the code inside
+the __init__.py file:
+
+"""wx package
+
+Provides a way to drop the wx prefix from wxPython objects."""
+
+__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
+__cvsid__ = "$Id$"
+__revision__ = "$Revision$"[11:-2]
+
+from wxPython import wx
+
+import types
+
+d_new = globals()
+d_old = wx.__dict__
+
+for old, obj in d_old.items():
+ if type(obj) is types.ModuleType or old.startswith('_'):
+ # Skip modules and private names.
+ continue
+ new = old
+ if old.startswith('EVT_'):
+ # Leave name unmodified; add to the new wx namespace.
+ d_new[new] = obj
+ elif old.startswith('wxEVT_'):
+ # Leave name unmodified; add to the new wx namespace.
+ d_new[new] = obj
+ else:
+ if old.startswith('wx'):
+ # Remove the 'wx' prefix.
+ new = old[2:]
+ # Add to the new wx package namespace.
+ d_new[new] = obj
+
+del d_new
+del d_old
+del new
+del obj
+del old
+del types
+
+del wx
+
+
+
Namespaces in Python are implemented as dictionaries. The dictionary
+used to create the wx package's namespace is accessible using the
+globals() function. The dictionary used to create the old
+wxPython.wx module's namespace is wx.__dict__ . Once we have these
+two dictionaries, it's a simple matter of iterating through one,
+changing the names, adding the renamed object to the other dictionary,
+and cleaning up a few local variables and imported modules. Voila!
+
+
+
+
There's more to wxPython than just the wx namespace. And we've got
+those extra modules covered as well. For each of those modules (as
+well as the lib package) we've got matching modules in the new wx
+package. Let's take a look at a few of them.
+
Here is html.py :
+
+"""Provides a way to drop the wx prefix from wxPython objects."""
+
+__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
+__cvsid__ = "$Id$"
+__revision__ = "$Revision$"[11:-2]
+
+import wx
+from wx import prefix
+
+from wxPython import html
+prefix.rename(d_new=globals(), d_old=html.__dict__)
+del html
+
+del prefix
+del wx
+
+
+
And here is lib/dialogs.py :
+
+"""Provides a way to drop the wx prefix from wxPython objects."""
+
+__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
+__cvsid__ = "$Id$"
+__revision__ = "$Revision$"[11:-2]
+
+import wx
+from wx import prefix
+
+from wxPython.lib import dialogs
+prefix.rename(d_new=globals(), d_old=dialogs.__dict__)
+del dialogs
+
+del prefix
+del wx
+
+
+
As you can see, they both rely on the prefix.rename() function
+defined in prefix.py :
+
+"""Renaming utility.
+
+Provides a way to drop the wx prefix from wxPython objects."""
+
+__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
+__cvsid__ = "$Id$"
+__revision__ = "$Revision$"[11:-2]
+
+import types
+
+def rename(d_new, d_old):
+ for old, obj in d_old.items():
+ if type(obj) is types.ModuleType or old.startswith('_'):
+ # Skip modules and private names.
+ continue
+## mod = d_old['__name__']
+## if hasattr(obj, '__module__') and not obj.__module__.startswith(mod):
+## # Skip objects imported from other modules, except those
+## # related to the current module, such as stc_.
+## continue
+ new = old
+ if old.startswith('EVT_') or old.startswith('wxEVT_'):
+ # Leave these names unmodified.
+ pass
+ elif old.startswith('wx'):
+ new = old[2:]
+ if new:
+ d_new[new] = d_old[old]
+
+
+
Again, the technique is very similar to the one used by the wx
+package.
+
+
+
+
The wx package is automatically created when you install wxPython
+version 2.4.1 or higher. So all you have to do is:
+
+import wx
+
+
+
+
+
Obviously, you need to change your import statements from:
+
+from wxPython import wx
+
+
or:
+
+from wxPython.wx import *
+
+
to:
+
+import wx
+
+
Then you need to refer to wx attributes without a "wx" prefix, such
+as:
+
+class MyFrame(wx.Frame):
+
+
In most cases, existing code can be modified with a simple search and
+replace.
+
One extra issue you might run into when converting existing code is
+that the wx.__version__ attribute is no longer available, since the
+new wx namespace doesn't include any private attributes from the old
+wxPython.wx namespace. The solution is to use the wx.VERSION_STRING
+attribute, which was introduced in wxPython 2.4.1.
+
+
+
+
Example programs are included in the wxPython/samples/wx_examples
+directory, and are documented in the wxPythonExamples documentation
+file. Also, all the code in the py package uses the new wx syntax.
+You can learn more about these in the PyManual .
+
+
+
+
+
+
diff --git a/wxPython/demo/demoMainLoop.py b/wxPython/demo/demoMainLoop.py
index 3d66c2ae4c..73146d1d7d 100755
--- a/wxPython/demo/demoMainLoop.py
+++ b/wxPython/demo/demoMainLoop.py
@@ -9,48 +9,48 @@ in Python. This is not part of the demo framework.
"""
-from wxPython.wx import *
+import wx # This module uses the new wx namespace
import time
#---------------------------------------------------------------------------
-class MyFrame(wxFrame):
+class MyFrame(wx.Frame):
def __init__(self, parent, id, title):
- wxFrame.__init__(self, parent, id, title,
- wxPoint(100, 100), wxSize(160, 150))
+ wx.Frame.__init__(self, parent, id, title,
+ wx.Point(100, 100), wx.Size(160, 150))
- EVT_SIZE(self, self.OnSize)
- EVT_MOVE(self, self.OnMove)
- EVT_CLOSE(self, self.OnCloseWindow)
- EVT_IDLE(self, self.OnIdle)
+ wx.EVT_SIZE(self, self.OnSize)
+ wx.EVT_MOVE(self, self.OnMove)
+ wx.EVT_CLOSE(self, self.OnCloseWindow)
+ wx.EVT_IDLE(self, self.OnIdle)
self.count = 0
- panel = wxPanel(self, -1)
- wxStaticText(panel, -1, "Size:",
- wxDLG_PNT(panel, wxPoint(4, 4)), wxDefaultSize)
- wxStaticText(panel, -1, "Pos:",
- wxDLG_PNT(panel, wxPoint(4, 16)), wxDefaultSize)
+ panel = wx.Panel(self, -1)
+ wx.StaticText(panel, -1, "Size:",
+ wx.DLG_PNT(panel, wx.Point(4, 4)), wx.DefaultSize)
+ wx.StaticText(panel, -1, "Pos:",
+ wx.DLG_PNT(panel, wx.Point(4, 16)), wx.DefaultSize)
- wxStaticText(panel, -1, "Idle:",
- wxDLG_PNT(panel, wxPoint(4, 28)), wxDefaultSize)
+ wx.StaticText(panel, -1, "Idle:",
+ wx.DLG_PNT(panel, wx.Point(4, 28)), wx.DefaultSize)
- self.sizeCtrl = wxTextCtrl(panel, -1, "",
- wxDLG_PNT(panel, wxPoint(24, 4)),
- wxDLG_SZE(panel, wxSize(36, -1)),
- wxTE_READONLY)
+ self.sizeCtrl = wx.TextCtrl(panel, -1, "",
+ wx.DLG_PNT(panel, wx.Point(24, 4)),
+ wx.DLG_SZE(panel, wx.Size(36, -1)),
+ wx.TE_READONLY)
- self.posCtrl = wxTextCtrl(panel, -1, "",
- wxDLG_PNT(panel, wxPoint(24, 16)),
- wxDLG_SZE(panel, wxSize(36, -1)),
- wxTE_READONLY)
+ self.posCtrl = wx.TextCtrl(panel, -1, "",
+ wx.DLG_PNT(panel, wx.Point(24, 16)),
+ wx.DLG_SZE(panel, wx.Size(36, -1)),
+ wx.TE_READONLY)
- self.idleCtrl = wxTextCtrl(panel, -1, "",
- wxDLG_PNT(panel, wxPoint(24, 28)),
- wxDLG_SZE(panel, wxSize(36, -1)),
- wxTE_READONLY)
+ self.idleCtrl = wx.TextCtrl(panel, -1, "",
+ wx.DLG_PNT(panel, wx.Point(24, 28)),
+ wx.DLG_SZE(panel, wx.Size(36, -1)),
+ wx.TE_READONLY)
def OnCloseWindow(self, event):
@@ -74,7 +74,7 @@ class MyFrame(wxFrame):
#---------------------------------------------------------------------------
-class MyApp(wxApp):
+class MyApp(wx.App):
def MainLoop(self):
# This outer loop determines when to exit the application, for
# this example we let the main frame reset this flag when it
diff --git a/wxPython/demo/encode_bitmaps.py b/wxPython/demo/encode_bitmaps.py
index b3d027eb11..5cff6582ce 100644
--- a/wxPython/demo/encode_bitmaps.py
+++ b/wxPython/demo/encode_bitmaps.py
@@ -60,6 +60,7 @@ command_lines = [
"-a -u -n WizTest1 bmp_source/wiztest1.bmp images.py",
"-a -u -n WizTest2 bmp_source/wiztest2.bmp images.py",
+ "-a -u -n Tux bmp_source/Tux.png images.py",
" -u -c bmp_source/001.png throbImages.py",
diff --git a/wxPython/demo/images.py b/wxPython/demo/images.py
index 8e35d1c1f2..7cee82fd0a 100644
--- a/wxPython/demo/images.py
+++ b/wxPython/demo/images.py
@@ -1,5 +1,5 @@
#----------------------------------------------------------------------
-# This file was generated by encode_bitmaps.py
+# This file was generated by C:\PROJECTS\wx\wxPython\demo\encode_bitmaps.py
#
from wxPython.wx import wxImageFromStream, wxBitmapFromImage
from wxPython.wx import wxEmptyIcon
@@ -4060,3 +4060,1318 @@ def getWizTest2Image():
stream = cStringIO.StringIO(getWizTest2Data())
return wxImageFromStream(stream)
+#----------------------------------------------------------------------
+def getTuxData():
+ return \
+'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01G\x00\x00\x01h\x08\x06\x00\
+\x00\x00\xc4\xb39\x88\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00 \
+\x00IDATx\x9c\xec\xbd{\x90[\xd7\x9d\xdf\xf9\xb9\xc0\x05\xee\x01\x1a\xdd\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xd6\x9e\
+\n\xe3\x1c\xdf\x95\x84qQ\x8aX\xbco\xfc\x89W\x0f\xaa~\xc9q\xd0\x90\xe1\xb5\
+\x8f\x86\x1c\x1b4h\xd0\xa0\x06\xa3[c7h\xd0\xa0\xc1u\x8c\x86\x1c\x1b4h\xd0\
+\xa0\x06\r96h\xd0\xa0A\r\x1arl\xd0\xa0A\x83\x1a4\xe4\xd8\xa0A\x83\x065h\xc8\
+\xb1A\x83\x06\rj\xd0\x90c\x83\x06\r\x1a\xd4\xa0!\xc7\x06\r\x1a4\xa8AC\x8e\r\
+\x1a4hP\x83\x86\x1c\x1b4h\xd0\xa0\x06\r96h\xd0\xa0A\r\x1arl\xd0\xa0A\x83\x1a\
+4\xe4\xd8\xa0A\x83\x065h\xc8\xb1A\x83\x06\rj\xd0\x90c\x83\x06\r\x1a\xd4\xa0!\
+\xc7\x06\r\x1a4\xa8AC\x8e\r\x1a4hP\x83\x86\x1c\x1b4h\xd0\xa0\x06\r96h\xd0\
+\xa0A\r\x1arl\xd0\xa0A\x83\x1a4\xe4\xd8\xa0A\x83\x065h\xc8\xb1A\x83\x06\rj\
+\xd0\x90c\x83\x06\r\x1a\xd4\xa0!\xc7\x06\r\x1a4\xa8AC\x8e\r\x1a4hP\x83\xff\
+\x1f#)\x1ae\xc4\xe8lg\x00\x00\x00\x00IEND\xaeB`\x82'
+
+def getTuxBitmap():
+ return wxBitmapFromImage(getTuxImage())
+
+def getTuxImage():
+ stream = cStringIO.StringIO(getTuxData())
+ return wxImageFromStream(stream)
+
diff --git a/wxPython/demo/infoframe.py b/wxPython/demo/infoframe.py
index 7f19771460..24ea6570e1 100644
--- a/wxPython/demo/infoframe.py
+++ b/wxPython/demo/infoframe.py
@@ -9,10 +9,10 @@ class MyFrame(wxFrame):
wxFrame.__init__(self,None,-1,"Close me...",size=(300,100))
menubar = wxMenuBar()
menu = wxMenu()
- mID = NewId()
+ mID = wxNewId()
menu.Append(mID,"&Enable output","Display output frame")
EVT_MENU(self,mID,output.EnableOutput)
- mID = NewId()
+ mID = wxNewId()
menu.Append(mID,"&Disable output","Close output frame")
EVT_MENU(self,mID,output.DisableOutput)
menubar.Append(menu,"&Output")
@@ -63,10 +63,10 @@ if __name__ == "__main__":
## EVT_CLOSE(self,self.OnClose)
## menubar = wxMenuBar()
## menu = wxMenu()
-## mID = NewId()
+## mID = wxNewId()
## menu.Append(mID,"&Enable output","Display output frame")
## EVT_MENU(self,mID,output.EnableOutput)
-## mID = NewId()
+## mID = wxNewId()
## menu.Append(mID,"&Disable output","Close output frame")
## EVT_MENU(self,mID,output.DisableOutput)
## menubar.Append(menu,"&Output")
diff --git a/wxPython/demo/run.py b/wxPython/demo/run.py
index fcf5bd9029..7b83f581fa 100755
--- a/wxPython/demo/run.py
+++ b/wxPython/demo/run.py
@@ -17,9 +17,9 @@ directory within its own frame window. Just specify the module name
on the command line.
"""
+import wx # This module uses the new wx namespace
import sys, os
-from wxPython.wx import *
#----------------------------------------------------------------------------
@@ -27,32 +27,34 @@ class Log:
def WriteText(self, text):
if text[-1:] == '\n':
text = text[:-1]
- wxLogMessage(text)
+ wx.LogMessage(text)
write = WriteText
-class RunDemoApp(wxApp):
+class RunDemoApp(wx.App):
def __init__(self, name, module):
self.name = name
self.demoModule = module
- wxApp.__init__(self, 0) ##wxPlatform == "__WXMAC__")
+ wx.App.__init__(self, 0)
def OnInit(self):
- wxInitAllImageHandlers()
- wxLog_SetActiveTarget(wxLogStderr())
+ wx.InitAllImageHandlers()
+ wx.Log_SetActiveTarget(wx.LogStderr())
- frame = wxFrame(None, -1, "RunDemo: " + self.name, pos=(50,50), size=(0,0),
- style=wxNO_FULL_REPAINT_ON_RESIZE|wxDEFAULT_FRAME_STYLE)
+ #self.SetAssertMode(wx.PYAPP_ASSERT_DIALOG)
+
+ frame = wx.Frame(None, -1, "RunDemo: " + self.name, pos=(50,50), size=(0,0),
+ style=wx.NO_FULL_REPAINT_ON_RESIZE|wx.DEFAULT_FRAME_STYLE)
frame.CreateStatusBar()
- menuBar = wxMenuBar()
- menu = wxMenu()
+ menuBar = wx.MenuBar()
+ menu = wx.Menu()
menu.Append(101, "E&xit\tAlt-X", "Exit demo")
- EVT_MENU(self, 101, self.OnButton)
+ wx.EVT_MENU(self, 101, self.OnButton)
menuBar.Append(menu, "&File")
frame.SetMenuBar(menuBar)
frame.Show(True)
- EVT_CLOSE(frame, self.OnCloseFrame)
+ wx.EVT_CLOSE(frame, self.OnCloseFrame)
win = self.demoModule.runTest(frame, frame, Log())
@@ -68,9 +70,9 @@ class RunDemoApp(wxApp):
# otherwise the demo made its own frame, so just put a
# button in this one
if hasattr(frame, 'otherWin'):
- b = wxButton(frame, -1, " Exit ")
+ b = wx.Button(frame, -1, " Exit ")
frame.SetSize((200, 100))
- EVT_BUTTON(frame, b.GetId(), self.OnButton)
+ wx.EVT_BUTTON(frame, b.GetId(), self.OnButton)
else:
# It was probably a dialog or something that is already
# gone, so we're done.
@@ -79,8 +81,8 @@ class RunDemoApp(wxApp):
self.SetTopWindow(frame)
self.frame = frame
- #wxLog_SetActiveTarget(wxLogStderr())
- #wxLog_SetTraceMask(wxTraceMessages)
+ #wx.Log_SetActiveTarget(wx.LogStderr())
+ #wx.Log_SetTraceMask(wx.TraceMessages)
return True
diff --git a/wxPython/demo/simple.py b/wxPython/demo/simple.py
index 6b28148228..07a750c639 100644
--- a/wxPython/demo/simple.py
+++ b/wxPython/demo/simple.py
@@ -5,38 +5,38 @@
# structure of any wxPython application.
#----------------------------------------------------------------------
-from wxPython.wx import *
+import wx # This module uses the new wx namespace
-class MyFrame(wxFrame):
+class MyFrame(wx.Frame):
"""
This is MyFrame. It just shows a few controls on a wxPanel,
and has a simple menu.
"""
def __init__(self, parent, title):
- wxFrame.__init__(self, parent, -1, title, size=(350, 200))
+ wx.Frame.__init__(self, parent, -1, title, size=(350, 200))
- menuBar = wxMenuBar()
- menu = wxMenu()
+ menuBar = wx.MenuBar()
+ menu = wx.Menu()
menu.Append(101, "E&xit\tAlt-X", "Exit demo")
- EVT_MENU(self, 101, self.OnButton)
+ wx.EVT_MENU(self, 101, self.OnButton)
menuBar.Append(menu, "&File")
self.SetMenuBar(menuBar)
- panel = wxPanel(self, -1)
- text = wxStaticText(panel, -1, "Hello World!")
- text.SetFont(wxFont(12, wxSWISS, wxNORMAL, wxBOLD))
+ panel = wx.Panel(self, -1)
+ text = wx.StaticText(panel, -1, "Hello World!")
+ text.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD))
text.SetSize(text.GetBestSize())
- btn = wxButton(panel, -1, "Close")
+ btn = wx.Button(panel, -1, "Close")
btn.SetDefault()
- sizer = wxBoxSizer(wxVERTICAL)
- sizer.Add(text, 0, wxALL, 10)
- sizer.Add(btn, 0, wxALL, 10)
+ sizer = wx.BoxSizer(wx.VERTICAL)
+ sizer.Add(text, 0, wx.ALL, 10)
+ sizer.Add(btn, 0, wx.ALL, 10)
panel.SetSizer(sizer)
panel.SetAutoLayout(True)
panel.Layout()
- EVT_BUTTON(self, btn.GetId(), self.OnButton)
+ wx.EVT_BUTTON(self, btn.GetId(), self.OnButton)
def OnButton(self, evt):
@@ -44,7 +44,8 @@ class MyFrame(wxFrame):
print "OnButton"
self.Close()
-app = wxPySimpleApp()
+
+app = wx.PySimpleApp()
frame = MyFrame(None, "Simple wxPython App")
frame.Show(True)
app.MainLoop()
diff --git a/wxPython/demo/template.py b/wxPython/demo/template.py
index 9be55905b9..8be058bfee 100644
--- a/wxPython/demo/template.py
+++ b/wxPython/demo/template.py
@@ -1,12 +1,12 @@
-from wxPython.wx import *
+import wx # This module uses the new wx namespace
#----------------------------------------------------------------------
-class TestPanel(wxPanel):
+class TestPanel(wx.Panel):
def __init__(self, parent, log):
self.log = log
- wxPanel.__init__(self, parent, -1)
+ wx.Panel.__init__(self, parent, -1)
#----------------------------------------------------------------------
diff --git a/wxPython/demo/wxCalendar.py b/wxPython/demo/wxCalendar.py
index 5c14011608..3b8499d7ce 100644
--- a/wxPython/demo/wxCalendar.py
+++ b/wxPython/demo/wxCalendar.py
@@ -61,7 +61,7 @@ class TestPanel(wxPanel):
monthlist = GetMonthList()
- mID = NewId()
+ mID = wxNewId()
self.date = wxComboBox(self, mID, "",
wxPoint(100, 20), wxSize(90, -1),
monthlist, wxCB_DROPDOWN)
@@ -89,7 +89,7 @@ class TestPanel(wxPanel):
# scroll bar for month selection
- mID = NewId()
+ mID = wxNewId()
self.scroll = wxScrollBar(self, mID, wxPoint(100, 240), wxSize(200, 20), wxSB_HORIZONTAL)
self.scroll.SetScrollbar(start_month-1, 1, 12, 1, True)
EVT_COMMAND_SCROLL(self, mID, self.Scroll)
@@ -99,7 +99,7 @@ class TestPanel(wxPanel):
self.dtext = wxTextCtrl(self, -1, str(start_year), wxPoint(200, 20), wxSize(60, -1))
h = self.dtext.GetSize().height
- mID = NewId()
+ mID = wxNewId()
self.spin = wxSpinButton(self, mID, wxPoint(270, 20), wxSize(h*2, h))
self.spin.SetRange(1980, 2010)
self.spin.SetValue(start_year)
@@ -109,7 +109,7 @@ class TestPanel(wxPanel):
wxStaticText(self, -1, "Test Calendar Dialog", wxPoint(350, 50), wxSize(150, -1))
- mID = NewId()
+ mID = wxNewId()
bmp = images.getCalendarBitmap()
self.but = wxBitmapButton(self, mID, bmp, wxPoint(380, 80))#, wxSize(30, 30))
EVT_BUTTON(self, mID, self.TestDlg)
@@ -118,13 +118,13 @@ class TestPanel(wxPanel):
wxStaticText(self, -1, "Test Calendar Window", wxPoint(350, 150), wxSize(150, -1))
- mID = NewId()
+ mID = wxNewId()
self.but = wxBitmapButton(self, mID, bmp, wxPoint(380, 180))#, wxSize(30, 30))
EVT_BUTTON(self, mID, self.TestFrame)
wxStaticText(self, -1, "Test Calendar Print", wxPoint(350, 250), wxSize(150, -1))
- mID = NewId()
+ mID = wxNewId()
self.but = wxBitmapButton(self, mID, bmp, wxPoint(380, 280))#, wxSize(30, 30))
EVT_BUTTON(self, mID, self.OnPreview)
@@ -299,17 +299,17 @@ class CalendFrame(wxFrame):
def MakeFileMenu(self):
menu = wxMenu()
- mID = NewId()
+ mID = wxNewId()
menu.Append(mID, 'Decrement', 'Next')
EVT_MENU(self, mID, self.OnDecMonth)
- mID = NewId()
+ mID = wxNewId()
menu.Append(mID, 'Increment', 'Dec')
EVT_MENU(self, mID, self.OnIncMonth)
menu.AppendSeparator()
- mID = NewId()
+ mID = wxNewId()
menu.Append(mID, 'E&xit', 'Exit')
EVT_MENU(self, mID, self.OnCloseWindow)
@@ -318,23 +318,23 @@ class CalendFrame(wxFrame):
def MakeToolMenu(self):
tb = self.CreateToolBar(wxTB_HORIZONTAL|wxNO_BORDER)
- mID = NewId()
+ mID = wxNewId()
SetToolPath(self, tb, mID, images.getDbDecBitmap(), 'Dec Year')
EVT_TOOL(self, mID, self.OnDecYear)
- mID = NewId()
+ mID = wxNewId()
SetToolPath(self, tb, mID, images.getDecBitmap(), 'Dec Month')
EVT_TOOL(self, mID, self.OnDecMonth)
- mID = NewId()
+ mID = wxNewId()
SetToolPath(self, tb, mID, images.getPtBitmap(), 'Current Month')
EVT_TOOL(self, mID, self.OnCurrent)
- mID = NewId()
+ mID = wxNewId()
SetToolPath(self, tb, mID, images.getIncBitmap(), 'Inc Month')
EVT_TOOL(self, mID, self.OnIncMonth)
- mID = NewId()
+ mID = wxNewId()
SetToolPath(self, tb, mID, images.getDbIncBitmap(), 'Inc Year')
EVT_TOOL(self, mID, self.OnIncYear)
diff --git a/wxPython/demo/wxCalendarCtrl.py b/wxPython/demo/wxCalendarCtrl.py
index 7afc4c37d7..787ab71ae0 100644
--- a/wxPython/demo/wxCalendarCtrl.py
+++ b/wxPython/demo/wxCalendarCtrl.py
@@ -11,7 +11,10 @@ class TestPanel(wxPanel):
self.log = log
cal = wxCalendarCtrl(self, -1, wxDateTime_Now(), pos = (25,50),
- style = wxCAL_SHOW_HOLIDAYS | wxCAL_SUNDAY_FIRST)
+ style = wxCAL_SHOW_HOLIDAYS
+ | wxCAL_SUNDAY_FIRST
+ #| wxCAL_SEQUENTIAL_MONTH_SELECTION
+ )
EVT_CALENDAR(self, cal.GetId(), self.OnCalSelected)
@@ -55,3 +58,12 @@ version described in the docs. This one will probably be a bit more efficient
than the one in wxPython.lib.calendar, but I like a few things about it better,
so I think both will stay in wxPython.
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxCheckBox.py b/wxPython/demo/wxCheckBox.py
index e2e81e3f28..529de660bb 100644
--- a/wxPython/demo/wxCheckBox.py
+++ b/wxPython/demo/wxCheckBox.py
@@ -11,7 +11,7 @@ class TestCheckBox(wxPanel):
wxStaticText(self, -1, "This example uses the wxCheckBox control.",
wxPoint(10, 10))
- cID = NewId()
+ cID = wxNewId()
cb1 = wxCheckBox(self, cID, " Apples", wxPoint(65, 40), wxSize(150, 20), wxNO_BORDER)
cb2 = wxCheckBox(self, cID+1, " Oranges", wxPoint(65, 60), wxSize(150, 20), wxNO_BORDER)
cb2.SetValue(True)
@@ -51,3 +51,11 @@ overview = """\
A checkbox is a labelled box which is either on (checkmark is visible) or off (no checkmark).
"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxCheckListBox.py b/wxPython/demo/wxCheckListBox.py
index 434ecf2e06..8eec482923 100644
--- a/wxPython/demo/wxCheckListBox.py
+++ b/wxPython/demo/wxCheckListBox.py
@@ -70,13 +70,15 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-overview = """\
-"""
-
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxChoice.py b/wxPython/demo/wxChoice.py
index 9cd83ce3b2..d92f4f8e45 100644
--- a/wxPython/demo/wxChoice.py
+++ b/wxPython/demo/wxChoice.py
@@ -46,3 +46,13 @@ def runTest(frame, nb, log):
overview = """\
A choice item is used to select one of a list of strings. Unlike a listbox, only the selection is visible until the user pulls down the menu of choices.
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxColourDialog.py b/wxPython/demo/wxColourDialog.py
index c4d42aebbf..151db30873 100644
--- a/wxPython/demo/wxColourDialog.py
+++ b/wxPython/demo/wxColourDialog.py
@@ -29,3 +29,13 @@ This class represents the colour chooser dialog.
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxComboBox.py b/wxPython/demo/wxComboBox.py
index 37e52cbb37..13e8fced0d 100644
--- a/wxPython/demo/wxComboBox.py
+++ b/wxPython/demo/wxComboBox.py
@@ -15,6 +15,7 @@ class TestComboBox(wxPanel):
wxPanel.__init__(self, parent, -1)
sampleList = ['zero', 'one', 'two', 'three', 'four', 'five',
+ ##'this is a long item that needs a scrollbar...',
'six', 'seven', 'eight']
wxStaticText(self, -1, "This example uses the wxComboBox control.",
@@ -23,6 +24,11 @@ class TestComboBox(wxPanel):
wxStaticText(self, -1, "Select one:", wxPoint(15, 50), wxSize(75, 18))
cb = wxComboBox(self, 500, "default value", wxPoint(90, 50), wxSize(95, -1),
sampleList, wxCB_DROPDOWN)#|wxTE_PROCESS_ENTER)
+ ##import win32api, win32con
+ ##win32api.SendMessage(cb.GetHandle(),
+ ## win32con.CB_SETHORIZONTALEXTENT,
+ ## 200, 0)
+
EVT_COMBOBOX(self, 500, self.EvtComboBox)
EVT_TEXT(self, 500, self.EvtText)
EVT_TEXT_ENTER(self, 500, self.EvtTextEnter)
diff --git a/wxPython/demo/wxEditableListBox.py b/wxPython/demo/wxEditableListBox.py
index b8816cad1d..97b951a6e0 100644
--- a/wxPython/demo/wxEditableListBox.py
+++ b/wxPython/demo/wxEditableListBox.py
@@ -40,3 +40,12 @@ overview = """\
This class provides a composite control that lets the
user easily enter and edit a list of strings.
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxFileDialog.py b/wxPython/demo/wxFileDialog.py
index a73dc06970..a87dc17194 100644
--- a/wxPython/demo/wxFileDialog.py
+++ b/wxPython/demo/wxFileDialog.py
@@ -1,5 +1,6 @@
from wxPython.wx import *
+import os
#---------------------------------------------------------------------------
@@ -8,12 +9,18 @@ wildcard = "Python source (*.py)|*.py|" \
"All files (*.*)|*.*"
def runTest(frame, nb, log):
- dlg = wxFileDialog(frame, "Choose a file", "", "", wildcard, wxOPEN|wxMULTIPLE)
+ log.WriteText("CWD: %s\n" % os.getcwd())
+ dlg = wxFileDialog(frame, "Choose a file", os.getcwd(), "", wildcard,
+ wxOPEN
+ | wxMULTIPLE
+ #| wxCHANGE_DIR
+ )
if dlg.ShowModal() == wxID_OK:
paths = dlg.GetPaths()
log.WriteText('You selected %d files:' % len(paths))
for path in paths:
log.WriteText(' %s\n' % path)
+ log.WriteText("CWD: %s\n" % os.getcwd())
dlg.Destroy()
#---------------------------------------------------------------------------
@@ -24,14 +31,14 @@ def runTest(frame, nb, log):
+overview = """\
+This class provides the file chooser dialog.
+"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
-
-
-
-overview = """\
-This class represents the file chooser dialog.
-
-"""
diff --git a/wxPython/demo/wxFileDialog_Save.py b/wxPython/demo/wxFileDialog_Save.py
new file mode 100644
index 0000000000..3e404a0ea6
--- /dev/null
+++ b/wxPython/demo/wxFileDialog_Save.py
@@ -0,0 +1,44 @@
+
+from wxPython.wx import *
+import os
+
+#---------------------------------------------------------------------------
+
+wildcard = "Python source (*.py)|*.py|" \
+ "Compiled Python (*.pyc)|*.pyc|" \
+ "SPAM files (*.spam)|*.spam|" \
+ "Egg file (*.egg)|*.egg|" \
+ "All files (*.*)|*.*"
+
+def runTest(frame, nb, log):
+ log.WriteText("CWD: %s\n" % os.getcwd())
+ dlg = wxFileDialog(frame, "Save file as...", os.getcwd(), "", wildcard,
+ wxSAVE
+ #| wxCHANGE_DIR
+ )
+ dlg.SetFilterIndex(2)
+ if dlg.ShowModal() == wxID_OK:
+ path = dlg.GetPath()
+ log.WriteText('You selected "%s"' % path)
+ log.WriteText("CWD: %s\n" % os.getcwd())
+ dlg.Destroy()
+
+#---------------------------------------------------------------------------
+
+
+
+
+
+
+
+overview = """\
+This class provides the file chooser dialog.
+
+"""
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxFindReplaceDialog.py b/wxPython/demo/wxFindReplaceDialog.py
index c0217aedec..306c825205 100644
--- a/wxPython/demo/wxFindReplaceDialog.py
+++ b/wxPython/demo/wxFindReplaceDialog.py
@@ -76,3 +76,12 @@ def runTest(frame, nb, log):
overview = """\
A generic find and replace dialog.
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxFloatBar.py b/wxPython/demo/wxFloatBar.py
index ff323abe7e..1daf702276 100644
--- a/wxPython/demo/wxFloatBar.py
+++ b/wxPython/demo/wxFloatBar.py
@@ -75,9 +75,11 @@ def runTest(frame, nb, log):
#---------------------------------------------------------------------------
overview = """\
-wxFloatBar is a subclass of wxToolBar, implemented in Python, which can be detached from its frame.
+wxFloatBar is a subclass of wxToolBar, implemented in Python, which
+can be detached from its frame.
-Drag the toolbar with the mouse to make it float, and drag it back, or close it to make the toolbar return to its original position.
+Drag the toolbar with the mouse to make it float, and drag it back, or
+close it to make the toolbar return to its original position.
"""
@@ -87,6 +89,13 @@ Drag the toolbar with the mouse to make it float, and drag it back, or close it
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
+
+
diff --git a/wxPython/demo/wxFrame.py b/wxPython/demo/wxFrame.py
index 428859beec..6fbc2d013f 100644
--- a/wxPython/demo/wxFrame.py
+++ b/wxPython/demo/wxFrame.py
@@ -43,3 +43,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxGauge.py b/wxPython/demo/wxGauge.py
index 21e185a439..754e1b4b21 100644
--- a/wxPython/demo/wxGauge.py
+++ b/wxPython/demo/wxGauge.py
@@ -52,3 +52,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxGenericDirCtrl.py b/wxPython/demo/wxGenericDirCtrl.py
index 7f338e67df..3af690277a 100644
--- a/wxPython/demo/wxGenericDirCtrl.py
+++ b/wxPython/demo/wxGenericDirCtrl.py
@@ -57,3 +57,10 @@ overview = """\
This control can be used to place a directory listing (with optional files)
on an arbitrary window.
"""
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxGrid.py b/wxPython/demo/wxGrid.py
index 365e0125e6..676be13eb5 100644
--- a/wxPython/demo/wxGrid.py
+++ b/wxPython/demo/wxGrid.py
@@ -11,6 +11,7 @@ buttonDefs = {
819 : ('GridEnterHandler',' Remapping keys to behave differently '),
820 : ('GridCustEditor', ' Shows how to create a custom Cell Editor '),
821 : ('GridDragable', ' A wxGrid with dragable rows and columns '),
+ 822 : ('GridDragAndDrop', 'Shows how to make a grid a drop target for files'),
}
@@ -26,7 +27,7 @@ class ButtonPanel(wxPanel):
for k in keys:
text = buttonDefs[k][1]
btn = wxButton(self, k, text)
- box.Add(btn, 0, wxALIGN_CENTER|wxALL, 15)
+ box.Add(btn, 0, wxALIGN_CENTER|wxALL, 10)
EVT_BUTTON(self, k, self.OnButton)
self.SetAutoLayout(True)
@@ -94,9 +95,6 @@ changes how the ENTER key works, moving the current cell left to right
and wrapping around to the next row when needed.
-You can also look at the SWIG interface
-file used to generate the grid module for a lot more clues as to
-how things work.
"""
diff --git a/wxPython/demo/wxGrid_MegaExample.py b/wxPython/demo/wxGrid_MegaExample.py
new file mode 100644
index 0000000000..17007e58ec
--- /dev/null
+++ b/wxPython/demo/wxGrid_MegaExample.py
@@ -0,0 +1,451 @@
+from wxPython.wx import *
+from wxPython.grid import *
+import images
+
+class MegaTable(wxPyGridTableBase):
+ """
+ A custom wxGrid Table using user supplied data
+ """
+ def __init__(self, data, colnames, plugins):
+ """data is a list of the form
+ [(rowname, dictionary),
+ dictionary.get(colname, None) returns the data for column
+ colname
+ """
+ # The base class must be initialized *first*
+ wxPyGridTableBase.__init__(self)
+ self.data = data
+ self.colnames = colnames
+ self.plugins = plugins or {}
+ # XXX
+ # we need to store the row length and collength to
+ # see if the table has changed size
+ self._rows = self.GetNumberRows()
+ self._cols = self.GetNumberCols()
+
+ def GetNumberCols(self):
+ return len(self.colnames)
+
+ def GetNumberRows(self):
+ return len(self.data)
+
+ def GetColLabelValue(self, col):
+ return self.colnames[col]
+
+ def GetRowLabelValues(self, row):
+ return self.data[row][0]
+
+ def GetValue(self, row, col):
+ return str(self.data[row][1].get(self.GetColLabelValue(col), ""))
+
+ def GetRawValue(self, row, col):
+ return self.data[row][1].get(self.GetColLabelValue(col), "")
+
+ def SetValue(self, row, col, value):
+ self.data[row][1][self.GetColLabelValue(col)] = value
+
+ def ResetView(self, grid):
+ """
+ (wxGrid) -> Reset the grid view. Call this to
+ update the grid if rows and columns have been added or deleted
+ """
+ grid.BeginBatch()
+ for current, new, delmsg, addmsg in [
+ (self._rows, self.GetNumberRows(), wxGRIDTABLE_NOTIFY_ROWS_DELETED, wxGRIDTABLE_NOTIFY_ROWS_APPENDED),
+ (self._cols, self.GetNumberCols(), wxGRIDTABLE_NOTIFY_COLS_DELETED, wxGRIDTABLE_NOTIFY_COLS_APPENDED),
+ ]:
+ if new < current:
+ msg = wxGridTableMessage(self,delmsg,new,current-new)
+ grid.ProcessTableMessage(msg)
+ elif new > current:
+ msg = wxGridTableMessage(self,addmsg,new-current)
+ grid.ProcessTableMessage(msg)
+ self.UpdateValues(grid)
+ grid.EndBatch()
+
+ self._rows = self.GetNumberRows()
+ self._cols = self.GetNumberCols()
+ # update the column rendering plugins
+ self._updateColAttrs(grid)
+
+ # update the scrollbars and the displayed part of the grid
+ grid.AdjustScrollbars()
+ grid.ForceRefresh()
+
+
+ def UpdateValues(self, grid):
+ """Update all displayed values"""
+ # This sends an event to the grid table to update all of the values
+ msg = wxGridTableMessage(self, wxGRIDTABLE_REQUEST_VIEW_GET_VALUES)
+ grid.ProcessTableMessage(msg)
+
+ def _updateColAttrs(self, grid):
+ """
+ wxGrid -> update the column attributes to add the
+ appropriate renderer given the column name. (renderers
+ are stored in the self.plugins dictionary)
+
+ Otherwise default to the default renderer.
+ """
+ col = 0
+ for colname in self.colnames:
+ attr = wxGridCellAttr()
+ if colname in self.plugins:
+ renderer = self.plugins[colname](self)
+ if renderer.colSize:
+ grid.SetColSize(col, renderer.colSize)
+ if renderer.rowSize:
+ grid.SetDefaultRowSize(renderer.rowSize)
+ attr.SetReadOnly(true)
+ attr.SetRenderer(renderer)
+ grid.SetColAttr(col, attr)
+ col += 1
+
+ # ------------------------------------------------------
+ # begin the added code to manipulate the table (non wx related)
+ def AppendRow(self, row):
+ entry = {}
+ for name in self.colnames:
+ entry[name] = "Appended_%i"%row
+ # XXX Hack
+ # entry["A"] can only be between 1..4
+ entry["A"] = random.choice(range(4))
+ self.data.insert(row, ["Append_%i"%row, entry])
+
+ def DeleteCols(self, cols):
+ """
+ cols -> delete the columns from the dataset
+ cols hold the column indices
+ """
+ # we'll cheat here and just remove the name from the
+ # list of column names. The data will remain but
+ # it won't be shown
+ deleteCount = 0
+ cols = cols[:]
+ cols.sort()
+ for i in cols:
+ self.colnames.pop(i-deleteCount)
+ # we need to advance the delete count
+ # to make sure we delete the right columns
+ deleteCount += 1
+ if not len(self.colnames):
+ self.data = []
+
+ def DeleteRows(self, rows):
+ """
+ rows -> delete the rows from the dataset
+ rows hold the row indices
+ """
+ deleteCount = 0
+ rows = rows[:]
+ rows.sort()
+ for i in rows:
+ self.data.pop(i-deleteCount)
+ # we need to advance the delete count
+ # to make sure we delete the right rows
+ deleteCount += 1
+
+ def SortColumn(self, col):
+ """
+ col -> sort the data based on the column indexed by col
+ """
+ name = self.colnames[col]
+ _data = []
+ for row in self.data:
+ rowname, entry = row
+ _data.append((entry.get(name, None), row))
+
+ _data.sort()
+ self.data = []
+ for sortvalue, row in _data:
+ self.data.append(row)
+
+ # end table manipulation code
+ # ----------------------------------------------------------
+
+
+# --------------------------------------------------------------------
+# Sample wxGrid renderers
+
+class MegaImageRenderer(wxPyGridCellRenderer):
+ def __init__(self, table):
+ """
+ Image Renderer Test. This just places an image in a cell
+ based on the row index. There are N choices and the
+ choice is made by choice[row%N]
+ """
+ wxPyGridCellRenderer.__init__(self)
+ self.table = table
+ self._choices = [images.getSmilesBitmap,
+ images.getMondrianBitmap,
+ images.get_10s_Bitmap,
+ images.get_01c_Bitmap]
+
+
+ self.colSize = None
+ self.rowSize = None
+
+ def Draw(self, grid, attr, dc, rect, row, col, isSelected):
+ choice = self.table.GetRawValue(row, col)
+ bmp = self._choices[ choice % len(self._choices)]()
+ image = wxMemoryDC()
+ image.SelectObject(bmp)
+
+ # clear the background
+ dc.SetBackgroundMode(wxSOLID)
+ if isSelected:
+ dc.SetBrush(wxBrush(wxBLUE, wxSOLID))
+ dc.SetPen(wxPen(wxBLUE, 1, wxSOLID))
+ else:
+ dc.SetBrush(wxBrush(wxWHITE, wxSOLID))
+ dc.SetPen(wxPen(wxWHITE, 1, wxSOLID))
+ dc.DrawRectangle(rect.x, rect.y, rect.width, rect.height)
+
+ # copy the image but only to the size of the grid cell
+ width, height = bmp.GetWidth(), bmp.GetHeight()
+ if width > rect.width-2:
+ width = rect.width-2
+
+ if height > rect.height-2:
+ height = rect.height-2
+
+ dc.Blit(rect.x+1, rect.y+1, width, height,
+ image,
+ 0, 0, wxCOPY, True)
+
+
+class MegaFontRenderer(wxPyGridCellRenderer):
+ def __init__(self, table, color="blue", font="ARIAL", fontsize=8):
+ """Render data in the specified color and font and fontsize"""
+ wxPyGridCellRenderer.__init__(self)
+ self.table = table
+ self.color = color
+ self.font = wxFont(fontsize, wxDEFAULT, wxNORMAL, wxNORMAL,
+ 0, font)
+ self.selectedBrush = wxBrush("blue",
+ wxSOLID)
+ self.normalBrush = wxBrush(wxWHITE, wxSOLID)
+ self.colSize = None
+ self.rowSize = 50
+
+ def Draw(self, grid, attr, dc, rect, row, col, isSelected):
+ # Here we draw text in a grid cell using various fonts
+ # and colors. We have to set the clipping region on
+ # the grid's DC, otherwise the text will spill over
+ # to the next cell
+ dc.SetClippingRect(rect)
+
+ # clear the background
+ dc.SetBackgroundMode(wxSOLID)
+ if isSelected:
+ dc.SetBrush(wxBrush(wxBLUE, wxSOLID))
+ dc.SetPen(wxPen(wxBLUE, 1, wxSOLID))
+ else:
+ dc.SetBrush(wxBrush(wxWHITE, wxSOLID))
+ dc.SetPen(wxPen(wxWHITE, 1, wxSOLID))
+ dc.DrawRectangle(rect.x, rect.y, rect.width, rect.height)
+
+ text = self.table.GetValue(row, col)
+ dc.SetBackgroundMode(wxSOLID)
+
+ # change the text background based on whether the grid is selected
+ # or not
+ if isSelected:
+ dc.SetBrush(self.selectedBrush)
+ dc.SetTextBackground("blue")
+ else:
+ dc.SetBrush(self.normalBrush)
+ dc.SetTextBackground("white")
+
+ dc.SetTextForeground(self.color)
+ dc.SetFont(self.font)
+ dc.DrawText(text, rect.x+1, rect.y+1)
+
+ # Okay, now for the advanced class :)
+ # Let's add three dots "..."
+ # to indicate that that there is more text to be read
+ # when the text is larger than the grid cell
+
+ width, height = dc.GetTextExtent(text)
+ if width > rect.width-2:
+ width, height = dc.GetTextExtent("...")
+ x = rect.x+1 + rect.width-2 - width
+ dc.DrawRectangle(x, rect.y+1, width+1, height)
+ dc.DrawText("...", x, rect.y+1)
+
+ dc.DestroyClippingRegion()
+
+
+# --------------------------------------------------------------------
+# Sample Grid using a specialized table and renderers that can
+# be plugged in based on column names
+
+class MegaGrid(wxGrid):
+ def __init__(self, parent, data, colnames, plugins=None):
+ """parent, data, colnames, plugins=None
+ Initialize a grid using the data defined in data and colnames
+ (see MegaTable for a description of the data format)
+ plugins is a dictionary of columnName -> column renderers.
+ """
+
+ # The base class must be initialized *first*
+ wxGrid.__init__(self, parent, -1)
+ self._table = MegaTable(data, colnames, plugins)
+ self.SetTable(self._table)
+ self._plugins = plugins
+
+ EVT_GRID_LABEL_RIGHT_CLICK(self, self.OnLabelRightClicked)
+
+ def Reset(self):
+ """reset the view based on the data in the table. Call
+ this when rows are added or destroyed"""
+ self._table.ResetView(self)
+
+ def OnLabelRightClicked(self, evt):
+ # Did we click on a row or a column?
+ row, col = evt.GetRow(), evt.GetCol()
+ if row == -1: self.colPopup(col, evt)
+ elif col == -1: self.rowPopup(row, evt)
+
+ def rowPopup(self, row, evt):
+ """(row, evt) -> display a popup menu when a row label is right clicked"""
+ appendID = wxNewId()
+ deleteID = wxNewId()
+ x = self.GetRowSize(row)/2
+ if not self.GetSelectedRows():
+ self.SelectRow(row)
+ menu = wxMenu()
+ xo, yo = evt.GetPosition()
+ menu.Append(appendID, "Append Row")
+ menu.Append(deleteID, "Delete Row(s)")
+
+ def append(event, self=self, row=row):
+ self._table.AppendRow(row)
+ self.Reset()
+
+ def delete(event, self=self, row=row):
+ rows = self.GetSelectedRows()
+ self._table.DeleteRows(rows)
+ self.Reset()
+
+ EVT_MENU(self, appendID, append)
+ EVT_MENU(self, deleteID, delete)
+ self.PopupMenu(menu, wxPoint(x, yo))
+ menu.Destroy()
+
+ def colPopup(self, col, evt):
+ """(col, evt) -> display a popup menu when a column label is
+ right clicked"""
+ x = self.GetColSize(col)/2
+ menu = wxMenu()
+ id1 = wxNewId()
+ sortID = wxNewId()
+
+ xo, yo = evt.GetPosition()
+ self.SelectCol(col)
+ cols = self.GetSelectedCols()
+ self.Refresh()
+ menu.Append(id1, "Delete Col(s)")
+ menu.Append(sortID, "Sort Column")
+
+ def delete(event, self=self, col=col):
+ cols = self.GetSelectedCols()
+ self._table.DeleteCols(cols)
+ self.Reset()
+
+ def sort(event, self=self, col=col):
+ self._table.SortColumn(col)
+ self.Reset()
+
+ EVT_MENU(self, id1, delete)
+ if len(cols) == 1:
+ EVT_MENU(self, sortID, sort)
+ self.PopupMenu(menu, wxPoint(xo, 0))
+ menu.Destroy()
+
+# -----------------------------------------------------------------
+# Test data
+# data is in the form
+# [rowname, dictionary]
+# where dictionary.get(colname, None) -> returns the value for the cell
+#
+# the colname must also be supplied
+import random
+colnames = ["Row", "This", "Is", "A", "Test"]
+
+data = []
+for row in range(1000):
+ d = {}
+ for name in ["This", "Test", "Is"]:
+ d[name] = random.random()
+ d["Row"] = len(data)
+ # XXX
+ # the "A" column can only be between one and 4
+ d["A"] = random.choice(range(4))
+ data.append((str(row), d))
+
+class MegaFontRendererFactory:
+ def __init__(self, color, font, fontsize):
+ """
+ (color, font, fontsize) -> set of a factory to generate
+ renderers when called.
+ func = MegaFontRenderFactory(color, font, fontsize)
+ renderer = func(table)
+ """
+ self.color = color
+ self.font = font
+ self.fontsize = fontsize
+
+ def __call__(self, table):
+ return MegaFontRenderer(table, self.color, self.font, self.fontsize)
+
+
+#---------------------------------------------------------------------------
+
+class TestFrame(wxFrame):
+ def __init__(self, parent, plugins={"This":MegaFontRendererFactory("red", "ARIAL", 8),
+ "A":MegaImageRenderer,
+ "Test":MegaFontRendererFactory("orange", "TIMES", 24),}):
+ wxFrame.__init__(self, parent, -1,
+ "Test Frame", size=(640,480))
+
+ grid = MegaGrid(self, data, colnames, plugins)
+ grid.Reset()
+
+
+#---------------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ win = TestFrame(frame)
+ frame.otherWin = win
+ win.Show(True)
+
+
+
+overview = """Mega Grid Example
+
+This example attempts to show many examples and tricks of
+using a virtual grid object. Hopefully the source isn't too jumbled.
+
+Features:
+ 1) Uses a virtual grid
+ 2) Columns and rows have popup menus (right click on labels)
+ 3) Columns and rows can be deleted (i.e. table can be
+ resized)
+ 4) Dynamic renderers. Renderers are plugins based on
+ column header name. Shows a simple Font Renderer and
+ an Image Renderer.
+
+Look for XXX in the code to indicate some workarounds for non-obvious
+behavior and various hacks.
+
+"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxImageFromStream.py b/wxPython/demo/wxImageFromStream.py
index 6953a2ca4c..1bf4fc7645 100644
--- a/wxPython/demo/wxImageFromStream.py
+++ b/wxPython/demo/wxImageFromStream.py
@@ -35,3 +35,12 @@ overview = """\
At long last there is finally a way to load any supported image type
directly from any Python file-like object, such as a memory buffer
using StringIO. """
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxJoystick.py b/wxPython/demo/wxJoystick.py
index 1c4882f40e..69555ee225 100644
--- a/wxPython/demo/wxJoystick.py
+++ b/wxPython/demo/wxJoystick.py
@@ -195,3 +195,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxLEDNumberCtrl.py b/wxPython/demo/wxLEDNumberCtrl.py
index d8907a35c1..4aead17541 100644
--- a/wxPython/demo/wxLEDNumberCtrl.py
+++ b/wxPython/demo/wxLEDNumberCtrl.py
@@ -46,3 +46,11 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxLayoutConstraints.py b/wxPython/demo/wxLayoutConstraints.py
index 4ffa033924..1c65b303df 100644
--- a/wxPython/demo/wxLayoutConstraints.py
+++ b/wxPython/demo/wxLayoutConstraints.py
@@ -114,10 +114,13 @@ def runTest(frame, nb, log):
-overview = """\
-Objects of this class can be associated with a window to define its layout constraints, with respect to siblings or its parent.
+overview = """\
+Objects of this class can be associated with a window to define its
+layout constraints, with respect to siblings or its parent.
-The class consists of the following eight constraints of class wxIndividualLayoutConstraint, some or all of which should be accessed directly to set the appropriate constraints.
+The class consists of the following eight constraints of class
+wxIndividualLayoutConstraint, some or all of which should be accessed
+directly to set the appropriate constraints.
left: represents the left hand edge of the window
@@ -135,10 +138,21 @@ centreX: represents the horizontal centre point of the window
centreY: represents the vertical centre point of the window
-Most constraints are initially set to have the relationship wxUnconstrained, which means that their values should be calculated by looking at known constraints. The exceptions are width and height, which are set to wxAsIs to ensure that if the user does not specify a constraint, the existing width and height will be used, to be compatible with panel items which often have take a default size. If the constraint is wxAsIs, the dimension will not be changed.
+Most constraints are initially set to have the relationship
+wxUnconstrained, which means that their values should be calculated by
+looking at known constraints. The exceptions are width and height,
+which are set to wxAsIs to ensure that if the user does not specify a
+constraint, the existing width and height will be used, to be
+compatible with panel items which often have take a default size. If
+the constraint is wxAsIs, the dimension will not be changed.
-wxLayoutConstraints()
--------------------------------------------
-
-Constructor.
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxListCtrl.py b/wxPython/demo/wxListCtrl.py
index d640ecddb6..501b148a3c 100644
--- a/wxPython/demo/wxListCtrl.py
+++ b/wxPython/demo/wxListCtrl.py
@@ -98,6 +98,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
self.list = TestListCtrl(self, tID,
style=wxLC_REPORT | wxSUNKEN_BORDER
+ | wxLC_EDIT_LABELS
#| wxLC_NO_HEADER
#| wxLC_VRULES | wxLC_HRULES
)
@@ -121,6 +122,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
EVT_LIST_COL_BEGIN_DRAG(self, tID, self.OnColBeginDrag)
EVT_LIST_COL_DRAGGING(self, tID, self.OnColDragging)
EVT_LIST_COL_END_DRAG(self, tID, self.OnColEndDrag)
+ EVT_LIST_BEGIN_LABEL_EDIT(self, tID, self.OnBeginEdit)
EVT_LEFT_DCLICK(self.list, self.OnDoubleClick)
EVT_RIGHT_DOWN(self.list, self.OnRightDown)
@@ -218,6 +220,8 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
#event.Veto() # doesn't work
# this does
self.list.SetItemState(10, 0, wxLIST_STATE_SELECTED)
+ event.Skip()
+
def OnItemDeselected(self, evt):
item = evt.GetItem()
@@ -233,6 +237,10 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
self.log.WriteText("OnItemActivated: %s\nTopItem: %s" %
(self.list.GetItemText(self.currentItem), self.list.GetTopItem()))
+ def OnBeginEdit(self, event):
+ self.log.WriteText("OnBeginEdit")
+ event.Allow()
+
def OnItemDelete(self, event):
self.log.WriteText("OnItemDelete\n")
@@ -265,30 +273,30 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
def OnRightClick(self, event):
self.log.WriteText("OnRightClick %s\n" % self.list.GetItemText(self.currentItem))
- # only do this part the first time
+ # only do this part the first time so the events are only bound once
if not hasattr(self, "popupID1"):
self.popupID1 = wxNewId()
self.popupID2 = wxNewId()
self.popupID3 = wxNewId()
self.popupID4 = wxNewId()
self.popupID5 = wxNewId()
+ self.popupID6 = wxNewId()
EVT_MENU(self, self.popupID1, self.OnPopupOne)
EVT_MENU(self, self.popupID2, self.OnPopupTwo)
EVT_MENU(self, self.popupID3, self.OnPopupThree)
EVT_MENU(self, self.popupID4, self.OnPopupFour)
EVT_MENU(self, self.popupID5, self.OnPopupFive)
+ EVT_MENU(self, self.popupID6, self.OnPopupSix)
# make a menu
menu = wxMenu()
- # Show how to put an icon in the menu
- item = wxMenuItem(menu, self.popupID1,"One")
- item.SetBitmap(images.getSmilesBitmap())
- menu.AppendItem(item)
- # add some other items
- menu.Append(self.popupID2, "Two")
+ # add some items
+ menu.Append(self.popupID1, "FindItem tests")
+# menu.Append(self.popupID2, "Two")
menu.Append(self.popupID3, "ClearAll and repopulate")
menu.Append(self.popupID4, "DeleteAllItems")
menu.Append(self.popupID5, "GetItem")
+ menu.Append(self.popupID6, "Edit")
# Popup the menu. If an item is selected then its handler
# will be called before PopupMenu returns.
@@ -308,8 +316,6 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
self.log.WriteText("Popup three\n")
self.list.ClearAll()
wxCallAfter(self.PopulateList)
- #wxYield()
- #self.PopulateList()
def OnPopupFour(self, event):
self.list.DeleteAllItems()
@@ -318,6 +324,10 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
item = self.list.GetItem(self.currentItem)
print item.m_text, item.m_itemId, self.list.GetItemData(self.currentItem)
+ def OnPopupSix(self, event):
+ self.list.EditLabel(self.currentItem)
+
+
def OnSize(self, event):
w,h = self.GetClientSizeTuple()
self.list.SetDimensions(0, 0, w, h)
diff --git a/wxPython/demo/wxListCtrl_virtual.py b/wxPython/demo/wxListCtrl_virtual.py
index 7dffd52fdd..c6af18cf2c 100644
--- a/wxPython/demo/wxListCtrl_virtual.py
+++ b/wxPython/demo/wxListCtrl_virtual.py
@@ -53,7 +53,7 @@ class TestVirtualList(wxListCtrl):
return item.GetText()
def OnItemDeselected(self, evt):
- print evt.m_itemIndex
+ self.log.WriteText("OnItemDeselected: %s" % evt.m_itemIndex)
#---------------------------------------------------
diff --git a/wxPython/demo/wxMDIWindows.py b/wxPython/demo/wxMDIWindows.py
index 7eef8a39c9..9df21dc221 100644
--- a/wxPython/demo/wxMDIWindows.py
+++ b/wxPython/demo/wxMDIWindows.py
@@ -52,3 +52,12 @@ it. Here are a couple samples of how to use it.
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxMVCTree.py b/wxPython/demo/wxMVCTree.py
index 808f8870b3..17d71cd211 100644
--- a/wxPython/demo/wxMVCTree.py
+++ b/wxPython/demo/wxMVCTree.py
@@ -51,13 +51,22 @@ def runTest(frame, nb, log):
overview = """\
-wxMVCTree is a control which handles hierarchical data. It is constructed in model-view-controller architecture, so the display of that data, and the content of the data can be changed greatly without affecting the other parts.
+
+wxMVCTree is a control which handles hierarchical data. It is
+constructed in model-view-controller architecture, so the display of
+that data, and the content of the data can be changed greatly without
+affecting the other parts.
Multiple selections are possible by holding down the Ctrl key.
-This demo shows the wxPython directory structure. The interesting part is that the tree model is late-bound to the filesystem, so the filenames are not retrieved until the directory is expanded. In mvctree.py are models for generic data, and both the early and late-bound filesystem models.
+This demo shows the wxPython directory structure. The interesting part
+is that the tree model is late-bound to the filesystem, so the
+filenames are not retrieved until the directory is expanded. In
+mvctree.py are models for generic data, and both the early and
+late-bound filesystem models.
-There is also support for editing, though it's not enabled in this demo, to avoid accidentally renaming files!
+There is also support for editing, though it's not enabled in this
+demo, to avoid accidentally renaming files!
"""
@@ -65,6 +74,7 @@ There is also support for editing, though it's not enabled in this demo, to avoi
-
-
-
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxMenu.py b/wxPython/demo/wxMenu.py
index bdbf93489b..c209977197 100644
--- a/wxPython/demo/wxMenu.py
+++ b/wxPython/demo/wxMenu.py
@@ -7,6 +7,8 @@
from wxPython.wx import *
+import time
+
#-------------------------------------------------------------------
class MyFrame(wxFrame):
@@ -68,14 +70,24 @@ check the source for this sample to see how to implement them.
menu5 = wxMenu()
menu5.Append(501, "Interesting thing\tCtrl+A", "Note the shortcut!")
-
menu5.AppendSeparator()
menu5.Append(502, "Hello\tShift+H")
+ menu5.AppendSeparator()
+ menu5.Append(503, "remove the submenu")
+ menu6 = wxMenu()
+ menu6.Append(601, "Submenu Item")
+ menu5.AppendMenu(504, "submenu", menu6)
+ menu5.Append(505, "remove this menu")
+ menu5.Append(506, "this is updated")
+ menu5.Append(507, "insert after this...")
+ menu5.Append(508, "...and before this")
menuBar.Append(menu5, "&Fun")
self.SetMenuBar(menuBar)
# Menu events
+ EVT_MENU_HIGHLIGHT_ALL(self, self.OnMenuHighlight)
+
EVT_MENU(self, 101, self.Menu101)
EVT_MENU(self, 102, self.Menu102)
EVT_MENU(self, 103, self.Menu103)
@@ -97,9 +109,25 @@ check the source for this sample to see how to implement them.
EVT_MENU(self, 501, self.Menu501)
EVT_MENU(self, 502, self.Menu502)
+ EVT_MENU(self, 503, self.TestRemove)
+ EVT_MENU(self, 505, self.TestRemove2)
+ EVT_MENU(self, 507, self.TestInsert)
+ EVT_MENU(self, 508, self.TestInsert)
+
+ EVT_UPDATE_UI(wxGetApp(), 506, self.TestUpdateUI)
# Methods
+ def OnMenuHighlight(self, event):
+ # Show how to get menu item imfo from this event handler
+ id = event.GetMenuId()
+ item = self.GetMenuBar().FindItemById(id)
+ text = item.GetText()
+ help = item.GetHelp()
+ #print text, help
+ event.Skip() # but in this case just call Skip so the default is done
+
+
def Menu101(self, event):
self.log.write('Welcome to Mercury\n')
@@ -146,8 +174,49 @@ check the source for this sample to see how to implement them.
def Menu502(self, event):
self.log.write('Hello from Jean-Michel\n')
+
+ def TestRemove(self, evt):
+ mb = self.GetMenuBar()
+ submenuItem = mb.FindItemById(601)
+ if not submenuItem:
+ return
+ submenu = submenuItem.GetMenu()
+ menu = submenu.GetParent()
+
+ #menu.Remove(504) # works
+ menu.RemoveItem(mb.FindItemById(504)) # this also works
+ #menu.RemoveItem(submenuItem) # doesn't work, as expected since submenuItem is not on menu
+
+
+ def TestRemove2(self, evt):
+ mb = self.GetMenuBar()
+ mb.Remove(4)
+
+
+ def TestUpdateUI(self, evt):
+ text = time.ctime()
+ evt.SetText(text)
+
+
+ def TestInsert(self, evt):
+ # get the menu
+ mb = self.GetMenuBar()
+ menuItem = mb.FindItemById(507)
+ menu = menuItem.GetMenu()
+
+ ID = wxNewId()
+ ##menu.Insert(9, ID, "NewItem " + str(ID))
+ item = wxMenuItem(menu)
+ item.SetId(ID)
+ item.SetText("NewItem " + str(ID))
+ menu.InsertItem(9, item)
+
+
+
#-------------------------------------------------------------------
+wxRegisterId(10000)
+
def runTest(frame, nb, log):
win = MyFrame(frame, -1, log)
frame.otherWin = win
diff --git a/wxPython/demo/wxMessageDialog.py b/wxPython/demo/wxMessageDialog.py
index 17dcf7d741..b75d907739 100644
--- a/wxPython/demo/wxMessageDialog.py
+++ b/wxPython/demo/wxMessageDialog.py
@@ -25,39 +25,14 @@ def runTest(frame, nb, log):
overview = """\
-wxMessageDialog()
-----------------------------------
-
-wxMessageDialog(wxWindow* parent, const wxString& message, const wxString& caption = "Message box", long style = wxOK | wxCANCEL | wxCENTRE, const wxPoint& pos = wxDefaultPosition)
-
-Constructor. Use wxMessageDialog::ShowModal to show the dialog.
-
-Parameters
--------------------
-
-parent = Parent window.
-
-message = Message to show on the dialog.
-
-caption = The dialog caption.
-
-style = A dialog style (bitlist) containing flags chosen from the following:
-
-wxOK Show an OK button.
-
-wxCANCEL Show a Cancel button.
-
-wxYES_NO Show Yes and No buttons.
-
-wxCENTRE Centre the message. Not Windows.
+Show a message to the user in a dialog
+"""
-wxICON_EXCLAMATION Shows an exclamation mark icon. Windows only.
-wxICON_HAND Shows a hand icon. Windows only.
-wxICON_QUESTION Shows a question mark icon. Windows only.
-wxICON_INFORMATION Shows an information (i) icon. Windows only.
-pos = Dialog position.
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxMimeTypesManager.py b/wxPython/demo/wxMimeTypesManager.py
index 39ba2074dc..d6356389d4 100644
--- a/wxPython/demo/wxMimeTypesManager.py
+++ b/wxPython/demo/wxMimeTypesManager.py
@@ -173,3 +173,11 @@ def MyBitmapsFunc( index ):
mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxMiniFrame.py b/wxPython/demo/wxMiniFrame.py
index fd7c6c7f45..b92e300eda 100644
--- a/wxPython/demo/wxMiniFrame.py
+++ b/wxPython/demo/wxMiniFrame.py
@@ -45,3 +45,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxMultipleChoiceDialog.py b/wxPython/demo/wxMultipleChoiceDialog.py
index 6e3fb5de55..c7f93764e1 100644
--- a/wxPython/demo/wxMultipleChoiceDialog.py
+++ b/wxPython/demo/wxMultipleChoiceDialog.py
@@ -25,3 +25,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxNotebook.py b/wxPython/demo/wxNotebook.py
index ced491b69d..1f46c2c6e8 100644
--- a/wxPython/demo/wxNotebook.py
+++ b/wxPython/demo/wxNotebook.py
@@ -14,7 +14,7 @@ import sys
class TestNB(wxNotebook):
def __init__(self, parent, id, log):
wxNotebook.__init__(self, parent, id, style=
- #0
+ #wxNB_TOP
wxNB_BOTTOM
#wxNB_LEFT
#wxNB_RIGHT
@@ -59,11 +59,11 @@ class TestNB(wxNotebook):
win = self.makeColorPanel(wxCYAN)
self.AddPage(win, "Cyan")
- win = self.makeColorPanel(wxWHITE)
- self.AddPage(win, "White")
+## win = self.makeColorPanel(wxWHITE)
+## self.AddPage(win, "White")
- win = self.makeColorPanel(wxBLACK)
- self.AddPage(win, "Black")
+## win = self.makeColorPanel(wxBLACK)
+## self.AddPage(win, "Black")
win = self.makeColorPanel(wxNamedColour('MIDNIGHT BLUE'))
self.AddPage(win, "MIDNIGHT BLUE")
@@ -88,16 +88,17 @@ class TestNB(wxNotebook):
def OnPageChanged(self, event):
old = event.GetOldSelection()
new = event.GetSelection()
- self.log.write('OnPageChanged, old:%d, new:%d\n' % (old, new))
+ sel = self.GetSelection()
+ self.log.write('OnPageChanged, old:%d, new:%d, sel:%d\n' % (old, new, sel))
event.Skip()
def OnPageChanging(self, event):
old = event.GetOldSelection()
new = event.GetSelection()
- self.log.write('OnPageChanging, old:%d, new:%d\n' % (old, new))
+ sel = self.GetSelection()
+ self.log.write('OnPageChanging, old:%d, new:%d, sel:%d\n' % (old, new, sel))
event.Skip()
-
#----------------------------------------------------------------------------
def runTest(frame, nb, log):
diff --git a/wxPython/demo/wxOGL.py b/wxPython/demo/wxOGL.py
index 17f0015899..2094959821 100644
--- a/wxPython/demo/wxOGL.py
+++ b/wxPython/demo/wxOGL.py
@@ -106,7 +106,7 @@ class MyEvtHandler(wxShapeEvtHandler):
def OnLeftClick(self, x, y, keys = 0, attachment = 0):
shape = self.GetShape()
- print shape.__class__
+ print shape.__class__, shape.GetClassName()
canvas = shape.GetCanvas()
dc = wxClientDC(canvas)
canvas.PrepareDC(dc)
diff --git a/wxPython/demo/wxPageSetupDialog.py b/wxPython/demo/wxPageSetupDialog.py
index 61ae29290d..df344ec6ab 100644
--- a/wxPython/demo/wxPageSetupDialog.py
+++ b/wxPython/demo/wxPageSetupDialog.py
@@ -21,13 +21,15 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-
-overview = """\
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxPlotCanvas.py b/wxPython/demo/wxPlotCanvas.py
index 1a9f7b2271..5f1a42ed91 100644
--- a/wxPython/demo/wxPlotCanvas.py
+++ b/wxPython/demo/wxPlotCanvas.py
@@ -37,3 +37,11 @@ def runTest(frame, nb, log):
overview = wxPlotCanvas.__doc__
#---------------------------------------------------------------------------
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxPrintDialog.py b/wxPython/demo/wxPrintDialog.py
index 183cbe801c..b70e484dd5 100644
--- a/wxPython/demo/wxPrintDialog.py
+++ b/wxPython/demo/wxPrintDialog.py
@@ -5,12 +5,18 @@ from wxPython.wx import *
def runTest(frame, nb, log):
data = wxPrintDialogData()
+
+ data.EnableSelection(True)
data.EnablePrintToFile(True)
data.EnablePageNumbers(True)
- data.EnableSelection(True)
+ data.SetMinPage(1)
+ data.SetMaxPage(5)
+ data.SetAllPages(True)
+
dlg = wxPrintDialog(frame, data)
if dlg.ShowModal() == wxID_OK:
- log.WriteText('\n')
+ data = dlg.GetPrintDialogData()
+ log.WriteText('GetAllPages: %d\n' % data.GetAllPages())
dlg.Destroy()
#---------------------------------------------------------------------------
@@ -18,14 +24,12 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-
-
-
-
-
-overview = """\
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxProcess.py b/wxPython/demo/wxProcess.py
index d8104e5e75..b9bd6ceb66 100644
--- a/wxPython/demo/wxProcess.py
+++ b/wxPython/demo/wxProcess.py
@@ -152,3 +152,12 @@ child process to exit its main loop.
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxProgressDialog.py b/wxPython/demo/wxProgressDialog.py
index 09f6c08b56..ec7bff1bd3 100644
--- a/wxPython/demo/wxProgressDialog.py
+++ b/wxPython/demo/wxProgressDialog.py
@@ -30,9 +30,12 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-overview = """\
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxRightTextCtrl.py b/wxPython/demo/wxRightTextCtrl.py
index 7fe10cef6f..b2fa3e970b 100644
--- a/wxPython/demo/wxRightTextCtrl.py
+++ b/wxPython/demo/wxRightTextCtrl.py
@@ -47,3 +47,10 @@ def runTest(frame, nb, log):
overview = wxPython.lib.rightalign.__doc__
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxSashWindow.py b/wxPython/demo/wxSashWindow.py
index a8b472c2c1..17105b0a9d 100644
--- a/wxPython/demo/wxSashWindow.py
+++ b/wxPython/demo/wxSashWindow.py
@@ -114,17 +114,13 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-
-
-
-
-
-
-
-overview = """\
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxScrolledMessageDialog.py b/wxPython/demo/wxScrolledMessageDialog.py
index e50d1e7c9e..a9715c6af2 100644
--- a/wxPython/demo/wxScrolledMessageDialog.py
+++ b/wxPython/demo/wxScrolledMessageDialog.py
@@ -17,8 +17,14 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-overview = """\
-"""
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxScrolledPanel.py b/wxPython/demo/wxScrolledPanel.py
index 079f878dc6..89da9f3871 100644
--- a/wxPython/demo/wxScrolledPanel.py
+++ b/wxPython/demo/wxScrolledPanel.py
@@ -15,12 +15,14 @@ class TestPanel(wxScrolledPanel):
desc = wxStaticText(self, -1,
"wxScrolledPanel extends wxScrolledWindow, adding all "
"the necessary bits to set up scroll handling for you.\n\n"
- "Here are three fixed size examples of its use, and the "
- "mail demo panel is also using it."
+ "Here are three fixed size examples of its use. The "
+ "demo panel for this sample is also using it -- the \nwxStaticLine"
+ "below is intentionally made too long so a scrollbar will be "
+ "activated."
)
desc.SetForegroundColour("Blue")
vbox.Add(desc, 0, wxALIGN_LEFT|wxALL, 5)
- vbox.Add(wxStaticLine(self, -1), 0, wxEXPAND|wxALL, 5)
+ vbox.Add(wxStaticLine(self, -1, size=(1024,-1)), 0, wxALL, 5)
vbox.AddSpacer(20,20)
words = text.split()
diff --git a/wxPython/demo/wxScrolledWindow.py b/wxPython/demo/wxScrolledWindow.py
index 53d8b4a130..67ac26e2fa 100644
--- a/wxPython/demo/wxScrolledWindow.py
+++ b/wxPython/demo/wxScrolledWindow.py
@@ -64,7 +64,7 @@ class MyCanvas(wxScrolledWindow):
self.DoDrawing(dc)
- def DoDrawing(self, dc):
+ def DoDrawing(self, dc, printing=False):
dc.BeginDrawing()
dc.SetPen(wxPen('RED'))
dc.DrawRectangle(5, 5, 50, 50)
@@ -92,6 +92,11 @@ class MyCanvas(wxScrolledWindow):
dc.SetTextForeground(wxColour(0, 0xFF, 0x80))
dc.DrawText("a bitmap", 200, 85)
+## dc.SetFont(wxFont(14, wxSWISS, wxNORMAL, wxNORMAL))
+## dc.SetTextForeground("BLACK")
+## dc.DrawText("TEST this STRING", 10, 200)
+## print dc.GetFullTextExtent("TEST this STRING")
+
font = wxFont(20, wxSWISS, wxNORMAL, wxNORMAL)
dc.SetFont(font)
dc.SetTextForeground(wxBLACK)
@@ -106,16 +111,20 @@ class MyCanvas(wxScrolledWindow):
dc.SetPen(wxPen('RED'))
dc.DrawEllipticArc(200, 500, 50, 75, 0, 90)
- y = 20
- for style in [wxDOT, wxLONG_DASH, wxSHORT_DASH, wxDOT_DASH, wxUSER_DASH]:
- pen = wxPen("DARK ORCHID", 1, style)
- if style == wxUSER_DASH:
- pen.SetCap(wxCAP_BUTT)
- pen.SetDashes([1,2])
- pen.SetColour("RED")
- dc.SetPen(pen)
- dc.DrawLine(300, y, 400, y)
- y = y + 10
+ if not printing:
+ # This has troubles when used on a print preview in wxGTK,
+ # probably something to do with the pen styles and the scaling
+ # it does...
+ y = 20
+ for style in [wxDOT, wxLONG_DASH, wxSHORT_DASH, wxDOT_DASH, wxUSER_DASH]:
+ pen = wxPen("DARK ORCHID", 1, style)
+ if style == wxUSER_DASH:
+ pen.SetCap(wxCAP_BUTT)
+ pen.SetDashes([1,2])
+ pen.SetColour("RED")
+ dc.SetPen(pen)
+ dc.DrawLine(300, y, 400, y)
+ y = y + 10
dc.SetBrush(wxTRANSPARENT_BRUSH)
dc.SetPen(wxPen(wxColour(0xFF, 0x20, 0xFF), 1, wxSOLID))
diff --git a/wxPython/demo/wxSingleChoiceDialog.py b/wxPython/demo/wxSingleChoiceDialog.py
index df2d2b1b0e..aa649eb750 100644
--- a/wxPython/demo/wxSingleChoiceDialog.py
+++ b/wxPython/demo/wxSingleChoiceDialog.py
@@ -16,17 +16,17 @@ def runTest(frame, nb, log):
+overview = """\
+This class represents a dialog that shows a list of strings, and allows the user
+to select one. Double-clicking on a list item is equivalent to single-clicking
+and then pressing OK.
+"""
-
-
-
-
-
-overview = """\
-This class represents a dialog that shows a list of strings, and allows the user to select one. Double-clicking on a list item is equivalent to single-clicking and then pressing OK.
-
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxSpinButton.py b/wxPython/demo/wxSpinButton.py
index 0095fbad77..ed64a713e5 100644
--- a/wxPython/demo/wxSpinButton.py
+++ b/wxPython/demo/wxSpinButton.py
@@ -46,3 +46,10 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxSpinCtrl.py b/wxPython/demo/wxSpinCtrl.py
index 164397d1a0..2e57bca067 100644
--- a/wxPython/demo/wxSpinCtrl.py
+++ b/wxPython/demo/wxSpinCtrl.py
@@ -34,3 +34,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxSplitterWindow.py b/wxPython/demo/wxSplitterWindow.py
index 206244f6c0..33359b3ba1 100644
--- a/wxPython/demo/wxSplitterWindow.py
+++ b/wxPython/demo/wxSplitterWindow.py
@@ -37,11 +37,6 @@ def runTest(frame, nb, log):
splitter.SetMinimumPaneSize(20)
splitter.SplitVertically(p1, p2, 100)
-## splitter.SetSize((300,300))
-## print splitter.GetSashPosition()
-## splitter.SetSashPosition(100)
-## print splitter.GetSashPosition()
-
return splitter
@@ -50,41 +45,16 @@ def runTest(frame, nb, log):
-
-
-
-
-
-
-
-
-
-
-
overview = """\
-This class manages up to two subwindows. The current view can be split into two programmatically (perhaps from a menu command), and unsplit either programmatically or via the wxSplitterWindow user interface.
-
-wxSplitterWindow()
------------------------------------
-
-Default constructor.
-
-wxSplitterWindow(wxWindow* parent, wxWindowID id, int x, const wxPoint& point = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style=wxSP_3D, const wxString& name = "splitterWindow")
-
-Constructor for creating the window.
-
-Parameters
--------------------
-
-parent = The parent of the splitter window.
-
-id = The window identifier.
+This class manages up to two subwindows. The current view can be split
+into two programmatically (perhaps from a menu command), and unsplit
+either programmatically or via the wxSplitterWindow user interface.
+"""
-pos = The window position.
-size = The window size.
-style = The window style. See wxSplitterWindow.
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
-name = The window name.
-"""
diff --git a/wxPython/demo/wxStaticBitmap.py b/wxPython/demo/wxStaticBitmap.py
index d281d60237..7dfc51722b 100644
--- a/wxPython/demo/wxStaticBitmap.py
+++ b/wxPython/demo/wxStaticBitmap.py
@@ -38,10 +38,12 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-
-overview = """\
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxStaticText.py b/wxPython/demo/wxStaticText.py
index f143ddb5cb..c40d886405 100644
--- a/wxPython/demo/wxStaticText.py
+++ b/wxPython/demo/wxStaticText.py
@@ -24,10 +24,9 @@ class TestPanel(wxPanel):
str = "This is a different font."
text = wxStaticText(self, -1, str, (20, 100))
- font = wxFont(18, wxSWISS, wxNORMAL, wxNORMAL, False, "Arial")
- w, h, d, e = self.GetFullTextExtent(str, font)
+ font = wxFont(18, wxSWISS, wxNORMAL, wxNORMAL)
text.SetFont(font)
- text.SetSize(wxSize(w, h))
+ #text.SetSize(text.GetBestSize())
wxStaticText(self, -1, "Multi-line wxStaticText\nline 2\nline 3\n\nafter empty line", (20,150))
wxStaticText(self, -1, "Align right multi-line\nline 2\nline 3\n\nafter empty line", (220,150), style=wxALIGN_RIGHT)
diff --git a/wxPython/demo/wxStatusBar.py b/wxPython/demo/wxStatusBar.py
index d7241a1b5b..ac7dedd0f1 100644
--- a/wxPython/demo/wxStatusBar.py
+++ b/wxPython/demo/wxStatusBar.py
@@ -104,5 +104,16 @@ def runTest(frame, nb, log):
overview = """\
-A status bar is a narrow window that can be placed along the bottom of a frame to give small amounts of status information. It can contain one or more fields, one or more of which can be variable length according to the size of the window.
-"""
+A status bar is a narrow window that can be placed along the bottom of
+a frame to give small amounts of status information. It can contain
+one or more fields, one or more of which can be variable length
+according to the size of the window. """
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxStyledTextCtrl_1.py b/wxPython/demo/wxStyledTextCtrl_1.py
index d23c1a6636..fa0d742ebf 100644
--- a/wxPython/demo/wxStyledTextCtrl_1.py
+++ b/wxPython/demo/wxStyledTextCtrl_1.py
@@ -2,6 +2,8 @@
from wxPython.wx import *
from wxPython.stc import *
+import images
+
#----------------------------------------------------------------------
debug = 1
@@ -212,7 +214,8 @@ def runTest(frame, nb, log):
# setup some markers
ed.SetMarginType(1, wxSTC_MARGIN_SYMBOL)
ed.MarkerDefine(0, wxSTC_MARK_ROUNDRECT, "#CCFF00", "RED")
- ed.MarkerDefine(1, wxSTC_MARK_CIRCLE, "FOREST GREEN", "SIENNA")
+ #ed.MarkerDefine(1, wxSTC_MARK_CIRCLE, "FOREST GREEN", "SIENNA")
+ ed.MarkerDefineBitmap(1, images.getFolder1Bitmap())
ed.MarkerDefine(2, wxSTC_MARK_SHORTARROW, "blue", "blue")
ed.MarkerDefine(3, wxSTC_MARK_ARROW, "#00FF00", "#00FF00")
diff --git a/wxPython/demo/wxStyledTextCtrl_2.py b/wxPython/demo/wxStyledTextCtrl_2.py
index 516383f50f..4a5433e14a 100644
--- a/wxPython/demo/wxStyledTextCtrl_2.py
+++ b/wxPython/demo/wxStyledTextCtrl_2.py
@@ -1,7 +1,7 @@
from wxPython.wx import *
from wxPython.stc import *
-
+import images
import keyword
#----------------------------------------------------------------------
@@ -53,6 +53,7 @@ class PythonSTC(wxStyledTextCtrl):
self.SetViewWhiteSpace(False)
#self.SetBufferedDraw(False)
+ #self.SetViewEOL(True)
self.SetEdgeMode(wxSTC_EDGE_BACKGROUND)
self.SetEdgeColumn(78)
@@ -85,6 +86,7 @@ class PythonSTC(wxStyledTextCtrl):
EVT_STC_UPDATEUI(self, ID, self.OnUpdateUI)
EVT_STC_MARGINCLICK(self, ID, self.OnMarginClick)
+ EVT_KEY_DOWN(self, self.OnKeyPressed)
# Make some styles, The lexer defines what each style is used for, we
@@ -108,9 +110,9 @@ class PythonSTC(wxStyledTextCtrl):
# Number
self.StyleSetSpec(wxSTC_P_NUMBER, "fore:#007F7F,size:%(size)d" % faces)
# String
- self.StyleSetSpec(wxSTC_P_STRING, "fore:#7F007F,italic,face:%(times)s,size:%(size)d" % faces)
+ self.StyleSetSpec(wxSTC_P_STRING, "fore:#7F007F,face:%(helv)s,size:%(size)d" % faces)
# Single quoted string
- self.StyleSetSpec(wxSTC_P_CHARACTER, "fore:#7F007F,italic,face:%(times)s,size:%(size)d" % faces)
+ self.StyleSetSpec(wxSTC_P_CHARACTER, "fore:#7F007F,face:%(helv)s,size:%(size)d" % faces)
# Keyword
self.StyleSetSpec(wxSTC_P_WORD, "fore:#00007F,bold,size:%(size)d" % faces)
# Triple quotes
@@ -130,10 +132,15 @@ class PythonSTC(wxStyledTextCtrl):
# End of line where string is not closed
self.StyleSetSpec(wxSTC_P_STRINGEOL, "fore:#000000,face:%(mono)s,back:#E0C0E0,eol,size:%(size)d" % faces)
-
self.SetCaretForeground("BLUE")
- EVT_KEY_DOWN(self, self.OnKeyPressed)
+
+ # register some images for use in the AutoComplete box.
+ self.RegisterImage(1, images.getSmilesBitmap())
+ self.RegisterImage(2, images.getFile1Bitmap())
+ self.RegisterImage(3, images.getCopyBitmap())
+
+
def OnKeyPressed(self, event):
@@ -145,7 +152,9 @@ class PythonSTC(wxStyledTextCtrl):
# Tips
if event.ShiftDown():
self.CallTipSetBackground("yellow")
- self.CallTipShow(pos, 'param1, param2')
+ self.CallTipShow(pos, 'lots of of text: blah, blah, blah\n\n'
+ 'show some suff, maybe parameters..\n\n'
+ 'fubar(param1, param2)')
# Code completion
else:
#lst = []
@@ -156,17 +165,22 @@ class PythonSTC(wxStyledTextCtrl):
#self.AutoCompShow(0, st)
kw = keyword.kwlist[:]
- kw.append("zzzzzz")
- kw.append("aaaaa")
- kw.append("__init__")
- kw.append("zzaaaaa")
- kw.append("zzbaaaa")
+ kw.append("zzzzzz?2")
+ kw.append("aaaaa?2")
+ kw.append("__init__?3")
+ kw.append("zzaaaaa?2")
+ kw.append("zzbaaaa?2")
kw.append("this_is_a_longer_value")
- kw.append("this_is_a_much_much_much_much_much_much_much_longer_value")
+ #kw.append("this_is_a_much_much_much_much_much_much_much_longer_value")
kw.sort() # Python sorts are case sensitive
self.AutoCompSetIgnoreCase(False) # so this needs to match
+ # Images are specified with a appended "?type"
+ for i in range(len(kw)):
+ if kw[i] in keyword.kwlist:
+ kw[i] = kw[i] + "?1"
+
self.AutoCompShow(0, " ".join(kw))
else:
event.Skip()
diff --git a/wxPython/demo/wxTextEntryDialog.py b/wxPython/demo/wxTextEntryDialog.py
index af93b747f3..3fd27aee90 100644
--- a/wxPython/demo/wxTextEntryDialog.py
+++ b/wxPython/demo/wxTextEntryDialog.py
@@ -17,14 +17,15 @@ def runTest(frame, nb, log):
+overview = """\
+"""
-
-
-overview = """\
-
-"""
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxTimeCtrl.py b/wxPython/demo/wxTimeCtrl.py
index 09465642dd..e6a5aeed2f 100644
--- a/wxPython/demo/wxTimeCtrl.py
+++ b/wxPython/demo/wxTimeCtrl.py
@@ -1,68 +1,114 @@
from wxPython.wx import *
from wxPython.lib.timectrl import *
+from wxPython.lib.timectrl import __doc__ as overviewdoc
+from wxPython.lib.scrolledpanel import wxScrolledPanel
#----------------------------------------------------------------------
-class TestPanel( wxPanel ):
+class TestPanel( wxScrolledPanel ):
def __init__( self, parent, log ):
- wxPanel.__init__( self, parent, -1 )
+ wxScrolledPanel.__init__( self, parent, -1 )
self.log = log
- panel = wxPanel( self, -1 )
- grid = wxFlexGridSizer( 0, 2, 20, 0 )
- text1 = wxStaticText( panel, 10, "A 12-hour format wxTimeCtrl:")
- self.time12 = wxTimeCtrl( panel, 20, name="12 hour control" )
- spin1 = wxSpinButton( panel, 30, wxDefaultPosition, wxSize(-1,20), 0 )
+ text1 = wxStaticText( self, -1, "12-hour format:")
+ self.time12 = wxTimeCtrl( self, -1, name="12 hour control" )
+ spin1 = wxSpinButton( self, -1, wxDefaultPosition, wxSize(-1,20), 0 )
self.time12.BindSpinButton( spin1 )
- grid.AddWindow( text1, 0, wxALIGN_RIGHT, 5 )
- hbox1 = wxBoxSizer( wxHORIZONTAL )
- hbox1.AddWindow( self.time12, 0, wxALIGN_CENTRE, 5 )
- hbox1.AddWindow( spin1, 0, wxALIGN_CENTRE, 5 )
- grid.AddSizer( hbox1, 0, wxLEFT, 5 )
+ text2 = wxStaticText( self, -1, "24-hour format:")
+ spin2 = wxSpinButton( self, -1, wxDefaultPosition, wxSize(-1,20), 0 )
+ self.time24 = wxTimeCtrl( self, -1, name="24 hour control", fmt24hr=True, spinButton = spin2 )
+ text3 = wxStaticText( self, -1, "No seconds\nor spin button:")
+ self.spinless_ctrl = wxTimeCtrl( self, -1, name="spinless control", display_seconds = False )
- text2 = wxStaticText( panel, 40, "A 24-hour format wxTimeCtrl:")
- self.time24 = wxTimeCtrl( panel, 50, fmt24hr=True, name="24 hour control" )
- spin2 = wxSpinButton( panel, 60, wxDefaultPosition, wxSize(-1,20), 0 )
- self.time24.BindSpinButton( spin2 )
+ grid = wxFlexGridSizer( 0, 2, 10, 5 )
+ grid.Add( text1, 0, wxALIGN_RIGHT )
+ hbox1 = wxBoxSizer( wxHORIZONTAL )
+ hbox1.Add( self.time12, 0, wxALIGN_CENTRE )
+ hbox1.Add( spin1, 0, wxALIGN_CENTRE )
+ grid.Add( hbox1, 0, wxLEFT )
- grid.AddWindow( text2, 0, wxALIGN_RIGHT|wxTOP|wxBOTTOM, 5 )
+ grid.Add( text2, 0, wxALIGN_RIGHT|wxTOP|wxBOTTOM )
hbox2 = wxBoxSizer( wxHORIZONTAL )
- hbox2.AddWindow( self.time24, 0, wxALIGN_CENTRE, 5 )
- hbox2.AddWindow( spin2, 0, wxALIGN_CENTRE, 5 )
- grid.AddSizer( hbox2, 0, wxLEFT, 5 )
-
+ hbox2.Add( self.time24, 0, wxALIGN_CENTRE )
+ hbox2.Add( spin2, 0, wxALIGN_CENTRE )
+ grid.Add( hbox2, 0, wxLEFT )
- text3 = wxStaticText( panel, 70, "A wxTimeCtrl without a spin button:")
- self.spinless_ctrl = wxTimeCtrl( panel, 80, name="spinless control" )
+ grid.Add( text3, 0, wxALIGN_RIGHT|wxTOP|wxBOTTOM )
+ grid.Add( self.spinless_ctrl, 0, wxLEFT )
- grid.AddWindow( text3, 0, wxALIGN_RIGHT|wxTOP|wxBOTTOM, 5 )
- grid.AddWindow( self.spinless_ctrl, 0, wxLEFT, 5 )
-
- buttonChange = wxButton( panel, 100, "Change Controls")
- self.radio12to24 = wxRadioButton( panel, 110, "Copy 12-hour time to 24-hour control", wxDefaultPosition, wxDefaultSize, wxRB_GROUP )
- self.radio24to12 = wxRadioButton( panel, 120, "Copy 24-hour time to 12-hour control")
- self.radioWx = wxRadioButton( panel, 130, "Set controls to 'now' using wxDateTime")
- self.radioMx = wxRadioButton( panel, 140, "Set controls to 'now' using mxDateTime")
+ buttonChange = wxButton( self, -1, "Change Controls")
+ self.radio12to24 = wxRadioButton( self, -1, "Copy 12-hour time to 24-hour control", wxDefaultPosition, wxDefaultSize, wxRB_GROUP )
+ self.radio24to12 = wxRadioButton( self, -1, "Copy 24-hour time to 12-hour control")
+ self.radioWx = wxRadioButton( self, -1, "Set controls to 'now' using wxDateTime")
+ self.radioMx = wxRadioButton( self, -1, "Set controls to 'now' using mxDateTime")
radio_vbox = wxBoxSizer( wxVERTICAL )
- radio_vbox.AddWindow( self.radio12to24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
- radio_vbox.AddWindow( self.radio24to12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
- radio_vbox.AddWindow( self.radioWx, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
- radio_vbox.AddWindow( self.radioMx, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
+ radio_vbox.Add( self.radio12to24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
+ radio_vbox.Add( self.radio24to12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
+ radio_vbox.Add( self.radioWx, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
+ radio_vbox.Add( self.radioMx, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 )
- box_label = wxStaticBox( panel, 90, "Change Controls through API" )
+ box_label = wxStaticBox( self, -1, "Change Controls through API" )
buttonbox = wxStaticBoxSizer( box_label, wxHORIZONTAL )
- buttonbox.AddWindow( buttonChange, 0, wxALIGN_CENTRE|wxALL, 5 )
- buttonbox.AddSizer( radio_vbox, 0, wxALIGN_CENTRE|wxALL, 5 )
+ buttonbox.Add( buttonChange, 0, wxALIGN_CENTRE|wxALL, 5 )
+ buttonbox.Add( radio_vbox, 0, wxALIGN_CENTRE|wxALL, 5 )
+
+ hbox = wxBoxSizer( wxHORIZONTAL )
+ hbox.Add( grid, 0, wxALIGN_LEFT|wxALL, 15 )
+ hbox.Add( buttonbox, 0, wxALIGN_RIGHT|wxBOTTOM, 20 )
+
+
+ box_label = wxStaticBox( self, -1, "Bounds Control" )
+ boundsbox = wxStaticBoxSizer( box_label, wxHORIZONTAL )
+ self.set_bounds = wxCheckBox( self, -1, "Set time bounds:" )
+
+ minlabel = wxStaticText( self, -1, "minimum time:" )
+ self.min = wxTimeCtrl( self, -1, name="min", display_seconds = False )
+ self.min.Enable( False )
+
+ maxlabel = wxStaticText( self, -1, "maximum time:" )
+ self.max = wxTimeCtrl( self, -1, name="max", display_seconds = False )
+ self.max.Enable( False )
+
+ self.limit_check = wxCheckBox( self, -1, "Limit control" )
+
+ label = wxStaticText( self, -1, "Resulting time control:" )
+ self.target_ctrl = wxTimeCtrl( self, -1, name="new" )
+
+ grid2 = wxFlexGridSizer( 0, 2, 0, 0 )
+ grid2.Add( 20, 0, 0, wxALIGN_LEFT|wxALL, 5 )
+ grid2.Add( 20, 0, 0, wxALIGN_LEFT|wxALL, 5 )
+
+ grid2.Add( self.set_bounds, 0, wxALIGN_LEFT|wxALL, 5 )
+ grid3 = wxFlexGridSizer( 0, 2, 5, 5 )
+ grid3.Add(minlabel, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL )
+ grid3.Add( self.min, 0, wxALIGN_LEFT )
+ grid3.Add(maxlabel, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL )
+ grid3.Add( self.max, 0, wxALIGN_LEFT )
+ grid2.Add(grid3, 0, wxALIGN_LEFT )
+
+ grid2.Add( self.limit_check, 0, wxALIGN_LEFT|wxALL, 5 )
+ grid2.Add( 20, 0, 0, wxALIGN_LEFT|wxALL, 5 )
+
+ grid2.Add( 20, 0, 0, wxALIGN_LEFT|wxALL, 5 )
+ grid2.Add( 20, 0, 0, wxALIGN_LEFT|wxALL, 5 )
+ grid2.Add( label, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5 )
+ grid2.Add( self.target_ctrl, 0, wxALIGN_LEFT|wxALL, 5 )
+ boundsbox.Add(grid2, 0, wxALIGN_CENTER|wxEXPAND|wxALL, 5)
+
+ vbox = wxBoxSizer( wxVERTICAL )
+ vbox.AddSpacer(20, 20)
+ vbox.Add( hbox, 0, wxALIGN_LEFT|wxALL, 5)
+ vbox.Add( boundsbox, 0, wxALIGN_LEFT|wxALL, 5 )
+
outer_box = wxBoxSizer( wxVERTICAL )
- outer_box.AddSizer( grid, 0, wxALIGN_CENTRE|wxBOTTOM, 20 )
- outer_box.AddSizer( buttonbox, 0, wxALIGN_CENTRE|wxALL, 5 )
+ outer_box.Add( vbox, 0, wxALIGN_LEFT|wxALL, 5)
# Turn on mxDateTime option only if we can import the module:
@@ -72,23 +118,31 @@ class TestPanel( wxPanel ):
self.radioMx.Enable( False )
- panel.SetAutoLayout( True )
- panel.SetSizer( outer_box )
- outer_box.Fit( panel )
- panel.Move( (50,50) )
- self.panel = panel
-
+ self.SetAutoLayout( True )
+ self.SetSizer( outer_box )
+ outer_box.Fit( self )
+ self.SetupScrolling()
+ EVT_BUTTON( self, buttonChange.GetId(), self.OnButtonClick )
EVT_TIMEUPDATE( self, self.time12.GetId(), self.OnTimeChange )
EVT_TIMEUPDATE( self, self.time24.GetId(), self.OnTimeChange )
EVT_TIMEUPDATE( self, self.spinless_ctrl.GetId(), self.OnTimeChange )
- EVT_BUTTON( self, buttonChange.GetId(), self.OnButtonClick )
+
+ EVT_CHECKBOX( self, self.set_bounds.GetId(), self.OnBoundsCheck )
+ EVT_CHECKBOX( self, self.limit_check.GetId(), self.SetTargetMinMax )
+ EVT_TIMEUPDATE( self, self.min.GetId(), self.SetTargetMinMax )
+ EVT_TIMEUPDATE( self, self.max.GetId(), self.SetTargetMinMax )
+ EVT_TIMEUPDATE( self, self.target_ctrl.GetId(), self.OnTimeChange )
+
def OnTimeChange( self, event ):
- timectrl = self.panel.FindWindowById( event.GetId() )
- self.log.write('%s time = %s\n' % ( timectrl.GetName(), timectrl.GetValue() ) )
+ timectrl = self.FindWindowById( event.GetId() )
+ ib_str = [ " (out of bounds)", "" ]
+
+ self.log.write('%s time = %s%s\n' % ( timectrl.GetName(), timectrl.GetValue(), ib_str[ timectrl.IsInBounds() ] ) )
+
def OnButtonClick( self, event ):
if self.radio12to24.GetValue():
@@ -99,16 +153,53 @@ class TestPanel( wxPanel ):
elif self.radioWx.GetValue():
now = wxDateTime_Now()
- self.time12.SetWxDateTime( now )
- self.time24.SetWxDateTime( now )
- self.spinless_ctrl.SetWxDateTime( now )
+ self.time12.SetValue( now )
+ # (demonstrates that G/SetValue returns/takes a wxDateTime)
+ self.time24.SetValue( self.time12.GetValue(as_wxDateTime=True) )
+
+ # (demonstrates that G/SetValue returns/takes a wxTimeSpan)
+ self.spinless_ctrl.SetValue( self.time12.GetValue(as_wxTimeSpan=True) )
elif self.radioMx.GetValue():
from mx import DateTime
now = DateTime.now()
- self.time12.SetMxDateTime( now )
- self.time24.SetMxDateTime( now )
- self.spinless_ctrl.SetMxDateTime( now )
+ self.time12.SetValue( now )
+
+ # (demonstrates that G/SetValue returns/takes a DateTime)
+ self.time24.SetValue( self.time12.GetValue(as_mxDateTime=True) )
+
+ # (demonstrates that G/SetValue returns/takes a DateTimeDelta)
+ self.spinless_ctrl.SetValue( self.time12.GetValue(as_mxDateTimeDelta=True) )
+
+
+ def OnBoundsCheck( self, event ):
+ self.min.Enable( self.set_bounds.GetValue() )
+ self.max.Enable( self.set_bounds.GetValue() )
+ self.SetTargetMinMax()
+
+
+ def SetTargetMinMax( self, event=None ):
+ min = max = None
+
+ if self.set_bounds.GetValue():
+ min = self.min.GetWxDateTime()
+ max = self.max.GetWxDateTime()
+ else:
+ min, max = None, None
+
+ cur_min, cur_max = self.target_ctrl.GetBounds()
+
+ if min != cur_min: self.target_ctrl.SetMin( min )
+ if max != cur_max: self.target_ctrl.SetMax( max )
+
+ self.target_ctrl.SetLimited( self.limit_check.GetValue() )
+
+ if min != cur_min or max != cur_max:
+ new_min, new_max = self.target_ctrl.GetBounds()
+ if new_min and new_max:
+ self.log.write( "current min, max: (%s, %s)\n" % ( new_min.FormatTime(), new_max.FormatTime() ) )
+ else:
+ self.log.write( "current min, max: (None, None)\n" )
#----------------------------------------------------------------------
@@ -118,93 +209,7 @@ def runTest( frame, nb, log ):
#----------------------------------------------------------------------
-overview = """
-
-wxTimeCtrl provides a multi-cell control that allows manipulation of a time
-value. It supports 12 or 24 hour format, and you can use wxDateTime or mxDateTime
-to get/set values from the control.
-
-Left/right/tab keys to switch cells within a wxTimeCtrl, and the up/down arrows act
-like a spin control. wxTimeCtrl also allows for an actual spin button to be attached
-to the control, so that it acts like the up/down arrow keys.
-
-The ! or c key sets the value of the control to now.
-
-Here's the API for wxTimeCtrl:
-
- wxTimeCtrl (
- parent, id = -1,
- value = '12:00:00 AM',
- pos = wxDefaultPosition,
- size = wxDefaultSize,
- fmt24hr = False,
- spinButton = None,
- style = wxTE_PROCESS_TAB,
- name = "time")
-
-
- value
- If no initial value is set, the default will be midnight; if an illegal string
- is specified, a ValueError will result. (You can always later set the initial time
- with SetValue() after instantiation of the control.)
- size
- The size of the control will be automatically adjusted for 12/24 hour format
- if wxDefaultSize is specified.
-
- fmt24hr
- If True, control will display time in 24 hour time format; if False, it will
- use 12 hour AM/PM format. SetValue() will adjust values accordingly for the
- control, based on the format specified.
-
- spinButton
- If specified, this button's events will be bound to the behavior of the
- wxTimeCtrl, working like up/down cursor key events. (See BindSpinButton.)
-
- style
- By default, wxTimeCtrl will process TAB events, by allowing tab to the
- different cells within the control.
-
-
-
-
-SetValue(time_string)
-Sets the value of the control to a particular time, given a valid time string;
-raises ValueError on invalid value
-
- GetValue()
-Retrieves the string value of the time from the control
-
- SetWxDateTime(wxDateTime)
-Uses the time portion of a wxDateTime to construct a value for the control.
-
- GetWxDateTime()
-Retrieves the value of the control, and applies it to the wxDateTimeFromHMS()
-constructor, and returns the resulting value. (This returns the date portion as
-"today".)
-
- SetMxDateTime(mxDateTime)
-Uses the time portion of an mxDateTime to construct a value for the control.
-NOTE: This imports mx.DateTime at runtime only if this or the Get function
-is called.
-
- GetMxDateTime()
-Retrieves the value of the control and applies it to the DateTime.Time()
-constructor, and returns the resulting value. (mxDateTime is smart enough to
-know this is just a time value.)
-
- BindSpinButton(wxSpinBtton)
-Binds an externally created spin button to the control, so that up/down spin
-events change the active cell or selection in the control (in addition to the
-up/down cursor keys.) (This is primarily to allow you to create a "standard"
-interface to time controls, as seen in Windows.)
-
- EVT_TIMEUPDATE(win, id, func)
-func is fired whenever the value of the control changes.
-
-
-"""
-
-
+overview = overviewdoc
if __name__ == '__main__':
import sys,os
diff --git a/wxPython/demo/wxTimer.py b/wxPython/demo/wxTimer.py
index b58a628a1d..0aa39e8ee1 100644
--- a/wxPython/demo/wxTimer.py
+++ b/wxPython/demo/wxTimer.py
@@ -71,14 +71,6 @@ def runTest(frame, nb, log):
-
-
-
-
-
-
-
-
overview = """\
The wxTimer class allows you to execute code at specified intervals.
@@ -87,8 +79,7 @@ The wxTimer class allows you to execute code at specified intervals.
-
-
-
-
-
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxToggleButton.py b/wxPython/demo/wxToggleButton.py
index 74d34d3f77..9e90ae9887 100644
--- a/wxPython/demo/wxToggleButton.py
+++ b/wxPython/demo/wxToggleButton.py
@@ -48,3 +48,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxToolBar.py b/wxPython/demo/wxToolBar.py
index 9867b98f05..83b99599cc 100644
--- a/wxPython/demo/wxToolBar.py
+++ b/wxPython/demo/wxToolBar.py
@@ -57,12 +57,12 @@ class TestToolBar(wxFrame):
EVT_TOOL_RCLICKED(self, -1, self.OnToolRClick) # Match all
EVT_TIMER(self, -1, self.OnClearSB)
- if wxPlatform != "__WXMAC__":
- tb.AddSeparator()
- cbID = wxNewId()
- tb.AddControl(wxComboBox(tb, cbID, "", choices=["", "This", "is a", "wxComboBox"],
- size=(150,-1), style=wxCB_DROPDOWN))
- EVT_COMBOBOX(self, cbID, self.OnCombo)
+ tb.AddSeparator()
+ cbID = wxNewId()
+ tb.AddControl(wxComboBox(tb, cbID, "", choices=["", "This", "is a", "wxComboBox"],
+ size=(150,-1), style=wxCB_DROPDOWN))
+ EVT_COMBOBOX(self, cbID, self.OnCombo)
+ tb.AddControl(wxTextCtrl(tb, -1, "Toolbar controls!!", size=(150, -1)))
tb.Realize()
diff --git a/wxPython/demo/wxTreeCtrl.py b/wxPython/demo/wxTreeCtrl.py
index 9a6a24f468..5aeed4fa2f 100644
--- a/wxPython/demo/wxTreeCtrl.py
+++ b/wxPython/demo/wxTreeCtrl.py
@@ -167,7 +167,7 @@ class TestTreeCtrlPanel(wxPanel):
event.Skip()
- def OnActivate(self, evt):
+ def OnActivate(self, event):
self.log.WriteText("OnActivate: %s\n" % self.tree.GetItemText(self.item))
diff --git a/wxPython/demo/wxTreeListCtrl.py b/wxPython/demo/wxTreeListCtrl.py
new file mode 100644
index 0000000000..e5b05a9106
--- /dev/null
+++ b/wxPython/demo/wxTreeListCtrl.py
@@ -0,0 +1,103 @@
+
+from wxPython.wx import *
+from wxPython.gizmos import wxTreeListCtrl
+
+import images
+
+#----------------------------------------------------------------------
+
+class TestPanel(wxPanel):
+ def __init__(self, parent, log):
+ self.log = log
+ wxPanel.__init__(self, parent, -1)
+ EVT_SIZE(self, self.OnSize)
+
+ self.tree = wxTreeListCtrl(self, -1, style = wxTR_DEFAULT_STYLE
+ #| wxTR_ROW_LINES
+ #| wxTR_NO_LINES | wxTR_TWIST_BUTTONS
+ )
+ isz = (16,16)
+ il = wxImageList(isz[0], isz[1])
+ fldridx = il.Add(wxArtProvider_GetBitmap(wxART_FOLDER, wxART_OTHER, isz))
+ fldropenidx = il.Add(wxArtProvider_GetBitmap(wxART_FILE_OPEN, wxART_OTHER, isz))
+ fileidx = il.Add(wxArtProvider_GetBitmap(wxART_REPORT_VIEW, wxART_OTHER, isz))
+ smileidx = il.Add(images.getSmilesBitmap())
+
+ self.tree.SetImageList(il)
+ self.il = il
+
+ # create some columns
+ self.tree.AddColumn("Main column")
+ self.tree.AddColumn("Column 1")
+ self.tree.AddColumn("Column 2")
+ self.tree.SetMainColumn(0) # the one with the tree in it...
+ self.tree.SetColumnWidth(0, 175)
+
+
+ self.root = self.tree.AddRoot("The Root Item")
+ self.tree.SetItemText(self.root, "col 1 root", 1)
+ self.tree.SetItemText(self.root, "col 2 root", 2)
+ self.tree.SetItemImage(self.root, fldridx, which = wxTreeItemIcon_Normal)
+ self.tree.SetItemImage(self.root, fldropenidx, which = wxTreeItemIcon_Expanded)
+
+
+ for x in range(15):
+ txt = "Item %d" % x
+ child = self.tree.AppendItem(self.root, txt)
+ self.tree.SetItemText(child, txt + "(c1)", 1)
+ self.tree.SetItemText(child, txt + "(c2)", 2)
+ self.tree.SetItemImage(child, fldridx, which = wxTreeItemIcon_Normal)
+ self.tree.SetItemImage(child, fldropenidx, which = wxTreeItemIcon_Expanded)
+
+ for y in range(5):
+ txt = "item %d-%s" % (x, chr(ord("a")+y))
+ last = self.tree.AppendItem(child, txt)
+ self.tree.SetItemText(last, txt + "(c1)", 1)
+ self.tree.SetItemText(last, txt + "(c2)", 2)
+ self.tree.SetItemImage(last, fldridx, which = wxTreeItemIcon_Normal)
+ self.tree.SetItemImage(last, fldropenidx, which = wxTreeItemIcon_Expanded)
+
+ for z in range(5):
+ txt = "item %d-%s-%d" % (x, chr(ord("a")+y), z)
+ item = self.tree.AppendItem(last, txt)
+ self.tree.SetItemText(item, txt + "(c1)", 1)
+ self.tree.SetItemText(item, txt + "(c2)", 2)
+ self.tree.SetItemImage(item, fileidx, which = wxTreeItemIcon_Normal)
+ self.tree.SetItemImage(item, smileidx, which = wxTreeItemIcon_Selected)
+
+
+ self.tree.Expand(self.root)
+
+
+ def OnSize(self, evt):
+ self.tree.SetSize(self.GetSize())
+
+
+#----------------------------------------------------------------------
+
+def runTest(frame, nb, log):
+ win = TestPanel(nb, log)
+ return win
+
+#----------------------------------------------------------------------
+
+
+
+overview = """
+wxTreeListCtrl
+
+The wxTreeListCtrl is essentially a wxTreeCtrl with extra columns,
+such that the look is similar to a wxListCtrl.
+
+
+"""
+
+
+
+
+if __name__ == '__main__':
+ #raw_input("Press enter...")
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+
diff --git a/wxPython/demo/wxWave.py b/wxPython/demo/wxWave.py
index 7d60ac09c4..1ea3c4998b 100644
--- a/wxPython/demo/wxWave.py
+++ b/wxPython/demo/wxWave.py
@@ -42,3 +42,12 @@ def runTest(frame, nb, log):
overview = """\
"""
+
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
diff --git a/wxPython/demo/wxXmlResourceHandler.py b/wxPython/demo/wxXmlResourceHandler.py
index 531457c651..87d8598447 100644
--- a/wxPython/demo/wxXmlResourceHandler.py
+++ b/wxPython/demo/wxXmlResourceHandler.py
@@ -11,7 +11,7 @@ resourceText = r'''
200,100
-
+
This blue panel is a class derived from wxPanel,\nand is loaded by a custom wxXmlResourceHandler.
10,10
diff --git a/wxPython/distrib/README.1st.txt b/wxPython/distrib/README.1st.txt
index 4b55d30398..29509c6a73 100644
--- a/wxPython/distrib/README.1st.txt
+++ b/wxPython/distrib/README.1st.txt
@@ -36,7 +36,7 @@ Clear as mud? Good. Let's get started.
2. Make a build directory and configure wxGTK.
- cd wxPythonGTK-2.3.3 # or whatever the top-level dir is
+ cd wxPythonSrc-2.4.0 # or whatever the top-level dir is
mkdir build
cd build
../configure --with-gtk \
@@ -72,7 +72,6 @@ Clear as mud? Good. Let's get started.
step, depending on where your WXPREF is.)
make
- cd ../build
make install
@@ -104,11 +103,23 @@ Clear as mud? Good. Let's get started.
site-packages directory (such as to your home directory) then you
can add "--root=" after the "install" command. To use
wxPython like this you'll need to ensure that the directory
- containing wxPyrthon is contained in in the PYTHONPATH environment
+ containing wxPython is contained in the PYTHONPATH environment
variable.
-5. That's all, except for the having fun part!
+5. If you havn't already, get a new copy of the demo and documentation
+ to go with the wxPython you just built and installed. See
+ http://wxpython.org/download.php#documentation
+
+
+6. Change to the demo directory and run it like this:
+
+ python demo.py
+
+
+7. That's all, except for the having fun part!
+
+
--
Robin Dunn
diff --git a/wxPython/distrib/README.viewdocs.txt b/wxPython/distrib/README.viewdocs.txt
index de7b3f7ee9..07910c9d12 100644
--- a/wxPython/distrib/README.viewdocs.txt
+++ b/wxPython/distrib/README.viewdocs.txt
@@ -13,5 +13,5 @@ automatically and add them to the list. The zip file just needs to
contain a .hhp file that defines the contents of the book. See the
docs on wxHtmlHelpController for details.
-If you'd still ike to view these docs in your regular browser you can
+If you'd still like to view these docs in your regular browser you can
simply unzip each of the books into their own directory.
\ No newline at end of file
diff --git a/wxPython/distrib/mac/wxPythonOSX/build b/wxPython/distrib/mac/wxPythonOSX/build
index 6fca6f4226..955467a1d9 100755
--- a/wxPython/distrib/mac/wxPythonOSX/build
+++ b/wxPython/distrib/mac/wxPythonOSX/build
@@ -214,6 +214,9 @@ if [ -z "$skipinstall" ]; then
mv -f $INSTALLROOT$PREFIX/lib/wx $INSTALLDEVEL$PREFIX/lib
mv -f $INSTALLROOT$PREFIX/bin/wx* $INSTALLDEVEL$PREFIX/bin
+ # TODO for $INSTALLROOT and $INSTALLDEVEL ?
+ # chown -R root:admin
+ # chmod -R g+w
fi
popd
diff --git a/wxPython/distrib/mac/wxPythonOSX/resources/Welcome.txt b/wxPython/distrib/mac/wxPythonOSX/resources/Welcome.txt
index db55898478..d46dd152e1 100644
--- a/wxPython/distrib/mac/wxPythonOSX/resources/Welcome.txt
+++ b/wxPython/distrib/mac/wxPythonOSX/resources/Welcome.txt
@@ -1,5 +1,5 @@
Welcome!
-This program will install wxPython 2.4.0.7 for MacPython-OSX 2.3.
+This program will install wxPython 2.4.1.1 for MacPython-OSX 2.3.
-Build date: Fri Mar 21 14:00:06 PST 2003
+Build date: Fri Jun 13 10:07:30 PDT 2003
diff --git a/wxPython/distrib/mac/wxPythonOSX/resources/postflight b/wxPython/distrib/mac/wxPythonOSX/resources/postflight
index 915d404aef..bfa196a360 100755
--- a/wxPython/distrib/mac/wxPythonOSX/resources/postflight
+++ b/wxPython/distrib/mac/wxPythonOSX/resources/postflight
@@ -4,15 +4,15 @@
/usr/local/bin/python -O $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
# and in the demo
-/usr/local/bin/python $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py /Applications/wxPythonOSX-2.4.0.7/demo
+/usr/local/bin/python $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/../compileall.py /Applications/wxPythonOSX-2.4.1.1/demo
# Make the demo/data dir writable
-chmod a+w /Applications/wxPythonOSX-2.4.0.7/demo/data
+chmod a+w /Applications/wxPythonOSX-2.4.1.1/demo/data
# and the wxPython pacakge should be group writable
chgrp -R admin $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
-chgrp -R admin /Applications/wxPythonOSX-2.4.0.7
+chgrp -R admin /Applications/wxPythonOSX-2.4.1.1
chmod -R g+w $2/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/wxPython
-chmod -R g+w /Applications/wxPythonOSX-2.4.0.7
+chmod -R g+w /Applications/wxPythonOSX-2.4.1.1
exit 0
diff --git a/wxPython/distrib/make_installer.py b/wxPython/distrib/make_installer.py
index 6aa2b83421..962c32103e 100644
--- a/wxPython/distrib/make_installer.py
+++ b/wxPython/distrib/make_installer.py
@@ -25,9 +25,7 @@ AppCopyright = Copyright
DefaultDirName = {code:GetInstallDir|c:\DoNotInstallHere}
DefaultGroupName = wxPython %(SHORTVER)s for Python %(PYTHONVER)s
AlwaysCreateUninstallIcon = yes
-
-;; SourceDir = .
-;; OutputDir is relative to SourceDir
+AdminPrivilegesRequired = yes
OutputDir = dist
WizardStyle = modern
UninstallStyle = modern
@@ -61,7 +59,6 @@ Name: core; Description: "wxPython modules and library"; Types: full compact
Name: docs; Description: "Documentation"; Types: full
Name: demo; Description: "Demo application"; Types: full
Name: samples; Description: "Sample applications"; Types: full
-Name: tools; Description: "Tools"; Types: full
;;------------------------------------------------------------
@@ -94,10 +91,24 @@ Source: "wxPython\lib\editor\*.py"; DestDir: "{app}\wxPython\lib\editor"
Source: "wxPython\lib\editor\*.txt"; DestDir: "{app}\wxPython\lib\editor"; Components: core
Source: "wxPython\lib\mixins\*.py"; DestDir: "{app}\wxPython\lib\mixins"; Components: core
Source: "wxPython\lib\PyCrust\*.py"; DestDir: "{app}\wxPython\lib\PyCrust"; Components: core
-Source: "wxPython\lib\PyCrust\*.txt"; DestDir: "{app}\wxPython\lib\PyCrust"; Components: core
-Source: "wxPython\lib\PyCrust\*.ico"; DestDir: "{app}\wxPython\lib\PyCrust"; Components: core
-Source: "wxPython\lib\PyCrust\wxd\*.py"; DestDir: "{app}\wxPython\lib\PyCrust\wxd"; Components: core
Source: "wxPython\lib\colourchooser\*.py"; DestDir: "{app}\wxPython\lib\colourchooser"; Components: core
+Source: "wxPython\lib\colourchooser\*.py"; DestDir: "{app}\wxPython\lib\colourchooser"; Components: core
+Source: "wxPython\py\*.py"; DestDir: "{app}\wxPython\py"; Components: core
+Source: "wxPython\py\*.txt"; DestDir: "{app}\wxPython\py"; Components: core
+Source: "wxPython\py\*.ico"; DestDir: "{app}\wxPython\py"; Components: core
+Source: "wxPython\py\*.png"; DestDir: "{app}\wxPython\py"; Components: core
+Source: "wxPython\py\tests\*.py"; DestDir: "{app}\wxPython\py\tests"; Components: core
+Source: "wxPython\py\wxd\*.py"; DestDir: "{app}\wxPython\py\wxd"; Components: core
+
+Source: "wx\*.py"; DestDir: "{app}\wx"; Components: core
+Source: "wx\lib\*.py"; DestDir: "{app}\wx\lib"; Components: core
+Source: "wx\lib\colourchooser\*.py"; DestDir: "{app}\wx\lib\colourchooser"; Components: core
+Source: "wx\lib\editor\*.py"; DestDir: "{app}\wx\lib\editor"; Components: core
+Source: "wx\lib\mixins\*.py"; DestDir: "{app}\wx\lib\mixins"; Components: core
+Source: "wx\py\*.py"; DestDir: "{app}\wx\py"; Components: core
+Source: "wx\tools\*.py"; DestDir: "{app}\wx\tools"; Components: core
+Source: "wx\tools\XRCed\*.py"; DestDir: "{app}\wx\tools\XRCed"; Components: core
+
%(LOCALE)s
@@ -142,25 +153,34 @@ Source: "CHANGES.txt"; DestDir: "{app}\wxPython\docs"; Comp
Source: "licence\*.txt"; DestDir: "{app}\wxPython\docs\licence"; Components: core
Source: "%(WXDIR)s\docs\htmlhelp\wx.chm"; DestDir: "{app}\wxPython\docs"; Components: docs
Source: "%(WXDIR)s\docs\htmlhelp\ogl.chm"; DestDir: "{app}\wxPython\docs"; Components: docs
-
-Source: "wxPython\tools\*.py"; DestDir: "{app}\wxPython\tools"; Components: tools
-Source: "wxPython\tools\XRCed\*.txt"; DestDir: "{app}\wxPython\tools\XRCed"; Components: tools
-Source: "wxPython\tools\XRCed\sawfishrc"; DestDir: "{app}\wxPython\tools\XRCed"; Components: tools
-Source: "wxPython\tools\XRCed\*.py"; DestDir: "{app}\wxPython\tools\XRCed"; Components: tools
-Source: "wxPython\tools\XRCed\*.xrc"; DestDir: "{app}\wxPython\tools\XRCed"; Components: tools
-Source: "wxPython\tools\XRCed\*.ico"; DestDir: "{app}\wxPython\tools\XRCed"; Components: tools
-Source: "wxPython\tools\XRCed\*.sh"; DestDir: "{app}\wxPython\tools\XRCed"; Components: tools
-
-Source: "scripts\*.bat"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\*.py"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\helpviewer"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\img2png"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\img2py"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\img2xpm"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\xrced"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\pyshell"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\pycrust"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
-Source: "scripts\pycwrap"; DestDir: "{code:GetPythonDir}\Scripts"; Components: tools
+Source: "docs\*.txt"; DestDir: "{app}\wxPython\docs"; Components: docs
+Source: "docs\*.css"; DestDir: "{app}\wxPython\docs"; Components: docs
+Source: "docs\*.html"; DestDir: "{app}\wxPython\docs"; Components: docs
+Source: "docs\*.conf"; DestDir: "{app}\wxPython\docs"; Components: docs
+Source: "docs\screenshots\*.png"; DestDir: "{app}\wxPython\docs\screenshots"; Components: docs
+
+Source: "wxPython\tools\*.py"; DestDir: "{app}\wxPython\tools"; Components: core
+Source: "wxPython\tools\XRCed\*.txt"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\sawfishrc"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\*.py"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\*.xrc"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\*.ico"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\*.png"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\*.sh"; DestDir: "{app}\wxPython\tools\XRCed"; Components: core
+Source: "wxPython\tools\XRCed\src-images\*.png"; DestDir: "{app}\wxPython\tools\XRCed\src-images"; Components: core
+
+Source: "scripts\*.bat"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\*.py"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\helpviewer"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\img2png"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\img2py"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\img2xpm"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\pyalacarte"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\pyalamode"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\pyshell"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\pycrust"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\pywrap"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "scripts\xrced"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
Source: "samples\doodle\*.py"; DestDir: "{app}\wxPython\samples\doodle"; Components: samples
Source: "samples\doodle\*.txt"; DestDir: "{app}\wxPython\samples\doodle"; Components: samples
@@ -170,15 +190,17 @@ Source: "samples\doodle\superdoodle.iss"; DestDir: "{app}\wxPython\samples\doo
Source: "samples\wxProject\*.txt"; DestDir: "{app}\wxPython\samples\wxProject"; Components: samples
Source: "samples\wxProject\*.py"; DestDir: "{app}\wxPython\samples\wxProject"; Components: samples
-Source: "samples\StyleEditor\*.txt"; DestDir: "{app}\wxPython\samples\StyleEditor"; Components: samples
-Source: "samples\StyleEditor\*.py"; DestDir: "{app}\wxPython\samples\StyleEditor"; Components: samples
-Source: "samples\StyleEditor\*.cfg"; DestDir: "{app}\wxPython\samples\StyleEditor"; Components: samples
+Source: "samples\StyleEditor\*.txt"; DestDir: "{app}\wxPython\samples\StyleEditor"; Components: samples
+Source: "samples\StyleEditor\*.py"; DestDir: "{app}\wxPython\samples\StyleEditor"; Components: samples
+Source: "samples\StyleEditor\*.cfg"; DestDir: "{app}\wxPython\samples\StyleEditor"; Components: samples
Source: "samples\pySketch\*.py"; DestDir: "{app}\wxPython\samples\pySketch"; Components: samples
Source: "samples\pySketch\images\*.bmp"; DestDir: "{app}\wxPython\samples\pySketch\images"; Components: samples
Source: "samples\frogedit\*.py"; DestDir: "{app}\wxPython\samples\frogedit"; Components: samples
+Source: "samples\hangman\*.py"; DestDir: "{app}\wxPython\samples\hangman"; Components: samples
+
Source: "samples\embedded\*.py"; DestDir: "{app}\wxPython\samples\embedded"; Components: samples
Source: "samples\embedded\*.cpp"; DestDir: "{app}\wxPython\samples\embedded"; Components: samples
Source: "samples\embedded\*.txt"; DestDir: "{app}\wxPython\samples\embedded"; Components: samples
@@ -187,6 +209,10 @@ Source: "samples\embedded\*.unx"; DestDir: "{app}\wxPython\samples\embe
Source: "samples\embedded\*.ico"; DestDir: "{app}\wxPython\samples\embedded"; Components: samples
Source: "samples\embedded\*.xpm"; DestDir: "{app}\wxPython\samples\embedded"; Components: samples
+Source: "samples\wx_examples\basic\*.py"; DestDir: "{app}\wxPython\samples\wx_examples\basic"; Components: samples
+Source: "samples\wx_examples\hello\*.py"; DestDir: "{app}\wxPython\samples\wx_examples\hello"; Components: samples
+Source: "samples\wx_examples\hello\*.jpg"; DestDir: "{app}\wxPython\samples\wx_examples\hello"; Components: samples
+
Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "python.exe.manifest"; Components: core
Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestName: "pythonw.exe.manifest"; Components: core
@@ -194,24 +220,29 @@ Source: "src\winxp.manifest"; DestDir: "{code:GetPythonDir}"; DestN
;;------------------------------------------------------------
[Run]
+;; Compile the .py files
+Filename: "{code:GetPythonDir}\python.exe"; Parameters: "{code:GetPythonDir}\Lib\compileall.py {app}\wxPython {app}\wx"; Description: "Compile Python .py files to .pyc"; Flags: postinstall; Components: core
+
;; Recreate the tool scripts to use the paths on the users machine
-Filename: "{code:GetPythonDir}\python.exe"; Parameters: "{code:GetPythonDir}\Lib\compileall.py {app}\wxPython"; Description: "Compile Python .py files to .pyc"; Flags: postinstall; Components: core
-Filename: "{code:GetPythonDir}\python.exe"; Parameters: "CreateBatchFiles.py"; WorkingDir: "{code:GetPythonDir}\Scripts"; Description: "Create batch files for tool scripts"; Flags: postinstall; Components: tools
+Filename: "{code:GetPythonDir}\python.exe"; Parameters: "CreateBatchFiles.py"; WorkingDir: "{code:GetPythonDir}\Scripts"; Description: "Create batch files for tool scripts"; Flags: postinstall; Components: core
;;------------------------------------------------------------
[Icons]
-Name: "{group}\Run the DEMO"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "{app}\wxPython\demo"; Parameters: "demo.py"; IconFilename: "{app}\wxPython\demo\wxpdemo.ico"; Components: core
-Name: "{group}\PyCrust"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\pycrust"; IconFilename: "{app}\wxPython\lib\PyCrust\PyCrust.ico"; Components: core
-Name: "{group}\PyShell"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\pyshell"; IconFilename: "{app}\wxPython\lib\PyCrust\PyCrust.ico"; Components: core
+Name: "{group}\Run the wxPython DEMO"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "{app}\wxPython\demo"; Parameters: "demo.py"; IconFilename: "{app}\wxPython\demo\wxpdemo.ico"; Components: core
+Name: "{group}\PyCrust"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\pycrust"; IconFilename: "{app}\wxPython\py\PyCrust.ico"; Components: core
+Name: "{group}\PyShell"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\pyshell"; IconFilename: "{app}\wxPython\py\PyCrust.ico"; Components: core
+Name: "{group}\PyAlaMode"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\pyalamode"; IconFilename: "{app}\wxPython\py\PyCrust.ico"; Components: core
+Name: "{group}\PyAlaCarte"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\pyalacarte"; IconFilename: "{app}\wxPython\py\PyCrust.ico"; Components: core
Name: "{group}\wxWindows Reference"; Filename: "{app}\wxPython\docs\wx.chm"; Components: docs
Name: "{group}\wxOGL Reference"; Filename: "{app}\wxPython\docs\ogl.chm"; Components: docs
Name: "{group}\licence.txt"; Filename: "{app}\wxPython\docs\licence\licence.txt"; Components: core
Name: "{group}\README.txt"; Filename: "{app}\wxPython\docs\README.txt"; Components: core
Name: "{group}\CHANGES.txt"; Filename: "{app}\wxPython\docs\CHANGES.txt"; Components: core
Name: "{group}\Sample Apps"; Filename: "{app}\wxPython\samples"; Components: samples
-Name: "{group}\Resource Editor"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\xrced"; IconFilename: "{app}\wxPython\Tools\XRCed\xrced.ico"; Components: tools
+Name: "{group}\Resource Editor"; Filename: "{code:GetPythonDir}\pythonw.exe"; WorkingDir: "c:\"; Parameters: "{code:GetPythonDir}\Scripts\xrced"; IconFilename: "{app}\wxPython\Tools\XRCed\xrced.ico"; Components: core
+Name: "{group}\wxPython Docs"; Filename: "{app}\wxPython\docs\wxPythonDocs.html"; Components: docs
;;------------------------------------------------------------
@@ -228,12 +259,14 @@ Type: files; Name: "{app}\wxPython\lib\mixins\*.pyc";
Type: files; Name: "{app}\wxPython\lib\mixins\*.pyo";
Type: files; Name: "{app}\wxPython\lib\PyCrust\*.pyc";
Type: files; Name: "{app}\wxPython\lib\PyCrust\*.pyo";
-Type: files; Name: "{app}\wxPython\lib\PyCrust\decor\*.pyc";
-Type: files; Name: "{app}\wxPython\lib\PyCrust\decor\*.pyo";
-Type: files; Name: "{app}\wxPython\lib\PyCrust\wxd\*.pyc";
-Type: files; Name: "{app}\wxPython\lib\PyCrust\wxd\*.pyo";
Type: files; Name: "{app}\wxPython\lib\colourchooser\*.pyc";
Type: files; Name: "{app}\wxPython\lib\colourchooser\*.pyo";
+Type: files; Name: "{app}\wxPython\py\*.pyc";
+Type: files; Name: "{app}\wxPython\py\*.pyo";
+Type: files; Name: "{app}\wxPython\py\tests\*.pyc";
+Type: files; Name: "{app}\wxPython\py\tests\*.pyo";
+Type: files; Name: "{app}\wxPython\py\wxd\*.pyc";
+Type: files; Name: "{app}\wxPython\py\wxd\*.pyo";
Type: files; Name: "{app}\wxPython\tools\*.pyc";
Type: files; Name: "{app}\wxPython\tools\*.pyo";
Type: files; Name: "{app}\wxPython\tools\XRCed\*.pyc";
@@ -253,6 +286,13 @@ Type: files; Name: "{app}\wxPython\samples\StyleEditor\*.pyc";
Type: files; Name: "{app}\wxPython\samples\StyleEditor\*.pyo";
Type: files; Name: "{app}\wxPython\samples\frogedit\*.pyc";
Type: files; Name: "{app}\wxPython\samples\frogedit\*.pyo";
+Type: files; Name: "{app}\wxPython\samples\hangman\*.pyc";
+Type: files; Name: "{app}\wxPython\samples\hangman\*.pyo";
+Type: files; Name: "{app}\wxPython\samples\hangman\*.txt";
+Type: files; Name: "{app}\wxPython\samples\wx_examples\basic\*.pyc";
+Type: files; Name: "{app}\wxPython\samples\wx_examples\basic\*.pyo";
+Type: files; Name: "{app}\wxPython\samples\wx_examples\hello\*.pyc";
+Type: files; Name: "{app}\wxPython\samples\wx_examples\hello\*.pyo";
Type: files; Name: "{app}\wxPython\demo\data\*.pyc";
Type: files; Name: "{app}\wxPython\demo\data\*.pyo";
Type: files; Name: "{app}\wxPython\demo\dllwidget\*.pyc";
@@ -261,6 +301,24 @@ Type: files; Name: "{app}\wxPython\samples\embedded\*.pyc";
Type: files; Name: "{app}\wxPython\samples\embedded\*.pyo";
Type: files; Name: "{app}\wxPython\samples\pySketch\*.pyc";
Type: files; Name: "{app}\wxPython\samples\pySketch\*.pyo";
+Type: files; Name: "{app}\wx\*.pyc";
+Type: files; Name: "{app}\wx\*.pyo";
+Type: files; Name: "{app}\wx\lib\*.pyc";
+Type: files; Name: "{app}\wx\lib\*.pyo";
+Type: files; Name: "{app}\wx\lib\colourchooser\*.pyc";
+Type: files; Name: "{app}\wx\lib\colourchooser\*.pyo";
+Type: files; Name: "{app}\wx\lib\editor\*.pyc";
+Type: files; Name: "{app}\wx\lib\editor\*.pyo";
+Type: files; Name: "{app}\wx\lib\mixins\*.pyc";
+Type: files; Name: "{app}\wx\lib\mixins\*.pyo";
+Type: files; Name: "{app}\wx\py\*.pyc";
+Type: files; Name: "{app}\wx\py\*.pyo";
+Type: files; Name: "{app}\wx\tools\*.pyc";
+Type: files; Name: "{app}\wx\tools\*.pyo";
+Type: files; Name: "{app}\wx\tools\XRCed\*.pyc";
+Type: files; Name: "{app}\wx\tools\XRCed\*.pyo";
+
+
'''
@@ -380,7 +438,7 @@ def main():
verglob = {}
execfile("wxPython/__version__.py", verglob)
- VERSION = verglob["ver"]
+ VERSION = verglob["wxVERSION_STRING"]
SHORTVER = VERSION[:3]
WXDLL, PYTHONVER = find_DLLs()
diff --git a/wxPython/distrib/make_static_setup.py b/wxPython/distrib/make_static_setup.py
new file mode 100644
index 0000000000..7ba0d9f7a9
--- /dev/null
+++ b/wxPython/distrib/make_static_setup.py
@@ -0,0 +1,111 @@
+#!/bin/env python
+#---------------------------------------------------------------------------
+# This script generates a template that can be used in the Python
+# build process (on posix systems) in order to staticly link the
+# wxPython modules into the Python executable. The output of this
+# script should be put into a file named Setup.local (or perhaps just
+# concatenated to Setup) in the Modules dir of the Python source
+# distribution, then just build Python like normal.
+#
+# You can use any of the command-line args that setup.py understands
+# with this script too in order to control what modules are built and
+# which compile options and such are used.
+#
+# This script must be run from the wxPython directory.
+#---------------------------------------------------------------------------
+
+
+import sys, os, re
+
+# if you need to change some setup.py flags do it here before it is
+# imported. Just append to sys.argv.
+sys.argv.append("BUILD_GLCANVAS=0")
+sys.argv.append("BUILD_OGL=0")
+sys.argv.append("BUILD_DLLWIDGET=0")
+#sys.argv.append("CORE_ONLY=1")
+
+import setup
+
+
+def printitem(st):
+ if st:
+ print '\\\n\t', st,
+
+
+def buildflags(items, flag, path=None):
+ st = ''
+ for item in items:
+ if path is not None and item[0] != '/':
+ item = os.path.join(path, item)
+ st += "%s%s " % (flag, item)
+ return st
+
+
+def buildmacros(items):
+ st = ''
+ for item in items:
+ if len(item) == 1:
+ st += "-U%s " % item[0]
+ elif item[1] is None:
+ st += "-D%s " % item[0]
+ else:
+ st += "-D%s=%s " % item
+ return st
+
+
+# Python's makesetup can't handle -D flags with = in them, so we need to workaround
+def fixmacros(st):
+ defs = []
+ pat = re.compile(r'-D([A-Za-z0-9_]*)=([A-Za-z0-9_]*)')
+ match = pat.search(st)
+ while match is not None:
+ name = match.group(1)
+ value = match.group(2)
+ defs.append("m_%s = -D%s=%s" % (name, name, value))
+ st = st[:match.start()] + ("$(m_%s)" % name) + st[match.end():]
+ match = pat.search(st)
+
+ return st, defs
+
+
+
+def main():
+ cwd = os.getcwd()
+
+ print """\
+# This file is autogenerated by %s and should be
+# placed in the /Modules/Setup.local file before
+# Python is built.
+
+*static*
+
+""" % sys.argv[0]
+
+ for ext in setup.wxpExtensions:
+ eca = " ".join(ext.extra_compile_args)
+ macros = buildmacros(ext.define_macros)
+
+ eca, defs = fixmacros(eca)
+ print "\n".join(defs)
+ macros, defs = fixmacros(macros)
+ print "\n".join(defs)
+
+ print ext.name,
+ for s in ext.sources:
+ printitem(os.path.join(cwd, s))
+ printitem(buildflags(ext.include_dirs, '-I', cwd))
+ printitem(buildflags(ext.library_dirs, '-L'))
+ printitem(buildflags(ext.libraries, '-l'))
+ printitem(macros)
+ printitem(eca)
+ # filter out some options that makesetup can't handle, but it shouldn't hurt to remove these...
+ ela = filter(lambda x: x not in ['-pthread', '-rdynamic'], ext.extra_link_args)
+ printitem(" ".join(ela))
+
+ print; print; print
+
+
+
+if __name__ == "__main__":
+ main()
+
diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm
index f9e7604374..6d6088d515 100755
--- a/wxPython/distrib/makerpm
+++ b/wxPython/distrib/makerpm
@@ -136,14 +136,16 @@ if [ -z "${skipcopy}" ]; then
cp -pf --link ${wxdir}/* ${tarver} > /dev/null 2>&1
# copy all top dirs except CVS, build, demos, utils, samples, and wxPython
- for d in art contrib debian distrib docs include lib locale misc src; do
- cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1
+ for d in art contrib debian distrib docs include lib locale misc patches src; do
+ if [ -e ${wxdir}/$d ]; then
+ cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1
+ fi
done
# now do the same thing for wxPython, skipping it's build dirs and such
mkdir ${tarver}/wxPython
cp -pf --link ${wxdir}/wxPython/* ${tarver}/wxPython > /dev/null 2>&1
- for d in contrib demo distrib distutils samples scripts src wxPython; do
+ for d in contrib demo distrib distutils docs licence samples scripts src wx wxPython; do
cp -Rpf --link ${wxdir}/wxPython/$d ${tarver}/wxPython #> /dev/null 2>&1
done
diff --git a/wxPython/distrib/wxPythonFull.spec.in b/wxPython/distrib/wxPythonFull.spec.in
index fa0745bb6f..15bb0ea82b 100644
--- a/wxPython/distrib/wxPythonFull.spec.in
+++ b/wxPython/distrib/wxPythonFull.spec.in
@@ -28,8 +28,12 @@
# build the name of the real wx-config from the port, flags, etc.
%define dbgflg %(if [ "%{debug_flag}" = "1" ]; then echo d; fi)
%define uniflg %(if [ "%{unicode}" = "1" ]; then echo u; fi)
+%define DBGFLG %(if [ "%{debug_flag}" = "1" ]; then echo D; fi)
+%define UNIFLG %(if [ "%{unicode}" = "1" ]; then echo U; fi)
%define wxconfigname %{wxpref}/bin/wx%{lcport}%{uniflg}%{dbgflg}-%{ver2}-config
+# turn off the generation of debuginfo rpm (RH9)
+%define debug_package %{nil}
#----------------------------------------------------------------
Summary: Cross platform GUI toolkit for Python using wx%{port}
@@ -43,13 +47,18 @@ Packager: Robin Dunn
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{pref}
-#BuildRequires: %{python}
Provides: wxPython = %{version}
Provides: wxPython%{port} = %{version}
+Provides: libwx_%{lcport}%{uniflg}%{dbgflg}-%{ver2}.so
+Provides: libwx_%{lcport}%{uniflg}%{dbgflg}-%{ver2}.so(WX%{port}%{UNIFLG}%{DBGFLG}_%{ver2})
+Provides: libwx_%{lcport}%{uniflg}%{dbgflg}_gl-%{ver2}.so
+Provides: libwx_%{lcport}%{uniflg}%{dbgflg}_gl-%{ver2}.so(WX%{port}%{UNIFLG}%{DBGFLG}_%{ver2})
+
+
# old wxPython packages
-Obsoletes: wxPython
+Obsoletes: wxPython wxPython%{port}
%description
@@ -127,8 +136,6 @@ cd $WXDIR/wxPython
WX_CONFIG="$WXDIR/build/wx-config --prefix=$WXDIR --exec-prefix=$WXDIR/build" \
build
-## WX_CONFIG="$WXDIR/build/wx-config --inplace --prefix=$RPM_BUILD_ROOT%{wxpref}" \
-
# Build wxrc (XRC resource tool) but don't use the makefiles since they expect
@@ -138,7 +145,7 @@ WX_CONFIG="$WXDIR/build/wx-config --prefix=$WXDIR --exec-prefix=$WXDIR/build"
wCC=`$WX_CONFIG --cc`
wCXX=`$WX_CONFIG --cxx`
-for f in wxrc.cpp ../../src/xrc/*.cpp; do
+for f in wxrc.cpp ../../src/xrc/xml.cpp ../../src/xrc/xmlres.cpp; do
echo $f
$wCXX `$WX_CONFIG --cxxflags` -I ../../include -I ../../src/xrc/expat/xmlparse -I ../../src/xrc/expat/xmltok -c $f
done
@@ -147,9 +154,6 @@ for f in ../../src/xrc/expat/xmlparse/xmlparse.c ../../src/xrc/expat/xmltok/xmlr
$wCC `$WX_CONFIG --cxxflags` -I ../../include -I ../../src/xrc/expat/xmlparse -I ../../src/xrc/expat/xmltok -c $f
done
-# the handlers are not needed
-rm xh_*.o xmlrsall.o
-
$wCXX `$WX_CONFIG --libs` *.o -o wxrc
strip wxrc
@@ -189,8 +193,10 @@ for s in \
img2png \
img2py \
img2xpm \
+ pyalacarte \
+ pyalamode \
pycrust \
- pycwrap \
+ pywrap \
pyshell \
xrced; do
cp scripts/$s $RPM_BUILD_ROOT/%{pref}/bin
@@ -201,6 +207,37 @@ done
cp $WXDIR/contrib/utils/wxrc/wxrc $RPM_BUILD_ROOT/%{pref}/bin
+# Copy icons and make menu entries
+#-- This only works for Mandrake. Is there a cross-distro way to do it?
+##mkdir -p $RPM_BUILD_ROOT/%{_iconsdir}
+##mkdir -p $RPM_BUILD_ROOT/%{_miconsdir}
+##mkdir -p $RPM_BUILD_ROOT/%{_menudir}
+##install -p -m 644 $WXDIR/wxPython/wxPython/py/PyCrust_32.png $RPM_BUILD_ROOT/%{_iconsdir}/PyCrust.png
+##install -p -m 644 $WXDIR/wxPython/wxPython/py/PyCrust_16.png $RPM_BUILD_ROOT/%{_miconsdir}/PyCrust.png
+##install -p -m 644 $WXDIR/wxPython/wxPython/tools/XRCed/XRCed_32.png $RPM_BUILD_ROOT/%{_iconsdir}/XRCed.png
+##install -p -m 644 $WXDIR/wxPython/wxPython/tools/XRCed/XRCed_16.png $RPM_BUILD_ROOT/%{_miconsdir}/XRCed.png
+##
+##cat > $RPM_BUILD_ROOT/%{_menudir}/%{name} <> FILELIST
$GFL $RPM_BUILD_ROOT %{wxpref}/lib >> FILELIST
$GFL $RPM_BUILD_ROOT "%{wxpref}/lib/libwx*" >> FILELIST
$GFL -r $RPM_BUILD_ROOT %{wxpref}/share >> FILELIST
+###GFL -r $RPM_BUILD_ROOT %{_iconsdir} >> FILELIST
+##$GFL -r $RPM_BUILD_ROOT %{_menudir} >> FILELIST
$GFL $RPM_BUILD_ROOT %{wxpref}/include > DEVELLIST
$GFL -r $RPM_BUILD_ROOT %{wxpref}/include/wx >> DEVELLIST
@@ -226,6 +265,13 @@ $GFL $RPM_BUILD_ROOT %{wxconfigname} >> DEVELLIST
$GFL $RPM_BUILD_ROOT %{wxpref}/bin/wx-config >> DEVELLIST
+#----------------------------------------------------------------
+##%post
+##%{update_menus}
+##
+##%postun
+##%{clean_menus}
+
#----------------------------------------------------------------
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@ -237,7 +283,7 @@ $GFL $RPM_BUILD_ROOT %{wxpref}/bin/wx-config >> DEVELLIST
%defattr(-,root,root)
%doc docs/preamble.txt docs/licence.txt docs/readme.txt docs/changes.txt
%doc wxPython/README.txt wxPython/CHANGES.txt
-
+%doc wxPython/docs/*
%files -n wxPython%{port}-devel -f DEVELLIST
%defattr(-,root,root)
diff --git a/wxPython/distrib/wx_conv.py b/wxPython/distrib/wx_conv.py
new file mode 100644
index 0000000000..1ac2d1b819
--- /dev/null
+++ b/wxPython/distrib/wx_conv.py
@@ -0,0 +1,220 @@
+"""
+Convert modules from the old 'from wxPython.wx import *' style to
+the new 'import wx' style.
+
+Author: dfh@forestfield.co.uk (David Hughes)
+
+
+This should probably go in the tools package and have a startup script
+like the others, but I don't think it's ready for prime-time yet. So
+just put it in distrib for now so it doesn't get lost...
+
+--Robin
+"""
+
+
+import os, sys, time
+import string
+t0 = time.time()
+
+
+import wx
+print 'length = ', len(wx._newnames)
+
+for key in ['true', 'True', 'false', 'False']: # use native Python not wx.
+ if key in wx._newnames:
+ del wx._newnames[key]
+
+import wx.calendar, wx.gizmos, wx.glcanvas, wx.grid, wx.help, wx.html, \
+ wx.htmlhelp, wx.iewin, wx.ogl, wx.stc, wx.wizard, wx.xrc
+import wx.lib
+##import wx.lib.activexwrapper, wx.lib.analogclock, wx.lib.anchors, \
+import wx.lib.activexwrapper, wx.lib.anchors, \
+ wx.lib.buttons, wx.lib.calendar, wx.lib.ClickableHtmlWindow, \
+ wx.lib.colourdb, wx.lib.colourselect, wx.lib.dialogs, \
+ wx.lib.ErrorDialogs, wx.lib.evtmgr, wx.lib.fancytext, \
+ wx.lib.filebrowsebutton, wx.lib.gridmovers, wx.lib.grids, \
+ wx.lib.imagebrowser, wx.lib.imageutils, wx.lib.infoframe, \
+ wx.lib.intctrl, wx.lib.layoutf, wx.lib.multisash, \
+ wx.lib.popupctl, wx.lib.printout, wx.lib.rcsizer, \
+ wx.lib.rightalign, wx.lib.sheet, wx.lib.stattext, \
+ wx.lib.throbber, wx.lib.timectrl, wx.lib.wxPlotCanvas, \
+ wx.lib.wxpTag
+import wx.lib.mixins, wx.lib.editor, wx.lib.colourchooser
+import wx.lib.mixins.grid, wx.lib.mixins.imagelist, \
+ wx.lib.mixins.listctrl
+## wx.lib.mixins.listctrl, wx.lib.mixins.rubberband
+import wx.lib.editor.editor, wx.lib.editor.images, wx.lib.editor.selection
+import wx.lib.colourchooser.canvas, wx.lib.colourchooser.intl, wx.lib.colourchooser.pycolourbox, \
+ wx.lib.colourchooser.pycolourchooser, wx.lib.colourchooser.pycolourslider, wx.lib.colourchooser.pypalette
+
+wxlist = []
+for kd in wx._newnames.items():
+ wxlist.append(kd)
+wxlist.sort()
+
+n = 0
+for item in wxlist:
+ n += 1
+## print n, item
+print 'length = ', len(wx._newnames)
+print 'imports completed in ', time.time()-t0, 'secs'
+
+base_path = 'G:/wxConvert/Test1'
+exclude_dir = ( 'wx', 'wx_cc', 'reportlab', 'sqlite') # MUST exclude wx if it is below base_dir, others optional
+
+other_subs = { 'true': 'True',
+ 'false': 'False'
+ }
+
+punct = string.punctuation.replace('_','') # exclude single underscore
+punct = punct.replace('.','') # and period
+punct = punct.replace('*','') # and asterisk, all allowed in names
+punctable = string.maketrans(punct, ' '*len(punct)) # map punctuation characters to spaces
+numfiles = 0
+
+#----------------------------------------------------------------------------
+
+class AFile:
+ " file object - collection of properties relating to current instance"
+ def __init__(self, subsdict):
+ self.subsdict = subsdict.copy() # dictionary of universal and local substitutions to make
+ self.importing = [] # list of wx modules being imported
+
+#----------------------------------------------------------------------------
+
+def visit(noargs, thispath, contentlist):
+ """ Function is called by os walk for every directory in base_path,
+ including base_path itself. Contentlist is a list of files/dirs in thispath.
+ Wx conversion function is called for every qualifying file in list
+ """
+ path = thispath
+ base = 'something'
+ while base: # check if thispath or a parent is excluded
+ path, base = os.path.split(path)
+ if base in exclude_dir:
+ print 'Excluded:', thispath
+ return
+
+ for item in contentlist:
+ pathname = os.path.join(thispath, item)
+ if os.path.isfile(pathname) and pathname[-3:].lower() == '.py':
+ wxconvert(pathname)
+
+def wxconvert(pathname):
+ """ Scan each line of text in pathname. Replace each occurrence of any key in wx._newnames
+ dictionary with the content stored under that key
+ """
+ global numfiles
+ afile = AFile(other_subs)
+ infile = open(pathname, 'r')
+ linelist = infile.readlines()
+ infile.close()
+
+ lnum = 0
+ outlist = []
+ for line in linelist:
+ lnum += 1
+ tokenlist = line.replace('.__', ' ').translate(punctable).split() # split on white space and punctuation
+ line, status = checkimports(afile, line, tokenlist) # return line with 'import' modifications
+ if not status:
+ print 'Unable to convert line %d in %s' % (lnum, pathname)
+ break
+ else:
+ for key in afile.subsdict: # do other changes first
+ if line.find(key) >= 0:
+ line = line.replace(key, afile.subsdict[key])
+ for token in tokenlist: # change wx names
+ if token in wx._newnames:
+ candidate = wx._newnames[token]
+ module = candidate[:candidate.rfind('.')]
+ if module in afile.importing:
+ line = line.replace(token, candidate)
+ outlist.append(line)
+ else:
+ outfile = open(pathname, 'w')
+ outfile.writelines(outlist)
+ numfiles += 1
+ print 'Converted:', pathname
+ outfile.close()
+
+def checkimports(afile, line, tlist):
+ """ Scan tokenlist for wxPython import statement. Add to afile.subsdict any
+ name changes that are necessary for the rest of the current source file.
+ Add to afile.importing any new import modules
+ Return a tuple (status, newstring) -
+ line, possibly modified if an import statmeny
+ status: 0: unable to handle complexity, 1: OK
+ """
+ aline = line
+ if len(tlist) == 0: return (aline, 1)
+ indent = ''
+ for ch in line:
+ if ch in string.whitespace:
+ indent += ' '
+ else:
+ break
+
+ if tlist[0] == 'import': # import module [as name] [module [as name]...]
+ skip = False
+ for t in tlist[1:]:
+ if skip:
+ skip = False
+ elif t == 'as':
+ skip = True
+ elif t.startswith('wx'):
+ aline = aline.replace(t, rename_module(afile, t))
+ elif (tlist[0] == 'from' and
+ tlist[1] == 'wxPython' and
+ tlist[2] == 'import'): # from wxPython import module
+ if len(tlist) > 4: # ...[as name] [module [as name]...]
+ return ('', 0) # too complicated
+ module = rename_module(afile,tlist[-1])
+ aline = indent = 'import ' + module + '\n'
+ elif (tlist[0] == 'from' and
+ tlist[1].startswith('wxPython') and
+ tlist[2] == 'import'): # from module import ....
+ if tlist[-1] <> '*': # ...name [as name] [name [as name]...]
+ aline = aline.replace(tlist[1], rename_module(afile, tlist[1]))
+ skip = False
+ for t in tlist[3:]:
+ if skip:
+ skip = False
+ elif t == 'as':
+ skip = True
+ else:
+ elem = t.split('.')
+ if elem[-1].startswith('wx'): # remove wx prefix from last element of name
+ elem[-1] = elem[-1][2:]
+ afile.subsdict[t] = '.'.join(elem) # and apply to each occurrence in source
+ else: # from module import *
+ module = rename_module(afile,tlist[1])
+ aline = indent = 'import ' + module + '\n'
+ return (aline, 1)
+
+def rename_module(afile, t, type='A'):
+ """ Substitute wx for wxPython.wx or wx, and wx.foo.bar for wxPython.foo.bar in token
+ foo.bar => wx.foo.bar is also permitted (from wxPython import foo.bar)
+ """
+ if t in ['wx', 'wxPython.wx']:
+ module = 'wx'
+ elif t.startswith('wxPython'):
+ module = t.replace('wxPython', 'wx')
+ elif t.startswith('wx'):
+ module = t
+ else:
+ module = 'wx.' + t
+ if module not in afile.importing:
+ afile.importing.append(module)
+ return module
+
+def main():
+ " Convert every file in base_dir and all subdirectories except in exclude_dir list"
+
+ os.path.walk(base_path, visit, None)
+ print '%d files converted in %.2f seconds' % (numfiles, time.time() - t0)
+
+#----------------------------------------------------------------------------
+
+if __name__ == '__main__':
+ main()
diff --git a/wxPython/distrib/wx_create.py b/wxPython/distrib/wx_create.py
new file mode 100644
index 0000000000..baf85ae6b7
--- /dev/null
+++ b/wxPython/distrib/wx_create.py
@@ -0,0 +1,116 @@
+"""
+wx_create.py
+
+Originally written by David Hughes
+Massivly hacked by Robin Dunn
+
+This automatically creates all the stub modules that are required in
+the wx package in addition to __init__.py
+
+The module names to make stubs for are found by scanning the wxPython
+package directory. The default directory searched is ../wxPython, but
+you can specify a different one on the command-line if needed.
+
+The content of each module (.py file) is taken from wxmodule_template
+with appropriate substitution of the %name% tokens
+
+"""
+
+import os, sys, glob
+
+wxmodule_template = """
+\"\"\"Renamer stub: provides a way to drop the wx prefix from wxPython objects.\"\"\"
+
+__cvsid__ = \"\x24Id: \x24\"
+__revision__ = \"\x24Revision: \x24\"[11:-2]
+
+from wx import _rename
+from wxPython%(prefix)s import %(suffix)s
+_rename(globals(), %(suffix)s.__dict__, modulename='%(name)s')
+del %(suffix)s
+del _rename
+"""
+
+wxPython_dir = "../wxPython"
+
+subpackage_list = ['.',
+ 'lib', 'lib/mixins', 'lib/editor', 'lib/colourchooser',
+ 'py',
+ 'tools', 'tools/XRCed',
+ ]
+
+skip_modules = [ '__init__', '__version__',
+ 'wx', 'windows', 'windows2', 'windows3', 'events', 'fonts', 'misc',
+ 'misc2', 'gdi', 'mdi', 'controls', 'controls2', 'cmndlgs',
+ 'stattool', 'frames', 'image', 'printfw', 'sizers', 'clip_dnd',
+ 'filesys', 'streams', 'htmlhelp', 'oglbasic', 'oglshapes',
+ 'oglshapes2', 'oglcanvas', 'stc_', 'utils', 'dllwidget_',
+
+ 'PyAlaModeTest',
+ ]
+
+
+
+
+
+# Check for command-line arg
+if len(sys.argv) > 1:
+ wxPython_dir = sys.argv[1]
+
+# check wxPython_dir
+if not os.path.exists(wxPython_dir) or not os.path.isdir(wxPython_dir):
+ print wxPython_dir, "does not exist or is not a directory!"
+ sys.exit()
+
+# check current location
+if os.path.basename(os.getcwd()) <> 'wx':
+ print 'This must be run from inside the target "wx" directory'
+ sys.exit()
+
+
+# build the modules and subpackages as needed
+for subdir in subpackage_list:
+ # create subdir if needed
+ if not os.path.exists(subdir):
+ os.mkdir(subdir)
+
+ # create __init__.py if needed
+ if os.path.isdir(subdir):
+ fname = os.path.join(subdir, '__init__.py')
+ if not os.path.exists(fname):
+ f = open(fname, 'w')
+ f.write("# Python package\n")
+ f.close()
+ else:
+ print subdir + 'exists but is not a directory'
+ sys.exit()
+
+ # find the .py files there and make renamer stubs for them here
+ src = os.path.join(wxPython_dir, subdir, "*.py")
+ for srcname in glob.glob(src):
+ suffix = os.path.splitext(os.path.basename(srcname))[0]
+ if suffix in skip_modules:
+ continue
+ prefix = subdir.replace('/', '.')
+ if prefix == '.':
+ prefix = ''
+ name = suffix
+ else:
+ name = prefix + '.' + suffix
+ prefix = '.' + prefix
+
+ fname = os.path.join(subdir, suffix+".py")
+
+ content = wxmodule_template % globals()
+ f = open(fname, 'w')
+ f.write(content)
+ f.close()
+ print fname + ' created'
+
+
+
+sys.exit()
+
+
+
+
diff --git a/wxPython/docs/PyManual.txt b/wxPython/docs/PyManual.txt
new file mode 100644
index 0000000000..55c5170c4b
--- /dev/null
+++ b/wxPython/docs/PyManual.txt
@@ -0,0 +1,225 @@
+===============
+ The Py Manual
+===============
+
+-------------------------
+ Py - Served Fresh Daily
+-------------------------
+
+:Author: Patrick K. O'Brien
+:Contact: pobrien@orbtech.com
+:Organization: Orbtech_
+:Date: $Date$
+:Revision: $Revision$
+
+.. _Orbtech: http://www.orbtech.com/
+
+.. contents::
+
+
+Introduction
+============
+
+This document will show you how to use the Py programs and the Py
+library of Python source code modules. Py is the new name for the
+project that began as PyCrust. Py is officially part of wxPython_,
+and includes PyCrust, so PyCrust is no longer distributed separately.
+
+.. _wxPython: http://www.wxpython.org/
+
+
+Developer Reference
+===================
+
+Source code documentation for developers is available at:
+
+http://www.orbtech.com/www/wx/epydoc/public/wx.py-module.html
+
+
+What is Py?
+===========
+
+Besides being `a delicious dessert`_, Py is the name for a collection
+of whimsically-named Python programs and modules that began as the
+PyCrust project. So Py is really several things: a set of standalone
+programs, including the original PyCrust program, a library of Python
+source code modules that can be used in your own programs, a set of
+decorator classes that enhance the wxPython class library, and as many
+examples of bad "pie" puns as I can come up with. (If you're going to
+do something, you might as well do it all the way, right?) Py uses
+Python and wxPython, so it works equally well on Windows, Linux and
+Mac OS X.
+
+.. _a delicious dessert: http://www.wikipedia.org/wiki/Pie
+
+
+PyCrust is dead! Long live Py!
+==============================
+
+This project began with a program I created called PyCrust - an
+interactive, graphical Python shell, developed using the wxPython GUI
+toolkit. For about two years, PyCrust was hosted on SourceForge_.
+Shortly after I created PyCrust, the wxPython folks started including
+it in their distribution. As the PyCrust project grew, it reached a
+point where I thought the original PyCrust name was too confining. I
+was using the PyCrust code base to develop programs that weren't just
+Python shells any more.
+
+Around that same time, the wxPython folks asked me if I'd be willing
+to move all my wxPython-related projects into the `wxPython CVS
+repository`_, and become part of the wxPython_/wxWindows_ developer team.
+I decided the time was right to restructure the PyCrust project.
+During the move, the PyCrust package was renamed to "py" (lowercase
+"p") and the collection of programs and modules as a whole became
+known as "Py" (with a capital "P").
+
+.. _wxPython CVS repository: http://cvs.wxwindows.org
+.. _SourceForge: http://www.sf.net/projects/pycrust/
+.. _wxWindows: http://www.wxwindows.org/
+
+The original goal of PyCrust was to be the best interactive, graphical
+Python shell (of course, I claimed it was the "flakiest" Python
+shell). And that was all I wanted it to be. But little by little I
+found myself developing a wider variety of tools for wxPython
+applications. Eventually I'll create a debugger (PySlice, perhaps)
+and whatever else is needed to one day become a complete wxPython
+application development environment (PyFactory?). In the mean time,
+PyCrust is still the flakiest Python shell, and the other Py programs
+are equally tasty.
+
+At this point, Py has standalone programs that include Python code
+editors (PyAlaCarte and PyAlaMode), interactive Python shells (PyCrust
+and PyShell), and a runtime wrapper (PyWrap). The runtime wrapper
+utility provides you with runtime introspection capabilities for your
+wxPython programs without having to include PyCrust or PyShell in your
+program, and without having to alter one line of your source code.
+
+Py also contains a collection of modules that you can use in your own
+wxPython applications to provide similar services, either for your own
+use during development, or as an interface for users of your programs.
+These modules are the same ones used by all the Py programs. In
+addition, Py contains a set of decorator classes that enhance the
+wxPython class library, by dynamically attaching docstrings and call
+signatures at runtime.
+
+
+Py standalone programs
+======================
+
+These are the standalone applications in the Py collection:
+
+* PyAlaCarte
+* PyAlaMode
+* PyCrust
+* PyFilling
+* PyShell
+* PyWrap
+
+
+PyAlaCarte
+==========
+
+PyAlaCarte is a Python source code editor. It is designed to have a
+simple, single-file interface. As a standalone application, it is
+good for simple, short editing tasks. But it is really meant to be
+more of an example of how to embed the Py editor into a wxPython
+application.
+
+
+PyAlaMode
+=========
+
+PyAlaMode is a Python source code editor.
+
+
+PyCrust
+=======
+
+PyCrust is an interactive, Python shell. But it's more than just a
+shell. It includes a tabbed notebook containing a namespace tree
+(PyFilling), and several other things.
+
+
+PyFilling
+=========
+
+PyFilling is a namespace viewer. It isn't really useful as a
+standalone program, but it does illustrate how to make use of the
+underlying ``filling`` module.
+
+
+PyShell
+=======
+
+PyShell is an interactive, Python shell. It shares the same base code
+as PyCrust, but doesn't have any of the extra features that appear in
+the PyCrust notebook interface.
+
+.. figure:: /screenshots/PyShell.png
+
+ PyShell running on Mandrake Linux 9.1.
+
+
+PyWrap
+======
+
+PyWrap is a runtime utility that lets you run an existing wxPython
+program with a PyCrust frame at the same time. Inside the PyCrust
+shell namespace, the local variable ``app`` is assigned to your
+application instance. In this way you can introspect your entire
+application within the PyCrust shell, as well as the PyFilling
+namespace viewer. And through the use of the Py decorator classes,
+PyCrust can display wxPython function and method signatures as well as
+docstrings for the entire wxPython library.
+
+
+Py modules
+==========
+
+Py was designed to be modular. That means graphical code is kept
+separate from non-graphical code, and many of the Py modules can be
+used by other programs. Likewise, other programs can supply some of
+the modules needed by Py. For example, you could supply a customized
+interpreter module and plug it in to the PyCrust standalone
+application. As long as it supports the minimum functionality
+required, PyCrust will work just as well with your interpreter as with
+its default interpreter.
+
+
+Decorator classes
+=================
+
+Py contains a set of decorator classes that enhance the wxPython class
+library, by dynamically attaching docstrings and call signatures at
+runtime.
+
+
+Projects using Py
+=================
+
+* `Conflict Solver`_
+* Gnumed_
+* PyGist
+* PythonCard_
+* RPy_
+* SciPy_
+* Sim42_
+* wxGasp_
+
+.. _Conflict Solver: http://conflictsolver.sourceforge.net/
+.. _Gnumed: http://www.gnumed.org/
+.. _PythonCard: http://www.pythoncard.org/
+.. _RPy: http://rpy.sourceforge.net/
+.. _SciPy: http://www.scipy.org/
+.. _Sim42: http://www.sim42.org/
+.. _wxGasp: http://linus.yorktown.arlington.k12.va.us/CS/APCSC/student_sites/David_Mayo/wxGasp
+
+
+History of changes
+==================
+
+This section lists all the changes that have been made to the Py
+programs and modules, since the beginning.
+
+.. include:: ../wxPython/py/CHANGES.txt
+
diff --git a/wxPython/docs/default.css b/wxPython/docs/default.css
new file mode 100644
index 0000000000..7343b12bc9
--- /dev/null
+++ b/wxPython/docs/default.css
@@ -0,0 +1,208 @@
+/*
+:Author: David Goodger
+:Contact: goodger@users.sourceforge.net
+:date: $Date$
+:version: $Revision$
+:copyright: This stylesheet has been placed in the public domain.
+
+Default cascading style sheet for the HTML output of Docutils.
+*/
+
+.first {
+ margin-top: 0 }
+
+.last {
+ margin-bottom: 0 }
+
+a.toc-backref {
+ text-decoration: none ;
+ color: black }
+
+dd {
+ margin-bottom: 0.5em }
+
+div.abstract {
+ margin: 2em 5em }
+
+div.abstract p.topic-title {
+ font-weight: bold ;
+ text-align: center }
+
+div.attention, div.caution, div.danger, div.error, div.hint,
+div.important, div.note, div.tip, div.warning {
+ margin: 2em ;
+ border: medium outset ;
+ padding: 1em }
+
+div.attention p.admonition-title, div.caution p.admonition-title,
+div.danger p.admonition-title, div.error p.admonition-title,
+div.warning p.admonition-title {
+ color: red ;
+ font-weight: bold ;
+ font-family: sans-serif }
+
+div.hint p.admonition-title, div.important p.admonition-title,
+div.note p.admonition-title, div.tip p.admonition-title {
+ font-weight: bold ;
+ font-family: sans-serif }
+
+div.dedication {
+ margin: 2em 5em ;
+ text-align: center ;
+ font-style: italic }
+
+div.dedication p.topic-title {
+ font-weight: bold ;
+ font-style: normal }
+
+div.figure {
+ margin-left: 2em }
+
+div.footer, div.header {
+ font-size: smaller }
+
+div.sidebar {
+ margin-left: 1em ;
+ border: medium outset ;
+ padding: 0em 1em ;
+ background-color: #ffffee ;
+ width: 40% ;
+ float: right }
+
+div.system-messages {
+ margin: 5em }
+
+div.system-messages h1 {
+ color: red }
+
+div.system-message {
+ border: medium outset ;
+ padding: 1em }
+
+div.system-message p.system-message-title {
+ color: red ;
+ font-weight: bold }
+
+div.topic {
+ margin: 2em }
+
+h1.title {
+ text-align: center }
+
+h2.subtitle {
+ text-align: center }
+
+hr {
+ width: 75% }
+
+ol.simple, ul.simple {
+ margin-bottom: 1em }
+
+ol.arabic {
+ list-style: decimal }
+
+ol.loweralpha {
+ list-style: lower-alpha }
+
+ol.upperalpha {
+ list-style: upper-alpha }
+
+ol.lowerroman {
+ list-style: lower-roman }
+
+ol.upperroman {
+ list-style: upper-roman }
+
+p.caption {
+ font-style: italic }
+
+p.credits {
+ font-style: italic ;
+ font-size: smaller }
+
+p.label {
+ white-space: nowrap }
+
+p.sidebar-title {
+ font-family: sans-serif ;
+ font-weight: bold ;
+ font-size: larger }
+
+p.sidebar-subtitle {
+ font-family: sans-serif ;
+ font-weight: bold }
+
+p.topic-title {
+ font-weight: bold }
+
+pre.address {
+ margin-bottom: 0 ;
+ margin-top: 0 ;
+ font-family: serif ;
+ font-size: 100% }
+
+pre.line-block {
+ font-family: serif ;
+ font-size: 100% }
+
+pre.literal-block, pre.doctest-block {
+ margin-left: 2em ;
+ margin-right: 2em ;
+ background-color: #eeeeee }
+
+span.classifier {
+ font-family: sans-serif ;
+ font-style: oblique }
+
+span.classifier-delimiter {
+ font-family: sans-serif ;
+ font-weight: bold }
+
+span.interpreted {
+ font-family: sans-serif }
+
+span.option {
+ white-space: nowrap }
+
+span.option-argument {
+ font-style: italic }
+
+span.pre {
+ white-space: pre }
+
+span.problematic {
+ color: red }
+
+table {
+ margin-top: 0.5em ;
+ margin-bottom: 0.5em }
+
+table.citation {
+ border-left: solid thin gray ;
+ padding-left: 0.5ex }
+
+table.docinfo {
+ margin: 2em 4em }
+
+table.footnote {
+ border-left: solid thin black ;
+ padding-left: 0.5ex }
+
+td, th {
+ padding-left: 0.5em ;
+ padding-right: 0.5em ;
+ vertical-align: top }
+
+th.docinfo-name, th.field-name {
+ font-weight: bold ;
+ text-align: left ;
+ white-space: nowrap }
+
+h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
+ font-size: 100% }
+
+tt {
+ background-color: #eeeeee }
+
+ul.auto-toc {
+ list-style-type: none }
diff --git a/wxPython/docs/docutils.conf b/wxPython/docs/docutils.conf
new file mode 100644
index 0000000000..f369f22820
--- /dev/null
+++ b/wxPython/docs/docutils.conf
@@ -0,0 +1,6 @@
+[options]
+
+output_encoding: iso-8859-1
+source-link: 1
+datestamp: %Y-%m-%d %H:%M UTC
+generator: 1
diff --git a/wxPython/docs/screenshots/hello-linux.png b/wxPython/docs/screenshots/hello-linux.png
new file mode 100644
index 0000000000000000000000000000000000000000..b67fc8d934a22035ad89c0b144ef41f1d05bb6b5
GIT binary patch
literal 62715
zcmY&=cRbbKAO9tEGjhqeBC9JmWQ8bX?>$0hw#@9ky7tPR5rvGdP
zm9wAz%C%Is7+IP+DH8r@9+;p7CdP=+u#PGt!G^&&g#%k-t?cZj`oU#?HmG?EllP^3
zC20*~a%em0o9Y#U^J`lFQKnlubb#4M6HC$R>uJl=>bIy!LE2KICX6NGxys)c#c~Bl
z;VuSy54X;SjU{3ucFHt^p7$o+BD~l+a?KBPRMZ9E0bk@eIX#_QW8;ZnSZO!ZKf3&4
zxo<#WRn^u%#yQ``gd~ZB3C1Z*N`5*c%4mz0k#1C2>TD9Ia2nsr-X!#g)dcfY`E_rc$a==J8t>3*KT`O_*
zNhPNI>3h2Jh`5h#+pAZD|DNFv_xCqvzno6bogawrZVQSZOjxxTHExr9#;1T=f8@O}
zAn=Q;_IZboR?GO+B#o5&0^kU+x|uML4c{&
z%4;Uofyg#YIEqQ}`#K@cRg8eN9c)h5
zy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