Compare commits

..

1 Commits

Author SHA1 Message Date
Bryan Petty
6b87fdbb87 This commit was manufactured by cvs2svn to create tag 'WX_2_6_3'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_6_3@38365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 12:04:37 +00:00
6 changed files with 66 additions and 131 deletions

View File

@@ -40,7 +40,7 @@ VER_MAJOR = 2 # The first three must match wxWidgets
VER_MINOR = 6
VER_RELEASE = 3
VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWidgets
VER_FLAGS = "" # release flags, such as prerelease or RC num, etc.
VER_FLAGS = "pre" # release flags, such as prerelease or RC num, etc.
DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn"

View File

@@ -104,29 +104,27 @@ pantherTask = Task([ Job("bigmac.23",
])
beastTask1 = Task([ Job("beast.23", ["distrib/all/build-windows", CFGFILE, "2.3"]),
Job("co-rh9.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-rh9", "rh9", "2.3"]),
Job("beast.24", ["distrib/all/build-windows", CFGFILE, "2.4"]),
Job("co-rh9.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-rh9", "rh9", "2.4"]),
])
beastTask2 = Task([ Job("co-fc2.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.3"]),
#Job("co-mdk101.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk101","mdk101","2.3"]),
Job("co-fc4.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc4", "fc4", "2.4"]),
#Job("co-fc2.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.4"]),
Job("co-mdk102.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk102","mdk102","2.4"]),
])
## cyclopsTask = Task([ Job("co-mdk92.23", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-mdk92", "mdk92", "2.3"]),
## Job("co-rh9.23", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-rh9", "rh9", "2.3"]),
## Job("co-mdk92.24", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-mdk92", "mdk92", "2.4"]),
## Job("co-rh9.24", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-rh9", "rh9", "2.4"]),
## ])
beastTask2 = Task([ Job("co-fc2.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.3"]),
Job("co-mdk101.23", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk101","mdk101","2.3"]),
Job("co-fc2.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-fc2", "fc2", "2.4"]),
#Job("co-mdk101.24", ["distrib/all/build-rpm", CFGFILE, "beast", "co-mdk101","mdk101","2.4"]),
])
cyclopsTask = Task([ Job("co-mdk92.23", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-mdk92", "mdk92", "2.3"]),
Job("co-rh9.23", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-rh9", "rh9", "2.3"]),
Job("co-mdk92.24", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-mdk92", "mdk92", "2.4"]),
Job("co-rh9.24", ["distrib/all/build-rpm", CFGFILE, "cyclops", "co-rh9", "rh9", "2.4"]),
])
buildTasks = [ jaguarTask,
pantherTask,
beastTask1,
beastTask2,
## cyclopsTask,
cyclopsTask,
]
# Finalization. This is for things that must wait until all the

View File

@@ -11,67 +11,7 @@
<div class="document" id="recent-changes-for-wxpython">
<h1 class="title">Recent Changes for wxPython</h1>
<div class="section" id="id1">
<h1><a name="id1">2.6.3.0</a></h1>
<ul class="simple">
<li>27-March-2006</li>
</ul>
<p>Change the wx.ListCtrl InsertStringItem wrapper to use the form that
takes an imageIndex, and set the default to -1. This ensures that on
wxMSW that if there is an image list but they don't specify an image,
the native control doesn't use one anyway.</p>
<p>wxMSW: wx.ListCtrl in report mode is now able to support images in
other columns besides the first one. Simply pass an image index to
SetStringItem. For virtual list controls you can specify the image to
use on the extra columns by overriding OnGetItemColumnImage in your
derived class. It is passed the item number and the column number as
parameters, and the default version simply calls OnGetItemImage for
column zero, or returns -1 for other columns.</p>
<p>Switched to using SWIG 1.3.27 for generating the wrapper code. There
are some small changes needed to SWIG to work around some bugs that
wxPython exposes, and to be able to generate code that matches that
which wxPython is using. If you are building wxPython yourself and
need to modify any of the *.i files or to add your own, then you will
want to be sure to use a matching SWIG. See wxPython/SWIG/README.txt
in the source tarball for details.</p>
<p>wx.Image.Copy now also copies the alpha channel.</p>
<p>wxMSW: Fixed problem in wx.TextCtrl where using SetValue and
wx.TE_RICH2 would cause the control to be shown if it was hidden.</p>
<p>wxMSW: Numpad special keys are now distinguished from normal keys in
key events.</p>
<p>wxMSW: Multiline notebook tab label change now resizes the control
correctly if an extra row is removed or added.</p>
<p>wxMSW: On XP fall back to unthemed wxNotebook if specified orientation
not available in the themed version.</p>
<p>Added wx.Toolbar.GetToolsCount.</p>
<p>Added wx.GridSizer.CalcRowsCols.</p>
<p>Added wx.OutputStream.LastWrite.</p>
<p>wxGTK: EVT_SET_CURSOR is now sent.</p>
<p>wxGTK: Fix RequestMore for idle events.</p>
<p>wxGTK: Implement user dashes for PS and GNOME printing.</p>
<p>wxGTK: Correct update region code. Don't always invalidate the whole
window upon resize. Reenable support for thewx.NO_FULL_REPAINT_ON_RESIZE
flag. Also disable refreshing custom controls when focusing in and out.</p>
<p>wx.lib.pubsub: Publisher is now able to parse a dotted notation string
into a topic tuple. For example: subscribing to &quot;timer.clock.seconds&quot;
is the same as subscribing to (&quot;timer&quot;, &quot;clock&quot;, &quot;seconds&quot;).</p>
<p>Applied patch #1441370: lib.plot - allow passing in wx.Colour()</p>
<p>Added wx.CommandEvent.GetClientData.</p>
<p>Updated wxStyledTextCtrl to use version 1.67 of Scintilla.
NOTE: The STC_LEX_ASP and STC_LEX_PHP lexers have been deprecated,
you should use STC_LEX_HTML instead.</p>
<p>wxSTC: Implemented Fix for SF Bug #1436503. Delay the start of the
DnD operation in case the user just intended to click, not drag.</p>
<p>Updated the analogclock.py module to the new analogclock package from
E. A. Tacao.</p>
<p>Added the wx.lib.mixins.listctrl.CheckListCtrlMixin class from Bruce
Who, which makes it easy to put checkboxes on list control items.</p>
<p>Applied a patch from Christian Kristukat to wx.lib.plot that adds
scrollbars when the plot is zoomed in, and also the ability to grab a
zoomed plot and move it around with a mouse drag.</p>
<p>XRCed updated to allow wxMenuBar to be created inside a wxFrame.</p>
</div>
<div class="section" id="id2">
<h1><a name="id2">2.6.2.1</a></h1>
<h1><a name="id1">2.6.2.1</a></h1>
<ul class="simple">
<li>10-Jan-2006</li>
</ul>
@@ -91,12 +31,13 @@ wx.SplitterWindow class, except it allows more than one split, so it
can manage more than two child windows.</p>
<p>Docview and IDE patch from Morgan Hua with fix for bug #1217890
&quot;Closing view crashes Python&quot; plus some new features:</p>
<blockquote>
<pre class="literal-block">
New feature added to the IDE is 'Extensions'. Under
Tools|Options|Extensions, you can add calls to external programs.
For example you can add a &quot;Notepad&quot; extension (under windows) that
will exec Notepad on the currently open file. A new &quot;Notepad&quot;
menu item will appear under the Tools menu.</blockquote>
menu item will appear under the Tools menu.
</pre>
<p>Some fixes to XRCed to make encoding errors a bit more user friendly.</p>
<p>XRCed changes from Roman Rolinsky:</p>
<blockquote>
@@ -239,8 +180,8 @@ ellipses to take (w,h) pair. This is an API change, but should
be easy to accommodate, all you need to do is add a parenthesis
pair: (...x, y, ...) ---&gt; (...(x,y), ...)</blockquote>
</div>
<div class="section" id="id3">
<h1><a name="id3">2.6.1.0</a></h1>
<div class="section" id="id2">
<h1><a name="id2">2.6.1.0</a></h1>
<ul class="simple">
<li>4-June-2005</li>
</ul>
@@ -267,8 +208,8 @@ calls.</p>
<p>wx.FileConfig: fixed DeleteEntry to set the dirty flag properly so the
change will get written at the next flush.</p>
</div>
<div class="section" id="id4">
<h1><a name="id4">2.6.0.1</a></h1>
<div class="section" id="id3">
<h1><a name="id3">2.6.0.1</a></h1>
<ul class="simple">
<li>30-May-2005</li>
</ul>
@@ -380,8 +321,8 @@ usual.</p>
there is a range of allowed values (so a wx.SpinCtrl is used instead
of a wx.TextCtrl.)</p>
</div>
<div class="section" id="id5">
<h1><a name="id5">2.6.0.0</a></h1>
<div class="section" id="id4">
<h1><a name="id4">2.6.0.0</a></h1>
<ul class="simple">
<li>26-Apr-2005</li>
</ul>
@@ -458,8 +399,8 @@ EVT_KEY_UP and EVT_TEXT events from its embedded text control.</p>
</dd>
</dl>
</div>
<div class="section" id="id6">
<h1><a name="id6">2.5.5.1</a></h1>
<div class="section" id="id5">
<h1><a name="id5">2.5.5.1</a></h1>
<ul class="simple">
<li>8-Apr-2005</li>
</ul>
@@ -527,8 +468,8 @@ list of top-level windows that currently exist in the application.</p>
folks.</p>
<p>Added the ActiveGrid IDE as a sample application.</p>
</div>
<div class="section" id="id7">
<h1><a name="id7">2.5.4.1</a></h1>
<div class="section" id="id6">
<h1><a name="id6">2.5.4.1</a></h1>
<ul class="simple">
<li>16-Mar-2005</li>
</ul>
@@ -761,8 +702,8 @@ wx.Image.</p>
</dd>
</dl>
</div>
<div class="section" id="id8">
<h1><a name="id8">2.5.3.1</a></h1>
<div class="section" id="id7">
<h1><a name="id7">2.5.3.1</a></h1>
<ul class="simple">
<li>9-Nov-2004</li>
</ul>
@@ -918,8 +859,8 @@ it.</p>
<p>wxPython on OSX can now be built in Unicode mode, can support multiple
version installs, and comes with an uninstaller script.</p>
</div>
<div class="section" id="id9">
<h1><a name="id9">2.5.2.8</a></h1>
<div class="section" id="id8">
<h1><a name="id8">2.5.2.8</a></h1>
<ul class="simple">
<li>27-Aug-2004</li>
</ul>
@@ -950,8 +891,8 @@ wxCheckListBox.</li>
</ul>
</blockquote>
</div>
<div class="section" id="id10">
<h1><a name="id10">2.5.2.7</a></h1>
<div class="section" id="id9">
<h1><a name="id9">2.5.2.7</a></h1>
<ul class="simple">
<li>14-Aug-2004</li>
</ul>
@@ -1134,8 +1075,8 @@ migrating away from using activexwrapper as well. Please see the
MigrationGuide for more details on using the new module.</p>
<p>Floats are allowed again as function parameters where ints are expected.</p>
</div>
<div class="section" id="id12">
<h1><a name="id12">2.4.2.4</a></h1>
<div class="section" id="id11">
<h1><a name="id11">2.4.2.4</a></h1>
<ul class="simple">
<li>1-Oct-2003</li>
</ul>
@@ -1147,8 +1088,8 @@ demonstrated in the Threads sample in the demo.</p>
<p>Added wxMaskedNumCtrl.</p>
<p>Added Chris Barker's FloatCanvas.</p>
</div>
<div class="section" id="id13">
<h1><a name="id13">2.4.1.2</a></h1>
<div class="section" id="id12">
<h1><a name="id12">2.4.1.2</a></h1>
<ul class="simple">
<li>19-Jun-2003</li>
</ul>
@@ -1202,8 +1143,8 @@ release,) SetItemMinSize can now take a wxSize (or 2-tuple) parameter,
and Spacers can be specified with a wxSize (or 2-tuple) parameter</p>
<p>Added wxCursorFromBits.</p>
</div>
<div class="section" id="id14">
<h1><a name="id14">2.4.0.7</a></h1>
<div class="section" id="id13">
<h1><a name="id13">2.4.0.7</a></h1>
<ul class="simple">
<li>24-Mar-2003</li>
</ul>
@@ -1242,8 +1183,8 @@ think I am testing in the future...</p>
<p>Updated pycolourchooser.</p>
<p>Updated to 0.9b of PyCrust.</p>
</div>
<div class="section" id="id15">
<h1><a name="id15">2.4.0.4</a></h1>
<div class="section" id="id14">
<h1><a name="id14">2.4.0.4</a></h1>
<ul class="simple">
<li>7-Mar-2003</li>
</ul>
@@ -1303,8 +1244,8 @@ doesn't have a standard place for them.</p>
<p>Fixed typemaps for wxGridCellCoordsArray.</p>
<p>Updated to the 0.9a version of PyCrust</p>
</div>
<div class="section" id="id16">
<h1><a name="id16">2.4.0.2</a></h1>
<div class="section" id="id15">
<h1><a name="id15">2.4.0.2</a></h1>
<ul class="simple">
<li>23-Jan-2003</li>
</ul>
@@ -1312,8 +1253,8 @@ doesn't have a standard place for them.</p>
<p>Added wxIntCtrl from Will Sadkin.</p>
<p>Added wxPyColourChooser by Michael Gilfix.</p>
</div>
<div class="section" id="id17">
<h1><a name="id17">2.4.0.1</a></h1>
<div class="section" id="id16">
<h1><a name="id16">2.4.0.1</a></h1>
<ul class="simple">
<li>10-Jan-2003</li>
</ul>
@@ -1322,15 +1263,15 @@ enhancements.</p>
<p>Added function wrappers for the common dialogs from Kevin Altis. See
wxPython/lib/dialogs.py for more details.</p>
</div>
<div class="section" id="id18">
<h1><a name="id18">2.3.4.2</a></h1>
<div class="section" id="id17">
<h1><a name="id17">2.3.4.2</a></h1>
<ul class="simple">
<li>21-Dec-2002</li>
</ul>
<p>Various bug fixes.</p>
</div>
<div class="section" id="id19">
<h1><a name="id19">2.3.4.1</a></h1>
<div class="section" id="id18">
<h1><a name="id18">2.3.4.1</a></h1>
<ul class="simple">
<li>18-Dec-2002</li>
</ul>
@@ -1387,8 +1328,8 @@ windows when desired.</p>
HTMLHelp viewer does. Changed how the wxPythonDocs tarball is built
and added a script to launch the doc viewer.</p>
</div>
<div class="section" id="id20">
<h1><a name="id20">2.3.3.1</a></h1>
<div class="section" id="id19">
<h1><a name="id19">2.3.3.1</a></h1>
<ul class="simple">
<li>19-Sep-2002</li>
</ul>
@@ -1533,8 +1474,8 @@ example.</p>
<p>Added wxPython.lib.mixins.rubberband module from Robb Shecter.</p>
<p>Added wxTimeCtrl from Will Sadkin.</p>
</div>
<div class="section" id="id21">
<h1><a name="id21">2.3.2.1</a></h1>
<div class="section" id="id20">
<h1><a name="id20">2.3.2.1</a></h1>
<ul class="simple">
<li>20-Dec-2001</li>
</ul>
@@ -1543,8 +1484,8 @@ well as the Python thread state. This time it works on SMP machines
without barfing and is also still compatible with Python debuggers.</p>
<p>Added some patches from library contributors.</p>
</div>
<div class="section" id="id22">
<h1><a name="id22">2.3.2</a></h1>
<div class="section" id="id21">
<h1><a name="id21">2.3.2</a></h1>
<ul class="simple">
<li>11-Dec-2001</li>
</ul>
@@ -1629,8 +1570,8 @@ SendCommand method, but it is still quite powerful. See
wxPython/contrib/dllwidget and wxPython/demo/dllwidget for more
details.</p>
</div>
<div class="section" id="id23">
<h1><a name="id23">2.3.1</a></h1>
<div class="section" id="id22">
<h1><a name="id22">2.3.1</a></h1>
<ul class="simple">
<li>10-Jul-2001</li>
</ul>
@@ -1646,8 +1587,8 @@ subclass wxXmlResourceHandler, etc...</p>
<p>Fixed img2py to work correctly with Python 2.1.</p>
<p>Added enhanced wxVTKRenderWindow by Prabhu Ramachandran</p>
</div>
<div class="section" id="id24">
<h1><a name="id24">2.3.0</a></h1>
<div class="section" id="id23">
<h1><a name="id23">2.3.0</a></h1>
<ul class="simple">
<li>22-May-2001</li>
</ul>
@@ -1746,16 +1687,16 @@ please send it to me for inclusion in this package.</p>
by having smaller functional apps to play with. They can be found in
wxPython/samples.</p>
</div>
<div class="section" id="id25">
<h1><a name="id25">2.2.7</a></h1>
<div class="section" id="id24">
<h1><a name="id24">2.2.7</a></h1>
<ul class="simple">
<li>19-Jun-2001</li>
</ul>
<p>No changes happened in the Python wrappers for this release, only
changes and fixes in the wxWindows library.</p>
</div>
<div class="section" id="id26">
<h1><a name="id26">2.2.5</a></h1>
<div class="section" id="id25">
<h1><a name="id25">2.2.5</a></h1>
<ul class="simple">
<li>30-Jan-2001</li>
</ul>

View File

@@ -3,7 +3,7 @@ Recent Changes for wxPython
2.6.3.0
-------
* 27-March-2006
* Mar-2006
Change the wx.ListCtrl InsertStringItem wrapper to use the form that
takes an imageIndex, and set the default to -1. This ensures that on
@@ -24,7 +24,7 @@ wxPython exposes, and to be able to generate code that matches that
which wxPython is using. If you are building wxPython yourself and
need to modify any of the \*.i files or to add your own, then you will
want to be sure to use a matching SWIG. See wxPython/SWIG/README.txt
in the source tarball for details.
in the source tarbal for details.
wx.Image.Copy now also copies the alpha channel.
@@ -81,8 +81,6 @@ Applied a patch from Christian Kristukat to wx.lib.plot that adds
scrollbars when the plot is zoomed in, and also the ability to grab a
zoomed plot and move it around with a mouse drag.
XRCed updated to allow wxMenuBar to be created inside a wxFrame.

View File

@@ -824,8 +824,6 @@ if __name__ == "__main__":
'wx',
'wx.build',
'wx.lib',
'wx.lib.analogclock',
'wx.lib.analogclock.lib_setup',
'wx.lib.colourchooser',
'wx.lib.editor',
'wx.lib.floatcanvas',

View File

@@ -649,11 +649,11 @@ class TickSet:
a_tick = self.ticks[0]
size = a_tick.GetMaxSize(scale)
self.font.SetPointSize(size)
maxsize = size
# Try to find a 'good' max size for text-based ticks.
if a_tick.text is not None:
self.font.SetPointSize(size)
dc = wx.MemoryDC()
dc.SelectObject(wx.EmptyBitmap(*clocksize.Get()))
dc.SetFont(self.font)