]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/ownerdrw.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / ownerdrw.h
CommitLineData
98fbab9e
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/msw/ownerdrw.h
3// Purpose: wxOwnerDrawn class
4// Author: Marcin Malich
5// Modified by:
6// Created: 2009-09-22
98fbab9e
VZ
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
16class WXDLLIMPEXP_CORE wxOwnerDrawn : public wxOwnerDrawnBase
17{
18public:
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_