#endif
#include "wx/txtstrm.h"
+#include "wx/numdlg.h"
#include "wx/process.h"
// 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
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);