wxWidgets Patches

A selection of critical patches is available here; for changes committed to CVS but not included here, please see cvs.wxwidgets.org/viewcvs.cgi/wxWidgets. You can make a Unidiff from two arbitrary revisions, save, and apply with the 'patch' tool with e.g.

patch -p0 < \temp\patch.diff

Or, you can download a whole revision and replace the file in your distribution.


Patches for 2.6.3

Patch 2: Miscellaneous fixes

This patch fixes a number of issues on Windows and Linux. It contains the fix in Patch 1. Download the zip file or tarball, and unarchive into the root of your wxWidgets distribution.

Download wxWidgets-2.6.3-Patch-2.zip
Download wxWidgets-2.6.3-Patch-2.tar.gz

Details:

  • wxDataObject, all platforms: used memcpy instead of strcpy as the copied data has no trailing zero anymore.
  • wxSocket, all platforms: fixed GetTraits() check for event loop in wxSocketBase::_Wait().
  • wxGTK clipboard: fix for compile error with older versions of gcc due to having conditional compilation directives used within a macro.
  • Generic wxListCtrl: fixes for context menus in empty area and floating point exception.
  • wxGTK: made GetUnicodeKey() return useful values if we synthesize the wxCharEvent by intercepting the key_press event from native controls.
  • wxMSW: added XP theming to wxBitmapButton.
  • wxMSW: reverts a fix that caused wxChoice/wxComboBox sizing problems on Windows 2000 and below.
  • wxMSW: fixes a positioning problem when toolbars are changed after being shown initially.

Patch 1: wxMSW wxChoice/wxComboBox fix

This patch reverts a fix in 2.6.3 that broke comboboxes and choices in Windows 2000 and below. If you only target XP and above, you may not need this fix. This patch is incorporated into the archives wxMSW-2.6.3-Setup-1.exe, wxMSW-2.6.3-1.zip, and wxWidgets-2.6.3-1.zip.

You have two alternatives in applying this fix:

  1. Download the zip file wxWidgets-2.6.3-Patch-1.zip containing src/msw/choice.zip and unzip it into the root of your wxWidgets distribution, or
  2. download the diff wxWidgets-2.6.3-Patch-1.diff and apply it with patch in the root of your wxWidgets distribution.


Patches for 2.6.2

None so far.


Patches for 2.6.1

Various wxMSW fixes

This patch fixes the following problems on Windows:

  • Crash on exit when destroying wxCHMHelpController in wxApp::OnExit.
  • wxListBox, wxCheckListBox scrolling glitch when Windows effects are enabled.
  • Wrong area sometimes being refreshed after a window is resized.
  • Notebook refreshing the wrong area when resized.
  • Problem for non-VC++ compilers where some toolbar tooltips cause a crash.
  • An eVC++ 3 compile error.

Please download wxWidgets-2.6.1-Patch01.zip and unarchive from the top level of your wxWidgets tree.


Patches for 2.6.0

wxWebKitCtrl support for Mac OS 10.4 (Tiger)

This patch fixes wxWebKitCtrl compilation for Tiger; without the patch you need to compile with --disable-webkit on Mac OS 10.4. Please download wxWidgets-2.6.0-WebKit.patch and apply it from the top-level of your wxWidgets tree with:
patch -p0 < wxWidgets-2.6.0-WebKit.patch

wxComboBox selection fix for Windows

This patch fixes a problem with multiple comboboxes have their contents selected when within a wxStaticBox. Please download wxWidgets-2.6.0-MSWCombobox.patch and apply it from src/msw in your wxWidgets tree with:
patch -p0 < wxWidgets-2.6.0-MSWCombobox.patch

Control text colour fix for Windows

This patch lets controls take the text foreground colour that the user has chosen in the control panel, rather than always black. Please download wxWidgets-2.6.0-MSWControl.patch and apply it from src/msw in your wxWidgets tree with:
patch -p0 < wxWidgets-2.6.0-MSWControl.patch


Patches for 2.5.3

Please also download this patch file and unarchive over your wxWidgets 2.5.3 tree.

wxWidgets-2.5.3-Patch01.tar.gz, 2004-10-12

This supplies the missing file src/gtk/eggtrayicon.h, for wxGTK2 compiles.


Patches for 2.5.2

Please download this patch file and unarchive over your wxWidgets 2.5.2 tree.

wxWidgets-2.5.2-Patch01.tar.gz, 2004-06-01

This fixes a display bug in wxCalendarCtrl.


Patches for 2.4.1

wxWindows-2.4.1-patch01.zip, 2003-06-13

Contains the following fixes:
  • wxMSW: adds src/version.mak, a file required to build with VC++ and makefiles (not needed if using project files).
  • wxMSW: fixes a bug that caused scrollbars to appear on an MDI parent frame.


Patches for 2.4.0

memorypatch.txt, 2003-01-06

Allows wxWidgets to build in Unicode mode with wxDebugContext enabled. Apply from the top level of your source hierarchy.