No description
Find a file
Vadim Zeitlin cf01fe536d Don't call wxYield() after key release in wxUIActionSimulator
This breaks existing unit tests using wxUIActionSimulator that do things
similar to

	wxUIActionSimulator sim;
	sim.Char('o', wxMOD_CMD);
	wxTEST_DIALOG(wxYield(), ... expected "Open" dialog ...);

because the expected dialog would be shown from inside Char(), unlike
with the wxMSW implementation and GTK until the changes of 59ad9f46e6
(Make wxUIActionSimulator works more reliably on GTK/X11, 2020-05-07).

To still make sure there is a delay after the event, sleep, if
necessary, before simulating the next event: this is still enough for wx
test suite to pass, but allows the code like above to work with both
wxMSW and wxGTK.

In fact, doing it like this makes the code simpler and removes the need
to distinguish between press and release events or maintaining the
number of currently simulated-as-depressed buttons or keys, so it also
simplifies things as a side effect.

Also add some comments and rename Default_Delay constant to a more
accurately named MIN_DELAY_BETWEEN_EVENTS.

Closes https://github.com/wxWidgets/wxWidgets/pull/2318
2021-04-11 17:34:05 +02:00
.github Extract function for launching httpbin into its own file 2021-04-04 01:00:35 +02:00
3rdparty Update Catch submodule to use correct ARM break instruction 2020-07-01 22:39:13 +02:00
art Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code. 2016-01-05 14:51:04 +01:00
build Recognize clang correctly in macOS Travis CI builds 2021-04-06 18:49:29 +02:00
demos Remove HAVE_W32API_H definition and checks 2020-10-20 01:47:47 +02:00
distrib Remove setup0.h files 2021-01-31 19:02:56 +01:00
docs Update dates and version numbers for 3.1.5 release 2021-04-11 17:28:16 +02:00
include Merge remote-tracking branch 'MaartenBent/bitmap_cursor_osx' 2021-04-11 16:46:58 +02:00
interface Merge remote-tracking branch 'MaartenBent/bitmap_cursor_osx' 2021-04-11 16:46:58 +02:00
lib Link tiff library as shareable image on OpenVMS 2019-03-12 08:20:16 +01:00
locale Update French translations 2021-03-28 03:30:17 +02:00
misc Suppress memory leak reports from GTK CSS drawing functions 2021-04-11 17:34:05 +02:00
samples Avoid assert failure in shaped sample 2021-04-07 09:07:42 -07:00
src Don't call wxYield() after key release in wxUIActionSimulator 2021-04-11 17:34:05 +02:00
tests Merge remote-tracking branch 'MaartenBent/bitmap_cursor_osx' 2021-04-11 16:46:58 +02:00
utils Remove HAVE_W32API_H definition and checks 2020-10-20 01:47:47 +02:00
.editorconfig Revert changes in Editor Config file made by mistake in 5fbe3cab 2018-11-01 18:37:34 +01:00
.gitattributes Exclude some files from release tar balls 2017-11-16 18:44:27 +01:00
.gitignore Remove setup0.h files 2021-01-31 19:02:56 +01:00
.gitmodules Remove "update = checkout" option for submodules 2018-02-04 00:33:08 +01:00
.mailmap Use consistent name for Konstantin S. Matveyev in git log 2020-05-25 01:48:43 +02:00
.travis.yml Always use pip for installing httpbin in Travis CI builds 2021-02-21 14:57:10 +01:00
acinclude.m4 Remove obsolete wxUSE_IOSTREAMH option 2019-10-21 20:46:21 +02:00
aclocal.m4 Pass options needed by it to libtiff configure only 2020-07-18 16:59:48 +02:00
appveyor.yml Ignore changes to a script not used under AppVeyor 2021-04-05 16:34:40 +02:00
autoconf_inc.m4 Merge branch 'master' into web-request 2020-12-12 18:12:25 +01:00
autogen.sh
CMakeLists.txt CMake: Fix out of sync iOS/macOS deployment target 2021-01-08 13:02:30 +01:00
config.guess Update config.{guess,sub} scripts to latest versions 2021-03-17 09:53:58 -07:00
config.sub Update config.{guess,sub} scripts to latest versions 2021-03-17 09:53:58 -07:00
configure adding Big Sur update fix 2021-04-03 21:12:54 +02:00
configure.in adding Big Sur update fix 2021-04-03 21:12:54 +02:00
descrip.mms workaround for which is probably a compiler-bug on OpenVMS-AXP 2021-01-07 09:47:46 +01:00
install-sh
Makefile.in Support building wxWebViewEdge with GCC or Clang 2021-03-01 00:09:23 +01:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README-GIT.md Remove setup0.h files 2021-01-31 19:02:56 +01:00
README.md Add GitHub CI badge to README.md 2021-04-06 11:41:46 +02:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h.in Fix checking __MINGW64_VERSION_MAJOR for wxUSE_WEBREQUEST_WINHTTP 2021-03-23 00:39:16 +01:00
setup.h_vms update OpenVMS makefiles for credential dialog 2021-01-29 08:51:11 +01: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 Replace hard TABs in wx-config with spaces 2020-10-06 02:14:27 +02:00
wxwidgets.props Really close the <Import> tag in the comment in wxwidgets.props 2020-05-25 19:12:53 +02:00
wxwin.m4 Allow specifying optional libraries with WX_CONFIG_CHECK 2019-03-11 00:44:10 +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 https://docs.wxwidgets.org/

Platforms

AppVeyor Travis Github OSS-Fuzz

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).
  • macOS (10.10 or newer) using Cocoa under both amd64 and ARM platforms.

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

  • Microsoft Visual C++ 2003 or later (up to 2019).
  • g++ 4 or later, including MinGW/MinGW-64/TDM under Windows.
  • Clang under macOS and Linux.
  • Intel icc compiler.
  • Oracle (ex-Sun) CC.

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.

Building

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.