]>
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 | // Copyright: (c) 2009 Marcin Malich <me@malcom.pl> | |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_OWNERDRW_H_ | |
12 | #define _WX_OWNERDRW_H_ | |
13 | ||
14 | #if wxUSE_OWNER_DRAWN | |
15 | ||
16 | class WXDLLIMPEXP_CORE wxOwnerDrawn : public wxOwnerDrawnBase | |
17 | { | |
18 | public: | |
19 | wxOwnerDrawn() {} | |
20 | virtual ~wxOwnerDrawn() {} | |
21 | ||
22 | virtual bool OnDrawItem(wxDC& dc, const wxRect& rc, | |
23 | wxODAction act, wxODStatus stat); | |
24 | }; | |
25 | ||
26 | #endif // wxUSE_OWNER_DRAWN | |
27 | ||
28 | #endif // _WX_OWNERDRW_H_ |