]> git.saurik.com Git - wxWidgets.git/commitdiff
Order of initializations according to class construction.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 5 Aug 2004 14:29:55 +0000 (14:29 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 5 Aug 2004 14:29:55 +0000 (14:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/exec/exec.cpp

index 2ff98f261010c819373003a36b7f9e8e2e7e2d77..3ee7e3b60e7b7571df452c679fded09e910f1a87 100644 (file)
@@ -1053,9 +1053,9 @@ MyPipeFrame::MyPipeFrame(wxFrame *parent,
            : wxFrame(parent, wxID_ANY, cmd),
              m_process(process),
              // in a real program we'd check that the streams are !NULL here
+             m_out(*process->GetOutputStream()),
              m_in(*process->GetInputStream()),
-             m_err(*process->GetErrorStream()),
-             m_out(*process->GetOutputStream())
+             m_err(*process->GetErrorStream())
 {
     m_process->SetNextHandler(this);