X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..61940a7061d0b5d5122b1e1e939cfa2d72596999:/wxPython/demo/wxPopupControl.py diff --git a/wxPython/demo/wxPopupControl.py b/wxPython/demo/wxPopupControl.py index e9e369926d..d312a9319c 100644 --- a/wxPython/demo/wxPopupControl.py +++ b/wxPython/demo/wxPopupControl.py @@ -6,14 +6,18 @@ # # o Is it just me or are the graphics for the control not lining up right? # +# 12/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) +# +# o wxPopupControl -> PopupControl +# import wx import wx.lib.popupctl as pop import wx.calendar as cal -class TestDateControl(pop.wxPopupControl): +class TestDateControl(pop.PopupControl): def __init__(self,*_args,**_kwargs): - apply(pop.wxPopupControl.__init__,(self,) + _args,_kwargs) + apply(pop.PopupControl.__init__,(self,) + _args,_kwargs) self.win = wx.Window(self,-1,pos = (0,0),style = 0) self.cal = cal.CalendarCtrl(self.win,-1,pos = (0,0)) @@ -39,7 +43,7 @@ class TestDateControl(pop.wxPopupControl): date.GetYear())) evt.Skip() - # Method overridden from wxPopupControl + # Method overridden from PopupControl # This method is called just before the popup is displayed # Use this method to format any controls in the popup def FormatContent(self): @@ -82,9 +86,9 @@ def runTest(frame, nb, log): #---------------------------------------------------------------------- overview = """
-