]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/exec/exec.cpp
applied patch 890642: wxRE_ADVANCED flag and docs
[wxWidgets.git] / samples / exec / exec.cpp
index 50f2a1acb3996dd05eec1bda08ee9443a40c6cae..83d55134ea9207318fbc837905cb4b26587a2983 100644 (file)
@@ -83,7 +83,7 @@ public:
 
 // Define an array of process pointers used by MyFrame
 class MyPipedProcess;
-WX_DEFINE_ARRAY_NO_PTR(MyPipedProcess *, MyProcessesArray);
+WX_DEFINE_ARRAY_PTR(MyPipedProcess *, MyProcessesArray);
 
 // Define a new frame type: this is going to be our main frame
 class MyFrame : public wxFrame
@@ -192,9 +192,9 @@ public:
                 wxProcess *process);
 
 protected:
-    void OnTextEnter(wxCommandEvent& event) { DoSend(); }
-    void OnBtnSend(wxCommandEvent& event) { DoSend(); }
-    void OnBtnGet(wxCommandEvent& event) { DoGet(); }
+    void OnTextEnter(wxCommandEvent& WXUNUSED(event)) { DoSend(); }
+    void OnBtnSend(wxCommandEvent& WXUNUSED(event)) { DoSend(); }
+    void OnBtnGet(wxCommandEvent& WXUNUSED(event)) { DoGet(); }
 
     void OnClose(wxCloseEvent& event);