final tweaks for embedded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -205,6 +205,8 @@ sys.stdin = sys.stderr = output\n\
|
|||||||
|
|
||||||
|
|
||||||
char* python_code2 = "\
|
char* python_code2 = "\
|
||||||
|
import sys\n\
|
||||||
|
sys.path.append('.')\n\
|
||||||
import embedded_sample\n\
|
import embedded_sample\n\
|
||||||
\n\
|
\n\
|
||||||
def makeWindow(parent):\n\
|
def makeWindow(parent):\n\
|
||||||
|
@@ -4,7 +4,6 @@ from wx.py import shell, version
|
|||||||
class MyPanel(wx.Panel):
|
class MyPanel(wx.Panel):
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
wx.Panel.__init__(self, parent, -1)
|
wx.Panel.__init__(self, parent, -1)
|
||||||
print parent
|
|
||||||
|
|
||||||
text = wx.StaticText(self, -1,
|
text = wx.StaticText(self, -1,
|
||||||
"Everything on this side of the splitter comes from Python.")
|
"Everything on this side of the splitter comes from Python.")
|
||||||
|
Reference in New Issue
Block a user