wxWidgets/samples/preferences
Vadim Zeitlin 101509eb4b Simplify platform differences handling in the preferences sample
Use an alternative and arguably simpler (at least with real-life
applications, where settings are somewhat more complex) way of handling
the differences between platforms in the preferences sample: instead of
executing completely different code under different platforms, always
update the local copy of the settings immediately and just propagate, or
not, it to the application-level settings depending on the current
platform.

This costs an extra copy of the settings object on each change, but this
shouldn't be a problem in practice, and OTOH results in using mostly the
same code under all platforms, reducing the probability of
platform-specific bugs and avoiding any code duplication between the
event handlers and TransferDataFromWindow().
2017-07-11 23:46:27 +02:00
..
makefile.bcc Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
makefile.gcc Link with oleacc.lib when using MSW gcc makefiles 2017-01-04 11:50:18 +01:00
Makefile.in Update version to 3.1.1 2016-03-03 23:23:06 +01:00
makefile.unx
makefile.vc Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
preferences_vc7.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
preferences_vc8.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
preferences_vc9.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
preferences.bkl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
preferences.cpp Simplify platform differences handling in the preferences sample 2017-07-11 23:46:27 +02:00