From 403aced8ed8e6e814f6979cc3d6988c7f731438d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 2 Jul 2001 15:19:03 +0000 Subject: [PATCH] missing WXDLLEXPORT_DATA added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/control.h | 2 +- include/wx/msw/control.h | 2 -- include/wx/msw/stattext.h | 2 -- include/wx/stattext.h | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/wx/control.h b/include/wx/control.h index 41dc31feb6..fb90b4dbef 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -24,7 +24,7 @@ #include "wx/window.h" // base class -extern const wxChar* wxControlNameStr; // the default name +WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr; // ---------------------------------------------------------------------------- // wxControl is the base class for all controls diff --git a/include/wx/msw/control.h b/include/wx/msw/control.h index 9ecbab3dfb..1c984d20b0 100644 --- a/include/wx/msw/control.h +++ b/include/wx/msw/control.h @@ -18,8 +18,6 @@ #include "wx/dynarray.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr; - // General item class class WXDLLEXPORT wxControl : public wxControlBase { diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index 8c67921fe8..781b5878ab 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -18,8 +18,6 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr; - class WXDLLEXPORT wxStaticText : public wxControl { DECLARE_DYNAMIC_CLASS(wxStaticText) diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 0f29f9834b..4df4158dc0 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -5,7 +5,7 @@ #include "wx/control.h" -extern const wxChar *wxStaticTextNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr; class WXDLLEXPORT wxStaticTextBase : public wxControl { -- 2.45.2