ownerdrw.h 766 B

12345678910111213141516171819202122232425262728
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/os2/ownerdrw.h
  3. // Purpose: wxOwnerDrawn class
  4. // Author: Marcin Malich
  5. // Modified by:
  6. // Created: 2009-09-22
  7. // Copyright: (c) 2009 Marcin Malich <me@malcom.pl>
  8. // Licence: wxWindows licence
  9. ///////////////////////////////////////////////////////////////////////////////
  10. #ifndef _WX_OWNERDRW_H_
  11. #define _WX_OWNERDRW_H_
  12. #if wxUSE_OWNER_DRAWN
  13. class WXDLLIMPEXP_CORE wxOwnerDrawn : public wxOwnerDrawnBase
  14. {
  15. public:
  16. wxOwnerDrawn() {}
  17. virtual ~wxOwnerDrawn() {}
  18. virtual bool OnDrawItem(wxDC& dc, const wxRect& rc,
  19. wxODAction act, wxODStatus stat);
  20. };
  21. #endif // wxUSE_OWNER_DRAWN
  22. #endif // _WX_OWNERDRW_H_