wxWidgets/samples
Vadim Zeitlin fcbf733155 Fix command line parsing in media player sample.
It was broken since the addition of the call to wxApp::OnInit() to
wxMediaPlayerApp::OnInit() -- as the base class parses the command line
itself, we need to use OnInitCmdLine() and OnCmdLineParsed() instead of doing
it manually if we call it.

Also don't load the play list saved in wxConfig if any command line parameters
were given as otherwise the saved files would be used first (this seems to
have been always broken...).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-02 00:16:12 +00:00
..
access Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
animate Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
artprov fixes #14178 2012-05-02 18:44:23 +00:00
aui Added support for page tooltips to wxAuiNotebook. 2012-04-16 12:12:26 +00:00
calendar Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
caret Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
clipboard Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
collpane Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
combo Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
config Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
console Avoid CRT deprecation warnings for MSVC build using makefiles too. 2012-02-07 21:38:31 +00:00
controls Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
dataview Added wxDataViewEvent::SetDragFlags() and GetDropEffect() methods. 2012-04-29 23:22:25 +00:00
debugrpt Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
dialogs Fix harmless warnings about hiding base class virtual in dialogs sample. 2012-04-28 22:24:50 +00:00
dialup Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
display Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
dll Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
dnd Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
docview Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
dragimag Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
drawing avoid using wxDC::Blit() and wxDC::GetPixel() on window that is being painted, results are unpredictable on wxGTK 2012-03-06 04:26:33 +00:00
erase Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
event Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
except Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
exec Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
flash Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
font Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
fswatcher Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
grid VC6 compilation fix for the grid sample. 2012-06-30 23:41:30 +00:00
help Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
htlbox Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
html Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
image Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
internat Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
ipc Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
joytest Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
keyboard Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
layout Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
listctrl Correct the test for wxHAS_IMAGES_IN_RESOURCES in listctrl sample. 2012-03-09 10:12:43 +00:00
mdi Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
mediaplayer Fix command line parsing in media player sample. 2012-07-02 00:16:12 +00:00
memcheck Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
menu Fix menu sample compilation under wxOSX. 2012-05-20 20:29:15 +00:00
mfc Avoid CRT deprecation warnings for MSVC build using makefiles too. 2012-02-07 21:38:31 +00:00
minimal Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
nativdlg Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
notebook Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
oleauto Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
opengl Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
ownerdrw Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
popup Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
power Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
printing Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
propgrid Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
regtest Add missing c_str() and similar calls to samples in STL build. 2012-06-20 17:54:42 +00:00
render Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
ribbon Add wxRibbonBar::DeletePage() and ClearPages() methods. 2012-06-30 16:33:18 +00:00
richtext Added pixel size capability to wxTextAttr and wxRichTextCtrl. 2012-05-20 12:25:22 +00:00
sashtest Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
scroll Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
shaped Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
sockets Fix wrong format specifiers in the samples. 2012-05-17 16:10:19 +00:00
sound Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
splash Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
splitter Added wxSplitterWindow::SetSashInvisible() and IsSashInvisible(). 2012-03-08 13:23:39 +00:00
statbar Update the field widths on demand in wxStatusBarGeneric. 2012-05-05 11:22:09 +00:00
stc Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
svg Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
taborder Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
taskbar Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
text Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
thread Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
toolbar Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
treectrl Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
treelist Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
typetest Don't use printf() with non-literal string as format. 2012-05-16 13:24:49 +00:00
uiaction Add missing c_str() and similar calls to samples in STL build. 2012-06-20 17:54:42 +00:00
validate Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
vscroll Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
webview Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
widgets Don't return NULL widget from wxFileCtrl page of widgets sample. 2012-05-04 22:20:59 +00:00
wizard Use /bin/echo for creation of Mac OS X PkgInfo files. 2012-02-28 22:48:39 +00:00
wrapsizer Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
xrc Create wxStaticBoxSizer elements as children of wxStaticBox in XRC. 2012-06-30 16:33:10 +00:00
xti Use wxHAS_IMAGES_IN_RESOURCES instead of explicit platform checks. 2012-03-04 00:28:58 +00:00
Info.plist Incremented the version number to 2.9.4 everywhere. 2011-12-16 22:12:49 +00:00
makefile.bcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.gcc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
Makefile.in
makefile.vc Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00:00
makefile.wat Rebake trunk after wxWebView merge and add missing project files for the wxWebView library. 2011-09-11 10:12:19 +00: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
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
samples.bkl Rename web library to webview. 2011-08-19 10:45:16 +00:00
samples.dsw Add missing samples to samples.dsw. 2010-05-27 17:07:30 +00:00