Version: 3.2.5
wxPGPaintData Class Reference

#include <wx/propgrid/property.h>

Detailed Description

Contains information related to property's OnCustomPaint.

Public Attributes

const wxPropertyGridm_parent
 wxPropertyGrid More...
 
int m_choiceItem
 Normally -1, otherwise index to drop-down list item that has to be drawn. More...
 
int m_drawnWidth
 Set to drawn width in OnCustomPaint (optional). More...
 
int m_drawnHeight
 In a measure item call, set this to the height of item at m_choiceItem index. More...
 

Member Data Documentation

◆ m_choiceItem

int wxPGPaintData::m_choiceItem

Normally -1, otherwise index to drop-down list item that has to be drawn.

◆ m_drawnHeight

int wxPGPaintData::m_drawnHeight

In a measure item call, set this to the height of item at m_choiceItem index.

◆ m_drawnWidth

int wxPGPaintData::m_drawnWidth

Set to drawn width in OnCustomPaint (optional).

◆ m_parent

const wxPropertyGrid* wxPGPaintData::m_parent