From: Chris B. <chr...@no...> - 2012-04-30 18:16:55
|
Hi Folks, I can't seem to find Ken McIvor -- Ken are you here? Anyway, here's a tiny patch of wxMPL to make it work with wxPython 2.9 -- the only change is here, around line 1126: ## the following changed according to Robin Dunn's advice for 2.9 ## -- but it probably wasn't working right before! #topwin.Connect(wx.ID_ANY, self.GetId(), wx.wxEVT_ACTIVATE, self.OnActivate) topwin.Connect(self.GetId(), wx.ID_ANY, wx.wxEVT_ACTIVATE, self.OnActivate) This change works fine with wxPython2.8, also. Attached is the whole file. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |