diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index c265104c7b..83d55134ea 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -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