wxWidgets/build
Vadim Zeitlin abfdefede3 Add wxWithImages helper mix-in with {Set,Get,Assign}ImageList() methods.
Avoid defining SetImageList() in several different places in wx API as not
only this resulted in (trivial) code duplication but this method also had
different semantics before: it didn't take ownership of the pointer passed to
it in wxTreeCtrl, wxListCtrl and wxBookCtrl and derived classes but did take
its ownership in wxDataViewTreeCtrl and wxRichTextFormattingDialog.

Harmonize this for all the classes now: SetImageList() never takes ownership
while AssignImageList() (which is now available in all classes having
SetImageList()) always does.

Also add convenience wxWithImages::GetImage() helper to avoid (more) code
duplication in wxDataViewTreeCtrl code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-21 14:08:43 +00:00
..
aclocal Disable symbols visibility support for the Clang compiler. 2011-07-31 13:25:30 +00:00
autoconf_prepend-include replaced with Debian Etch version which has slightly better fseeko() test 2007-07-20 22:00:09 +00:00
bakefiles Add wxWithImages helper mix-in with {Set,Get,Assign}ImageList() methods. 2011-08-21 14:08:43 +00:00
buildbot Use open command to run the GUI unit test on Mac build slave. 2010-12-31 17:29:39 +00:00
mgl Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN. 2009-10-08 04:07:02 +00:00
msw Add wxWithImages helper mix-in with {Set,Get,Assign}ImageList() methods. 2011-08-21 14:08:43 +00:00
os2 missing namespace 2010-11-05 15:45:51 +00:00
osx Increased the version to 2.9.3. 2011-07-22 16:32:07 +00:00
palmos fixes for Linux build (part of ticket 4700) 2008-05-27 16:33:12 +00:00
script Remove all obsolete release-generation scripts. 2010-04-12 00:36:52 +00:00
tools Increased the version to 2.9.3. 2011-07-22 16:32:07 +00:00
wince/missing Warning fix for eVC4 build. 2006-11-27 10:56:37 +00:00
autogen.mk updated list of aclocal m4 files 2008-02-04 13:22:50 +00:00
README.txt Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
update-setup-h update after wx/mac/setup.h rename to wx/osx/setup.h; also order files alphabetically 2008-08-31 17:14:17 +00:00

autogen.mk

autogen.mk is a makefile provided to automatically update the GNU autotools
build system.  It will run Bakefile, aclocal, and autoconf as appropriate.

The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.

It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.

You can achieve this simply by copying the new bakefile*.m4 files from 
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk.  Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk

Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.