#include "wx/dcmemory.h"
#include "wx/os2/dc.h"
-class WXDLLEXPORT wxMemoryDCImpl: public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxPMDCImpl
{
public:
wxMemoryDCImpl( wxMemoryDC *owner );
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:
void Init(void);
private:
DECLARE_CLASS(wxMemoryDCImpl)
- DECLARE_NO_COPY_CLASS(wxMemoryDCImpl)
+ wxDECLARE_NO_COPY_CLASS(wxMemoryDCImpl);
}; // end of CLASS wxMemoryDCImpl
#endif