Go to file
Vadim Zeitlin 3fc74d5a0f Fix wxColour(NSColor) ctor and use it in wxOSX code
wxColour ctor from NSColor added in b478f24288
didn't work correctly as it didn't initialize wxColour::m_cgColour and so any
attempts to use the colour created by it resulted in an immediate crash (so
the code added in 16671f229a likely didn't work
neither).

It also assumed that the NSColor given to it was always in the RGBA colorspace
and crashed if it wasn't (so 56ebe6dfac fixed
compilation at the price of making the code crash at run-time). Now explicitly
request the RGBA colorspace and leave the colour uninitialized, which is
better than crashing, if it can't be obtained.

After making this ctor safe to use, there is no reason to reproduce its logic
in wxColourDialog and wxFontDialog, so just use it from there.

Also make the ctor explicit as it's a non-trivial operation which shouldn't be
performed implicitly and document that it doesn't take ownership of NSColor,
unlike the similar ctor from CGColorRef.
2015-11-26 23:57:29 +01:00
art Moved "edit" icon from wxEditableListBox to wxArtProvider. 2015-08-09 01:39:41 +02:00
build Release script improvements. 2015-11-15 13:56:52 -07:00
demos Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
distrib Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
docs Clarify location of built release packages. 2015-11-15 21:31:38 -07:00
include Fix wxColour(NSColor) ctor and use it in wxOSX code 2015-11-26 23:57:29 +01:00
interface Updated interface file to document wxWindow::ToDIP. 2015-11-24 13:16:20 -05:00
lib Delete dummy 2015-06-03 17:17:38 +02:00
locale Update a few strings in Russian translations 2015-11-06 14:34:12 +01:00
misc Remove obsolete LaTeX maintenance scripts. 2015-11-15 14:03:18 -07:00
samples Modify widgets sample to demonstrate colour picker with alpha support. 2015-11-15 16:39:00 +01:00
src Fix wxColour(NSColor) ctor and use it in wxOSX code 2015-11-26 23:57:29 +01:00
tests Add a test checking that conversions involving surrogates work 2015-11-13 20:32:24 +01:00
utils Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
.gitattributes Replace upmake and dependent modules with a monolithic script 2015-10-04 00:11:10 +02:00
.gitignore Release script improvements. 2015-11-15 13:56:52 -07:00
.travis.yml Build 3.0 branch on Travis as well. 2014-05-16 10:53:51 +00:00
acinclude.m4 Add --disable-sys-libs configure option. 2014-07-24 11:34:14 +00:00
aclocal.m4 Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
appveyor.yml Fixed missing wxUSE_STL config for MinGW AppVeyor build. 2015-11-04 19:07:15 -07:00
autoconf_inc.m4 Update OS X and iOS related build files 2015-11-09 22:47:56 +04: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 Update OS X and iOS related build files 2015-11-09 22:47:56 +04:00
configure.in Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
CONTRIBUTING.md Mention that GitHub pull requests are accepted too now. 2015-05-01 15:09:46 +02:00
descrip.mms Update OpenVMS compile support 2013-08-27 12:02:20 +00:00
install-sh second try... 1999-06-01 16:14:29 +00:00
Makefile.in Update OS X and iOS related build files 2015-11-09 22:47:56 +04:00
mkinstalldirs Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
README.md Updated links and mailing list addresses. 2015-10-30 20:06:09 -06:00
regen Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
setup.h_vms Remove Hildon framework support. 2015-08-26 22:49:53 +02:00
setup.h.in Remove Hildon framework support. 2015-08-26 22:49:53 +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 Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
wxwin.m4 Don't force the use of DEBUG on application in autoconf macros 2015-09-20 02:23:06 +02: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

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).
  • Mac OS X (10.7 or newer) using Cocoa (32/64 bits) or Carbon (32 only).

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

  • Microsoft Visual C++ 2003 or later (up to 2015).
  • 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.