Some minor bugs fixed, some spit and polish, especially in the demo,
and some fixes in the build and distrib stuff. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -166,6 +166,9 @@ B. As mentioned previouslly, wxPython is built with the standard
|
|||||||
|
|
||||||
LDSHARED=gcc -G
|
LDSHARED=gcc -G
|
||||||
|
|
||||||
|
This particular problem has been fixed in Python 1.6 and beyond,
|
||||||
|
but there may be similar issues on other platforms.
|
||||||
|
|
||||||
While we're on the subject of how Python was built... Since
|
While we're on the subject of how Python was built... Since
|
||||||
wxPython is a C++ extension some platforms and/or compilers will
|
wxPython is a C++ extension some platforms and/or compilers will
|
||||||
require that the Python executable was linked with the C++ linker
|
require that the Python executable was linked with the C++ linker
|
||||||
@@ -252,7 +255,8 @@ F. If you would like to make a test build that doesn't overwrite the
|
|||||||
To run using this test version just add the base wxPython source
|
To run using this test version just add the base wxPython source
|
||||||
directory to the PYTHONPATH:
|
directory to the PYTHONPATH:
|
||||||
|
|
||||||
set PYTHONPATH=~/projects/wxWindows/wxPython
|
export PYTHONPATH=~/projects/wxWindows/wxPython
|
||||||
|
# or whatever is required for your shell
|
||||||
cd ~/projects/wxWindows/wxPython/demo
|
cd ~/projects/wxWindows/wxPython/demo
|
||||||
python demo.py
|
python demo.py
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ CHANGES.txt for wxPython
|
|||||||
New in 2.2.2
|
New in 2.2.2
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Significantly changed how the wxStyledtextCtrl code that wrapps
|
Significantly changed how the wxStyledtextCtrl code that wraps
|
||||||
Scintilla is implemented. Most of it is now automatically generated
|
Scintilla is implemented. Most of it is now automatically generated
|
||||||
from an interface definition file provided by Scintilla. This means
|
from an interface definition file provided by Scintilla. This means
|
||||||
that it will be much easier to stay in sync with new Scintilla
|
that it will be much easier to stay in sync with new Scintilla
|
||||||
@@ -26,7 +26,7 @@ install version 1.0 of Distutils from the website above. If you are
|
|||||||
using Python 2.0 then you already have it.
|
using Python 2.0 then you already have it.
|
||||||
|
|
||||||
Added wxInputStream and the wxFileSystem family of classes,
|
Added wxInputStream and the wxFileSystem family of classes,
|
||||||
contributed by Joerg Baumann
|
contributed by Joerg Baumann.
|
||||||
|
|
||||||
Added wxProcess and support for it to wxExecute. wxProcess lets you
|
Added wxProcess and support for it to wxExecute. wxProcess lets you
|
||||||
get notified when an asyncronous child process terminates, and also to
|
get notified when an asyncronous child process terminates, and also to
|
||||||
@@ -35,6 +35,8 @@ stdin.
|
|||||||
|
|
||||||
Removed the old python sizers.
|
Removed the old python sizers.
|
||||||
|
|
||||||
|
Added __add__, __sub__ and __cmp__ (equality check only) for wxPoint
|
||||||
|
and wxRealPoint.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -26,6 +26,8 @@ include wxPython/lib/editor/*.py
|
|||||||
include wxPython/lib/editor/*.txt
|
include wxPython/lib/editor/*.txt
|
||||||
|
|
||||||
exclude wxPython/*
|
exclude wxPython/*
|
||||||
|
exclude tests
|
||||||
|
exclude SWIG
|
||||||
|
|
||||||
include src/*.i
|
include src/*.i
|
||||||
include src/*.py
|
include src/*.py
|
||||||
@@ -82,6 +84,7 @@ include contrib/stc/contrib/src/stc/*.h
|
|||||||
include contrib/stc/contrib/src/stc/*.cpp
|
include contrib/stc/contrib/src/stc/*.cpp
|
||||||
include contrib/stc/contrib/src/stc/*.txt
|
include contrib/stc/contrib/src/stc/*.txt
|
||||||
include contrib/stc/contrib/src/stc/*.py
|
include contrib/stc/contrib/src/stc/*.py
|
||||||
|
include contrib/stc/contrib/src/stc/*.in
|
||||||
include contrib/stc/contrib/src/stc/scintilla/include/*.h
|
include contrib/stc/contrib/src/stc/scintilla/include/*.h
|
||||||
include contrib/stc/contrib/src/stc/scintilla/include/*.iface
|
include contrib/stc/contrib/src/stc/scintilla/include/*.iface
|
||||||
include contrib/stc/contrib/src/stc/scintilla/src/*.h
|
include contrib/stc/contrib/src/stc/scintilla/src/*.h
|
||||||
|
@@ -1 +1,56 @@
|
|||||||
python -u setup.py USE_SWIG=1 IN_CVS_TREE=1 HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
|
@echo off
|
||||||
|
setlocal
|
||||||
|
|
||||||
|
set FLAGS=USE_SWIG=1 IN_CVS_TREE=1
|
||||||
|
|
||||||
|
|
||||||
|
rem Use non-default python?
|
||||||
|
iff "%1" == "15" .or. "%1" == "20" then
|
||||||
|
set SETUP=c:\tools\python%1%\python.exe -u setup.py
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
set SETUP=python -u setup.py
|
||||||
|
endiff
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
rem "c" --> clean
|
||||||
|
iff "%1" == "c" then
|
||||||
|
shift
|
||||||
|
set CMD=%SETUP% %FLAGS% clean
|
||||||
|
set OTHERCMD=del wxPython\*.pyd
|
||||||
|
|
||||||
|
rem just remove the *.pyd's
|
||||||
|
elseiff "%1" == "d" then
|
||||||
|
shift
|
||||||
|
set CMD=del wxPython\*.pyd
|
||||||
|
|
||||||
|
rem "i" --> install
|
||||||
|
elseiff "%1" == "i" then
|
||||||
|
shift
|
||||||
|
set CMD=%SETUP% build install
|
||||||
|
|
||||||
|
rem "s" --> source dist
|
||||||
|
elseiff "%1" == "s" then
|
||||||
|
shift
|
||||||
|
set CMD=%SETUP sdist
|
||||||
|
|
||||||
|
rem "f" --> FINAL
|
||||||
|
elseiff "%1" == "f" then
|
||||||
|
shift
|
||||||
|
set CMD=%SETUP% %FLAGS% FINAL=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
|
||||||
|
rem (no command arg) --> normal build for development
|
||||||
|
else
|
||||||
|
set CMD=%SETUP% %FLAGS% HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
endiff
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo %CMD%
|
||||||
|
%CMD%
|
||||||
|
|
||||||
|
iff "%OTHERCMD%" != "" then
|
||||||
|
%OTHERCMD%
|
||||||
|
endiff
|
||||||
|
|
||||||
|
@@ -8306,13 +8306,17 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxProcessEvent","_wxProcessEvent",0},
|
||||||
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
||||||
|
{ "_class_wxFSFile","_wxFSFile",0},
|
||||||
{ "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
|
{ "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
|
||||||
{ "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
|
{ "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
|
||||||
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
||||||
{ "_wxImage","_class_wxImage",0},
|
{ "_wxImage","_class_wxImage",0},
|
||||||
{ "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
|
{ "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
|
||||||
|
{ "_wxWindowDisabler","_class_wxWindowDisabler",0},
|
||||||
|
{ "_class_wxDateTime","_wxDateTime",0},
|
||||||
{ "_wxPrintQuality","_wxCoord",0},
|
{ "_wxPrintQuality","_wxCoord",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
{ "_wxPrintQuality","_signed_int",0},
|
{ "_wxPrintQuality","_signed_int",0},
|
||||||
@@ -8336,9 +8340,11 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
||||||
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
||||||
{ "_wxPySizer","_class_wxPySizer",0},
|
{ "_wxPySizer","_class_wxPySizer",0},
|
||||||
|
{ "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
|
||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_wxPyProcess","_class_wxPyProcess",0},
|
||||||
{ "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
|
{ "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
|
||||||
{ "_wxImageHandler","_class_wxImageHandler",0},
|
{ "_wxImageHandler","_class_wxImageHandler",0},
|
||||||
{ "_wxLog","_class_wxLog",0},
|
{ "_wxLog","_class_wxLog",0},
|
||||||
@@ -8419,6 +8425,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxKeyEvent","_wxKeyEvent",0},
|
{ "_class_wxKeyEvent","_wxKeyEvent",0},
|
||||||
{ "_class_wxToolTip","_wxToolTip",0},
|
{ "_class_wxToolTip","_wxToolTip",0},
|
||||||
{ "_class_wxPNGHandler","_wxPNGHandler",0},
|
{ "_class_wxPNGHandler","_wxPNGHandler",0},
|
||||||
|
{ "_wxFileConfig","_class_wxFileConfig",0},
|
||||||
{ "_wxColour","_class_wxColour",0},
|
{ "_wxColour","_class_wxColour",0},
|
||||||
{ "_class_wxDialog","_wxDialog",0},
|
{ "_class_wxDialog","_wxDialog",0},
|
||||||
{ "_wxBusyCursor","_class_wxBusyCursor",0},
|
{ "_wxBusyCursor","_class_wxBusyCursor",0},
|
||||||
@@ -8462,6 +8469,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxLogWindow","_wxLogWindow",0},
|
{ "_class_wxLogWindow","_wxLogWindow",0},
|
||||||
{ "_class_wxImage","_wxImage",0},
|
{ "_class_wxImage","_wxImage",0},
|
||||||
{ "_wxPoint","_class_wxPoint",0},
|
{ "_wxPoint","_class_wxPoint",0},
|
||||||
|
{ "_class_wxWindowDisabler","_wxWindowDisabler",0},
|
||||||
{ "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
|
{ "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
|
||||||
{ "_class_wxButton","_wxButton",0},
|
{ "_class_wxButton","_wxButton",0},
|
||||||
{ "_wxRadioBox","_class_wxRadioBox",0},
|
{ "_wxRadioBox","_class_wxRadioBox",0},
|
||||||
@@ -8469,6 +8477,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFontData","_wxFontData",0},
|
{ "_class_wxFontData","_wxFontData",0},
|
||||||
{ "_class_wxPNMHandler","_wxPNMHandler",0},
|
{ "_class_wxPNMHandler","_wxPNMHandler",0},
|
||||||
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
||||||
|
{ "_class_wxZipFSHandler","_wxZipFSHandler",0},
|
||||||
{ "_char","_wxChar",0},
|
{ "_char","_wxChar",0},
|
||||||
{ "_wxBitmap","_class_wxBitmap",0},
|
{ "_wxBitmap","_class_wxBitmap",0},
|
||||||
{ "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
|
{ "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
|
||||||
@@ -8480,14 +8489,17 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
||||||
{ "_wxColourDialog","_class_wxColourDialog",0},
|
{ "_wxColourDialog","_class_wxColourDialog",0},
|
||||||
{ "_wxPrintData","_class_wxPrintData",0},
|
{ "_wxPrintData","_class_wxPrintData",0},
|
||||||
|
{ "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
||||||
{ "_class_wxValidator","_wxValidator",0},
|
{ "_class_wxValidator","_wxValidator",0},
|
||||||
{ "_class_wxPyEvent","_wxPyEvent",0},
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
||||||
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
{ "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
|
||||||
|
{ "_wxConfig","_class_wxConfig",0},
|
||||||
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
||||||
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
||||||
|
{ "_class_wxFileConfig","_wxFileConfig",0},
|
||||||
{ "_class_wxBusyCursor","_wxBusyCursor",0},
|
{ "_class_wxBusyCursor","_wxBusyCursor",0},
|
||||||
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
{ "_wxToolBarSimple","_class_wxToolBarSimple",0},
|
||||||
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
{ "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
|
||||||
@@ -8498,6 +8510,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
||||||
|
{ "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
|
||||||
{ "_EBool","_wxCoord",0},
|
{ "_EBool","_wxCoord",0},
|
||||||
{ "_EBool","_wxPrintQuality",0},
|
{ "_EBool","_wxPrintQuality",0},
|
||||||
{ "_EBool","_signed_int",0},
|
{ "_EBool","_signed_int",0},
|
||||||
@@ -8513,7 +8526,9 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxPyDropTarget","_wxPyDropTarget",0},
|
{ "_class_wxPyDropTarget","_wxPyDropTarget",0},
|
||||||
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
||||||
{ "_class_wxSplitterEvent","_wxSplitterEvent",0},
|
{ "_class_wxSplitterEvent","_wxSplitterEvent",0},
|
||||||
|
{ "_wxProcessEvent","_class_wxProcessEvent",0},
|
||||||
{ "_wxNotebook","_class_wxNotebook",0},
|
{ "_wxNotebook","_class_wxNotebook",0},
|
||||||
|
{ "_wxFSFile","_class_wxFSFile",0},
|
||||||
{ "_unsigned_long","_long",0},
|
{ "_unsigned_long","_long",0},
|
||||||
{ "_class_wxRect","_wxRect",0},
|
{ "_class_wxRect","_wxRect",0},
|
||||||
{ "_class_wxDC","_wxDC",0},
|
{ "_class_wxDC","_wxDC",0},
|
||||||
@@ -8521,12 +8536,15 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxGenericDragImage","_class_wxGenericDragImage",0},
|
{ "_wxGenericDragImage","_class_wxGenericDragImage",0},
|
||||||
{ "_class_wxProgressDialog","_wxProgressDialog",0},
|
{ "_class_wxProgressDialog","_wxProgressDialog",0},
|
||||||
{ "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
|
{ "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
|
||||||
|
{ "_wxPyInputStream","_class_wxPyInputStream",0},
|
||||||
{ "_wxPyApp","_class_wxPyApp",0},
|
{ "_wxPyApp","_class_wxPyApp",0},
|
||||||
{ "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
|
{ "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
|
||||||
|
{ "_class_wxOutputStream","_wxOutputStream",0},
|
||||||
{ "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
|
{ "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
|
||||||
{ "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
|
{ "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
|
||||||
{ "_class_wxTreeEvent","_wxTreeEvent",0},
|
{ "_class_wxTreeEvent","_wxTreeEvent",0},
|
||||||
{ "_class_wxDirDialog","_wxDirDialog",0},
|
{ "_class_wxDirDialog","_wxDirDialog",0},
|
||||||
|
{ "_wxTimeSpan","_class_wxTimeSpan",0},
|
||||||
{ "_wxFocusEvent","_class_wxFocusEvent",0},
|
{ "_wxFocusEvent","_class_wxFocusEvent",0},
|
||||||
{ "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
|
{ "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
|
||||||
{ "_class_wxTimerEvent","_wxTimerEvent",0},
|
{ "_class_wxTimerEvent","_wxTimerEvent",0},
|
||||||
@@ -8554,6 +8572,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxScreenDC","_class_wxScreenDC",0},
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
||||||
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
{ "_class_wxToolBarSimple","_wxToolBarSimple",0},
|
||||||
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
{ "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
|
||||||
|
{ "_WXTYPE","_wxDateTime_t",0},
|
||||||
{ "_WXTYPE","_short",0},
|
{ "_WXTYPE","_short",0},
|
||||||
{ "_WXTYPE","_signed_short",0},
|
{ "_WXTYPE","_signed_short",0},
|
||||||
{ "_WXTYPE","_unsigned_short",0},
|
{ "_WXTYPE","_unsigned_short",0},
|
||||||
@@ -8563,6 +8582,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
|
{ "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
|
||||||
{ "_class_wxBrush","_wxBrush",0},
|
{ "_class_wxBrush","_wxBrush",0},
|
||||||
{ "_wxTipProvider","_class_wxTipProvider",0},
|
{ "_wxTipProvider","_class_wxTipProvider",0},
|
||||||
|
{ "_unsigned_short","_wxDateTime_t",0},
|
||||||
{ "_unsigned_short","_WXTYPE",0},
|
{ "_unsigned_short","_WXTYPE",0},
|
||||||
{ "_unsigned_short","_short",0},
|
{ "_unsigned_short","_short",0},
|
||||||
{ "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
{ "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
|
||||||
@@ -8570,6 +8590,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxWindow","_wxWindow",0},
|
{ "_class_wxWindow","_wxWindow",0},
|
||||||
{ "_class_wxLogStderr","_wxLogStderr",0},
|
{ "_class_wxLogStderr","_wxLogStderr",0},
|
||||||
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
{ "_wxSplitterWindow","_class_wxSplitterWindow",0},
|
||||||
|
{ "_wxDateSpan","_class_wxDateSpan",0},
|
||||||
{ "_class_wxStyledTextEvent","_wxStyledTextEvent",0},
|
{ "_class_wxStyledTextEvent","_wxStyledTextEvent",0},
|
||||||
{ "_class_wxStaticText","_wxStaticText",0},
|
{ "_class_wxStaticText","_wxStaticText",0},
|
||||||
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
{ "_wxPrintDialogData","_class_wxPrintDialogData",0},
|
||||||
@@ -8588,6 +8609,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxListCtrl","_class_wxListCtrl",0},
|
{ "_wxListCtrl","_class_wxListCtrl",0},
|
||||||
{ "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
|
{ "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
|
||||||
{ "_class_wxPoint","_wxPoint",0},
|
{ "_class_wxPoint","_wxPoint",0},
|
||||||
|
{ "_class_wxPyInputStream","_wxPyInputStream",0},
|
||||||
{ "_wxRealPoint","_class_wxRealPoint",0},
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
||||||
{ "_class_wxRadioBox","_wxRadioBox",0},
|
{ "_class_wxRadioBox","_wxRadioBox",0},
|
||||||
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
||||||
@@ -8597,6 +8619,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
|
{ "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
|
||||||
{ "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
|
{ "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
|
||||||
{ "_class_wxPrintDialog","_wxPrintDialog",0},
|
{ "_class_wxPrintDialog","_wxPrintDialog",0},
|
||||||
|
{ "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
|
||||||
{ "_wxPaintDC","_class_wxPaintDC",0},
|
{ "_wxPaintDC","_class_wxPaintDC",0},
|
||||||
{ "_class_wxWindowDC","_wxWindowDC",0},
|
{ "_class_wxWindowDC","_wxWindowDC",0},
|
||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
@@ -8605,6 +8628,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
|
{ "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
|
||||||
|
{ "_class_wxPyProcess","_wxPyProcess",0},
|
||||||
{ "_class_wxImageHandler","_wxImageHandler",0},
|
{ "_class_wxImageHandler","_wxImageHandler",0},
|
||||||
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
|
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
|
||||||
{ "_class_wxLog","_wxLog",0},
|
{ "_class_wxLog","_wxLog",0},
|
||||||
@@ -8629,6 +8653,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxPen","_wxPen",0},
|
{ "_class_wxPen","_wxPen",0},
|
||||||
{ "_class_wxFileDialog","_wxFileDialog",0},
|
{ "_class_wxFileDialog","_wxFileDialog",0},
|
||||||
{ "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
|
{ "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
|
||||||
|
{ "_wxConfigBase","_class_wxConfigBase",0},
|
||||||
|
{ "_short","_wxDateTime_t",0},
|
||||||
{ "_short","_WXTYPE",0},
|
{ "_short","_WXTYPE",0},
|
||||||
{ "_short","_unsigned_short",0},
|
{ "_short","_unsigned_short",0},
|
||||||
{ "_short","_signed_short",0},
|
{ "_short","_signed_short",0},
|
||||||
@@ -8643,6 +8669,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
|
{ "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
|
||||||
{ "_class_wxImageList","_wxImageList",0},
|
{ "_class_wxImageList","_wxImageList",0},
|
||||||
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
||||||
|
{ "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
|
||||||
{ "_wxPyTipProvider","_class_wxPyTipProvider",0},
|
{ "_wxPyTipProvider","_class_wxPyTipProvider",0},
|
||||||
{ "_wxFrame","_class_wxFrame",0},
|
{ "_wxFrame","_class_wxFrame",0},
|
||||||
{ "_wxPCXHandler","_class_wxPCXHandler",0},
|
{ "_wxPCXHandler","_class_wxPCXHandler",0},
|
||||||
@@ -8675,8 +8702,12 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxLogWindow","_class_wxLogWindow",0},
|
{ "_wxLogWindow","_class_wxLogWindow",0},
|
||||||
{ "_class_wxListEvent","_wxListEvent",0},
|
{ "_class_wxListEvent","_wxListEvent",0},
|
||||||
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
{ "_class_wxPrintPreview","_wxPrintPreview",0},
|
||||||
|
{ "_wxDateTime_t","_unsigned_short",0},
|
||||||
|
{ "_wxDateTime_t","_short",0},
|
||||||
|
{ "_wxDateTime_t","_WXTYPE",0},
|
||||||
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
||||||
{ "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
|
{ "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
|
||||||
|
{ "_wxDateTime","_class_wxDateTime",0},
|
||||||
{ "_time_t","_wxCoord",0},
|
{ "_time_t","_wxCoord",0},
|
||||||
{ "_time_t","_wxPrintQuality",0},
|
{ "_time_t","_wxPrintQuality",0},
|
||||||
{ "_time_t","_unsigned_int",0},
|
{ "_time_t","_unsigned_int",0},
|
||||||
@@ -8687,6 +8718,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
|
{ "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
|
||||||
{ "_wxLogNull","_class_wxLogNull",0},
|
{ "_wxLogNull","_class_wxLogNull",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
|
{ "_wxZipFSHandler","_class_wxZipFSHandler",0},
|
||||||
{ "_class_wxPyApp","_wxPyApp",0},
|
{ "_class_wxPyApp","_wxPyApp",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
||||||
@@ -8697,6 +8729,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
|
{ "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
|
||||||
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
||||||
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
||||||
|
{ "_class_wxTimeSpan","_wxTimeSpan",0},
|
||||||
|
{ "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
|
||||||
{ "_class_wxPaintDC","_wxPaintDC",0},
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
||||||
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
||||||
{ "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
|
{ "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
|
||||||
@@ -8719,6 +8753,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
|
{ "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
|
||||||
{ "_wxPalette","_class_wxPalette",0},
|
{ "_wxPalette","_class_wxPalette",0},
|
||||||
{ "_class_wxIdleEvent","_wxIdleEvent",0},
|
{ "_class_wxIdleEvent","_wxIdleEvent",0},
|
||||||
|
{ "_class_wxConfigBase","_wxConfigBase",0},
|
||||||
{ "_wxCoord","_int",0},
|
{ "_wxCoord","_int",0},
|
||||||
{ "_wxCoord","_signed_int",0},
|
{ "_wxCoord","_signed_int",0},
|
||||||
{ "_wxCoord","_unsigned_int",0},
|
{ "_wxCoord","_unsigned_int",0},
|
||||||
@@ -8734,10 +8769,13 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxTipProvider","_wxTipProvider",0},
|
{ "_class_wxTipProvider","_wxTipProvider",0},
|
||||||
{ "_class_wxMiniFrame","_wxMiniFrame",0},
|
{ "_class_wxMiniFrame","_wxMiniFrame",0},
|
||||||
{ "_wxFontDialog","_class_wxFontDialog",0},
|
{ "_wxFontDialog","_class_wxFontDialog",0},
|
||||||
|
{ "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
|
||||||
{ "_wxRegion","_class_wxRegion",0},
|
{ "_wxRegion","_class_wxRegion",0},
|
||||||
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
||||||
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
||||||
{ "_wxSizer","_class_wxSizer",0},
|
{ "_wxSizer","_class_wxSizer",0},
|
||||||
|
{ "_class_wxDateSpan","_wxDateSpan",0},
|
||||||
|
{ "_wxFileSystem","_class_wxFileSystem",0},
|
||||||
{ "_class_wxShowEvent","_wxShowEvent",0},
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
||||||
{ "_class_wxPyTipProvider","_wxPyTipProvider",0},
|
{ "_class_wxPyTipProvider","_wxPyTipProvider",0},
|
||||||
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
||||||
@@ -8760,6 +8798,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
||||||
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
|
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
|
||||||
{ "_wxMenuBar","_class_wxMenuBar",0},
|
{ "_wxMenuBar","_class_wxMenuBar",0},
|
||||||
|
{ "_wxOutputStream","_class_wxOutputStream",0},
|
||||||
{ "_wxTreeEvent","_class_wxTreeEvent",0},
|
{ "_wxTreeEvent","_class_wxTreeEvent",0},
|
||||||
{ "_wxDirDialog","_class_wxDirDialog",0},
|
{ "_wxDirDialog","_class_wxDirDialog",0},
|
||||||
{ "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
{ "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
|
||||||
@@ -8772,6 +8811,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
||||||
{ "_wxListItemAttr","_class_wxListItemAttr",0},
|
{ "_wxListItemAttr","_class_wxListItemAttr",0},
|
||||||
{ "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
|
{ "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
|
||||||
|
{ "_class_wxConfig","_wxConfig",0},
|
||||||
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
||||||
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
||||||
{ "_wxColourData","_class_wxColourData",0},
|
{ "_wxColourData","_class_wxColourData",0},
|
||||||
@@ -8791,6 +8831,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindow","_class_wxWindow",0},
|
{ "_wxWindow","_class_wxWindow",0},
|
||||||
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
||||||
{ "_wxLogStderr","_class_wxLogStderr",0},
|
{ "_wxLogStderr","_class_wxLogStderr",0},
|
||||||
|
{ "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
|
||||||
|
{ "_class_wxFileSystem","_wxFileSystem",0},
|
||||||
{ "_wxStyledTextEvent","_class_wxStyledTextEvent",0},
|
{ "_wxStyledTextEvent","_class_wxStyledTextEvent",0},
|
||||||
{ "_class_wxFrame","_wxFrame",0},
|
{ "_class_wxFrame","_wxFrame",0},
|
||||||
{0,0,0}};
|
{0,0,0}};
|
||||||
|
@@ -13,6 +13,8 @@ from clip_dnd import *
|
|||||||
|
|
||||||
from events import *
|
from events import *
|
||||||
|
|
||||||
|
from streams import *
|
||||||
|
|
||||||
from mdi import *
|
from mdi import *
|
||||||
|
|
||||||
from frames import *
|
from frames import *
|
||||||
@@ -35,6 +37,10 @@ from printfw import *
|
|||||||
|
|
||||||
from sizers import *
|
from sizers import *
|
||||||
|
|
||||||
|
from filesys import *
|
||||||
|
|
||||||
|
from utils import *
|
||||||
|
|
||||||
def EVT_STC_CHANGE(win, id, fn):
|
def EVT_STC_CHANGE(win, id, fn):
|
||||||
win.Connect(id, -1, wxEVT_STC_CHANGE, fn)
|
win.Connect(id, -1, wxEVT_STC_CHANGE, fn)
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
.emacs.desktop
|
.emacs.desktop
|
||||||
|
b.bat
|
||||||
hangman_dict.txt
|
hangman_dict.txt
|
||||||
setup.bat
|
setup.bat
|
||||||
test.out
|
test.out
|
||||||
|
@@ -37,7 +37,7 @@ class TestPanel(wxWindow):
|
|||||||
wxWindow.__init__(self, parent, -1)#, style=wxCLIP_CHILDREN)
|
wxWindow.__init__(self, parent, -1)#, style=wxCLIP_CHILDREN)
|
||||||
self.ie = None
|
self.ie = None
|
||||||
self.log = log
|
self.log = log
|
||||||
self.current = "http://alldunn.com/"
|
self.current = "http://wxPython.org/"
|
||||||
self.frame = frame
|
self.frame = frame
|
||||||
if frame:
|
if frame:
|
||||||
self.titleBase = frame.GetTitle()
|
self.titleBase = frame.GetTitle()
|
||||||
|
@@ -50,13 +50,15 @@ _treeList = [
|
|||||||
'wxImage', 'wxMask', 'PrintFramework', 'wxOGL',
|
'wxImage', 'wxMask', 'PrintFramework', 'wxOGL',
|
||||||
'PythonEvents', 'Threads',
|
'PythonEvents', 'Threads',
|
||||||
'ActiveXWrapper_Acrobat', 'ActiveXWrapper_IE',
|
'ActiveXWrapper_Acrobat', 'ActiveXWrapper_IE',
|
||||||
'wxDragImage', 'PyShellWindow',
|
'wxDragImage',
|
||||||
]),
|
]),
|
||||||
|
|
||||||
('wxPython Library', ['Layoutf', 'wxScrolledMessageDialog',
|
('wxPython Library', ['Layoutf', 'wxScrolledMessageDialog',
|
||||||
'wxMultipleChoiceDialog', 'wxPlotCanvas', 'wxFloatBar',
|
'wxMultipleChoiceDialog', 'wxPlotCanvas', 'wxFloatBar',
|
||||||
'PyShell', 'wxCalendar', 'wxMVCTree', 'wxVTKRenderWindow',
|
'PyShell', 'wxCalendar', 'wxMVCTree', 'wxVTKRenderWindow',
|
||||||
'FileBrowseButton', 'GenericButtons', 'wxEditor']),
|
'FileBrowseButton', 'GenericButtons', 'wxEditor',
|
||||||
|
'PyShellWindow',
|
||||||
|
]),
|
||||||
|
|
||||||
('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
|
('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
|
||||||
|
|
||||||
|
@@ -23,3 +23,5 @@ while line:
|
|||||||
line = sys.stdin.readline()
|
line = sys.stdin.readline()
|
||||||
|
|
||||||
|
|
||||||
|
sys.stdout.write('\nExiting...\n')
|
||||||
|
sys.stdout.flush()
|
||||||
|
@@ -1565,7 +1565,8 @@ public:
|
|||||||
void SelectRow( int row, bool addToSelected = FALSE );
|
void SelectRow( int row, bool addToSelected = FALSE );
|
||||||
void SelectCol( int col, bool addToSelected = FALSE );
|
void SelectCol( int col, bool addToSelected = FALSE );
|
||||||
|
|
||||||
void SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol );
|
void SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol,
|
||||||
|
bool addToSelected = FALSE );
|
||||||
// TODO: ??? void SelectBlock( const wxGridCellCoords& topLeft,
|
// TODO: ??? void SelectBlock( const wxGridCellCoords& topLeft,
|
||||||
// TODO: ??? const wxGridCellCoords& bottomRight )
|
// TODO: ??? const wxGridCellCoords& bottomRight )
|
||||||
|
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import sys, string
|
||||||
|
|
||||||
from wxPython.wx import *
|
from wxPython.wx import *
|
||||||
from wxPython.html import *
|
from wxPython.html import *
|
||||||
|
|
||||||
@@ -41,7 +43,10 @@ class TestHtmlPanel(wxPanel):
|
|||||||
import About
|
import About
|
||||||
wxPanel.__init__(self, parent, id, size=size)
|
wxPanel.__init__(self, parent, id, size=size)
|
||||||
self.html = wxHtmlWindow(self, -1, wxPoint(5,5), wxSize(400, 350))
|
self.html = wxHtmlWindow(self, -1, wxPoint(5,5), wxSize(400, 350))
|
||||||
self.html.SetPage(About.MyAboutBox.text % wx.__version__)
|
py_version = string.split(sys.version)[0]
|
||||||
|
self.html.SetPage(About.MyAboutBox.text % (wx.__version__, py_version))
|
||||||
|
ir = self.html.GetInternalRepresentation()
|
||||||
|
self.html.SetSize( (ir.GetWidth()+5, ir.GetHeight()+5) )
|
||||||
self.Fit()
|
self.Fit()
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
@@ -43,7 +43,7 @@ class TestFloatBar(wxFrame):
|
|||||||
|
|
||||||
tb.AddTool(60, wxBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
|
tb.AddTool(60, wxBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
|
||||||
wxBitmap('bitmaps/tog2.bmp', wxBITMAP_TYPE_BMP),
|
wxBitmap('bitmaps/tog2.bmp', wxBITMAP_TYPE_BMP),
|
||||||
shortHelpString="Toggle with 2 bitmaps", toggle=true)
|
shortHelpString="Toggle with 2 bitmaps", isToggle=true)
|
||||||
EVT_TOOL(self, 60, self.OnToolClick)
|
EVT_TOOL(self, 60, self.OnToolClick)
|
||||||
EVT_TOOL_RCLICKED(self, 60, self.OnToolRClick)
|
EVT_TOOL_RCLICKED(self, 60, self.OnToolRClick)
|
||||||
tb.Realize()
|
tb.Realize()
|
||||||
|
@@ -94,15 +94,26 @@ class TestPanel(wxPanel):
|
|||||||
|
|
||||||
def OnIdle(self, evt):
|
def OnIdle(self, evt):
|
||||||
if self.process is not None:
|
if self.process is not None:
|
||||||
st = self.process.GetInputStream()
|
stream = self.process.GetInputStream()
|
||||||
if not st.eof():
|
|
||||||
text = st.read()
|
# Yes, this is weird. For this particular stream, EOF
|
||||||
|
# simply means that there is no data available to be read,
|
||||||
|
# not truly the end of file. Also, read() just reads all
|
||||||
|
# the currently available data, not until the real EOF...
|
||||||
|
if not stream.eof():
|
||||||
|
text = stream.read()
|
||||||
self.out.AppendText(text)
|
self.out.AppendText(text)
|
||||||
|
|
||||||
|
|
||||||
def OnProcessEnded(self, evt):
|
def OnProcessEnded(self, evt):
|
||||||
self.log.write('OnProcessEnded, pid:%s, exitCode: %s\n' %
|
self.log.write('OnProcessEnded, pid:%s, exitCode: %s\n' %
|
||||||
(evt.GetPid(), evt.GetExitCode()))
|
(evt.GetPid(), evt.GetExitCode()))
|
||||||
|
|
||||||
|
stream = self.process.GetInputStream()
|
||||||
|
if not stream.eof():
|
||||||
|
text = stream.read()
|
||||||
|
self.out.AppendText(text)
|
||||||
|
|
||||||
self.process.Destroy()
|
self.process.Destroy()
|
||||||
self.process = None
|
self.process = None
|
||||||
self.inp.Enable(false)
|
self.inp.Enable(false)
|
||||||
@@ -126,7 +137,19 @@ overview = """\
|
|||||||
<html><body>
|
<html><body>
|
||||||
<h2>wxProcess</h2>
|
<h2>wxProcess</h2>
|
||||||
|
|
||||||
blah blah blah...
|
wxProcess lets you get notified when an asyncronous child process
|
||||||
|
started by wxExecute terminates, and also to get input/output streams
|
||||||
|
for the child process's stdout, stderr and stdin.
|
||||||
|
|
||||||
|
<p>
|
||||||
|
This demo launches a simple python script that echos back on stdout
|
||||||
|
lines that it reads from stdin. You can send text to the echo
|
||||||
|
process' stdin by typing in the lower textctrl and clicking Send.
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Clicking the Close Stream button will close the demo's end of the
|
||||||
|
stdin pipe to the child process. In our case that will cause the
|
||||||
|
child process to exit its main loop.
|
||||||
|
|
||||||
</body><html>
|
</body><html>
|
||||||
"""
|
"""
|
||||||
|
@@ -126,9 +126,17 @@ class PythonSTC(wxStyledTextCtrl):
|
|||||||
self.CallTipShow(pos, 'param1, param2')
|
self.CallTipShow(pos, 'param1, param2')
|
||||||
# Code completion
|
# Code completion
|
||||||
else:
|
else:
|
||||||
self.AutoCompShow('I love wxPython a b c')
|
#lst = []
|
||||||
self.AutoCompSelect('wx')
|
#for x in range(50000):
|
||||||
|
# lst.append('%05d' % x)
|
||||||
|
#st = string.join(lst)
|
||||||
|
#print len(st)
|
||||||
|
#self.AutoCompShow(0, st)
|
||||||
|
self.AutoCompSetIgnoreCase(true)
|
||||||
|
self.AutoCompShow(0, string.join(keyword.kwlist))
|
||||||
|
self.AutoCompSelect('br')
|
||||||
|
else:
|
||||||
|
event.Skip()
|
||||||
|
|
||||||
|
|
||||||
def OnUpdateUI(self, evt):
|
def OnUpdateUI(self, evt):
|
||||||
|
@@ -39,13 +39,13 @@ class TestToolBar(wxFrame):
|
|||||||
tb.AddSeparator()
|
tb.AddSeparator()
|
||||||
|
|
||||||
tool = tb.AddTool(50, wxBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
|
tool = tb.AddTool(50, wxBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
|
||||||
shortHelpString="Toggle this", toggle=true)
|
shortHelpString="Toggle this", isToggle=true)
|
||||||
EVT_TOOL(self, 50, self.OnToolClick)
|
EVT_TOOL(self, 50, self.OnToolClick)
|
||||||
EVT_TOOL_RCLICKED(self, 50, self.OnToolRClick)
|
EVT_TOOL_RCLICKED(self, 50, self.OnToolRClick)
|
||||||
|
|
||||||
tb.AddTool(60, wxBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
|
tb.AddTool(60, wxBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
|
||||||
wxBitmap('bitmaps/tog2.bmp', wxBITMAP_TYPE_BMP),
|
wxBitmap('bitmaps/tog2.bmp', wxBITMAP_TYPE_BMP),
|
||||||
shortHelpString="Toggle with 2 bitmaps", toggle=true)
|
shortHelpString="Toggle with 2 bitmaps", isToggle=true)
|
||||||
EVT_TOOL(self, 60, self.OnToolClick)
|
EVT_TOOL(self, 60, self.OnToolClick)
|
||||||
EVT_TOOL_RCLICKED(self, 60, self.OnToolRClick)
|
EVT_TOOL_RCLICKED(self, 60, self.OnToolRClick)
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -17,7 +17,7 @@ item: Global
|
|||||||
Patch Flags=0000000000001001
|
Patch Flags=0000000000001001
|
||||||
Patch Threshold=85
|
Patch Threshold=85
|
||||||
Patch Memory=4000
|
Patch Memory=4000
|
||||||
EXE Filename=wxPython-2.2.1.exe
|
EXE Filename=wxPython-2.2.2.exe
|
||||||
FTP Cluster Size=20
|
FTP Cluster Size=20
|
||||||
Per-User Version ID=1
|
Per-User Version ID=1
|
||||||
Dialogs Version=6
|
Dialogs Version=6
|
||||||
@@ -814,8 +814,8 @@ item: Install File
|
|||||||
Flags=0000001010000011
|
Flags=0000001010000011
|
||||||
end
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
Source=c:\projects\wx\lib\wx22_1.dll
|
Source=c:\projects\wx\lib\wx22_2.dll
|
||||||
Destination=%SYS%\wx22_1.dll
|
Destination=%SYS%\wx22_2.dll
|
||||||
Flags=0000001010010010
|
Flags=0000001010010010
|
||||||
end
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
@@ -842,12 +842,6 @@ item: Install File
|
|||||||
Description=wxPython Standard Library
|
Description=wxPython Standard Library
|
||||||
Flags=0000000010000010
|
Flags=0000000010000010
|
||||||
end
|
end
|
||||||
item: Install File
|
|
||||||
Source=c:\Projects\wx\wxPython\wxPython\lib\sizers\*.py
|
|
||||||
Destination=%MAINDIR%\wxPython\lib\sizers
|
|
||||||
Description=wxPython Standard Library
|
|
||||||
Flags=0000000010000010
|
|
||||||
end
|
|
||||||
item: Install File
|
item: Install File
|
||||||
Source=c:\Projects\wx\wxPython\wxPython\lib\editor\*.py
|
Source=c:\Projects\wx\wxPython\wxPython\lib\editor\*.py
|
||||||
Destination=%MAINDIR%\wxPython\lib\editor
|
Destination=%MAINDIR%\wxPython\lib\editor
|
||||||
@@ -908,6 +902,18 @@ item: Install File
|
|||||||
Description=Demos
|
Description=Demos
|
||||||
Flags=0000000010000010
|
Flags=0000000010000010
|
||||||
end
|
end
|
||||||
|
item: Install File
|
||||||
|
Source=c:\Projects\wx\wxPython\demo\data\*.htm
|
||||||
|
Destination=%MAINDIR%\wxPython\demo\data
|
||||||
|
Description=Demos
|
||||||
|
Flags=0000000010000010
|
||||||
|
end
|
||||||
|
item: Install File
|
||||||
|
Source=c:\Projects\wx\wxPython\demo\data\*.py
|
||||||
|
Destination=%MAINDIR%\wxPython\demo\data
|
||||||
|
Description=Demos
|
||||||
|
Flags=0000000010000010
|
||||||
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
Source=c:\Projects\wx\wxPython\demo\data\*.png
|
Source=c:\Projects\wx\wxPython\demo\data\*.png
|
||||||
Destination=%MAINDIR%\wxPython\demo\data
|
Destination=%MAINDIR%\wxPython\demo\data
|
||||||
@@ -932,14 +938,16 @@ item: Install File
|
|||||||
Description=Demos
|
Description=Demos
|
||||||
Flags=0000000010000010
|
Flags=0000000010000010
|
||||||
end
|
end
|
||||||
|
item: Remark
|
||||||
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
Source=C:\PROJECTS\wx\wxPython\README.txt
|
Source=C:\PROJECTS\wx\wxPython\*.txt
|
||||||
Destination=%MAINDIR%\wxPython\README.txt
|
Destination=%MAINDIR%\wxPython\docs\
|
||||||
Flags=0000000010000010
|
Flags=0000000010000010
|
||||||
end
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
Source=C:\PROJECTS\wx\wxPython\CHANGES.txt
|
Source=C:\PROJECTS\wx\wxPython\licence\*.txt
|
||||||
Destination=%MAINDIR%\wxPython\CHANGES.txt
|
Destination=%MAINDIR%\wxPython\docs\licence\
|
||||||
Flags=0000000010000010
|
Flags=0000000010000010
|
||||||
end
|
end
|
||||||
item: Remark
|
item: Remark
|
||||||
@@ -956,36 +964,6 @@ item: Install File
|
|||||||
Description=wxPython documentation
|
Description=wxPython documentation
|
||||||
Flags=0000000010000010
|
Flags=0000000010000010
|
||||||
end
|
end
|
||||||
item: Install File
|
|
||||||
Source=c:\PROJECTS\wx\docs\preamble.txt
|
|
||||||
Destination=%MAINDIR%\wxPython\docs\preamble.txt
|
|
||||||
Description=wxPython documentation
|
|
||||||
Flags=0000000010000010
|
|
||||||
end
|
|
||||||
item: Install File
|
|
||||||
Source=c:\PROJECTS\wx\docs\licence.txt
|
|
||||||
Destination=%MAINDIR%\wxPython\docs\licence.txt
|
|
||||||
Description=wxPython documentation
|
|
||||||
Flags=0000000010000010
|
|
||||||
end
|
|
||||||
item: Install File
|
|
||||||
Source=c:\PROJECTS\wx\docs\licendoc.txt
|
|
||||||
Destination=%MAINDIR%\wxPython\docs\licendoc.txt
|
|
||||||
Description=wxPython documentation
|
|
||||||
Flags=0000000010000010
|
|
||||||
end
|
|
||||||
item: Install File
|
|
||||||
Source=c:\PROJECTS\wx\docs\lgpl.txt
|
|
||||||
Destination=%MAINDIR%\wxPython\docs\lgpl.txt
|
|
||||||
Description=wxPython documentation
|
|
||||||
Flags=0000000010000010
|
|
||||||
end
|
|
||||||
item: Install File
|
|
||||||
Source=c:\PROJECTS\wx\docs\gpl.txt
|
|
||||||
Destination=%MAINDIR%\wxPython\docs\gpl.txt
|
|
||||||
Description=wxPython documentation
|
|
||||||
Flags=0000000010000010
|
|
||||||
end
|
|
||||||
item: Remark
|
item: Remark
|
||||||
end
|
end
|
||||||
item: Remark
|
item: Remark
|
||||||
@@ -1160,21 +1138,21 @@ item: Create Shortcut
|
|||||||
Flags=00000001
|
Flags=00000001
|
||||||
end
|
end
|
||||||
item: Create Shortcut
|
item: Create Shortcut
|
||||||
Source=%MAINDIR%\wxPython\docs\licence.txt
|
Source=%MAINDIR%\wxPython\docs\licence\licence.txt
|
||||||
Destination=%CGROUPDIR%\%CGROUP_SAVE%\License.lnk
|
Destination=%CGROUPDIR%\%CGROUP_SAVE%\License.lnk
|
||||||
Icon Number=0
|
Icon Number=0
|
||||||
Key Type=1536
|
Key Type=1536
|
||||||
Flags=00000001
|
Flags=00000001
|
||||||
end
|
end
|
||||||
item: Create Shortcut
|
item: Create Shortcut
|
||||||
Source=%MAINDIR%\wxPython\README.txt
|
Source=%MAINDIR%\wxPython\docs\README.txt
|
||||||
Destination=%CGROUPDIR%\%CGROUP_SAVE%\ReadMe.lnk
|
Destination=%CGROUPDIR%\%CGROUP_SAVE%\ReadMe.lnk
|
||||||
Icon Number=0
|
Icon Number=0
|
||||||
Key Type=1536
|
Key Type=1536
|
||||||
Flags=00000001
|
Flags=00000001
|
||||||
end
|
end
|
||||||
item: Create Shortcut
|
item: Create Shortcut
|
||||||
Source=%MAINDIR%\wxPython\CHANGES.txt
|
Source=%MAINDIR%\wxPython\docs\CHANGES.txt
|
||||||
Destination=%CGROUPDIR%\%CGROUP_SAVE%\Changes.lnk
|
Destination=%CGROUPDIR%\%CGROUP_SAVE%\Changes.lnk
|
||||||
Icon Number=0
|
Icon Number=0
|
||||||
Key Type=1536
|
Key Type=1536
|
||||||
|
@@ -142,6 +142,9 @@ if os.name == 'nt':
|
|||||||
wxdll = 'wx' + WXDLLVER + 'h'
|
wxdll = 'wx' + WXDLLVER + 'h'
|
||||||
else:
|
else:
|
||||||
wxdll = 'wx' + WXDLLVER + 'd'
|
wxdll = 'wx' + WXDLLVER + 'd'
|
||||||
|
|
||||||
|
#print 'Linking with ', wxdll
|
||||||
|
|
||||||
libs = [wxdll, 'kernel32', 'user32', 'gdi32', 'comdlg32',
|
libs = [wxdll, 'kernel32', 'user32', 'gdi32', 'comdlg32',
|
||||||
'winspool', 'winmm', 'shell32', 'oldnames', 'comctl32',
|
'winspool', 'winmm', 'shell32', 'oldnames', 'comctl32',
|
||||||
'ctl3d32', 'odbc32', 'ole32', 'oleaut32', 'uuid', 'rpcrt4',
|
'ctl3d32', 'odbc32', 'ole32', 'oleaut32', 'uuid', 'rpcrt4',
|
||||||
|
@@ -1565,7 +1565,8 @@ public:
|
|||||||
void SelectRow( int row, bool addToSelected = FALSE );
|
void SelectRow( int row, bool addToSelected = FALSE );
|
||||||
void SelectCol( int col, bool addToSelected = FALSE );
|
void SelectCol( int col, bool addToSelected = FALSE );
|
||||||
|
|
||||||
void SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol );
|
void SelectBlock( int topRow, int leftCol, int bottomRow, int rightCol,
|
||||||
|
bool addToSelected = FALSE );
|
||||||
// TODO: ??? void SelectBlock( const wxGridCellCoords& topLeft,
|
// TODO: ??? void SelectBlock( const wxGridCellCoords& topLeft,
|
||||||
// TODO: ??? const wxGridCellCoords& bottomRight )
|
// TODO: ??? const wxGridCellCoords& bottomRight )
|
||||||
|
|
||||||
|
@@ -81,6 +81,21 @@ public:
|
|||||||
PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
|
PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
|
||||||
return tup;
|
return tup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxRealPoint __add__(const wxRealPoint* p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self + *p;
|
||||||
|
}
|
||||||
|
|
||||||
|
wxRealPoint __sub__(const wxRealPoint* p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self - *p;
|
||||||
|
}
|
||||||
|
|
||||||
|
int __cmp__(const wxRealPoint* p) {
|
||||||
|
if (! p) return 0;
|
||||||
|
return *self == *p;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
%pragma(python) addtoclass = "def __str__(self): return str(self.asTuple())"
|
%pragma(python) addtoclass = "def __str__(self): return str(self.asTuple())"
|
||||||
%pragma(python) addtoclass = "def __repr__(self): return str(self.asTuple())"
|
%pragma(python) addtoclass = "def __repr__(self): return str(self.asTuple())"
|
||||||
@@ -105,6 +120,21 @@ public:
|
|||||||
PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
|
PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
|
||||||
return tup;
|
return tup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxPoint __add__(const wxPoint* p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self + *p;
|
||||||
|
}
|
||||||
|
|
||||||
|
wxPoint __sub__(const wxPoint* p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self - *p;
|
||||||
|
}
|
||||||
|
|
||||||
|
int __cmp__(const wxPoint* p) {
|
||||||
|
if (! p) return 0;
|
||||||
|
return *self == *p;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
%pragma(python) addtoclass = "def __str__(self): return str(self.asTuple())"
|
%pragma(python) addtoclass = "def __str__(self): return str(self.asTuple())"
|
||||||
%pragma(python) addtoclass = "def __repr__(self): return str(self.asTuple())"
|
%pragma(python) addtoclass = "def __repr__(self): return str(self.asTuple())"
|
||||||
|
@@ -10936,7 +10936,7 @@ static PyObject *_wrap_wxGrid_SelectCol(PyObject *self, PyObject *args, PyObject
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
#define wxGrid_SelectBlock(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SelectBlock(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
|
||||||
static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
wxGrid * _arg0;
|
wxGrid * _arg0;
|
||||||
@@ -10944,11 +10944,13 @@ static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObje
|
|||||||
int _arg2;
|
int _arg2;
|
||||||
int _arg3;
|
int _arg3;
|
||||||
int _arg4;
|
int _arg4;
|
||||||
|
bool _arg5 = (bool ) FALSE;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol", NULL };
|
int tempbool5 = (int) FALSE;
|
||||||
|
char *_kwnames[] = { "self","topRow","leftCol","bottomRow","rightCol","addToSelected", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxGrid_SelectBlock",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -10957,9 +10959,10 @@ static PyObject *_wrap_wxGrid_SelectBlock(PyObject *self, PyObject *args, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
_arg5 = (bool ) tempbool5;
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4);
|
wxGrid_SelectBlock(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
} Py_INCREF(Py_None);
|
} Py_INCREF(Py_None);
|
||||||
|
@@ -5651,13 +5651,16 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxHtmlParser","_wxHtmlParser",0},
|
{ "_class_wxHtmlParser","_wxHtmlParser",0},
|
||||||
{ "_signed_long","_long",0},
|
{ "_signed_long","_long",0},
|
||||||
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
||||||
|
{ "_class_wxProcessEvent","_wxProcessEvent",0},
|
||||||
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
{ "_class_wxJPEGHandler","_wxJPEGHandler",0},
|
||||||
|
{ "_class_wxFSFile","_wxFSFile",0},
|
||||||
{ "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
|
{ "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
|
||||||
{ "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
|
{ "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
|
||||||
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
||||||
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
{ "_wxBMPHandler","_class_wxBMPHandler",0},
|
||||||
{ "_wxImage","_class_wxImage",0},
|
{ "_wxImage","_class_wxImage",0},
|
||||||
{ "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
|
{ "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
|
||||||
|
{ "_wxWindowDisabler","_class_wxWindowDisabler",0},
|
||||||
{ "_class_wxDateTime","_wxDateTime",0},
|
{ "_class_wxDateTime","_wxDateTime",0},
|
||||||
{ "_wxPrintQuality","_wxCoord",0},
|
{ "_wxPrintQuality","_wxCoord",0},
|
||||||
{ "_wxPrintQuality","_int",0},
|
{ "_wxPrintQuality","_int",0},
|
||||||
@@ -5684,9 +5687,11 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
||||||
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
{ "_wxGIFHandler","_class_wxGIFHandler",0},
|
||||||
{ "_wxPySizer","_class_wxPySizer",0},
|
{ "_wxPySizer","_class_wxPySizer",0},
|
||||||
|
{ "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
|
||||||
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
||||||
{ "_wxCursor","_class_wxCursor",0},
|
{ "_wxCursor","_class_wxCursor",0},
|
||||||
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
||||||
|
{ "_wxPyProcess","_class_wxPyProcess",0},
|
||||||
{ "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
|
{ "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
|
||||||
{ "_wxImageHandler","_class_wxImageHandler",0},
|
{ "_wxImageHandler","_class_wxImageHandler",0},
|
||||||
{ "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0},
|
{ "_wxHtmlWidgetCell","_class_wxHtmlWidgetCell",0},
|
||||||
@@ -5816,6 +5821,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxLogWindow","_wxLogWindow",0},
|
{ "_class_wxLogWindow","_wxLogWindow",0},
|
||||||
{ "_class_wxImage","_wxImage",0},
|
{ "_class_wxImage","_wxImage",0},
|
||||||
{ "_wxPoint","_class_wxPoint",0},
|
{ "_wxPoint","_class_wxPoint",0},
|
||||||
|
{ "_class_wxWindowDisabler","_wxWindowDisabler",0},
|
||||||
{ "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
|
{ "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
|
||||||
{ "_class_wxButton","_wxButton",0},
|
{ "_class_wxButton","_wxButton",0},
|
||||||
{ "_wxRadioBox","_class_wxRadioBox",0},
|
{ "_wxRadioBox","_class_wxRadioBox",0},
|
||||||
@@ -5823,6 +5829,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxFontData","_wxFontData",0},
|
{ "_class_wxFontData","_wxFontData",0},
|
||||||
{ "_class_wxPNMHandler","_wxPNMHandler",0},
|
{ "_class_wxPNMHandler","_wxPNMHandler",0},
|
||||||
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
||||||
|
{ "_class_wxZipFSHandler","_wxZipFSHandler",0},
|
||||||
{ "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
|
{ "_wxHtmlCell","_class_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
|
||||||
{ "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
|
{ "_wxHtmlCell","_wxHtmlWidgetCell",SwigwxHtmlWidgetCellTowxHtmlCell},
|
||||||
{ "_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
|
{ "_wxHtmlCell","_class_wxHtmlColourCell",SwigwxHtmlColourCellTowxHtmlCell},
|
||||||
@@ -5841,6 +5848,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxSpinButton","_class_wxSpinButton",0},
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
||||||
{ "_wxColourDialog","_class_wxColourDialog",0},
|
{ "_wxColourDialog","_class_wxColourDialog",0},
|
||||||
{ "_wxPrintData","_class_wxPrintData",0},
|
{ "_wxPrintData","_class_wxPrintData",0},
|
||||||
|
{ "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
|
||||||
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
||||||
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
||||||
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
{ "_wxMessageDialog","_class_wxMessageDialog",0},
|
||||||
@@ -5863,6 +5871,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
||||||
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
{ "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
|
||||||
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
{ "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
|
||||||
|
{ "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
|
||||||
{ "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
|
{ "_wxPyHtmlTagHandler","_class_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
|
||||||
{ "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
|
{ "_wxPyHtmlTagHandler","_wxPyHtmlWinTagHandler",SwigwxPyHtmlWinTagHandlerTowxPyHtmlTagHandler},
|
||||||
{ "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
|
{ "_wxPyHtmlTagHandler","_class_wxPyHtmlTagHandler",0},
|
||||||
@@ -5882,7 +5891,9 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxPyDropTarget","_wxPyDropTarget",0},
|
{ "_class_wxPyDropTarget","_wxPyDropTarget",0},
|
||||||
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
||||||
{ "_class_wxSplitterEvent","_wxSplitterEvent",0},
|
{ "_class_wxSplitterEvent","_wxSplitterEvent",0},
|
||||||
|
{ "_wxProcessEvent","_class_wxProcessEvent",0},
|
||||||
{ "_wxNotebook","_class_wxNotebook",0},
|
{ "_wxNotebook","_class_wxNotebook",0},
|
||||||
|
{ "_wxFSFile","_class_wxFSFile",0},
|
||||||
{ "_unsigned_long","_long",0},
|
{ "_unsigned_long","_long",0},
|
||||||
{ "_class_wxRect","_wxRect",0},
|
{ "_class_wxRect","_wxRect",0},
|
||||||
{ "_class_wxDC","_wxDC",0},
|
{ "_class_wxDC","_wxDC",0},
|
||||||
@@ -5890,9 +5901,11 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxGenericDragImage","_class_wxGenericDragImage",0},
|
{ "_wxGenericDragImage","_class_wxGenericDragImage",0},
|
||||||
{ "_class_wxProgressDialog","_wxProgressDialog",0},
|
{ "_class_wxProgressDialog","_wxProgressDialog",0},
|
||||||
{ "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
|
{ "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
|
||||||
|
{ "_wxPyInputStream","_class_wxPyInputStream",0},
|
||||||
{ "_wxPyApp","_class_wxPyApp",0},
|
{ "_wxPyApp","_class_wxPyApp",0},
|
||||||
{ "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
|
{ "_wxHtmlWinParser","_class_wxHtmlWinParser",0},
|
||||||
{ "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
|
{ "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
|
||||||
|
{ "_class_wxOutputStream","_wxOutputStream",0},
|
||||||
{ "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
|
{ "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
|
||||||
{ "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
|
{ "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
|
||||||
{ "_class_wxTreeEvent","_wxTreeEvent",0},
|
{ "_class_wxTreeEvent","_wxTreeEvent",0},
|
||||||
@@ -5969,6 +5982,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxListCtrl","_class_wxListCtrl",0},
|
{ "_wxListCtrl","_class_wxListCtrl",0},
|
||||||
{ "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
|
{ "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
|
||||||
{ "_class_wxPoint","_wxPoint",0},
|
{ "_class_wxPoint","_wxPoint",0},
|
||||||
|
{ "_class_wxPyInputStream","_wxPyInputStream",0},
|
||||||
{ "_wxRealPoint","_class_wxRealPoint",0},
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
||||||
{ "_class_wxRadioBox","_wxRadioBox",0},
|
{ "_class_wxRadioBox","_wxRadioBox",0},
|
||||||
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
||||||
@@ -5986,6 +6000,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
|
{ "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
|
||||||
{ "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
|
{ "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
|
||||||
{ "_class_wxPrintDialog","_wxPrintDialog",0},
|
{ "_class_wxPrintDialog","_wxPrintDialog",0},
|
||||||
|
{ "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
|
||||||
{ "_wxPaintDC","_class_wxPaintDC",0},
|
{ "_wxPaintDC","_class_wxPaintDC",0},
|
||||||
{ "_class_wxWindowDC","_wxWindowDC",0},
|
{ "_class_wxWindowDC","_wxWindowDC",0},
|
||||||
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
||||||
@@ -5994,6 +6009,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
||||||
{ "_class_wxCursor","_wxCursor",0},
|
{ "_class_wxCursor","_wxCursor",0},
|
||||||
{ "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
|
{ "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
|
||||||
|
{ "_class_wxPyProcess","_wxPyProcess",0},
|
||||||
{ "_class_wxImageHandler","_wxImageHandler",0},
|
{ "_class_wxImageHandler","_wxImageHandler",0},
|
||||||
{ "_class_wxHtmlTag","_wxHtmlTag",0},
|
{ "_class_wxHtmlTag","_wxHtmlTag",0},
|
||||||
{ "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
|
{ "_wxScrolledWindow","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxScrolledWindow},
|
||||||
@@ -6036,6 +6052,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
|
{ "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
|
||||||
{ "_class_wxImageList","_wxImageList",0},
|
{ "_class_wxImageList","_wxImageList",0},
|
||||||
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
||||||
|
{ "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
|
||||||
{ "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0},
|
{ "_class_wxHtmlContainerCell","_wxHtmlContainerCell",0},
|
||||||
{ "_wxPyTipProvider","_class_wxPyTipProvider",0},
|
{ "_wxPyTipProvider","_class_wxPyTipProvider",0},
|
||||||
{ "_wxFrame","_class_wxFrame",0},
|
{ "_wxFrame","_class_wxFrame",0},
|
||||||
@@ -6086,6 +6103,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
|
{ "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
|
||||||
{ "_wxLogNull","_class_wxLogNull",0},
|
{ "_wxLogNull","_class_wxLogNull",0},
|
||||||
{ "_wxButton","_class_wxButton",0},
|
{ "_wxButton","_class_wxButton",0},
|
||||||
|
{ "_wxZipFSHandler","_class_wxZipFSHandler",0},
|
||||||
{ "_class_wxPyApp","_wxPyApp",0},
|
{ "_class_wxPyApp","_wxPyApp",0},
|
||||||
{ "_wxSize","_class_wxSize",0},
|
{ "_wxSize","_class_wxSize",0},
|
||||||
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
||||||
@@ -6097,6 +6115,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
{ "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
|
||||||
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
||||||
{ "_class_wxTimeSpan","_wxTimeSpan",0},
|
{ "_class_wxTimeSpan","_wxTimeSpan",0},
|
||||||
|
{ "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
|
||||||
{ "_wxHtmlDCRenderer","_class_wxHtmlDCRenderer",0},
|
{ "_wxHtmlDCRenderer","_class_wxHtmlDCRenderer",0},
|
||||||
{ "_class_wxPaintDC","_wxPaintDC",0},
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
||||||
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
||||||
@@ -6133,11 +6152,13 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxTipProvider","_wxTipProvider",0},
|
{ "_class_wxTipProvider","_wxTipProvider",0},
|
||||||
{ "_class_wxMiniFrame","_wxMiniFrame",0},
|
{ "_class_wxMiniFrame","_wxMiniFrame",0},
|
||||||
{ "_wxFontDialog","_class_wxFontDialog",0},
|
{ "_wxFontDialog","_class_wxFontDialog",0},
|
||||||
|
{ "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
|
||||||
{ "_wxRegion","_class_wxRegion",0},
|
{ "_wxRegion","_class_wxRegion",0},
|
||||||
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
{ "_class_wxSplitterWindow","_wxSplitterWindow",0},
|
||||||
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
{ "_wxPreviewFrame","_class_wxPreviewFrame",0},
|
||||||
{ "_wxSizer","_class_wxSizer",0},
|
{ "_wxSizer","_class_wxSizer",0},
|
||||||
{ "_class_wxDateSpan","_wxDateSpan",0},
|
{ "_class_wxDateSpan","_wxDateSpan",0},
|
||||||
|
{ "_wxFileSystem","_class_wxFileSystem",0},
|
||||||
{ "_class_wxShowEvent","_wxShowEvent",0},
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
||||||
{ "_class_wxPyTipProvider","_wxPyTipProvider",0},
|
{ "_class_wxPyTipProvider","_wxPyTipProvider",0},
|
||||||
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
{ "_class_wxPCXHandler","_wxPCXHandler",0},
|
||||||
@@ -6163,6 +6184,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
||||||
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
|
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
|
||||||
{ "_wxMenuBar","_class_wxMenuBar",0},
|
{ "_wxMenuBar","_class_wxMenuBar",0},
|
||||||
|
{ "_wxOutputStream","_class_wxOutputStream",0},
|
||||||
{ "_wxTreeEvent","_class_wxTreeEvent",0},
|
{ "_wxTreeEvent","_class_wxTreeEvent",0},
|
||||||
{ "_wxDirDialog","_class_wxDirDialog",0},
|
{ "_wxDirDialog","_class_wxDirDialog",0},
|
||||||
{ "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
|
{ "_wxEvtHandler","_class_wxPyHtmlWindow",SwigwxPyHtmlWindowTowxEvtHandler},
|
||||||
@@ -6200,6 +6222,8 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|||||||
{ "_wxWindow","_class_wxWindow",0},
|
{ "_wxWindow","_class_wxWindow",0},
|
||||||
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
||||||
{ "_wxLogStderr","_class_wxLogStderr",0},
|
{ "_wxLogStderr","_class_wxLogStderr",0},
|
||||||
|
{ "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
|
||||||
|
{ "_class_wxFileSystem","_wxFileSystem",0},
|
||||||
{ "_class_wxFrame","_wxFrame",0},
|
{ "_class_wxFrame","_wxFrame",0},
|
||||||
{0,0,0}};
|
{0,0,0}};
|
||||||
|
|
||||||
|
@@ -13,6 +13,8 @@ from clip_dnd import *
|
|||||||
|
|
||||||
from events import *
|
from events import *
|
||||||
|
|
||||||
|
from streams import *
|
||||||
|
|
||||||
from mdi import *
|
from mdi import *
|
||||||
|
|
||||||
from frames import *
|
from frames import *
|
||||||
@@ -34,6 +36,10 @@ from image import *
|
|||||||
from printfw import *
|
from printfw import *
|
||||||
|
|
||||||
from sizers import *
|
from sizers import *
|
||||||
|
|
||||||
|
from filesys import *
|
||||||
|
|
||||||
|
from utils import *
|
||||||
import wx
|
import wx
|
||||||
class wxHtmlLinkInfoPtr :
|
class wxHtmlLinkInfoPtr :
|
||||||
def __init__(self,this):
|
def __init__(self,this):
|
||||||
@@ -112,6 +118,7 @@ class wxHtmlParserPtr :
|
|||||||
return val
|
return val
|
||||||
def GetFS(self, *_args, **_kwargs):
|
def GetFS(self, *_args, **_kwargs):
|
||||||
val = apply(htmlc.wxHtmlParser_GetFS,(self,) + _args, _kwargs)
|
val = apply(htmlc.wxHtmlParser_GetFS,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxFileSystemPtr(val)
|
||||||
return val
|
return val
|
||||||
def Parse(self, *_args, **_kwargs):
|
def Parse(self, *_args, **_kwargs):
|
||||||
val = apply(htmlc.wxHtmlParser_Parse,(self,) + _args, _kwargs)
|
val = apply(htmlc.wxHtmlParser_Parse,(self,) + _args, _kwargs)
|
||||||
|
@@ -608,23 +608,6 @@ static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwa
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *_wrap_wxFlushEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
char *_kwnames[] = { NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFlushEvents",_kwnames))
|
|
||||||
return NULL;
|
|
||||||
{
|
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
|
||||||
wxFlushEvents();
|
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
|
||||||
} Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
bool _arg0;
|
bool _arg0;
|
||||||
@@ -1485,6 +1468,121 @@ static PyObject *_wrap_wxRealPoint_asTuple(PyObject *self, PyObject *args, PyObj
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static wxRealPoint wxRealPoint___add__(wxRealPoint *self,const wxRealPoint * p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self + *p;
|
||||||
|
}
|
||||||
|
static PyObject *_wrap_wxRealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxRealPoint * _result;
|
||||||
|
wxRealPoint * _arg0;
|
||||||
|
wxRealPoint * _arg1;
|
||||||
|
wxRealPoint temp;
|
||||||
|
PyObject * _obj0 = 0;
|
||||||
|
wxRealPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","p", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___add__",_kwnames,&_obj0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
_arg0 = &temp;
|
||||||
|
if (! wxRealPoint_helper(_obj0, &_arg0))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp0;
|
||||||
|
if (! wxRealPoint_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxRealPoint (wxRealPoint___add__(_arg0,_arg1));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
static wxRealPoint wxRealPoint___sub__(wxRealPoint *self,const wxRealPoint * p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self - *p;
|
||||||
|
}
|
||||||
|
static PyObject *_wrap_wxRealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxRealPoint * _result;
|
||||||
|
wxRealPoint * _arg0;
|
||||||
|
wxRealPoint * _arg1;
|
||||||
|
wxRealPoint temp;
|
||||||
|
PyObject * _obj0 = 0;
|
||||||
|
wxRealPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","p", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___sub__",_kwnames,&_obj0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
_arg0 = &temp;
|
||||||
|
if (! wxRealPoint_helper(_obj0, &_arg0))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp0;
|
||||||
|
if (! wxRealPoint_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxRealPoint (wxRealPoint___sub__(_arg0,_arg1));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int wxRealPoint___cmp__(wxRealPoint *self,const wxRealPoint * p) {
|
||||||
|
if (! p) return 0;
|
||||||
|
return *self == *p;
|
||||||
|
}
|
||||||
|
static PyObject *_wrap_wxRealPoint___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxRealPoint * _arg0;
|
||||||
|
wxRealPoint * _arg1;
|
||||||
|
wxRealPoint temp;
|
||||||
|
PyObject * _obj0 = 0;
|
||||||
|
wxRealPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","p", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRealPoint___cmp__",_kwnames,&_obj0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
_arg0 = &temp;
|
||||||
|
if (! wxRealPoint_helper(_obj0, &_arg0))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp0;
|
||||||
|
if (! wxRealPoint_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxRealPoint___cmp__(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
|
#define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
|
||||||
static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -1708,6 +1806,121 @@ static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args, PyObject
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static wxPoint wxPoint___add__(wxPoint *self,const wxPoint * p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self + *p;
|
||||||
|
}
|
||||||
|
static PyObject *_wrap_wxPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPoint * _result;
|
||||||
|
wxPoint * _arg0;
|
||||||
|
wxPoint * _arg1;
|
||||||
|
wxPoint temp;
|
||||||
|
PyObject * _obj0 = 0;
|
||||||
|
wxPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","p", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___add__",_kwnames,&_obj0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
_arg0 = &temp;
|
||||||
|
if (! wxPoint_helper(_obj0, &_arg0))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp0;
|
||||||
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxPoint (wxPoint___add__(_arg0,_arg1));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
static wxPoint wxPoint___sub__(wxPoint *self,const wxPoint * p) {
|
||||||
|
if (! p) return *self;
|
||||||
|
return *self - *p;
|
||||||
|
}
|
||||||
|
static PyObject *_wrap_wxPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
wxPoint * _result;
|
||||||
|
wxPoint * _arg0;
|
||||||
|
wxPoint * _arg1;
|
||||||
|
wxPoint temp;
|
||||||
|
PyObject * _obj0 = 0;
|
||||||
|
wxPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","p", NULL };
|
||||||
|
char _ptemp[128];
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___sub__",_kwnames,&_obj0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
_arg0 = &temp;
|
||||||
|
if (! wxPoint_helper(_obj0, &_arg0))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp0;
|
||||||
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = new wxPoint (wxPoint___sub__(_arg0,_arg1));
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
||||||
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int wxPoint___cmp__(wxPoint *self,const wxPoint * p) {
|
||||||
|
if (! p) return 0;
|
||||||
|
return *self == *p;
|
||||||
|
}
|
||||||
|
static PyObject *_wrap_wxPoint___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
int _result;
|
||||||
|
wxPoint * _arg0;
|
||||||
|
wxPoint * _arg1;
|
||||||
|
wxPoint temp;
|
||||||
|
PyObject * _obj0 = 0;
|
||||||
|
wxPoint temp0;
|
||||||
|
PyObject * _obj1 = 0;
|
||||||
|
char *_kwnames[] = { "self","p", NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPoint___cmp__",_kwnames,&_obj0,&_obj1))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
_arg0 = &temp;
|
||||||
|
if (! wxPoint_helper(_obj0, &_arg0))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
_arg1 = &temp0;
|
||||||
|
if (! wxPoint_helper(_obj1, &_arg1))
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
|
_result = (int )wxPoint___cmp__(_arg0,_arg1);
|
||||||
|
|
||||||
|
wxPy_END_ALLOW_THREADS;
|
||||||
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
#define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
#define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
||||||
static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
@@ -4677,6 +4890,9 @@ static PyMethodDef misccMethods[] = {
|
|||||||
{ "wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS },
|
{ "new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPoint___cmp__", (PyCFunction) _wrap_wxPoint___cmp__, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPoint___sub__", (PyCFunction) _wrap_wxPoint___sub__, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxPoint___add__", (PyCFunction) _wrap_wxPoint___add__, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPoint_asTuple", (PyCFunction) _wrap_wxPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPoint_asTuple", (PyCFunction) _wrap_wxPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -4685,6 +4901,9 @@ static PyMethodDef misccMethods[] = {
|
|||||||
{ "wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS },
|
{ "wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRealPoint___cmp__", (PyCFunction) _wrap_wxRealPoint___cmp__, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRealPoint___sub__", (PyCFunction) _wrap_wxRealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxRealPoint___add__", (PyCFunction) _wrap_wxRealPoint___add__, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRealPoint_asTuple", (PyCFunction) _wrap_wxRealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRealPoint_asTuple", (PyCFunction) _wrap_wxRealPoint_asTuple, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS },
|
{ "wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
|
{ "delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS },
|
||||||
@@ -4721,7 +4940,6 @@ static PyMethodDef misccMethods[] = {
|
|||||||
{ "wxStripMenuCodes", (PyCFunction) _wrap_wxStripMenuCodes, METH_VARARGS | METH_KEYWORDS },
|
{ "wxStripMenuCodes", (PyCFunction) _wrap_wxStripMenuCodes, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGetResource", (PyCFunction) _wrap_wxGetResource, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGetResource", (PyCFunction) _wrap_wxGetResource, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxEnableTopLevelWindows", (PyCFunction) _wrap_wxEnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
|
{ "wxEnableTopLevelWindows", (PyCFunction) _wrap_wxEnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFlushEvents", (PyCFunction) _wrap_wxFlushEvents, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
|
{ "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS },
|
{ "wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxUsleep", (PyCFunction) _wrap_wxUsleep, METH_VARARGS | METH_KEYWORDS },
|
{ "wxUsleep", (PyCFunction) _wrap_wxUsleep, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -80,6 +80,17 @@ class wxRealPointPtr :
|
|||||||
def asTuple(self, *_args, **_kwargs):
|
def asTuple(self, *_args, **_kwargs):
|
||||||
val = apply(miscc.wxRealPoint_asTuple,(self,) + _args, _kwargs)
|
val = apply(miscc.wxRealPoint_asTuple,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def __add__(self, *_args, **_kwargs):
|
||||||
|
val = apply(miscc.wxRealPoint___add__,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxRealPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def __sub__(self, *_args, **_kwargs):
|
||||||
|
val = apply(miscc.wxRealPoint___sub__,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxRealPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def __cmp__(self, *_args, **_kwargs):
|
||||||
|
val = apply(miscc.wxRealPoint___cmp__,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __setattr__(self,name,value):
|
def __setattr__(self,name,value):
|
||||||
if name == "x" :
|
if name == "x" :
|
||||||
miscc.wxRealPoint_x_set(self,value)
|
miscc.wxRealPoint_x_set(self,value)
|
||||||
@@ -119,6 +130,17 @@ class wxPointPtr :
|
|||||||
def asTuple(self, *_args, **_kwargs):
|
def asTuple(self, *_args, **_kwargs):
|
||||||
val = apply(miscc.wxPoint_asTuple,(self,) + _args, _kwargs)
|
val = apply(miscc.wxPoint_asTuple,(self,) + _args, _kwargs)
|
||||||
return val
|
return val
|
||||||
|
def __add__(self, *_args, **_kwargs):
|
||||||
|
val = apply(miscc.wxPoint___add__,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def __sub__(self, *_args, **_kwargs):
|
||||||
|
val = apply(miscc.wxPoint___sub__,(self,) + _args, _kwargs)
|
||||||
|
if val: val = wxPointPtr(val) ; val.thisown = 1
|
||||||
|
return val
|
||||||
|
def __cmp__(self, *_args, **_kwargs):
|
||||||
|
val = apply(miscc.wxPoint___cmp__,(self,) + _args, _kwargs)
|
||||||
|
return val
|
||||||
def __setattr__(self,name,value):
|
def __setattr__(self,name,value):
|
||||||
if name == "x" :
|
if name == "x" :
|
||||||
miscc.wxPoint_x_set(self,value)
|
miscc.wxPoint_x_set(self,value)
|
||||||
@@ -631,8 +653,6 @@ wxYield = miscc.wxYield
|
|||||||
|
|
||||||
wxSafeYield = miscc.wxSafeYield
|
wxSafeYield = miscc.wxSafeYield
|
||||||
|
|
||||||
wxFlushEvents = miscc.wxFlushEvents
|
|
||||||
|
|
||||||
wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows
|
wxEnableTopLevelWindows = miscc.wxEnableTopLevelWindows
|
||||||
|
|
||||||
wxGetResource = miscc.wxGetResource
|
wxGetResource = miscc.wxGetResource
|
||||||
|
@@ -1358,11 +1358,11 @@ static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr) {
|
|||||||
return (void *) dest;
|
return (void *) dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static wxToolBarToolBase * wxToolBarBase_AddTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int toggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) {
|
static wxToolBarToolBase * wxToolBarBase_AddTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int isToggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) {
|
||||||
wxPyUserData* udata = NULL;
|
wxPyUserData* udata = NULL;
|
||||||
if (clientData)
|
if (clientData)
|
||||||
udata = new wxPyUserData(clientData);
|
udata = new wxPyUserData(clientData);
|
||||||
return self->AddTool(id, bitmap, pushedBitmap, (bool)toggle,
|
return self->AddTool(id, bitmap, pushedBitmap, (bool)isToggle,
|
||||||
udata, shortHelpString, longHelpString);
|
udata, shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1382,7 +1382,7 @@ static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyO
|
|||||||
PyObject * _obj5 = 0;
|
PyObject * _obj5 = 0;
|
||||||
PyObject * _obj6 = 0;
|
PyObject * _obj6 = 0;
|
||||||
PyObject * _obj7 = 0;
|
PyObject * _obj7 = 0;
|
||||||
char *_kwnames[] = { "self","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL };
|
char *_kwnames[] = { "self","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
@@ -1452,8 +1452,8 @@ static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyO
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
static wxToolBarToolBase * wxToolBarBase_AddSimpleTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int toggle) {
|
static wxToolBarToolBase * wxToolBarBase_AddSimpleTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int isToggle) {
|
||||||
return self->AddTool(id, bitmap, wxNullBitmap, toggle, NULL,
|
return self->AddTool(id, bitmap, wxNullBitmap, isToggle, NULL,
|
||||||
shortHelpString, longHelpString);
|
shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1469,7 +1469,7 @@ static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *arg
|
|||||||
PyObject * _argo2 = 0;
|
PyObject * _argo2 = 0;
|
||||||
PyObject * _obj3 = 0;
|
PyObject * _obj3 = 0;
|
||||||
PyObject * _obj4 = 0;
|
PyObject * _obj4 = 0;
|
||||||
char *_kwnames[] = { "self","id","bitmap","shortHelpString","longHelpString","toggle", NULL };
|
char *_kwnames[] = { "self","id","bitmap","shortHelpString","longHelpString","isToggle", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
@@ -1528,11 +1528,11 @@ static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *arg
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
static wxToolBarToolBase * wxToolBarBase_InsertTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int toggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) {
|
static wxToolBarToolBase * wxToolBarBase_InsertTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int isToggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) {
|
||||||
wxPyUserData* udata = NULL;
|
wxPyUserData* udata = NULL;
|
||||||
if (clientData)
|
if (clientData)
|
||||||
udata = new wxPyUserData(clientData);
|
udata = new wxPyUserData(clientData);
|
||||||
return self->InsertTool(pos, id, bitmap, pushedBitmap, (bool)toggle,
|
return self->InsertTool(pos, id, bitmap, pushedBitmap, (bool)isToggle,
|
||||||
udata, shortHelpString, longHelpString);
|
udata, shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1553,7 +1553,7 @@ static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args,
|
|||||||
PyObject * _obj6 = 0;
|
PyObject * _obj6 = 0;
|
||||||
PyObject * _obj7 = 0;
|
PyObject * _obj7 = 0;
|
||||||
PyObject * _obj8 = 0;
|
PyObject * _obj8 = 0;
|
||||||
char *_kwnames[] = { "self","pos","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL };
|
char *_kwnames[] = { "self","pos","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
@@ -1623,8 +1623,8 @@ static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args,
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
static wxToolBarToolBase * wxToolBarBase_InsertSimpleTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int toggle) {
|
static wxToolBarToolBase * wxToolBarBase_InsertSimpleTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int isToggle) {
|
||||||
return self->InsertTool(pos, id, bitmap, wxNullBitmap, toggle, NULL,
|
return self->InsertTool(pos, id, bitmap, wxNullBitmap, isToggle, NULL,
|
||||||
shortHelpString, longHelpString);
|
shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxToolBarBase_InsertSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxToolBarBase_InsertSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1641,7 +1641,7 @@ static PyObject *_wrap_wxToolBarBase_InsertSimpleTool(PyObject *self, PyObject *
|
|||||||
PyObject * _argo3 = 0;
|
PyObject * _argo3 = 0;
|
||||||
PyObject * _obj4 = 0;
|
PyObject * _obj4 = 0;
|
||||||
PyObject * _obj5 = 0;
|
PyObject * _obj5 = 0;
|
||||||
char *_kwnames[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","toggle", NULL };
|
char *_kwnames[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","isToggle", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
|
@@ -7614,19 +7614,20 @@ static void *SwigwxMenuBarTowxEvtHandler(void *ptr) {
|
|||||||
return (void *) dest;
|
return (void *) dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define new_wxMenuBar() (new wxMenuBar())
|
#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
|
||||||
static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
wxMenuBar * _result;
|
wxMenuBar * _result;
|
||||||
char *_kwnames[] = { NULL };
|
long _arg0 = (long ) 0;
|
||||||
|
char *_kwnames[] = { "style", NULL };
|
||||||
char _ptemp[128];
|
char _ptemp[128];
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxMenuBar",_kwnames))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:new_wxMenuBar",_kwnames,&_arg0))
|
||||||
return NULL;
|
return NULL;
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (wxMenuBar *)new_wxMenuBar();
|
_result = (wxMenuBar *)new_wxMenuBar(_arg0);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
} if (_result) {
|
} if (_result) {
|
||||||
|
@@ -152,14 +152,14 @@ public:
|
|||||||
wxToolBarToolBase *AddTool(int id,
|
wxToolBarToolBase *AddTool(int id,
|
||||||
const wxBitmap& bitmap,
|
const wxBitmap& bitmap,
|
||||||
const wxBitmap& pushedBitmap = wxNullBitmap,
|
const wxBitmap& pushedBitmap = wxNullBitmap,
|
||||||
int toggle = FALSE,
|
int isToggle = FALSE,
|
||||||
PyObject *clientData = NULL,
|
PyObject *clientData = NULL,
|
||||||
const wxString& shortHelpString = wxPyEmptyStr,
|
const wxString& shortHelpString = wxPyEmptyStr,
|
||||||
const wxString& longHelpString = wxPyEmptyStr) {
|
const wxString& longHelpString = wxPyEmptyStr) {
|
||||||
wxPyUserData* udata = NULL;
|
wxPyUserData* udata = NULL;
|
||||||
if (clientData)
|
if (clientData)
|
||||||
udata = new wxPyUserData(clientData);
|
udata = new wxPyUserData(clientData);
|
||||||
return self->AddTool(id, bitmap, pushedBitmap, (bool)toggle,
|
return self->AddTool(id, bitmap, pushedBitmap, (bool)isToggle,
|
||||||
udata, shortHelpString, longHelpString);
|
udata, shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -168,8 +168,8 @@ public:
|
|||||||
const wxBitmap& bitmap,
|
const wxBitmap& bitmap,
|
||||||
const wxString& shortHelpString = wxPyEmptyStr,
|
const wxString& shortHelpString = wxPyEmptyStr,
|
||||||
const wxString& longHelpString = wxPyEmptyStr,
|
const wxString& longHelpString = wxPyEmptyStr,
|
||||||
int toggle = FALSE) {
|
int isToggle = FALSE) {
|
||||||
return self->AddTool(id, bitmap, wxNullBitmap, toggle, NULL,
|
return self->AddTool(id, bitmap, wxNullBitmap, isToggle, NULL,
|
||||||
shortHelpString, longHelpString);
|
shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,14 +179,14 @@ public:
|
|||||||
int id,
|
int id,
|
||||||
const wxBitmap& bitmap,
|
const wxBitmap& bitmap,
|
||||||
const wxBitmap& pushedBitmap = wxNullBitmap,
|
const wxBitmap& pushedBitmap = wxNullBitmap,
|
||||||
int toggle = FALSE,
|
int isToggle = FALSE,
|
||||||
PyObject *clientData = NULL,
|
PyObject *clientData = NULL,
|
||||||
const wxString& shortHelpString = wxPyEmptyStr,
|
const wxString& shortHelpString = wxPyEmptyStr,
|
||||||
const wxString& longHelpString = wxPyEmptyStr) {
|
const wxString& longHelpString = wxPyEmptyStr) {
|
||||||
wxPyUserData* udata = NULL;
|
wxPyUserData* udata = NULL;
|
||||||
if (clientData)
|
if (clientData)
|
||||||
udata = new wxPyUserData(clientData);
|
udata = new wxPyUserData(clientData);
|
||||||
return self->InsertTool(pos, id, bitmap, pushedBitmap, (bool)toggle,
|
return self->InsertTool(pos, id, bitmap, pushedBitmap, (bool)isToggle,
|
||||||
udata, shortHelpString, longHelpString);
|
udata, shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -196,8 +196,8 @@ public:
|
|||||||
const wxBitmap& bitmap,
|
const wxBitmap& bitmap,
|
||||||
const wxString& shortHelpString = wxPyEmptyStr,
|
const wxString& shortHelpString = wxPyEmptyStr,
|
||||||
const wxString& longHelpString = wxPyEmptyStr,
|
const wxString& longHelpString = wxPyEmptyStr,
|
||||||
int toggle = FALSE) {
|
int isToggle = FALSE) {
|
||||||
return self->InsertTool(pos, id, bitmap, wxNullBitmap, toggle, NULL,
|
return self->InsertTool(pos, id, bitmap, wxNullBitmap, isToggle, NULL,
|
||||||
shortHelpString, longHelpString);
|
shortHelpString, longHelpString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -641,7 +641,7 @@ public:
|
|||||||
|
|
||||||
class wxMenuBar : public wxWindow {
|
class wxMenuBar : public wxWindow {
|
||||||
public:
|
public:
|
||||||
wxMenuBar();
|
wxMenuBar(long style = 0);
|
||||||
|
|
||||||
bool Append(wxMenu *menu, const wxString& title);
|
bool Append(wxMenu *menu, const wxString& title);
|
||||||
bool Insert(size_t pos, wxMenu *menu, const wxString& title);
|
bool Insert(size_t pos, wxMenu *menu, const wxString& title);
|
||||||
|
@@ -95,9 +95,10 @@ class PyShellWindow(wxStyledTextCtrl, InteractiveInterpreter):
|
|||||||
|
|
||||||
# copyright/banner message
|
# copyright/banner message
|
||||||
if banner is None:
|
if banner is None:
|
||||||
self.write("Python %s on %s\n%s\n(%s)\n" %
|
self.write("Python %s on %s\n" % #%s\n(%s)\n" %
|
||||||
(sys.version, sys.platform, sys.copyright,
|
(sys.version, sys.platform,
|
||||||
self.__class__.__name__))
|
#sys.copyright, self.__class__.__name__
|
||||||
|
))
|
||||||
else:
|
else:
|
||||||
self.write("%s\n" % banner)
|
self.write("%s\n" % banner)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user