some minor changes and distrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,7 +25,7 @@ sit back and enjoy. Be sure to take a peek at the source code for each
|
|||||||
demo item so you can learn how to use the classes yourself.</p>
|
demo item so you can learn how to use the classes yourself.</p>
|
||||||
|
|
||||||
<p><b>wxPython</b> is brought to you by <b>Robin Dunn</b> and<br>
|
<p><b>wxPython</b> is brought to you by <b>Robin Dunn</b> and<br>
|
||||||
<b>Total Control Software</b>, Copyright (c) 1997-1999.</p>
|
<b>Total Control Software</b>, Copyright (c) 1997-2000.</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<font size="-1">Please see <i>license.txt</i> for licensing information.</font>
|
<font size="-1">Please see <i>license.txt</i> for licensing information.</font>
|
||||||
|
@@ -100,7 +100,7 @@ class MyCanvas(wxScrolledWindow):
|
|||||||
self.x, self.y = self.ConvertEventCoords(event)
|
self.x, self.y = self.ConvertEventCoords(event)
|
||||||
|
|
||||||
def ConvertEventCoords(self, event):
|
def ConvertEventCoords(self, event):
|
||||||
xView, yView = self.ViewStart()
|
xView, yView = self.GetViewStart()
|
||||||
xDelta, yDelta = self.GetScrollPixelsPerUnit()
|
xDelta, yDelta = self.GetScrollPixelsPerUnit()
|
||||||
return (event.GetX() + (xView * xDelta),
|
return (event.GetX() + (xView * xDelta),
|
||||||
event.GetY() + (yView * yDelta))
|
event.GetY() + (yView * yDelta))
|
||||||
|
@@ -7,8 +7,8 @@ cwd = os.getcwd()
|
|||||||
|
|
||||||
logfile = 'c:\\temp\\autobuild.log'
|
logfile = 'c:\\temp\\autobuild.log'
|
||||||
WXDIR = os.environ['WXWIN']
|
WXDIR = os.environ['WXWIN']
|
||||||
dllVer = '21_16'
|
dllVer = '22_0'
|
||||||
wxpVer = '2.1.16'
|
wxpVer = '2.2.0'
|
||||||
dateSt = time.strftime("%Y%m%d", time.localtime(time.time()))
|
dateSt = time.strftime("%Y%m%d", time.localtime(time.time()))
|
||||||
|
|
||||||
base = os.path.split(sys.argv[0])[0]
|
base = os.path.split(sys.argv[0])[0]
|
||||||
|
@@ -120,8 +120,8 @@ import sys, os, string, getopt
|
|||||||
# This is really the wxPython version number, and will be placed in the
|
# This is really the wxPython version number, and will be placed in the
|
||||||
# Makefiles for use with the distribution related targets.
|
# Makefiles for use with the distribution related targets.
|
||||||
|
|
||||||
major_version = '2.1'
|
major_version = '2.2'
|
||||||
build_version = '16'
|
build_version = '0'
|
||||||
|
|
||||||
__version__ = major_version + '.' + build_version
|
__version__ = major_version + '.' + build_version
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
Document Type: WSE
|
Document Type: WSE
|
||||||
item: Global
|
item: Global
|
||||||
Version=6.01
|
Version=6.01
|
||||||
Title=wxPython 2.1 Installation
|
Title=wxPython 2.2 Installation
|
||||||
Flags=10010111
|
Flags=10010111
|
||||||
Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||||||
Japanese Font Name=MS Gothic
|
Japanese Font Name=MS Gothic
|
||||||
@@ -17,7 +17,7 @@ item: Global
|
|||||||
Patch Flags=0000000000001001
|
Patch Flags=0000000000001001
|
||||||
Patch Threshold=85
|
Patch Threshold=85
|
||||||
Patch Memory=4000
|
Patch Memory=4000
|
||||||
EXE Filename=wxPython-2.1.16.exe
|
EXE Filename=wxPython-2.2.0.exe
|
||||||
FTP Cluster Size=20
|
FTP Cluster Size=20
|
||||||
Per-User Version ID=1
|
Per-User Version ID=1
|
||||||
Dialogs Version=6
|
Dialogs Version=6
|
||||||
@@ -55,12 +55,12 @@ item: End Block
|
|||||||
end
|
end
|
||||||
item: Set Variable
|
item: Set Variable
|
||||||
Variable=APPTITLE
|
Variable=APPTITLE
|
||||||
Value=wxPython 2.1
|
Value=wxPython 2.2
|
||||||
Flags=10000000
|
Flags=10000000
|
||||||
end
|
end
|
||||||
item: Set Variable
|
item: Set Variable
|
||||||
Variable=GROUP
|
Variable=GROUP
|
||||||
Value=wxPython 2.1
|
Value=wxPython 2.2
|
||||||
Flags=10000000
|
Flags=10000000
|
||||||
end
|
end
|
||||||
item: Set Variable
|
item: Set Variable
|
||||||
@@ -819,8 +819,8 @@ item: Install File
|
|||||||
Flags=0000001010000011
|
Flags=0000001010000011
|
||||||
end
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
Source=c:\projects\wx\lib\wx21_16.dll
|
Source=c:\projects\wx\lib\wx22_0.dll
|
||||||
Destination=%SYS%\wx21_16.dll
|
Destination=%SYS%\wx22_0.dll
|
||||||
Flags=0000001010010010
|
Flags=0000001010010010
|
||||||
end
|
end
|
||||||
item: Install File
|
item: Install File
|
||||||
|
@@ -17,8 +17,8 @@ inside a wxStyledTextCtrl, similar to the Python shell windows found in
|
|||||||
IDLE and PythonWin.
|
IDLE and PythonWin.
|
||||||
|
|
||||||
There is still much to be done to improve this class, such as line
|
There is still much to be done to improve this class, such as line
|
||||||
buffering/recall, autoindent, calltips, autocomplete, etc... But
|
buffering/recall, autoindent, calltips, autocomplete, fixing the colourizer,
|
||||||
it's a good start.
|
etc... But it's a good start.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ class PyShellWindow(wxStyledTextCtrl, InteractiveInterpreter):
|
|||||||
# Event handlers
|
# Event handlers
|
||||||
EVT_KEY_DOWN(self, self.OnKey)
|
EVT_KEY_DOWN(self, self.OnKey)
|
||||||
EVT_STC_UPDATEUI(self, ID, self.OnUpdateUI)
|
EVT_STC_UPDATEUI(self, ID, self.OnUpdateUI)
|
||||||
EVT_STC_STYLENEEDED(self, ID, self.OnStyle)
|
#EVT_STC_STYLENEEDED(self, ID, self.OnStyle)
|
||||||
|
|
||||||
|
|
||||||
def GetLocals(self): return self.locals
|
def GetLocals(self): return self.locals
|
||||||
|
Reference in New Issue
Block a user