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