[1231183] 'cleanup: mismatched indentation' and other cleanings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-07-22 17:56:31 +00:00
parent 92218ce600
commit bfd84575a2
3 changed files with 16 additions and 11 deletions

View File

@@ -399,7 +399,7 @@ MyFrame::MyFrame(const wxString& title)
//
// Or, you can use the new (2.5.5+) event handler
// conversion macros - for instance the above could
// be done as
// be done as
// wxCommandEventHandler(MyFrame::MyHandler)
// pretty simple, eh?
//
@@ -803,9 +803,10 @@ void MyFrame::OnPageChange(wxNotebookEvent& WXUNUSED(event))
void MyTimer::Notify()
{
if (!m_frame->m_notebook->GetCurrentPage()) return;
wxMediaCtrl* m_mediactrl = ((MyNotebookPage*)m_frame->m_notebook->GetCurrentPage())->m_mediactrl;
wxSlider* m_slider = ((MyNotebookPage*)m_frame->m_notebook->GetCurrentPage())->m_slider;
if (!m_mediactrl) return;
wxMediaCtrl* m_mediactrl = ((MyNotebookPage*)m_frame->m_notebook->GetCurrentPage())->m_mediactrl;
wxSlider* m_slider = ((MyNotebookPage*)m_frame->m_notebook->GetCurrentPage())->m_slider;
if (!m_mediactrl) return;
long lPosition = (long)( m_mediactrl->Tell() / 1000 );
m_slider->SetValue(lPosition);