No real changes, just remove some unnecessary casts.

Use correct GdkRectangle* type for wxDataViewCustomRenderer::xxx_area members
instead of casting them to and from void*.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-11-10 17:41:28 +00:00
parent c2a738e372
commit 70884c6fc8
2 changed files with 16 additions and 14 deletions

View File

@@ -12,6 +12,8 @@
#ifndef _WX_GTK_DVRENDERERS_H_
#define _WX_GTK_DVRENDERERS_H_
typedef struct _GdkRectangle GdkRectangle;
// ---------------------------------------------------------
// wxDataViewTextRenderer
// ---------------------------------------------------------
@@ -124,9 +126,9 @@ public:
GtkCellRenderer *m_text_renderer;
GdkWindow *window;
GtkWidget *widget;
void *background_area;
void *cell_area;
void *expose_area;
GdkRectangle *background_area;
GdkRectangle *cell_area;
GdkRectangle *expose_area;
int flags;
protected: