#include "wx/icon.h"
#include "wx/bitmap.h"
-WXDLLEXPORT_DATA(extern const wxChar) wxStaticBitmapNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxStaticBitmapNameStr[];
// a control showing an icon or a bitmap
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
{
public:
wxStaticBitmap() { Init(); }
// vice versa
wxIcon GetIcon() const
{
- wxASSERT_MSG( m_isIcon, _T("no icon in this wxStaticBitmap") );
+ wxASSERT_MSG( m_isIcon, wxT("no icon in this wxStaticBitmap") );
return *(wxIcon *)m_image;
}
wxBitmap GetBitmap() const
{
- wxASSERT_MSG( !m_isIcon, _T("no bitmap in this wxStaticBitmap") );
+ wxASSERT_MSG( !m_isIcon, wxT("no bitmap in this wxStaticBitmap") );
return *(wxBitmap *)m_image;
}
private:
DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
- DECLARE_NO_COPY_CLASS(wxStaticBitmap)
+ wxDECLARE_NO_COPY_CLASS(wxStaticBitmap);
};
#endif