Use wxDC rather than wxClientDC for parameter type
This commit is contained in:
@@ -718,7 +718,7 @@ wxPropertyGridPageState::HitTest( const wxPoint&pt ) const
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
// Used by SetSplitterLeft() and DotFitColumns()
|
||||
int wxPropertyGridPageState::GetColumnFitWidth(wxClientDC& dc,
|
||||
int wxPropertyGridPageState::GetColumnFitWidth(const wxDC& dc,
|
||||
wxPGProperty* pwc,
|
||||
unsigned int col,
|
||||
bool subProps) const
|
||||
@@ -762,7 +762,7 @@ int wxPropertyGridPageState::GetColumnFitWidth(wxClientDC& dc,
|
||||
return maxW;
|
||||
}
|
||||
|
||||
int wxPropertyGridPageState::GetColumnFullWidth( wxClientDC &dc, wxPGProperty *p, unsigned int col )
|
||||
int wxPropertyGridPageState::GetColumnFullWidth(const wxDC& dc, wxPGProperty* p, unsigned int col)
|
||||
{
|
||||
if ( p->IsCategory() )
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user