]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/dllwidget/test_prog.py
'[1219035] cleanup: miscellaneous' and minor source cleaning.
[wxWidgets.git] / wxPython / demo / dllwidget / test_prog.py
index 660b158c41a32af20a65c2e0e858d927c625543d..bd54f16cd20af9c9abebc2289e333e48c5f081ce 100644 (file)
@@ -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))