Go to file
Vadim Zeitlin e3589af56a Fix wxStringOutputStream position when using external string
Initialize m_pos correctly when using an existing, and hence possibly
not empty, string (and not the internal one which is always empty
initially). The old code was totally wrong as it divided the string
length by the size of wxChar instead of multiplying by it, but doing
this could have been wrong too with UTF-16 and surrogates, so use the
conversion object to compute the real length of the string
representation in the corresponding encoding.

Add a simple unit test checking that this works as intended.

Closes #17985.
2017-11-03 15:25:36 +01:00
.github Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
3rdparty Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
art Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code. 2016-01-05 14:51:04 +01:00
build Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
demos Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
distrib Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
docs Merge branch 'catchify' 2017-11-02 01:55:00 +01:00
include Make wxStringOutputStream ctor explicit 2017-11-03 00:36:48 +01:00
interface Make wxStringOutputStream ctor explicit 2017-11-03 00:36:48 +01:00
lib Delete dummy 2015-06-03 17:17:38 +02:00
locale Czech translations update from pbfordev 2017-09-27 14:26:07 +02:00
misc Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
samples Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
src Fix wxStringOutputStream position when using external string 2017-11-03 15:25:36 +01:00
tests Fix wxStringOutputStream position when using external string 2017-11-03 15:25:36 +01:00
utils Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
.editorconfig Add a simple EditorConfig coding style file 2017-01-20 14:32:12 +01:00
.gitattributes Replace upmake and dependent modules with a monolithic script 2015-10-04 00:11:10 +02:00
.gitignore Ignore build directories under tests/benchmarks 2017-07-16 15:47:04 +02:00
.gitmodules Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
.mailmap Add another email address for Steve Browne 2017-07-16 15:22:05 +02:00
.travis.yml Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
acinclude.m4 Don't accept nonsensical --without-<toolkit> options in configure 2017-05-27 19:03:32 +02:00
aclocal.m4 Add --enable-cxx11 configure option 2016-01-24 21:22:15 +01:00
appveyor.yml Test using previous build platform for AppVeyor 2017-11-01 23:47:18 +01:00
autoconf_inc.m4 Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
autogen.sh Use build/autoconf_prepend-include when running autoconf 2008-02-22 22:31:20 +00:00
BuildGit.txt Updated BuildSVN.txt for git migration. 2015-02-20 18:04:53 -07:00
config.guess Update configure helper scripts to latest versions from GNU project. 2010-11-26 13:31:15 +00:00
config.sub Update configure helper scripts to latest versions from GNU project. 2010-11-26 13:31:15 +00:00
configure Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
configure.in Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
descrip.mms Remove controls sample from OpenVMS makefiles 2016-02-03 09:04:53 +01:00
install-sh second try... 1999-06-01 16:14:29 +00:00
Makefile.in Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README.md Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h_vms Remove unused configure --enable-objc_uniquifying option 2017-10-21 19:06:33 +02:00
setup.h.in Remove unused configure --enable-objc_uniquifying option 2017-10-21 19:06:33 +02:00
version-script.in Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wx-config-inplace.in Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
wx-config.in Report libraries in EXTRALIBS_WEBVIEW in wx-config output 2016-03-12 01:46:54 +01:00
wxwin.m4 Work around an apparent autoconf bug in WX_CONFIG_CHECK 2017-01-08 15:42:41 +01:00

About

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 https://www.wxwidgets.org/ and read its documentation online at http://docs.wxwidgets.org/

Platforms

AppVeyor Travis

wxWidgets currently 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.

Licence

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.

Further information

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

We would also gladly welcome your contributions.

Have fun!

The wxWidgets Team.