From b8a4283421843ade76413c7f1fa29dc294438761 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 1 Apr 2004 19:36:17 +0000 Subject: [PATCH 1/1] final tweaks for embedded git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/samples/embedded/embedded.cpp | 2 ++ wxPython/samples/embedded/embedded_sample.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/samples/embedded/embedded.cpp b/wxPython/samples/embedded/embedded.cpp index 6a7df70ce3..20213fdae0 100644 --- a/wxPython/samples/embedded/embedded.cpp +++ b/wxPython/samples/embedded/embedded.cpp @@ -205,6 +205,8 @@ sys.stdin = sys.stderr = output\n\ char* python_code2 = "\ +import sys\n\ +sys.path.append('.')\n\ import embedded_sample\n\ \n\ def makeWindow(parent):\n\ diff --git a/wxPython/samples/embedded/embedded_sample.py b/wxPython/samples/embedded/embedded_sample.py index dc67ef6f45..5fa38aba93 100644 --- a/wxPython/samples/embedded/embedded_sample.py +++ b/wxPython/samples/embedded/embedded_sample.py @@ -4,7 +4,6 @@ from wx.py import shell, version class MyPanel(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent, -1) - print parent text = wx.StaticText(self, -1, "Everything on this side of the splitter comes from Python.") -- 2.45.2