X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..6b30ffedb18b86329fdc41ac1be27bc85bd758ff:/include/wx/cocoa/statbmp.h?ds=sidebyside diff --git a/include/wx/cocoa/statbmp.h b/include/wx/cocoa/statbmp.h index 31cb7b143d..8b6874803f 100644 --- a/include/wx/cocoa/statbmp.h +++ b/include/wx/cocoa/statbmp.h @@ -4,20 +4,20 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_STATBMP_H__ #define __WX_COCOA_STATBMP_H__ -// #include "wx/cocoa/NSxxx.h" +DECLARE_WXCOCOA_OBJC_CLASS(NSImageView); // ======================================================================== // wxStaticBitmap // ======================================================================== -class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase //, protected wxCocoaNSxxx +class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase //, protected wxCocoaNSxxx { DECLARE_DYNAMIC_CLASS(wxStaticBitmap) DECLARE_EVENT_TABLE() @@ -46,6 +46,9 @@ public: // ------------------------------------------------------------------------ // Cocoa specifics // ------------------------------------------------------------------------ + WX_NSImageView GetNSImageView() { return (WX_NSImageView)m_cocoaNSView; } + wxBitmap m_bitmap; + // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------