"DirBrowseButton" control crashses on win2k

Ummm, errrr, (cough)
Training request:
  What tool is to be used to apply the patch?
or:
  I would RTFM, but which FM do I Read?

···

------------
Vernon

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Monday, January 05, 2004 1:17 PM
To: wxPython-users@lists.wxwindows.org
Subject: Re: [wxPython-users] "DirBrowseButton" control crashses on
win2k

CL WU wrote:

Hi, group,
             I have python 2.3 and wxPython 2.4.2.4 installed on my
win2k box. I just find whenenver I use "DirBrowseButton" control, it
will crash with a 'memory could not be "written"' error. I exclude the
possibility of the bug of my own code because bundled "demo" app also
crashed when I clicked "FileBrowseButton" demo. However demo and my own
code run well on linux box. Is this a wxPython bug or the problem of my
win2k?

The attached patch will fix it.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Vernon Cole wrote:

Ummm, errrr, (cough)
Training request:
  What tool is to be used to apply the patch?
or:
  I would RTFM, but which FM do I Read?

It's simply called "patch". You run it like this:
  
  cd .../site-packages/wxPython/lib
  patch < fbb.patch

There are a number of DOS versions of patch floating around out there, look at places that have unix-like command-line tools for DOS. Since it is small you can also apply the change by hand, just delete the lines in filebrowsebutton.py that start with "-" in the patch and add those that start with "+" in the patch.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!