diff --git a/utils/wxPython/demo/MDIDemo.py b/utils/wxPython/demo/MDIDemo.py index 6c39930c60..007102cbc8 100644 --- a/utils/wxPython/demo/MDIDemo.py +++ b/utils/wxPython/demo/MDIDemo.py @@ -44,7 +44,6 @@ class MyApp(wxApp): frame = MyParentFrame() frame.Show(true) self.SetTopWindow(frame) - print "after" return true diff --git a/utils/wxPython/distrib/build.py b/utils/wxPython/distrib/build.py index d9f1df6358..c783a6bf6c 100755 --- a/utils/wxPython/distrib/build.py +++ b/utils/wxPython/distrib/build.py @@ -724,12 +724,15 @@ uninstall: %(OTHERUNINSTALLTARGETS)s %%.o : $(GENCODEDIR)/%%.c $(CC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $< +ifndef NOSWIG $(GENCODEDIR)/%%.cpp : %%.i swig $(SWIGFLAGS) -c -o $@ $< $(GENCODEDIR)/%%.py : %%.i swig $(SWIGFLAGS) -c -o $(GENCODEDIR)/tmp_wrap.cpp $< rm $(GENCODEDIR)/tmp_wrap.cpp +endif + $(TARGETDIR)/%% : %% cp -f $< $@ diff --git a/utils/wxPython/src/msw/wx.cpp b/utils/wxPython/src/msw/wx.cpp index 7e5f483d58..183b07f995 100644 --- a/utils/wxPython/src/msw/wx.cpp +++ b/utils/wxPython/src/msw/wx.cpp @@ -1745,6 +1745,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { { "_size_t","_uint",0}, { "_class_wxRealPoint","_wxRealPoint",0}, { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, + { "_wxPNMHandler","_class_wxPNMHandler",0}, { "_wxPrinterDC","_class_wxPrinterDC",0}, { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, { "_class_wxMenuItem","_wxMenuItem",0}, @@ -1798,6 +1799,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { { "_class_wxButton","_wxButton",0}, { "_wxRadioBox","_class_wxRadioBox",0}, { "_class_wxFontData","_wxFontData",0}, + { "_class_wxPNMHandler","_wxPNMHandler",0}, { "_wxBoxSizer","_class_wxBoxSizer",0}, { "_class___wxPyCleanup","___wxPyCleanup",0}, { "_wxBitmap","_class_wxBitmap",0}, @@ -1944,6 +1946,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { { "_class_wxImageList","_wxImageList",0}, { "_class_wxBitmapButton","_wxBitmapButton",0}, { "_wxFrame","_class_wxFrame",0}, + { "_wxPCXHandler","_class_wxPCXHandler",0}, { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, { "_class_wxNotebook","_wxNotebook",0}, { "_wxJPEGHandler","_class_wxJPEGHandler",0}, @@ -2005,6 +2008,7 @@ static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { { "_wxPreviewFrame","_class_wxPreviewFrame",0}, { "_wxSizer","_class_wxSizer",0}, { "_class_wxShowEvent","_wxShowEvent",0}, + { "_class_wxPCXHandler","_wxPCXHandler",0}, { "_wxActivateEvent","_class_wxActivateEvent",0}, { "_wxGauge","_class_wxGauge",0}, { "_class_wxCheckListBox","_wxCheckListBox",0},