]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxScrolledWindow.py
Other odds and ends...
[wxWidgets.git] / wxPython / demo / wxScrolledWindow.py
index c772f2ed6620eabb9384c65c27faeb219c61f4ba..c248b4ba989c85fb1e9bc2def0231739e60febfe 100644 (file)
@@ -42,7 +42,6 @@ class MyCanvas(wxScrolledWindow):
 
     def DoDrawing(self, dc):
         dc.BeginDrawing()
-        #pen1 = wxPen(wxNamedColour('RED'))
         dc.SetPen(wxPen(wxNamedColour('RED')))
         dc.DrawRectangle(5, 5, 50, 50)
 
@@ -50,7 +49,6 @@ class MyCanvas(wxScrolledWindow):
         dc.SetPen(wxPen(wxNamedColour('BLUE'), 4))
         dc.DrawRectangle(15, 15, 50, 50)
 
-        #font = wxFont(14, wxSWISS, wxNORMAL, wxNORMAL)
         dc.SetFont(wxFont(14, wxSWISS, wxNORMAL, wxNORMAL))
         dc.SetTextForeground(wxColour(0xFF, 0x20, 0xFF))
         te = dc.GetTextExtent("Hello World")