]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/exec/exec.cpp
Misc. corrections
[wxWidgets.git] / samples / exec / exec.cpp
index 63fec8e39f58ebe815b14b49d0bb50d6cea0f350..d09f94e5c383d81e3aed07d01d5b999de16f54ce 100644 (file)
@@ -83,7 +83,7 @@ public:
 
 // Define an array of process pointers used by MyFrame
 class MyPipedProcess;
-WX_DEFINE_ARRAY(MyPipedProcess *, MyProcessesArray);
+WX_DEFINE_ARRAY_NO_PTR(MyPipedProcess *, MyProcessesArray);
 
 // Define a new frame type: this is going to be our main frame
 class MyFrame : public wxFrame
@@ -202,7 +202,7 @@ protected:
 
     void DoSend()
     {
-        m_out.WriteString(m_textIn->GetValue() + '\n');
+        m_out.WriteString(m_textIn->GetValue() + _T('\n'));
         m_textIn->Clear();
 
         DoGet();