//
// IMPLEMENT_APP does this, and also implements the platform-specific entry
// routine, such as main or WinMain(). Use IMPLEMENT_APP_NO_MAIN if you do
//
// IMPLEMENT_APP does this, and also implements the platform-specific entry
// routine, such as main or WinMain(). Use IMPLEMENT_APP_NO_MAIN if you do
// ----------------------------------------------------------------------------
IMPLEMENT_APP(wxMediaPlayerApp)
// ----------------------------------------------------------------------------
IMPLEMENT_APP(wxMediaPlayerApp)
- // Called when a user drags a file over our app
- m_frame->DoOpenFile(fileName, true /* new page */);
+ // Called when a user drags files over our app
+ m_frame->DoOpenFile(fileNames[0], true /* new page */);
wxT("Select a backend manually"));
helpMenu->Append(wxID_ABOUT,
wxT("Select a backend manually"));
helpMenu->Append(wxID_ABOUT,