X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c4e8f384d7c9a2e1f31e9602917f2d1318de01f..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/cocoa/statbmp.h diff --git a/include/wx/cocoa/statbmp.h b/include/wx/cocoa/statbmp.h index df5866edcf..8b6874803f 100644 --- a/include/wx/cocoa/statbmp.h +++ b/include/wx/cocoa/statbmp.h @@ -12,12 +12,12 @@ #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 // ------------------------------------------------------------------------