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
makefile.gcc
Makefile.in
makefile.unx
makefile.vc Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
preferences_vc7.vcproj
preferences_vc8.vcproj
preferences_vc9.vcproj
preferences.bkl
preferences.cpp Simplify platform differences handling in the preferences sample 2017-07-11 23:46:27 +02:00