Little samples updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
198f875b6c
commit
4491d3aed1
@ -261,7 +261,7 @@ class ColourIndicator(wxWindow):
|
||||
def __init__(self, parent):
|
||||
wxWindow.__init__(self, parent, -1, style=wxSUNKEN_BORDER)
|
||||
self.SetBackgroundColour(wxWHITE)
|
||||
self.SetSize(wxSize(-1, 40))
|
||||
self.SetSize(wxSize(-1, 45))
|
||||
self.colour = self.thickness = None
|
||||
EVT_PAINT(self, self.OnPaint)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# simple text editor
|
||||
#
|
||||
@ -366,4 +366,3 @@ if __name__ == '__main__':
|
||||
|
||||
launcher = FrogEditLauncher()
|
||||
launcher.Main()
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
#!/usr/local/bin/python
|
||||
|
||||
# simple text editor
|
||||
#
|
||||
@ -78,7 +77,7 @@ class FrogEditor(wxEditor):
|
||||
|
||||
def SetAltFuncs(self, action):
|
||||
wxEditor.SetAltFuncs(self, action)
|
||||
action['x'] = self.Exit
|
||||
action['x'] = self.Exit
|
||||
|
||||
#----------- commands -----------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user