X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/512cfcc34118a5da1b14c8cbaae1690fd4b23a4b..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/msw/dcmemory.h diff --git a/include/wx/msw/dcmemory.h b/include/wx/msw/dcmemory.h index 26471f7763..01c0b5229d 100644 --- a/include/wx/msw/dcmemory.h +++ b/include/wx/msw/dcmemory.h @@ -15,7 +15,7 @@ #include "wx/dcmemory.h" #include "wx/msw/dc.h" -class WXDLLEXPORT wxMemoryDCImpl: public wxMSWDCImpl +class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxMSWDCImpl { public: wxMemoryDCImpl( wxMemoryDC *owner ); @@ -27,7 +27,7 @@ public: virtual void DoGetSize(int* width, int* height) 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().GetSubBitmapOfHDC(*subrect, GetHDC() );} protected: @@ -38,7 +38,7 @@ protected: void Init(); DECLARE_CLASS(wxMemoryDCImpl) - DECLARE_NO_COPY_CLASS(wxMemoryDCImpl) + wxDECLARE_NO_COPY_CLASS(wxMemoryDCImpl); }; #endif