X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be050baf4853dff316601189abf4234ce53c15a4..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/demo/dllwidget/test_prog.py?ds=sidebyside diff --git a/wxPython/demo/dllwidget/test_prog.py b/wxPython/demo/dllwidget/test_prog.py index 660b158c41..bd54f16cd2 100644 --- a/wxPython/demo/dllwidget/test_prog.py +++ b/wxPython/demo/dllwidget/test_prog.py @@ -38,11 +38,11 @@ class TestFrame(wxFrame): if dw.Ok(): # The embedded window is the one exported from the DLL - print dw.GetEmbeddedWindow().GetClassName() + print dw.GetWidgetWindow().GetClassName() # This shows that we can give it a child from this side of things. # You can also call any wxWindow methods on it too. - wxStaticText(dw.GetEmbeddedWindow(), -1, + wxStaticText(dw.GetWidgetWindow(), -1, "Loaded from test_dll...", pos=(10,10)) else: wxStaticText(dw, -1, "ERROR!!!!", pos=(20,20))