git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2774
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// ----------------------------------------------------------------------------
#define _WX_DEFINE_ARRAY(T, name) \
typedef int (CMPFUNC_CONV *CMPFUNC##T)(T *pItem1, T *pItem2); \
// ----------------------------------------------------------------------------
#define _WX_DEFINE_ARRAY(T, name) \
typedef int (CMPFUNC_CONV *CMPFUNC##T)(T *pItem1, T *pItem2); \
-class WXDLLEXPORTLOCAL name : public wxBaseArray \
+class WXDLLEXPORT name : public wxBaseArray \
// ----------------------------------------------------------------------------
#define _WX_DEFINE_SORTED_ARRAY(T, name) \
typedef int (CMPFUNC_CONV *SCMPFUNC##T)(T pItem1, T pItem2); \
// ----------------------------------------------------------------------------
#define _WX_DEFINE_SORTED_ARRAY(T, name) \
typedef int (CMPFUNC_CONV *SCMPFUNC##T)(T pItem1, T pItem2); \
-class WXDLLEXPORTLOCAL name : public wxBaseArray \
+class WXDLLEXPORT name : public wxBaseArray \
{ \
public: \
name(SCMPFUNC##T fn) \
{ \
public: \
name(SCMPFUNC##T fn) \
// ----------------------------------------------------------------------------
#define _WX_DECLARE_OBJARRAY(T, name) \
typedef int (CMPFUNC_CONV *CMPFUNC##T)(T** pItem1, T** pItem2); \
// ----------------------------------------------------------------------------
#define _WX_DECLARE_OBJARRAY(T, name) \
typedef int (CMPFUNC_CONV *CMPFUNC##T)(T** pItem1, T** pItem2); \
-class WXDLLEXPORTLOCAL name : public wxBaseArray \
+class WXDLLEXPORT name : public wxBaseArray \
{ \
public: \
name() { } \
{ \
public: \
name() { } \
// # overhead if not used?
// ----------------------------------------------------------------------------
// # overhead if not used?
// ----------------------------------------------------------------------------
-#define WXDLLEXPORTLOCAL WXDLLEXPORT
-
//@{
/** @name ArrayInt */
WX_DEFINE_ARRAY(int, wxArrayInt);
//@{
/** @name ArrayInt */
WX_DEFINE_ARRAY(int, wxArrayInt);
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL
-
// -----------------------------------------------------------------------------
// convinience macros
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// convinience macros
// -----------------------------------------------------------------------------
// this one if used by wxPaintDC only
struct WXDLLEXPORT wxPaintDCInfo;
// this one if used by wxPaintDC only
struct WXDLLEXPORT wxPaintDCInfo;
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL WXDLLEXPORT
WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
WX_DECLARE_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL
// ----------------------------------------------------------------------------
// DC classes
// ----------------------------------------------------------------------------
// DC classes
// define the array of list box items
#include <wx/dynarray.h>
// define the array of list box items
#include <wx/dynarray.h>
- #undef WXDLLEXPORTLOCAL
- #define WXDLLEXPORTLOCAL WXDLLEXPORT
WX_DEFINE_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray);
WX_DEFINE_ARRAY(wxOwnerDrawn *, wxListBoxItemsArray);
- #undef WXDLLEXPORTLOCAL
- #define WXDLLEXPORTLOCAL
// array of notebook pages
typedef wxWindow WXDLLEXPORT wxNotebookPage; // so far, any window can be a page
// array of notebook pages
typedef wxWindow WXDLLEXPORT wxNotebookPage; // so far, any window can be a page
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL WXDLLEXPORT
-
WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayPages);
WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayPages);
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL
-
// ----------------------------------------------------------------------------
// wxNotebook
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxNotebook
// ----------------------------------------------------------------------------