// Created: 20.11.99
// RCS-ID: $Id$
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// NB: this is a private header, it is not intended to be directly included by
#ifndef _WX_MSW_GDIIMAGE_H_
#define _WX_MSW_GDIIMAGE_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "gdiimage.h"
#endif
class WXDLLEXPORT wxGDIImageHandler;
class WXDLLEXPORT wxGDIImage;
-WX_DECLARE_LIST(wxGDIImageHandler, wxGDIImageHandlerList);
+WX_DECLARE_EXPORTED_LIST(wxGDIImageHandler, wxGDIImageHandlerList);
// ----------------------------------------------------------------------------
// wxGDIImageRefData: common data fields for all derived classes
m_width = m_height = m_depth = 0;
m_handle = 0;
-
-#if WXWIN_COMPATIBILITY_2
- m_ok = FALSE;
-#endif // WXWIN_COMPATIBILITY_2
}
// accessors
WXHICON m_hIcon;
WXHCURSOR m_hCursor;
};
-
- // this filed is redundant and using it is error prone but keep it for
- // backwards compatibility
-#if WXWIN_COMPATIBILITY_2
- void SetOk() { m_ok = m_handle != 0; }
-
- bool m_ok;
-#endif // WXWIN_COMPATIBILITY_2
};
// ----------------------------------------------------------------------------