From: Václav Slavík Date: Thu, 15 Jul 2004 20:51:44 +0000 (+0000) Subject: DLL export fixes (patch 991760) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/446e5259d796ee4428ed90b5943c76df032095be?ds=inline DLL export fixes (patch 991760) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dde.h b/include/wx/dde.h index 0fb35acc07..0f8ebbfe15 100644 --- a/include/wx/dde.h +++ b/include/wx/dde.h @@ -3,9 +3,9 @@ #include "wx/list.h" -class wxDDEClient; -class wxDDEServer; -class wxDDEConnection; +class WXDLLIMPEXP_BASE wxDDEClient; +class WXDLLIMPEXP_BASE wxDDEServer; +class WXDLLIMPEXP_BASE wxDDEConnection; WX_DECLARE_USER_EXPORTED_LIST(wxDDEClient, wxDDEClientList, WXDLLIMPEXP_BASE); WX_DECLARE_USER_EXPORTED_LIST(wxDDEServer, wxDDEServerList, WXDLLIMPEXP_BASE); diff --git a/include/wx/filesys.h b/include/wx/filesys.h index f98a261ea7..6625b40bb8 100644 --- a/include/wx/filesys.h +++ b/include/wx/filesys.h @@ -30,9 +30,9 @@ #include "wx/datetime.h" #include "wx/filename.h" -class wxFSFile; -class wxFileSystemHandler; -class wxFileSystem; +class WXDLLIMPEXP_BASE wxFSFile; +class WXDLLIMPEXP_BASE wxFileSystemHandler; +class WXDLLIMPEXP_BASE wxFileSystem; //-------------------------------------------------------------------------------- // wxFSFile diff --git a/include/wx/geometry.h b/include/wx/geometry.h index 18fa889e1b..98f0453799 100644 --- a/include/wx/geometry.h +++ b/include/wx/geometry.h @@ -36,8 +36,8 @@ #define wxMulDivInt32( a , b , c ) ((wxInt32)((a)*(((wxDouble)b)/((wxDouble)c)))) #endif -class wxDataInputStream; -class wxDataOutputStream; +class WXDLLIMPEXP_BASE wxDataInputStream; +class WXDLLIMPEXP_BASE wxDataOutputStream; // clipping from Cohen-Sutherland diff --git a/include/wx/list.h b/include/wx/list.h index dd16e615b5..c4e483ecd7 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -371,7 +371,7 @@ private: // a double-linked list class // ----------------------------------------------------------------------------- -class wxList; +class WXDLLIMPEXP_BASE wxList; class WXDLLIMPEXP_BASE wxListBase : public wxObject { diff --git a/include/wx/module.h b/include/wx/module.h index f21da18583..b67e426401 100644 --- a/include/wx/module.h +++ b/include/wx/module.h @@ -20,7 +20,7 @@ #include "wx/list.h" // declare a linked list of modules -class wxModule; +class WXDLLIMPEXP_BASE wxModule; WX_DECLARE_USER_EXPORTED_LIST(wxModule, wxModuleList, WXDLLIMPEXP_BASE); // declaring a class derived from wxModule will automatically create an diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index f1c58c0979..f17e4a394c 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -32,7 +32,7 @@ #endif // wxUSE_OWNER_DRAWN // forward decl for GetSelections() -class wxArrayInt; +class WXDLLIMPEXP_BASE wxArrayInt; // ---------------------------------------------------------------------------- // List box control diff --git a/include/wx/msw/tabctrl.h b/include/wx/msw/tabctrl.h index 90528e05c3..5d8901e2ec 100644 --- a/include/wx/msw/tabctrl.h +++ b/include/wx/msw/tabctrl.h @@ -16,7 +16,7 @@ #pragma interface "tabctrl.h" #endif -class wxImageList; +class WXDLLIMPEXP_CORE wxImageList; // WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr; diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 665a26b5dd..f1dbcdf465 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -26,9 +26,9 @@ // classes //--------------------------------------------------------------------------- -class wxSizerItem; -class wxSizer; -class wxBoxSizer; +class WXDLLEXPORT wxSizerItem; +class WXDLLEXPORT wxSizer; +class WXDLLEXPORT wxBoxSizer; //--------------------------------------------------------------------------- // wxSizerItem