X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96bfd05319f9e393843e84ca5274d85ff248bad4..88b792af94fe4a2d0f14a2c4c6b85ff3c4bd49a5:/wxPython/demo/wxCalendar.py?ds=sidebyside diff --git a/wxPython/demo/wxCalendar.py b/wxPython/demo/wxCalendar.py index 120ac91c7b..962679a351 100644 --- a/wxPython/demo/wxCalendar.py +++ b/wxPython/demo/wxCalendar.py @@ -419,7 +419,7 @@ class PrintCalend: pdd.SetPrintData(self.printData) printer = wxPrinter(pdd) printout = SetPrintout(self) - frame = wxFrame(NULL, -1, "Test") + frame = wxFrame(None, -1, "Test") if not printer.Print(frame, printout): wxMessageBox("There was a problem printing.\nPerhaps your current printer is not set correctly?", "Printing", wxOK) else: @@ -594,7 +594,7 @@ class SetPrintout(wxPrintout): class MyApp(wxApp): def OnInit(self): - frame = CalendFrame(NULL, -1, "Test Calendar") + frame = CalendFrame(None, -1, "Test Calendar") frame.Show(true) self.SetTopWindow(frame) return true