From 38d6b9572cbe98fffe90340396b0e4c43a7fffef Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Thu, 23 Oct 2003 21:38:31 +0000 Subject: [PATCH] Compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/regtest/regtest.cpp | 2 +- samples/thread/thread.cpp | 2 +- samples/widgets/widgets.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index d9fdca92ef..14aea1e9b1 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -104,7 +104,7 @@ private: // structure describing a registry key/value class TreeNode : public wxTreeItemData { - WX_DEFINE_ARRAY_NO_PTR(TreeNode *, TreeChildren); + WX_DEFINE_ARRAY_PTR(TreeNode *, TreeChildren); public: RegTreeCtrl *m_pTree; // must be !NULL TreeNode *m_pParent; // NULL only for the root node diff --git a/samples/thread/thread.cpp b/samples/thread/thread.cpp index 06c569c1cf..e4e71d0928 100644 --- a/samples/thread/thread.cpp +++ b/samples/thread/thread.cpp @@ -39,7 +39,7 @@ #endif class MyThread; -WX_DEFINE_ARRAY_NO_PTR(wxThread *, wxArrayThread); +WX_DEFINE_ARRAY_PTR(wxThread *, wxArrayThread); // Define a new application type class MyApp : public wxApp diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index e9aed3c767..3be3895905 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -164,7 +164,7 @@ private: }; // array of pages -WX_DEFINE_ARRAY_NO_PTR(WidgetsPage *, ArrayWidgetsPage); +WX_DEFINE_ARRAY_PTR(WidgetsPage *, ArrayWidgetsPage); // ---------------------------------------------------------------------------- // misc macros -- 2.47.2