From a805142d9389f22e9e44294515613274370ab790 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Tue, 28 Oct 2008 15:03:37 +0000 Subject: [PATCH] move wxVListBoxNameStr into vlbox.cpp source file (as for all other wxWidgets *NameStr git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/vlbox.h | 3 +-- src/generic/vlbox.cpp | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index f4b2e945bf..50d7472888 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -16,8 +16,7 @@ #include "wx/bitmap.h" class WXDLLIMPEXP_FWD_CORE wxSelectionStore; - -#define wxVListBoxNameStr _T("wxVListBox") +extern WXDLLIMPEXP_DATA_CORE(const char) wxVListBoxNameStr[]; // ---------------------------------------------------------------------------- // wxVListBox diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index 04ad587675..861dc0dc6f 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -60,6 +60,7 @@ END_EVENT_TABLE() // ============================================================================ IMPLEMENT_ABSTRACT_CLASS(wxVListBox, wxVScrolledWindow) +const char wxVListBoxNameStr[] = "wxVListBox"; // ---------------------------------------------------------------------------- // wxVListBox creation