Version: 2.9.4
Public Member Functions
wxGridHeaderLabelsRenderer Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/grid.h>

Inheritance diagram for wxGridHeaderLabelsRenderer:

Detailed Description

Common base class for row and column headers renderers.

参照:
wxGridColumnHeaderRenderer, wxGridRowHeaderRenderer
Since:
2.9.1

Public Member Functions

virtual void DrawLabel (const wxGrid &grid, wxDC &dc, const wxString &value, const wxRect &rect, int horizAlign, int vertAlign, int textOrientation) const
 Called by the grid to draw the specified label.

List of all members.


Member Function Documentation

virtual void wxGridHeaderLabelsRenderer::DrawLabel ( const wxGrid grid,
wxDC dc,
const wxString value,
const wxRect rect,
int  horizAlign,
int  vertAlign,
int  textOrientation 
) const [virtual]

Called by the grid to draw the specified label.

Notice that the base class DrawBorder() method is called before this one.

The default implementation uses wxGrid::GetLabelTextColour() and wxGrid::GetLabelFont() to draw the label.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines