Go to file
Vadim Zeitlin b6885972ee Fixes to key codes in keyboard events generated by wxMSW.
Only set Unicode key code if the event corresponds to a character key and set
it to (newly added) WXK_NONE for the other ones to avoid nonsensical values in
it for e.g. "Home" key presses.

Also set non-Unicode key to WXK_NONE for the characters that can't be
represented in the current locale. This is consistent with wxGTK and avoids
conflicts between special key values and Unicode keys.

Clearly document the above behaviour.

Notice that implementing the correct behaviour in wxMSW involved untangling
previously interwoven WM_KEY{DOWN,UP} and WM_CHAR messages handlers. Clearly
separate them now as they get different input (key codes for the former,
characters for the latter) and especially don't try to convert from both kinds
of input using a single wxCharCodeMSWToWX() function. As this function doesn't
need to distinguish between keys and characters any more it can simply return
the converted value in all cases instead of returning 0 sometimes to indicate
a character value instead of a key. Simplify the code using this function
accordingly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-11 10:18:47 +00:00
art
build Don't exclude "contrib" from wxMSW setup.exe generation. 2010-09-09 10:18:31 +00:00
debian
demos Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
distrib Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
docs Fixes to key codes in keyboard events generated by wxMSW. 2010-09-11 10:18:47 +00:00
include Fixes to key codes in keyboard events generated by wxMSW. 2010-09-11 10:18:47 +00:00
interface Fixes to key codes in keyboard events generated by wxMSW. 2010-09-11 10:18:47 +00:00
lib
locale Romanian translations update from Catalin. 2010-07-13 11:32:57 +00:00
misc use svn:keywords instead of eol:keywords 2010-09-09 08:57:07 +00:00
samples Fixes to key codes in keyboard events generated by wxMSW. 2010-09-11 10:18:47 +00:00
src Fixes to key codes in keyboard events generated by wxMSW. 2010-09-11 10:18:47 +00:00
tests Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +00:00
utils Fix mismatches between format strings and arguments. 2010-07-23 23:32:30 +00:00
acinclude.m4 Don't use excessive quoting with AC_DEFINE_UNQUOTED in WX_CHECK_FUNCS. 2010-06-17 22:30:22 +00:00
aclocal.m4 Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY. 2010-05-04 12:15:14 +00:00
autoconf_inc.m4 Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
autogen.sh
BuildSVN.txt Really set svn:eol-style property. 2010-07-17 14:55:45 +00:00
config.guess
config.sub
configure Don't filter out Cairo libraries from GTK libraries list in configure. 2010-09-09 20:59:10 +00:00
configure.in Don't filter out Cairo libraries from GTK libraries list in configure. 2010-09-09 20:59:10 +00:00
descrip.mms Adding keyboard sample to OpenVMS makefiles 2010-03-23 15:14:25 +00:00
install-sh
Makefile.in Fixed wxscintilla compilation for wxDFB. 2010-09-03 19:33:11 +00:00
mkinstalldirs
regen
setup.h_vms update compile configuration for OpenVMS 2010-08-19 07:13:01 +00:00
setup.h.in Add wxRichMessageDialog class. 2010-08-18 22:48:41 +00:00
version-script.in Fix accidental commit of 2.8 ABI compat. code. 2009-11-18 21:01:52 +00:00
wx-config-inplace.in
wx-config.in Don't include LDFLAGS in wx-config --libs output. 2009-10-19 13:57:41 +00:00
wxBase.spec Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00
wxGTK.spec Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00
wxMGL.spec Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00
wxMotif.spec Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00
wxwin.m4 Add AM_PATH_WXRC to wxwin.m4 for backwards compatibility. 2010-05-18 10:29:58 +00:00
wxX11.spec Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00

               wxWidgets 2.9.1 Release Notes
               =============================

Welcome to the latest release of wxWidgets, a cross-platform C++
framework for writing advanced GUI applications using native
controls where possible.

In addition to common and advanced GUI facilities such as frames,
scrolling windows, toolbars, tree controls, icons, device contexts,
printing, splitter windows and so on, there are wrappers for common
file operations, and facilities for writing TCP/IP applications,
thread handling, and more.

A detailed reference manual including in-depth overviews for various
topics is supplied in various formats and can be accessed online at
http://docs.wxwidgets.org/


Note about naming: while 2.9.1 is called a "development" release,
this only means that API is not guaranteed to remain unchanged in
the subsequent 2.9.x releases, unlike in the stable 2.8.x branch. We
believe the current version is stable and suitable for use in
production environment.



Changes in this release
-----------------------

This release contains several years worth of improvements compared
to 2.8 version. Notably, Unicode support has been completely
overhauled and made much easier to use. Debugging support, including
when using a release build of the library, was much improved making
it less likely that you use the library incorrectly. Many new GUI
and base classes have been added or improved.

Please see the file docs/changes.txt for more details and make sure
to read the section "Incompatible changes since 2.8" if you upgrade
from a previous wxWidgets release.

This release introduces many important changes and we are looking
forward to your feedback about them. In particular please let us
know about any regressions compared to the previous versions (see
the section "Bug reporting" below) so that we could fix them before
3.0 release.


Platforms supported
-------------------

wxWidgets currently supports the following primary platforms:

- Windows 95/98/ME, NT, 2000, XP, Vista, 7
- Most Unix variants using the GTK+ toolkit (version 2.4 or newer)
- Mac OS X (10.4 or newer) using either Carbon or Cocoa

There is some support for the following platforms:

- Most Unix variants with X11
- Most Unix variants with Motif/Lesstif
- Most Unix variants with GTK+ 1.2
- OS/2
- Windows CE (Pocket PC)

Most popular C++ compilers are supported; see the install.txt
file for each platform (available via docs/html/index.htm) and
http://wiki.wxwidgets.org/Supported_Platforms for the most up to
date status.


Files
-----

The distribution is available in archive formats appropriate to the
target system. See the download pages for details.


Installation
------------

wxWidgets needs to be compiled before you can test out the samples
or write your own applications. For installation information, please
see the install.txt file in the docs subdirectory appropriate for
the platform you use.


Licence information
-------------------

For licensing information, please see the files:

  docs/preamble.txt
  docs/licence.txt
  docs/licendoc.txt
  docs/gpl.txt
  docs/lgpl.txt

Although this may seem complex, it is there to allow authors of
proprietary/commercial applications to use wxWidgets in addition
to those writing GPL'ed applications. In summary, the licence is
LGPL plus a clause allowing unrestricted distribution of
application binaries. To answer a FAQ, you don't have to
distribute any source if you wish to write commercial
applications using wxWidgets.

However, if you distribute wxGTK or wxMotif (with Lesstif)
version of your application, don't forget that it is linked
against GTK+ (or Lesstif) which is covered by LGPL *without*
exception notice. Under Linux systems your app is probably linked
against LGPL glibc as well. Please read carefully LGPL, section
6. which describes conditions for distribution of closed source
applications linked against LGPL library. Basically you should
link dynamically and include source code of LGPL libraries with
your product (unless it is already present in user's system -
like glibc usually is).

If you use TIFF image handler, please see src/tiff/COPYRIGHT
for libtiff licence details.

If you use JPEG image handler, documentation for your program
should contain following sentence: "This software is based in
part on the work of the Independent JPEG Group". See
src/jpeg/README for details.

If you use wxRegEx class on a system without native regular
expressions support (i.e. MS Windows), see src/regex/COPYRIGHT
file for Henry Spencer's regular expression library copyright.

If you use wxXML classes or XRC, see src/expat/COPYING for licence details.


Documentation
-------------

wxWidgets documentation is available online at
http://docs.wxwidgets.org/2.9.1/ and can also be downloaded in HTML
format. To generate documentation in other formats (PDF, CHM, ...)
please use the scripts in docs/doxygen directory.


Bug reporting
-------------

The wxWidgets bug tracker can be browsed at:

    http://trac.wxwidgets.org/report

Please use the search function of our Trac installation to find
any possibly relevant bugs before reporting new ones. Also please
notice that often trying to correct the bug yourself is the
quickest way to fix it. Even if you fail to do it, you may
discover valuable information allowing us to fix it while doing
it. We also give much higher priority to bug reports with patches
fixing the problems so this ensures that your report will be
addressed sooner.


Further information
-------------------

The wxWidgets Web site is located at:

  http://www.wxwidgets.org

The main wxWidgets ftp site is at:

  ftp://biolpc22.york.ac.uk/pub

A wxWidgets CD-ROM with the latest distribution plus an HTML
front-end and hundreds of MB of compilers, utilities and other
material may be ordered from the CD-ROM page: see the wxWidgets
web site.

Have fun!

The wxWidgets Team, July 2010