summaryrefslogtreecommitdiffstats
path: root/views/controls/table/table_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/table/table_view.h')
-rw-r--r--views/controls/table/table_view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/table/table_view.h b/views/controls/table/table_view.h
index 2db5234..da228fc 100644
--- a/views/controls/table/table_view.h
+++ b/views/controls/table/table_view.h
@@ -9,6 +9,7 @@
#if defined(OS_WIN)
#include <windows.h>
+typedef struct tagNMLVCUSTOMDRAW NMLVCUSTOMDRAW;
#endif // defined(OS_WIN)
#include <map>
@@ -470,7 +471,7 @@ class TableView : public NativeControl,
virtual bool ImplementPostPaint() { return false; }
// Subclasses can implement in this method extra-painting for cells.
virtual void PostPaint(int model_row, int column, bool selected,
- const CRect& bounds, HDC device_context) { }
+ const gfx::Rect& bounds, HDC device_context) { }
virtual void PostPaint() {}
virtual HWND CreateNativeControl(HWND parent_container);