use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT to avoid newer mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#ifndef _WX_ACCEL_H_
|
||||
#define _WX_ACCEL_H_
|
||||
|
||||
class WXDLLIMPEXP_CORE wxWindow;
|
||||
class WXDLLIMPEXP_FWD_CORE wxWindow;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the accel table has all accelerators for a given window or menu
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#include "wx/gdiobj.h"
|
||||
#include "wx/bitmap.h"
|
||||
|
||||
class WXDLLEXPORT wxBrush;
|
||||
class WXDLLIMPEXP_FWD_CORE wxBrush;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxBrush
|
||||
|
@@ -24,7 +24,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// this one if used by wxPaintDC only
|
||||
struct WXDLLEXPORT wxPaintDCInfo;
|
||||
struct WXDLLIMPEXP_FWD_CORE wxPaintDCInfo;
|
||||
|
||||
WX_DECLARE_EXPORTED_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
|
||||
|
||||
|
@@ -38,8 +38,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class WXDLLIMPEXP_BASE wxDDEServer;
|
||||
class WXDLLIMPEXP_BASE wxDDEClient;
|
||||
class WXDLLIMPEXP_FWD_BASE wxDDEServer;
|
||||
class WXDLLIMPEXP_FWD_BASE wxDDEClient;
|
||||
|
||||
class WXDLLIMPEXP_BASE wxDDEConnection: public wxConnectionBase
|
||||
{
|
||||
|
@@ -16,10 +16,10 @@
|
||||
|
||||
extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[];
|
||||
|
||||
class WXDLLEXPORT wxDialogModalData;
|
||||
class WXDLLIMPEXP_FWD_CORE wxDialogModalData;
|
||||
|
||||
#if wxUSE_TOOLBAR && (defined(__SMARTPHONE__) || defined(__POCKETPC__))
|
||||
class WXDLLEXPORT wxToolBar;
|
||||
class WXDLLIMPEXP_FWD_CORE wxToolBar;
|
||||
extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[];
|
||||
#endif
|
||||
|
||||
|
@@ -20,9 +20,9 @@
|
||||
#include "wx/gdicmn.h" // wxBITMAP_TYPE_INVALID
|
||||
#include "wx/list.h"
|
||||
|
||||
class WXDLLEXPORT wxGDIImageRefData;
|
||||
class WXDLLEXPORT wxGDIImageHandler;
|
||||
class WXDLLEXPORT wxGDIImage;
|
||||
class WXDLLIMPEXP_FWD_CORE wxGDIImageRefData;
|
||||
class WXDLLIMPEXP_FWD_CORE wxGDIImageHandler;
|
||||
class WXDLLIMPEXP_FWD_CORE wxGDIImage;
|
||||
|
||||
WX_DECLARE_EXPORTED_LIST(wxGDIImageHandler, wxGDIImageHandlerList);
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
||||
class WXDLLIMPEXP_GL wxGLCanvas; /* forward reference */
|
||||
class WXDLLIMPEXP_FWD_GL wxGLCanvas; /* forward reference */
|
||||
|
||||
class WXDLLIMPEXP_GL wxGLContext: public wxObject
|
||||
{
|
||||
|
@@ -16,8 +16,8 @@
|
||||
|
||||
extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[];
|
||||
|
||||
class WXDLLEXPORT wxMDIClientWindow;
|
||||
class WXDLLEXPORT wxMDIChildFrame;
|
||||
class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
|
||||
class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// wxMDIParentFrame
|
||||
@@ -111,7 +111,7 @@ protected:
|
||||
bool m_parentFrameActive;
|
||||
|
||||
private:
|
||||
friend class WXDLLEXPORT wxMDIChildFrame;
|
||||
friend class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
|
||||
|
@@ -14,11 +14,11 @@
|
||||
|
||||
#include "wx/gdiobj.h"
|
||||
|
||||
class WXDLLEXPORT wxPalette;
|
||||
class WXDLLIMPEXP_FWD_CORE wxPalette;
|
||||
|
||||
class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
|
||||
{
|
||||
friend class WXDLLEXPORT wxPalette;
|
||||
friend class WXDLLIMPEXP_FWD_CORE wxPalette;
|
||||
public:
|
||||
wxPaletteRefData(void);
|
||||
virtual ~wxPaletteRefData(void);
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
typedef WXDWORD wxMSWDash;
|
||||
|
||||
class WXDLLEXPORT wxPen;
|
||||
class WXDLLIMPEXP_FWD_CORE wxPen;
|
||||
|
||||
// VZ: this class should be made private
|
||||
class WXDLLEXPORT wxPenRefData : public wxGDIRefData
|
||||
@@ -54,7 +54,7 @@ protected:
|
||||
WXHPEN m_hPen;
|
||||
|
||||
private:
|
||||
friend class WXDLLEXPORT wxPen;
|
||||
friend class WXDLLIMPEXP_FWD_CORE wxPen;
|
||||
|
||||
// Cannot use
|
||||
// DECLARE_NO_COPY_CLASS(wxPenRefData)
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "wx/statbox.h"
|
||||
|
||||
class WXDLLEXPORT wxSubwindows;
|
||||
class WXDLLIMPEXP_FWD_CORE wxSubwindows;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxRadioBox
|
||||
|
@@ -52,7 +52,7 @@ protected:
|
||||
virtual bool DoOffset(wxCoord x, wxCoord y);
|
||||
virtual bool DoCombine(const wxRegion& region, wxRegionOp op);
|
||||
|
||||
friend class WXDLLEXPORT wxRegionIterator;
|
||||
friend class WXDLLIMPEXP_FWD_CORE wxRegionIterator;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxRegion)
|
||||
};
|
||||
|
@@ -12,7 +12,7 @@
|
||||
#ifndef _WX_SLIDER95_H_
|
||||
#define _WX_SLIDER95_H_
|
||||
|
||||
class WXDLLEXPORT wxSubwindows;
|
||||
class WXDLLIMPEXP_FWD_CORE wxSubwindows;
|
||||
|
||||
// Slider
|
||||
class WXDLLEXPORT wxSlider : public wxSliderBase
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "wx/dynarray.h"
|
||||
|
||||
class WXDLLEXPORT wxSpinCtrl;
|
||||
class WXDLLIMPEXP_FWD_CORE wxSpinCtrl;
|
||||
WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#include "wx/icon.h"
|
||||
|
||||
// private helper class:
|
||||
class WXDLLIMPEXP_ADV wxTaskBarIconWindow;
|
||||
class WXDLLIMPEXP_FWD_ADV wxTaskBarIconWindow;
|
||||
|
||||
class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
|
||||
{
|
||||
|
Reference in New Issue
Block a user