wxWidgets/samples
Vadim Zeitlin a788351eb6 Don't keep using invalid wxSound object in the sound sample.
If creating a sound object fails, delete it to ensure that it is recreated
later.

This fixes a minor bug: previously, if an invalid file was used as sound file,
only the first attempt to play it resulted in an error and all the subsequent
ones were just silently ignored. Now every attempt to play an invalid file
results in an error message, as expected.
2015-07-18 02:29:16 +02:00
..
access Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
animate Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
artprov Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
aui Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
calendar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
caret Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
clipboard Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
collpane Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
combo Fix invalid use of wxSizer flags in samples and utils. 2015-04-25 21:26:40 +04:00
config Fix typo in a comment in the previous commit. 2015-06-17 15:16:52 +02:00
console Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
controls Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dataview Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
debugrpt Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dialogs Fix invalid use of wxSizer flags in samples and utils. 2015-04-25 21:26:40 +04:00
dialup Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
display Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dll Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dnd Reduce height of frame in DND sample 2015-05-27 18:13:24 +04:00
docview Update outdated year references to 2015. 2015-04-30 16:11:30 +04:00
dragimag Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
drawing Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
erase Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
event Fixed wxAppConsole spelling in the comments. 2015-06-03 17:14:09 +03:00
except Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
exec Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
flash Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
font Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
fswatcher Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
grid Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
help Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
htlbox Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
html Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
image Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
internat Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
ipc Fix invalid use of wxSizer flags in samples and utils. 2015-04-25 21:26:40 +04:00
joytest Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
keyboard Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
layout Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
listctrl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mdi Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mediaplayer Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
memcheck Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
menu Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mfc Fix destruction of wxNativeContainerWindow in wxMSW. 2015-07-09 20:49:05 +02:00
minimal Remove WXWIN_OS_DESCRIPTION. 2015-05-22 02:29:49 +02:00
nativdlg Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
notebook Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
oleauto Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
opengl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
ownerdrw Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
popup Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
power Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
preferences Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
printing Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
propgrid Fix propgrid sample compilation. 2015-07-02 17:07:32 +02:00
regtest Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
render Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
ribbon Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
richtext Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
sashtest Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
scroll Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
shaped Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
sockets Use blocking sockets from non-main threads in wxProtocol. 2015-07-05 16:45:07 +02:00
sound Don't keep using invalid wxSound object in the sound sample. 2015-07-18 02:29:16 +02:00
splash Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
splitter Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
statbar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
stc Fixed more typos in the STC sample. 2015-06-08 01:16:51 +02:00
svg Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
taborder Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
taskbar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
taskbarbutton Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
text Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
thread Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
toolbar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
treectrl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
treelist Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
typetest Removed memory leak in the typetest sample. 2015-06-22 13:36:31 +02:00
uiaction Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
validate Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
vscroll Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
webview Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
widgets Check for wxUSE_ACTIVITYINDICATOR in the widgets sample. 2015-07-17 14:40:11 +02:00
wizard Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
wrapsizer Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
xrc Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
xti Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
Info.plist Update outdated year references to 2015. 2015-04-30 16:11:30 +04: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 Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
Makefile.in Add distclean target to samples/Makefile. 2012-11-01 17:14:59 +00:00
makefile.vc Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
sample_os2.ico Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.ico
sample.r
sample.rc Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sample.rc4 Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.rcO Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
samples.bkl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00