indentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1013,7 +1013,7 @@ void wxMediaPlayerFrame::DoPlayFile(const wxString& path)
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
if(currentpage->m_mediactrl->GetState() == wxMEDIASTATE_PLAYING)
|
if(currentpage->m_mediactrl->GetState() == wxMEDIASTATE_PLAYING)
|
||||||
{
|
{
|
||||||
if( !currentpage->m_mediactrl->Pause() )
|
if( !currentpage->m_mediactrl->Pause() )
|
||||||
wxMessageBox(wxT("Couldn't pause movie!"));
|
wxMessageBox(wxT("Couldn't pause movie!"));
|
||||||
}
|
}
|
||||||
@@ -1300,7 +1300,7 @@ void wxMediaPlayerFrame::OnChangeSong(wxListEvent& WXUNUSED(evt))
|
|||||||
wxListItem listitem;
|
wxListItem listitem;
|
||||||
currentpage->m_playlist->GetSelectedItem(listitem);
|
currentpage->m_playlist->GetSelectedItem(listitem);
|
||||||
if(listitem.GetData())
|
if(listitem.GetData())
|
||||||
DoPlayFile((*((wxString*) listitem.GetData())));
|
DoPlayFile((*((wxString*) listitem.GetData())));
|
||||||
else
|
else
|
||||||
wxMessageBox(wxT("No selected item!"));
|
wxMessageBox(wxT("No selected item!"));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user