]> git.saurik.com Git - wxWidgets.git/commitdiff
final tweaks for embedded
authorRobin Dunn <robin@alldunn.com>
Thu, 1 Apr 2004 19:36:17 +0000 (19:36 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 1 Apr 2004 19:36:17 +0000 (19:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/samples/embedded/embedded.cpp
wxPython/samples/embedded/embedded_sample.py

index 6a7df70ce320d3dd9b1dbcb193ac76aefa8659a7..20213fdae02087073a516c1e58b127114fde6ba4 100644 (file)
@@ -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\
index dc67ef6f454d0925442579f708078c51c98531be..5fa38aba931e00b0f8ade1f704e1a68d94a9a50b 100644 (file)
@@ -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.")