X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..7d3f6b4ded6aa412cb1cc306fef478955d448c5b:/include/wx/palmos/statbmp.h?ds=sidebyside diff --git a/include/wx/palmos/statbmp.h b/include/wx/palmos/statbmp.h index 0e130aeec9..3511309423 100644 --- a/include/wx/palmos/statbmp.h +++ b/include/wx/palmos/statbmp.h @@ -12,18 +12,14 @@ #ifndef _WX_STATBMP_H_ #define _WX_STATBMP_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "statbmp.h" -#endif - #include "wx/control.h" #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(); } @@ -58,14 +54,14 @@ public: // 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; } @@ -97,7 +93,7 @@ protected: private: DECLARE_DYNAMIC_CLASS(wxStaticBitmap) - DECLARE_NO_COPY_CLASS(wxStaticBitmap) + wxDECLARE_NO_COPY_CLASS(wxStaticBitmap); }; #endif