// 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
# 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
class WXDLLEXPORT wxFontRefData;
-class wxFontBase : public wxGDIObject
+class WXDLLEXPORT wxFontBase : public wxGDIObject
{
public:
// creator function
#define WXGRID_DEFAULT_TOPEDIT_HEIGHT 60
-class wxGrid;
+class WXDLLEXPORT wxGrid;
//////////////////////////////////////////////////////////////////////
};
-class wxGrid : public wxPanel
+class WXDLLEXPORT wxGrid : public wxPanel
{
DECLARE_DYNAMIC_CLASS( wxGrid )
#if wxUSE_STREAMS
-class wxMemoryInputStream: public wxInputStream {
+class WXDLLEXPORT wxMemoryInputStream: public wxInputStream {
private:
size_t m_length;
off_t OnSysTell() const;
};
-class wxMemoryOutputStream: public wxOutputStream {
+class WXDLLEXPORT wxMemoryOutputStream: public wxOutputStream {
public:
wxMemoryOutputStream(char *data = NULL, size_t length = 0);
virtual ~wxMemoryOutputStream();
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
-class wxToolTip : public wxObject
+class WXDLLEXPORT wxToolTip : public wxObject
{
public:
// ctor & dtor