Skip to content
Cross-Platform GUI Library - Report issues here:
Branch: master
Clone or download
vadz Don't move wxTextCtrl insertion point if it doesn't really change
Resetting the insertion point position to 0 after calling
wxTextCtrl::SetValue() or ChangeValue() which didn't really change the
control contents was unexpected, as such calls are supposed to be
"optimized away", and this was indeed the case under wxMSW and wxOSX,
but not in wxGTK.

So change wxGTK to follow the other ports, add a unit test checking for
this behaviour and officially document it.

As a side effect, this ensures that the numeric validator classes don't
reset the insertion point position to 0 on every focus loss under wxGTK,
as happened before.
Latest commit 8042648 Mar 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Use HTTPS with Trac links. Jul 4, 2017
3rdparty Update catch submodule Nov 17, 2018
art Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code. Jan 5, 2016
build Use C99 to compile Expat sources under Unix Mar 14, 2019
include Avoid redundant declarations for wxQsort() Mar 21, 2019
lib Link tiff library as shareable image on OpenVMS Mar 12, 2019
misc Don't try updating version in non-existent docs/msw/install.txt Dec 10, 2018
tests Don't move wxTextCtrl insertion point if it doesn't really change Mar 21, 2019
utils Remove all trailing spaces Jan 30, 2019
.editorconfig Revert changes in Editor Config file made by mistake in 5fbe3ca Nov 1, 2018
.gitattributes Exclude some files from release tar balls Nov 16, 2017
CMakeLists.txt Also change minimum macOS version to 10.9 for CMake Jan 16, 2019 Fix links to installation instructions in Dec 4, 2018
acinclude.m4 Don't accept nonsensical --without-<toolkit> options in configure May 27, 2017
appveyor.yml Build WXQT toolkit with AppVeyor Sep 30, 2018
autoconf_inc.m4 Use build/autoconf_prepend-include when running autoconf Feb 22, 2008
setup.h_vms Synchronize setp.h_vms with Jan 31, 2019 Remove all lines containing cvs/svn "$Id$" keyword. Jul 26, 2013 Remove all lines containing cvs/svn "$Id$" keyword. Jul 26, 2013


wxWidgets is a free and open source cross-platform C++ framework for writing advanced GUI applications using native controls.

wxWidgets Logo

wxWidgets allows you to write native-looking GUI applications for all the major desktop platforms and also helps with abstracting the differences in the non-GUI aspects between them. It is free for the use in both open source and commercial applications, comes with the full, easy to read and modify, source and extensive documentation and a collection of more than a hundred examples. You can learn more about wxWidgets at and read its documentation online at


AppVeyor Travis

This version of wxWidgets supports the following primary platforms:

  • Windows XP, Vista, 7, 8 and 10 (32/64 bits).
  • Most Unix variants using the GTK+ toolkit (version 2.6 or newer or 3.x).
  • OS X (10.7 or newer) using Cocoa (32/64 bits).

Most popular C++ compilers are supported including but not limited to:

  • Microsoft Visual C++ 2003 or later (up to 2017).
  • g++ 3.4 or later, including MinGW/MinGW-64/TDM under Windows.
  • Clang under OS X and Linux.
  • Intel icc compiler.
  • Oracle (ex-Sun) aCC.


wxWidgets licence is a modified version of LGPL explicitly allowing not distributing the sources of an application using the library even in the case of static linking.


For building the library, please see platform-specific documentation under docs/<port> directory, e.g. here are the instructions for wxGTK, wxMSW and wxOSX.

If you're building the sources checked out from Git, and not from a released version, please see these additional Git-specific notes.

Further information

If you are looking for community support, you can get it from

Commercial support is also available.

Finally, keep in mind that wxWidgets is an open source project collaboratively developed by its users and your contributions to it are always welcome. Please check our guidelines if you'd like to do it.

Have fun!

The wxWidgets Team.

You can’t perform that action at this time.