X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..6b30ffedb18b86329fdc41ac1be27bc85bd758ff:/include/wx/cocoa/statbmp.h diff --git a/include/wx/cocoa/statbmp.h b/include/wx/cocoa/statbmp.h index c05365f2f7..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: 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 +46,9 @@ public: // ------------------------------------------------------------------------ // Cocoa specifics // ------------------------------------------------------------------------ + WX_NSImageView GetNSImageView() { return (WX_NSImageView)m_cocoaNSView; } + wxBitmap m_bitmap; + // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------