use more WXDLLIMPEXP_FWD declarations instead of WXDLLIMPEXP (patch from Tim Stahlhut)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-16 12:56:37 +00:00
parent 0a585911c0
commit 0593dff688
4 changed files with 14 additions and 14 deletions

View File

@@ -224,10 +224,10 @@ typedef enum
// All functions return an indication of success, failure, or not implemented. // All functions return an indication of success, failure, or not implemented.
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
class WXDLLEXPORT wxAccessible; class WXDLLIMPEXP_FWD_CORE wxAccessible;
class WXDLLEXPORT wxWindow; class WXDLLIMPEXP_FWD_CORE wxWindow;
class WXDLLEXPORT wxPoint; class WXDLLIMPEXP_FWD_CORE wxPoint;
class WXDLLEXPORT wxRect; class WXDLLIMPEXP_FWD_CORE wxRect;
class WXDLLEXPORT wxAccessibleBase : public wxObject class WXDLLEXPORT wxAccessibleBase : public wxObject
{ {
DECLARE_NO_COPY_CLASS(wxAccessibleBase) DECLARE_NO_COPY_CLASS(wxAccessibleBase)

View File

@@ -858,7 +858,7 @@ private:
// this sizer works with wxNotebook/wxListbook/... and sizes the control to // this sizer works with wxNotebook/wxListbook/... and sizes the control to
// fit its pages // fit its pages
class WXDLLEXPORT wxBookCtrlBase; class WXDLLIMPEXP_FWD_CORE wxBookCtrlBase;
class WXDLLEXPORT wxBookCtrlSizer : public wxSizer class WXDLLEXPORT wxBookCtrlSizer : public wxSizer
{ {
@@ -889,7 +889,7 @@ private:
// before wxBookCtrlBase we only had wxNotebookSizer, keep it for backwards // before wxBookCtrlBase we only had wxNotebookSizer, keep it for backwards
// compatibility // compatibility
class WXDLLEXPORT wxNotebook; class WXDLLIMPEXP_FWD_CORE wxNotebook;
class WXDLLEXPORT wxNotebookSizer : public wxBookCtrlSizer class WXDLLEXPORT wxNotebookSizer : public wxBookCtrlSizer
{ {

View File

@@ -15,9 +15,9 @@
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/artprov.h" #include "wx/artprov.h"
class WXDLLEXPORT wxListCtrl; class WXDLLIMPEXP_FWD_CORE wxListCtrl;
class WXDLLEXPORT wxListEvent; class WXDLLIMPEXP_FWD_CORE wxListEvent;
class WXDLLEXPORT wxStaticBitmap; class WXDLLIMPEXP_FWD_CORE wxStaticBitmap;
class wxArtBrowserDialog : public wxDialog class wxArtBrowserDialog : public wxDialog
{ {

View File

@@ -42,11 +42,11 @@
#define USE_ICONS_IN_BOOK 1 #define USE_ICONS_IN_BOOK 1
#endif #endif
class WXDLLEXPORT wxCheckBox; class WXDLLIMPEXP_FWD_CORE wxCheckBox;
class WXDLLEXPORT wxSizer; class WXDLLIMPEXP_FWD_CORE wxSizer;
class WXDLLEXPORT wxImageList; class WXDLLIMPEXP_FWD_CORE wxImageList;
class WXDLLEXPORT wxTextCtrl; class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
class WXDLLEXPORT WidgetsBookCtrl; class WXDLLIMPEXP_FWD_CORE WidgetsBookCtrl;
class WidgetsPageInfo; class WidgetsPageInfo;