Version: 3.0.5
Loading...
Searching...
No Matches
wxPGPaintData Class Reference

#include <wx/propgrid/property.h>

Detailed Description

Contains information relayed to property's OnCustomPaint.

Public Attributes

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

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

wxPropertyGrid.