X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c24e7adf051b2b522bcfc70d3ca70b07c206275..86408a0374b40187afaecd6e28ed66dad06de102:/include/wx/os2/dcmemory.h diff --git a/include/wx/os2/dcmemory.h b/include/wx/os2/dcmemory.h index 194157da9e..a67943ccc7 100644 --- a/include/wx/os2/dcmemory.h +++ b/include/wx/os2/dcmemory.h @@ -15,7 +15,7 @@ #include "wx/dcmemory.h" #include "wx/os2/dc.h" -class WXDLLEXPORT wxMemoryDCImpl: public wxPMDCImpl +class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxPMDCImpl { public: wxMemoryDCImpl( wxMemoryDC *owner ); @@ -26,7 +26,7 @@ public: virtual void DoGetSize(int* pWidth, int* pHeight) const; virtual void DoSelect(const wxBitmap& bitmap); - virtual wxBitmap DoGetAsBitmap(const wxRect* subrect) const + virtual wxBitmap DoGetAsBitmap(const wxRect* subrect) const { return subrect == NULL ? GetSelectedBitmap() : GetSelectedBitmap().GetSubBitmap(*subrect);} protected: @@ -37,7 +37,7 @@ protected: void Init(void); private: DECLARE_CLASS(wxMemoryDCImpl) - DECLARE_NO_COPY_CLASS(wxMemoryDCImpl) + wxDECLARE_NO_COPY_CLASS(wxMemoryDCImpl); }; // end of CLASS wxMemoryDCImpl #endif