Go to file
Vadim Zeitlin 59b7da02ff Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily().
Although returning wxFONTFAMILY_UNKNOWN when the font family is not recognized
makes more sense, it breaks a lot of existing code including all the
font-related code generated by DialogBlocks, so prefer to return
wxFONTFAMILY_DEFAULT instead -- which can't be confused for a valid font
family neither but can be passed to wxFont ctor or SetFamily() without
problems.

To ensure that this behaviour is correctly implemented by all ports, rename
the existing wxFont::GetFamily() to DoGetFamily() and call the new method from
wxFontBase::GetFamily() which adjusts the return value if needed.

Closes #12330.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-29 13:46:09 +00:00
art Implement DrawTitleBarBitmap() for OS X using hard coded PNG images. 2009-10-05 22:57:32 +00:00
build Various build tweaks and updates for wxPython 2.9.1.1 2010-09-23 21:05:30 +00:00
debian For the wxPython headers, we need to copy SWIG files like the other platforms do so that wxPython extensions can be built. 2009-04-14 17:11:30 +00:00
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 Remove display information caching from MSW wxDisplay implementation. 2010-09-15 23:04:02 +00:00
include Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
interface Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
lib add the abicheck.sh script for checking possible ABI violations 2009-02-01 17:17:58 +00:00
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 Correct drawing of mnemonics in wxStaticBox label under wxMSW. 2010-09-21 11:44:47 +00:00
src Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
tests Remove an assert that was not backed up by the documentation and so failed on some platforms but not on others. Re-enable some tests that were disabled in wxGTK as they now pass. 2010-09-23 17:02:08 +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 Use build/autoconf_prepend-include when running autoconf 2008-02-22 22:31:20 +00:00
BuildSVN.txt Really set svn:eol-style property. 2010-07-17 14:55:45 +00:00
config.guess
config.sub
configure Add flag to enable specifying an architecture to build on Mac. Also add x86_64 architecture to universal build when buildng wxOSX-Cocoa 2010-09-23 20:54:54 +00:00
configure.in Add flag to enable specifying an architecture to build on Mac. Also add x86_64 architecture to universal build when buildng wxOSX-Cocoa 2010-09-23 20:54:54 +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 give an error message when ran from a wrong location instead of just saying that config.status is not found 2008-03-31 15:00:42 +00:00
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 and restored error checking too: this completes sequence of 3 check ins making wx-config work on systems with Bourne shell 2005-09-20 23:09:36 +00:00
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