]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ActiveXWrapper_IE.py
Use the stdout/stderr window by default on Mac too. Force it on in
[wxWidgets.git] / wxPython / demo / ActiveXWrapper_IE.py
index b103d15cf350d59c3a9eecd9e64fbbd4289a3612..216825dd29c6538f7ae4eb4ddd54dd034863969e 100644 (file)
@@ -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)