]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ActiveXWrapper_IE.py
corrected assert even better
[wxWidgets.git] / wxPython / demo / ActiveXWrapper_IE.py
index 3cfd0ac559248f4f4f071cecea2fe59300477656..216825dd29c6538f7ae4eb4ddd54dd034863969e 100644 (file)
@@ -37,7 +37,7 @@ class TestPanel(wxWindow):
         wxWindow.__init__(self, parent, -1)#, style=wxCLIP_CHILDREN)
         self.ie = None
         self.log = log
-        self.current = "http://alldunn.com/"
+        self.current = "http://wxPython.org/"
         self.frame = frame
         if frame:
             self.titleBase = frame.GetTitle()
@@ -78,7 +78,7 @@ class TestPanel(wxWindow):
         self.location = wxComboBox(self, wxNewId(), "", style=wxCB_DROPDOWN)
         EVT_COMBOBOX(self, self.location.GetId(), self.OnLocationSelect)
         EVT_KEY_UP(self.location, self.OnLocationKey)
-        #EVT_CHAR(self.location, self.IgnoreReturn)
+        EVT_CHAR(self.location, self.IgnoreReturn)
         btnSizer.Add(self.location, 1, wxEXPAND|wxALL, 5)
 
         sizer.Add(btnSizer, 0, wxEXPAND)