)
{
if(currentpage->m_mediactrl->GetState() == wxMEDIASTATE_PLAYING)
- {
+ {
if( !currentpage->m_mediactrl->Pause() )
wxMessageBox(wxT("Couldn't pause movie!"));
}
wxListItem listitem;
currentpage->m_playlist->GetSelectedItem(listitem);
if(listitem.GetData())
- DoPlayFile((*((wxString*) listitem.GetData())));
+ DoPlayFile((*((wxString*) listitem.GetData())));
else
wxMessageBox(wxT("No selected item!"));
}
| wxSUNKEN_BORDER);
// Set the background of our listctrl to white
- m_playlist->SetBackgroundColour(wxColour(255,255,255));
+ m_playlist->SetBackgroundColour(*wxWHITE);
// The layout of the headers of the listctrl are like
// | | File | Length