From 4460b6c48b0a4b12b30ea22072ef3262db1f5c3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 4 Jul 2003 18:18:11 +0000 Subject: [PATCH] fixed compilation of multilib dll git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/helpdata.h | 3 ++- include/wx/mimetype.h | 3 ++- include/wx/module.h | 2 +- src/html/htmlwin.cpp | 2 +- src/html/m_layout.cpp | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/include/wx/html/helpdata.h b/include/wx/html/helpdata.h index 21719640c7..ee861f43e2 100644 --- a/include/wx/html/helpdata.h +++ b/include/wx/html/helpdata.h @@ -77,7 +77,8 @@ protected: }; -WX_DECLARE_EXPORTED_OBJARRAY(wxHtmlBookRecord, wxHtmlBookRecArray); +WX_DECLARE_USER_EXPORTED_OBJARRAY(wxHtmlBookRecord, wxHtmlBookRecArray, + WXDLLIMPEXP_HTML); struct wxHtmlContentsItem diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index f7cab60e83..f332faf641 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -149,7 +149,8 @@ private: #endif // 0 }; -WX_DECLARE_EXPORTED_OBJARRAY(wxFileTypeInfo, wxArrayFileTypeInfo); +WX_DECLARE_USER_EXPORTED_OBJARRAY(wxFileTypeInfo, wxArrayFileTypeInfo, + WXDLLIMPEXP_BASE); // ---------------------------------------------------------------------------- // wxFileType: gives access to all information about the files of given type. diff --git a/include/wx/module.h b/include/wx/module.h index 181dff1e29..bbdfd7a428 100644 --- a/include/wx/module.h +++ b/include/wx/module.h @@ -21,7 +21,7 @@ // declare a linked list of modules class wxModule; -WX_DECLARE_EXPORTED_LIST(wxModule, wxModuleList); +WX_DECLARE_USER_EXPORTED_LIST(wxModule, wxModuleList, WXDLLIMPEXP_BASE); // declaring a class derived from wxModule will automatically create an // instance of this class on program startup, call its OnInit() method and call diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 6b6dc54236..6120a8b7ba 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -120,7 +120,7 @@ void wxHtmlWinAutoScrollTimer::Notify() //----------------------------------------------------------------------------- // item of history list -class WXDLLEXPORT wxHtmlHistoryItem +class WXDLLIMPEXP_HTML wxHtmlHistoryItem { public: wxHtmlHistoryItem(const wxString& p, const wxString& a) {m_Page = p, m_Anchor = a, m_Pos = 0;} diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 78424023c8..b524a9db1c 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -66,7 +66,7 @@ FORCE_LINK_ME(m_layout) // array wxHtmlPrintout::m_PageBreaks of pagebreaks already set, and // set a new one only if it's not in that array. -class WXDLLEXPORT wxHtmlPageBreakCell : public wxHtmlCell +class wxHtmlPageBreakCell : public wxHtmlCell { public: wxHtmlPageBreakCell() {} -- 2.47.2