Compare commits

..

1 Commits

Author SHA1 Message Date
Bryan Petty
2791545dac This commit was manufactured by cvs2svn to create tag 'WX_2_6_1'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_6_1@34533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 20:58:18 +00:00
17 changed files with 60 additions and 126 deletions

View File

@@ -1098,13 +1098,12 @@ bool wxFileConfig::DeleteEntry(const wxString& key, bool bGroupIfEmptyAlso)
if ( !m_pCurrentGroup->DeleteEntry(path.Name()) ) if ( !m_pCurrentGroup->DeleteEntry(path.Name()) )
return false; return false;
SetDirty();
if ( bGroupIfEmptyAlso && m_pCurrentGroup->IsEmpty() ) { if ( bGroupIfEmptyAlso && m_pCurrentGroup->IsEmpty() ) {
if ( m_pCurrentGroup != m_pRootGroup ) { if ( m_pCurrentGroup != m_pRootGroup ) {
wxFileConfigGroup *pGroup = m_pCurrentGroup; wxFileConfigGroup *pGroup = m_pCurrentGroup;
SetPath(wxT("..")); // changes m_pCurrentGroup! SetPath(wxT("..")); // changes m_pCurrentGroup!
m_pCurrentGroup->DeleteSubgroupByName(pGroup->Name()); if ( m_pCurrentGroup->DeleteSubgroupByName(pGroup->Name()) )
SetDirty();
} }
//else: never delete the root group //else: never delete the root group
} }

View File

@@ -40,7 +40,7 @@ VER_MAJOR = 2 # The first three must match wxWidgets
VER_MINOR = 6 VER_MINOR = 6
VER_RELEASE = 1 VER_RELEASE = 1
VER_SUBREL = 0 # wxPython release num for x.y.z release of wxWidgets 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" DESCRIPTION = "Cross platform GUI toolkit for Python"
AUTHOR = "Robin Dunn" AUTHOR = "Robin Dunn"
@@ -752,7 +752,6 @@ elif os.name == 'posix':
# uncomment this block to add the right flags to the link step and build # uncomment this block to add the right flags to the link step and build
# again. # again.
## if os.uname()[0] == 'SunOS': ## if os.uname()[0] == 'SunOS':
## import commands
## libs.append('gcc') ## libs.append('gcc')
## libdirs.append(commands.getoutput("gcc -print-search-dirs | grep '^install' | awk '{print $2}'")[:-1]) ## libdirs.append(commands.getoutput("gcc -print-search-dirs | grep '^install' | awk '{print $2}'")[:-1])

View File

@@ -40,7 +40,7 @@ class TestTreeCtrlPanel(wx.Panel):
il = wx.ImageList(isz[0], isz[1]) il = wx.ImageList(isz[0], isz[1])
fldridx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FOLDER, wx.ART_OTHER, isz)) fldridx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FOLDER, wx.ART_OTHER, isz))
fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz)) fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz))
fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_NORMAL_FILE, wx.ART_OTHER, isz)) fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_REPORT_VIEW, wx.ART_OTHER, isz))
smileidx = il.Add(images.getSmilesBitmap()) smileidx = il.Add(images.getSmilesBitmap())
self.tree.SetImageList(il) self.tree.SetImageList(il)

View File

@@ -30,7 +30,7 @@ class TestPanel(wx.Panel):
il = wx.ImageList(isz[0], isz[1]) il = wx.ImageList(isz[0], isz[1])
fldridx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FOLDER, wx.ART_OTHER, isz)) fldridx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FOLDER, wx.ART_OTHER, isz))
fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz)) fldropenidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_FILE_OPEN, wx.ART_OTHER, isz))
fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_NORMAL_FILE, wx.ART_OTHER, isz)) fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_REPORT_VIEW, wx.ART_OTHER, isz))
smileidx = il.Add(images.getSmilesBitmap()) smileidx = il.Add(images.getSmilesBitmap())
self.tree.SetImageList(il) self.tree.SetImageList(il)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -37,8 +37,5 @@ if [ $skiposx != yes ]; then
echo "Fetching the results..." echo "Fetching the results..."
scp "root@$host:$OSX_BUILD/wxPython*-osx*" $STAGING_DIR scp "root@$host:$OSX_BUILD/wxPython*-osx*" $STAGING_DIR
ssh root@$host "rm $OSX_BUILD/wxPython*-osx*" ssh root@$host "rm $OSX_BUILD/wxPython*-osx*"
echo "Done!"
sleep 1
fi fi

View File

@@ -95,8 +95,6 @@ if [ $skiplinux != yes ]; then
ssh root@$host "/sbin/halt" ssh root@$host "/sbin/halt"
sleep 10 sleep 10
fi fi
sleep 30
echo "Done!"
fi fi
sleep 30

View File

@@ -30,6 +30,4 @@ if [ $skipwin != yes ]; then
echo "Fetching the results..." echo "Fetching the results..."
scp "$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR scp "$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR
ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*" ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"
echo "Done!"
fi fi

View File

@@ -514,20 +514,6 @@ Type: files; Name: "{app}\samples\wx_examples\hello\*.pyo";
Type: files; Name: "{app}\samples\wxProject\*.pyc"; Type: files; Name: "{app}\samples\wxProject\*.pyc";
Type: files; Name: "{app}\samples\wxProject\*.pyo"; Type: files; Name: "{app}\samples\wxProject\*.pyo";
Type: files; Name: "{app}\samples\ide\*.pyc";
Type: files; Name: "{app}\samples\ide\activegrid\*.pyc";
Type: files; Name: "{app}\samples\ide\activegrid\tool\*.pyc";
Type: files; Name: "{app}\samples\ide\activegrid\util\*.pyc";
Type: files; Name: "{app}\samples\ide\*.pyo";
Type: files; Name: "{app}\samples\ide\activegrid\*.pyo";
Type: files; Name: "{app}\samples\ide\activegrid\tool\*.pyo";
Type: files; Name: "{app}\samples\ide\activegrid\util\*.pyo";
Type: files; Name: "{app}\samples\docview\*.pyc";
Type: files; Name: "{app}\samples\pydocview\*.pyc";
Type: files; Name: "{app}\samples\docview\*.pyo";
Type: files; Name: "{app}\samples\pydocview\*.pyo";
''' '''

View File

@@ -140,7 +140,6 @@ if [ -z "${skipcopy}" ]; then
cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1 cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1
fi fi
done done
# # and tex2rtf too # # and tex2rtf too
# mkdir ${tarver}/utils # mkdir ${tarver}/utils
# cp -Rpf --link ${wxdir}/utils/tex2rtf ${tarver}/utils # cp -Rpf --link ${wxdir}/utils/tex2rtf ${tarver}/utils
@@ -243,7 +242,7 @@ if [ -z "${skiprpm}" ]; then
rpmbuild -bs \ rpmbuild -bs \
--define "_topdir ${rpmtop}" \ --define "_topdir ${rpmtop}" \
--define "_tmppath ${builddir}" \ --define "_tmppath ${builddir}" \
--define "release 1" \ --define "pyver ${pyver}" \
${distdir}/wxPython.spec ${distdir}/wxPython.spec
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "*** RPM failure, exiting." echo "*** RPM failure, exiting."

View File

@@ -11,35 +11,7 @@
<div class="document" id="recent-changes-for-wxpython"> <div class="document" id="recent-changes-for-wxpython">
<h1 class="title">Recent Changes for wxPython</h1> <h1 class="title">Recent Changes for wxPython</h1>
<div class="section" id="id1"> <div class="section" id="id1">
<h1><a name="id1">2.6.1.0</a></h1> <h1><a name="id1">2.6.0.1</a></h1>
<ul class="simple">
<li>4-June-2005</li>
</ul>
<p>wx.ListCtrl: patch #1210352, fixes editing in generic wx.ListCtrl with
wx.LC_EDIT_LABELS.</p>
<p>Applied patch #208286, MediaCtrl DirectShow rewrite.</p>
<p>DocView patches from Morgan Hua: bug fixes, and additional SVN
commands, also added a default template that uses the text editor for
any unknown file type.</p>
<p>wxMSW: Use the system IDC_HAND cursor for wx.CURSOR_HAND and only fallback
to the strange wxWidgets version if the system one is not available.</p>
<p>wx.grid.Grid: Merge the cell size attribute the same way that other
attributes are merged, e.g., if it is already set to a non-default
value in the current GridCellAttr object then don't merge from the
other.</p>
<p>wx.lib.evtmgr: Fixed to use wx._core._wxPyDeadObject</p>
<p>wx.lib.gridmovers: Don't scroll when the mouse is dragged outside of
the grid, unless the mouse is kept in motion.</p>
<p>wxMSW: Applied patch #1213290 incorrect logic in
wx.TopLevelWindow.ShowFullScreen.</p>
<p>Applied patch #1213066 correct device names for Joystick in Linux.</p>
<p>wxGTK: Applied patch #1207162 wx.TextCtrl.SetStyle fix for overlapping
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="id2">
<h1><a name="id2">2.6.0.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>30-May-2005</li> <li>30-May-2005</li>
</ul> </ul>
@@ -151,8 +123,8 @@ usual.</p>
there is a range of allowed values (so a wx.SpinCtrl is used instead there is a range of allowed values (so a wx.SpinCtrl is used instead
of a wx.TextCtrl.)</p> of a wx.TextCtrl.)</p>
</div> </div>
<div class="section" id="id3"> <div class="section" id="id2">
<h1><a name="id3">2.6.0.0</a></h1> <h1><a name="id2">2.6.0.0</a></h1>
<ul class="simple"> <ul class="simple">
<li>26-Apr-2005</li> <li>26-Apr-2005</li>
</ul> </ul>
@@ -229,8 +201,8 @@ EVT_KEY_UP and EVT_TEXT events from its embedded text control.</p>
</dd> </dd>
</dl> </dl>
</div> </div>
<div class="section" id="id4"> <div class="section" id="id3">
<h1><a name="id4">2.5.5.1</a></h1> <h1><a name="id3">2.5.5.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>8-Apr-2005</li> <li>8-Apr-2005</li>
</ul> </ul>
@@ -298,8 +270,8 @@ list of top-level windows that currently exist in the application.</p>
folks.</p> folks.</p>
<p>Added the ActiveGrid IDE as a sample application.</p> <p>Added the ActiveGrid IDE as a sample application.</p>
</div> </div>
<div class="section" id="id5"> <div class="section" id="id4">
<h1><a name="id5">2.5.4.1</a></h1> <h1><a name="id4">2.5.4.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>16-Mar-2005</li> <li>16-Mar-2005</li>
</ul> </ul>
@@ -532,8 +504,8 @@ wx.Image.</p>
</dd> </dd>
</dl> </dl>
</div> </div>
<div class="section" id="id6"> <div class="section" id="id5">
<h1><a name="id6">2.5.3.1</a></h1> <h1><a name="id5">2.5.3.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>9-Nov-2004</li> <li>9-Nov-2004</li>
</ul> </ul>
@@ -689,8 +661,8 @@ it.</p>
<p>wxPython on OSX can now be built in Unicode mode, can support multiple <p>wxPython on OSX can now be built in Unicode mode, can support multiple
version installs, and comes with an uninstaller script.</p> version installs, and comes with an uninstaller script.</p>
</div> </div>
<div class="section" id="id7"> <div class="section" id="id6">
<h1><a name="id7">2.5.2.8</a></h1> <h1><a name="id6">2.5.2.8</a></h1>
<ul class="simple"> <ul class="simple">
<li>27-Aug-2004</li> <li>27-Aug-2004</li>
</ul> </ul>
@@ -721,8 +693,8 @@ wxCheckListBox.</li>
</ul> </ul>
</blockquote> </blockquote>
</div> </div>
<div class="section" id="id8"> <div class="section" id="id7">
<h1><a name="id8">2.5.2.7</a></h1> <h1><a name="id7">2.5.2.7</a></h1>
<ul class="simple"> <ul class="simple">
<li>14-Aug-2004</li> <li>14-Aug-2004</li>
</ul> </ul>
@@ -905,8 +877,8 @@ migrating away from using activexwrapper as well. Please see the
MigrationGuide for more details on using the new module.</p> MigrationGuide for more details on using the new module.</p>
<p>Floats are allowed again as function parameters where ints are expected.</p> <p>Floats are allowed again as function parameters where ints are expected.</p>
</div> </div>
<div class="section" id="id10"> <div class="section" id="id9">
<h1><a name="id10">2.4.2.4</a></h1> <h1><a name="id9">2.4.2.4</a></h1>
<ul class="simple"> <ul class="simple">
<li>1-Oct-2003</li> <li>1-Oct-2003</li>
</ul> </ul>
@@ -918,8 +890,8 @@ demonstrated in the Threads sample in the demo.</p>
<p>Added wxMaskedNumCtrl.</p> <p>Added wxMaskedNumCtrl.</p>
<p>Added Chris Barker's FloatCanvas.</p> <p>Added Chris Barker's FloatCanvas.</p>
</div> </div>
<div class="section" id="id11"> <div class="section" id="id10">
<h1><a name="id11">2.4.1.2</a></h1> <h1><a name="id10">2.4.1.2</a></h1>
<ul class="simple"> <ul class="simple">
<li>19-Jun-2003</li> <li>19-Jun-2003</li>
</ul> </ul>
@@ -973,8 +945,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> and Spacers can be specified with a wxSize (or 2-tuple) parameter</p>
<p>Added wxCursorFromBits.</p> <p>Added wxCursorFromBits.</p>
</div> </div>
<div class="section" id="id12"> <div class="section" id="id11">
<h1><a name="id12">2.4.0.7</a></h1> <h1><a name="id11">2.4.0.7</a></h1>
<ul class="simple"> <ul class="simple">
<li>24-Mar-2003</li> <li>24-Mar-2003</li>
</ul> </ul>
@@ -1013,8 +985,8 @@ think I am testing in the future...</p>
<p>Updated pycolourchooser.</p> <p>Updated pycolourchooser.</p>
<p>Updated to 0.9b of PyCrust.</p> <p>Updated to 0.9b of PyCrust.</p>
</div> </div>
<div class="section" id="id13"> <div class="section" id="id12">
<h1><a name="id13">2.4.0.4</a></h1> <h1><a name="id12">2.4.0.4</a></h1>
<ul class="simple"> <ul class="simple">
<li>7-Mar-2003</li> <li>7-Mar-2003</li>
</ul> </ul>
@@ -1074,8 +1046,8 @@ doesn't have a standard place for them.</p>
<p>Fixed typemaps for wxGridCellCoordsArray.</p> <p>Fixed typemaps for wxGridCellCoordsArray.</p>
<p>Updated to the 0.9a version of PyCrust</p> <p>Updated to the 0.9a version of PyCrust</p>
</div> </div>
<div class="section" id="id14"> <div class="section" id="id13">
<h1><a name="id14">2.4.0.2</a></h1> <h1><a name="id13">2.4.0.2</a></h1>
<ul class="simple"> <ul class="simple">
<li>23-Jan-2003</li> <li>23-Jan-2003</li>
</ul> </ul>
@@ -1083,8 +1055,8 @@ doesn't have a standard place for them.</p>
<p>Added wxIntCtrl from Will Sadkin.</p> <p>Added wxIntCtrl from Will Sadkin.</p>
<p>Added wxPyColourChooser by Michael Gilfix.</p> <p>Added wxPyColourChooser by Michael Gilfix.</p>
</div> </div>
<div class="section" id="id15"> <div class="section" id="id14">
<h1><a name="id15">2.4.0.1</a></h1> <h1><a name="id14">2.4.0.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>10-Jan-2003</li> <li>10-Jan-2003</li>
</ul> </ul>
@@ -1093,15 +1065,15 @@ enhancements.</p>
<p>Added function wrappers for the common dialogs from Kevin Altis. See <p>Added function wrappers for the common dialogs from Kevin Altis. See
wxPython/lib/dialogs.py for more details.</p> wxPython/lib/dialogs.py for more details.</p>
</div> </div>
<div class="section" id="id16"> <div class="section" id="id15">
<h1><a name="id16">2.3.4.2</a></h1> <h1><a name="id15">2.3.4.2</a></h1>
<ul class="simple"> <ul class="simple">
<li>21-Dec-2002</li> <li>21-Dec-2002</li>
</ul> </ul>
<p>Various bug fixes.</p> <p>Various bug fixes.</p>
</div> </div>
<div class="section" id="id17"> <div class="section" id="id16">
<h1><a name="id17">2.3.4.1</a></h1> <h1><a name="id16">2.3.4.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>18-Dec-2002</li> <li>18-Dec-2002</li>
</ul> </ul>
@@ -1158,8 +1130,8 @@ windows when desired.</p>
HTMLHelp viewer does. Changed how the wxPythonDocs tarball is built HTMLHelp viewer does. Changed how the wxPythonDocs tarball is built
and added a script to launch the doc viewer.</p> and added a script to launch the doc viewer.</p>
</div> </div>
<div class="section" id="id18"> <div class="section" id="id17">
<h1><a name="id18">2.3.3.1</a></h1> <h1><a name="id17">2.3.3.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>19-Sep-2002</li> <li>19-Sep-2002</li>
</ul> </ul>
@@ -1304,8 +1276,8 @@ example.</p>
<p>Added wxPython.lib.mixins.rubberband module from Robb Shecter.</p> <p>Added wxPython.lib.mixins.rubberband module from Robb Shecter.</p>
<p>Added wxTimeCtrl from Will Sadkin.</p> <p>Added wxTimeCtrl from Will Sadkin.</p>
</div> </div>
<div class="section" id="id19"> <div class="section" id="id18">
<h1><a name="id19">2.3.2.1</a></h1> <h1><a name="id18">2.3.2.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>20-Dec-2001</li> <li>20-Dec-2001</li>
</ul> </ul>
@@ -1314,8 +1286,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> without barfing and is also still compatible with Python debuggers.</p>
<p>Added some patches from library contributors.</p> <p>Added some patches from library contributors.</p>
</div> </div>
<div class="section" id="id20"> <div class="section" id="id19">
<h1><a name="id20">2.3.2</a></h1> <h1><a name="id19">2.3.2</a></h1>
<ul class="simple"> <ul class="simple">
<li>11-Dec-2001</li> <li>11-Dec-2001</li>
</ul> </ul>
@@ -1400,8 +1372,8 @@ SendCommand method, but it is still quite powerful. See
wxPython/contrib/dllwidget and wxPython/demo/dllwidget for more wxPython/contrib/dllwidget and wxPython/demo/dllwidget for more
details.</p> details.</p>
</div> </div>
<div class="section" id="id21"> <div class="section" id="id20">
<h1><a name="id21">2.3.1</a></h1> <h1><a name="id20">2.3.1</a></h1>
<ul class="simple"> <ul class="simple">
<li>10-Jul-2001</li> <li>10-Jul-2001</li>
</ul> </ul>
@@ -1417,8 +1389,8 @@ subclass wxXmlResourceHandler, etc...</p>
<p>Fixed img2py to work correctly with Python 2.1.</p> <p>Fixed img2py to work correctly with Python 2.1.</p>
<p>Added enhanced wxVTKRenderWindow by Prabhu Ramachandran</p> <p>Added enhanced wxVTKRenderWindow by Prabhu Ramachandran</p>
</div> </div>
<div class="section" id="id22"> <div class="section" id="id21">
<h1><a name="id22">2.3.0</a></h1> <h1><a name="id21">2.3.0</a></h1>
<ul class="simple"> <ul class="simple">
<li>22-May-2001</li> <li>22-May-2001</li>
</ul> </ul>
@@ -1517,16 +1489,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 by having smaller functional apps to play with. They can be found in
wxPython/samples.</p> wxPython/samples.</p>
</div> </div>
<div class="section" id="id23"> <div class="section" id="id22">
<h1><a name="id23">2.2.7</a></h1> <h1><a name="id22">2.2.7</a></h1>
<ul class="simple"> <ul class="simple">
<li>19-Jun-2001</li> <li>19-Jun-2001</li>
</ul> </ul>
<p>No changes happened in the Python wrappers for this release, only <p>No changes happened in the Python wrappers for this release, only
changes and fixes in the wxWindows library.</p> changes and fixes in the wxWindows library.</p>
</div> </div>
<div class="section" id="id24"> <div class="section" id="id23">
<h1><a name="id24">2.2.5</a></h1> <h1><a name="id23">2.2.5</a></h1>
<ul class="simple"> <ul class="simple">
<li>30-Jan-2001</li> <li>30-Jan-2001</li>
</ul> </ul>

View File

@@ -3,7 +3,6 @@ Recent Changes for wxPython
2.6.1.0 2.6.1.0
------- -------
* 4-June-2005
wx.ListCtrl: patch #1210352, fixes editing in generic wx.ListCtrl with wx.ListCtrl: patch #1210352, fixes editing in generic wx.ListCtrl with
wx.LC_EDIT_LABELS. wx.LC_EDIT_LABELS.
@@ -22,22 +21,14 @@ attributes are merged, e.g., if it is already set to a non-default
value in the current GridCellAttr object then don't merge from the value in the current GridCellAttr object then don't merge from the
other. other.
wxGTK: fix for unset attributes in the wx.KeyEvent for EVT_CHAR
events.
wx.lib.evtmgr: Fixed to use wx._core._wxPyDeadObject wx.lib.evtmgr: Fixed to use wx._core._wxPyDeadObject
wx.lib.gridmovers: Don't scroll when the mouse is dragged outside of wx.lib.gridmovers: Don't scroll when the mouse is dragged outside of
the grid, unless the mouse is kept in motion. the grid, unless the mouse is kept in motion.
wxMSW: Applied patch #1213290 incorrect logic in
wx.TopLevelWindow.ShowFullScreen.
Applied patch #1213066 correct device names for Joystick in Linux.
wxGTK: Applied patch #1207162 wx.TextCtrl.SetStyle fix for overlapping
calls.
wx.FileConfig: fixed DeleteEntry to set the dirty flag properly so the
change will get written at the next flush.

View File

@@ -1754,7 +1754,6 @@ class HtmlHelpController(_core.Object):
"""GetFrame(self) -> HtmlHelpFrame""" """GetFrame(self) -> HtmlHelpFrame"""
return _html.HtmlHelpController_GetFrame(*args, **kwargs) return _html.HtmlHelpController_GetFrame(*args, **kwargs)
def Destroy(self): pass
class HtmlHelpControllerPtr(HtmlHelpController): class HtmlHelpControllerPtr(HtmlHelpController):
def __init__(self, this): def __init__(self, this):

View File

@@ -1227,8 +1227,6 @@ public:
void ReadCustomization(wxConfigBase *cfg, wxString path = wxPyEmptyString); void ReadCustomization(wxConfigBase *cfg, wxString path = wxPyEmptyString);
void WriteCustomization(wxConfigBase *cfg, wxString path = wxPyEmptyString); void WriteCustomization(wxConfigBase *cfg, wxString path = wxPyEmptyString);
wxHtmlHelpFrame* GetFrame(); wxHtmlHelpFrame* GetFrame();
%pythoncode { def Destroy(self): pass }
}; };

View File

@@ -1754,7 +1754,6 @@ class HtmlHelpController(_core.Object):
"""GetFrame(self) -> HtmlHelpFrame""" """GetFrame(self) -> HtmlHelpFrame"""
return _html.HtmlHelpController_GetFrame(*args, **kwargs) return _html.HtmlHelpController_GetFrame(*args, **kwargs)
def Destroy(self): pass
class HtmlHelpControllerPtr(HtmlHelpController): class HtmlHelpControllerPtr(HtmlHelpController):
def __init__(self, this): def __init__(self, this):

View File

@@ -1754,7 +1754,6 @@ class HtmlHelpController(_core.Object):
"""GetFrame(self) -> HtmlHelpFrame""" """GetFrame(self) -> HtmlHelpFrame"""
return _html.HtmlHelpController_GetFrame(*args, **kwargs) return _html.HtmlHelpController_GetFrame(*args, **kwargs)
def Destroy(self): pass
class HtmlHelpControllerPtr(HtmlHelpController): class HtmlHelpControllerPtr(HtmlHelpController):
def __init__(self, this): def __init__(self, this):

View File

@@ -133,7 +133,7 @@ class Constraint(object):
self._ySpacing = 0.0 self._ySpacing = 0.0
self._constraintType = type self._constraintType = type
self._constrainingObject = constraining self._constraintingObject = constraining
self._constraintId = 0 self._constraintId = 0
self._constraintName = "noname" self._constraintName = "noname"
@@ -158,13 +158,13 @@ class Constraint(object):
def Evaluate(self): def Evaluate(self):
"""Evaluate this constraint and return TRUE if anything changed.""" """Evaluate this constraint and return TRUE if anything changed."""
maxWidth, maxHeight = self._constrainingObject.GetBoundingBoxMax() maxWidth, maxHeight = self._constraintingObject.GetBoundingBoxMax()
minWidth, minHeight = self._constrainingObject.GetBoundingBoxMin() minWidth, minHeight = self._constraintingObject.GetBoundingBoxMin()
x = self._constrainingObject.GetX() x = self._constraintingObject.GetX()
y = self._constrainingObject.GetY() y = self._constraintingObject.GetY()
dc = wx.ClientDC(self._constrainingObject.GetCanvas()) dc = wx.ClientDC(self._constraintingObject.GetCanvas())
self._constrainingObject.GetCanvas().PrepareDC(dc) self._constraintingObject.GetCanvas().PrepareDC(dc)
if self._constraintType == CONSTRAINT_CENTRED_VERTICALLY: if self._constraintType == CONSTRAINT_CENTRED_VERTICALLY:
n = len(self._constrainedObjects) n = len(self._constrainedObjects)