From f6def1fae7f76d4fe352c641ead088b2cb95e91d Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 5 Aug 2004 14:29:55 +0000 Subject: [PATCH] Order of initializations according to class construction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/exec/exec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 2ff98f2610..3ee7e3b60e 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -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); -- 2.45.2