X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/cocoa/statbmp.h diff --git a/include/wx/cocoa/statbmp.h b/include/wx/cocoa/statbmp.h index c05365f2f7..f06b129d9f 100644 --- a/include/wx/cocoa/statbmp.h +++ b/include/wx/cocoa/statbmp.h @@ -4,20 +4,19 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets 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 +45,9 @@ public: // ------------------------------------------------------------------------ // Cocoa specifics // ------------------------------------------------------------------------ + WX_NSImageView GetNSImageView() { return (WX_NSImageView)m_cocoaNSView; } + wxBitmap m_bitmap; + // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------