wxWidgets/samples
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
..
access Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
animate Fix harmless warnings in samples (wxGTK) 2017-03-20 23:32:52 +01:00
artprov Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
aui Don't hardcode wxSpinCtrl size in the aui sample 2017-04-01 15:48:53 +02:00
calendar Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
caret Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
clipboard Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
collpane Fix harmless warnings in samples (wxGTK) 2017-03-20 23:32:52 +01:00
combo Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
config Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
console Allow hiding command line arguments from Usage() 2017-02-20 17:53:04 +01:00
dataview Fix handling of ampersands in wxDataViewCtrl markup 2017-04-07 18:45:39 +02:00
debugrpt Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
dialogs Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
dialup Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
display Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
dll Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
dnd Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
docview Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
dragimag Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
drawing Redo Use implicit wxColour to wxBrush conversion 2017-06-28 07:22:54 +02:00
erase Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
event Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
except Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
exec Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
flash Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
font Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
fswatcher Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
grid Fix harmless warnings in samples (wxGTK) 2017-03-20 23:32:52 +01:00
help Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
htlbox Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
html Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
image Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
internat Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
ipc Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
joytest Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
keyboard Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
layout Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
listctrl Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
mdi Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
mediaplayer Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
memcheck Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
menu Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
mfc Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
minimal Use canonical format for MSVS project/solution files 2017-03-18 15:14:26 +01:00
nativdlg Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
notebook Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
oleauto Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
opengl Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
ownerdrw Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
popup Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
power Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
preferences Simplify platform differences handling in the preferences sample 2017-07-11 23:46:27 +02:00
printing Add drawing a multi-line text to the printing sample 2017-02-11 21:52:51 +01:00
propgrid Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
regtest Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
render Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
ribbon Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
richtext Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
sashtest Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
scroll Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
secretstore Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
shaped Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
sockets Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
sound Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
splash Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
splitter Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
statbar Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
stc Fix pagination in stc sample 2017-05-26 00:29:05 +02:00
svg Remove unused variables in svgtest.cpp Sample 2017-05-09 21:41:57 +02:00
taborder Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
taskbar Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
taskbarbutton Fix 'destionation' typos 2017-06-21 22:51:57 +04:00
text Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
thread Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
toolbar Added wxUSE_WXDIB guard to Toolbar sample. 2017-05-08 09:49:01 -04:00
treectrl Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
treelist Fix harmless warnings in samples (wxGTK) 2017-03-20 23:32:52 +01:00
typetest Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
uiaction Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
validate Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
vscroll Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
webview Add support for WebKit2GTK+ in wxWebView 2017-04-22 20:00:48 +01:00
widgets Add demonstration of wxRearrangeList to widgets sample 2017-04-28 21:05:46 +02:00
wizard Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
wrapsizer Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
xrc Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
xti Fix build with RTTI turned off using MSVC makefiles 2017-01-04 12:01:14 +01:00
Info.plist Update year in copyright notices to 2017 2017-01-04 11:25:00 +01:00
makefile.bcc Fix STC samples being compiled when USE_STC=0 2017-02-12 15:17:22 +02:00
makefile.gcc Fix STC samples being compiled when USE_STC=0 2017-02-12 15:17:22 +02:00
Makefile.in Add distclean target to samples/Makefile. 2012-11-01 17:14:59 +00:00
makefile.vc Fix STC samples being compiled when USE_STC=0 2017-02-12 15:17:22 +02:00
sample.ico
sample.r
sample.rc Remove obsolete symbols from the samples 2015-12-03 22:11:04 +01:00
sample.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
samples.bkl Fix STC samples being compiled when USE_STC=0 2017-02-12 15:17:22 +02:00