missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5319
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the value for default argument to some functions (corresponds to
// wxDF_INVALID)
// the value for default argument to some functions (corresponds to
// wxDF_INVALID)
-extern const wxDataFormat& wxFormatInvalid;
+extern WXDLLEXPORT const wxDataFormat& wxFormatInvalid;
// ----------------------------------------------------------------------------
// wxDataObject represents a piece of data which knows which formats it
// ----------------------------------------------------------------------------
// wxDataObject represents a piece of data which knows which formats it
# define WXDLLEXPORT_CTORFN
# endif
# define WXDLLEXPORT_CTORFN
# endif
+#elif defined(__GNUC__)
+
+# ifdef WXMAKINGDLL
+# define WXDLLEXPORT __declspec( dllexport )
+# define WXDLLEXPORT_DATA(type) __declspec( dllexport ) type
+# define WXDLLEXPORT_CTORFN
+# elif defined(WXUSINGDLL)
+# define WXDLLEXPORT __declspec( dllimport )
+# define WXDLLEXPORT_DATA(type) __declspec( dllimport ) type
+# define WXDLLEXPORT_CTORFN
+# else
+# define WXDLLEXPORT
+# define WXDLLEXPORT_DATA(type) type
+# define WXDLLEXPORT_CTORFN
+# endif
+
#elif defined(__WXPM__)
# ifdef WXMAKINGDLL
#elif defined(__WXPM__)
# ifdef WXMAKINGDLL
class WXDLLEXPORT wxFontRefData;
class WXDLLEXPORT wxFontRefData;
-class wxFontBase : public wxGDIObject
+class WXDLLEXPORT wxFontBase : public wxGDIObject
{
public:
// creator function
{
public:
// creator function
#define WXGRID_DEFAULT_TOPEDIT_HEIGHT 60
#define WXGRID_DEFAULT_TOPEDIT_HEIGHT 60
+class WXDLLEXPORT wxGrid;
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
-class wxGrid : public wxPanel
+class WXDLLEXPORT wxGrid : public wxPanel
{
DECLARE_DYNAMIC_CLASS( wxGrid )
{
DECLARE_DYNAMIC_CLASS( wxGrid )
-class wxMemoryInputStream: public wxInputStream {
+class WXDLLEXPORT wxMemoryInputStream: public wxInputStream {
private:
size_t m_length;
private:
size_t m_length;
off_t OnSysTell() const;
};
off_t OnSysTell() const;
};
-class wxMemoryOutputStream: public wxOutputStream {
+class WXDLLEXPORT wxMemoryOutputStream: public wxOutputStream {
public:
wxMemoryOutputStream(char *data = NULL, size_t length = 0);
virtual ~wxMemoryOutputStream();
public:
wxMemoryOutputStream(char *data = NULL, size_t length = 0);
virtual ~wxMemoryOutputStream();
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
-class wxToolTip : public wxObject
+class WXDLLEXPORT wxToolTip : public wxObject