Make pointer to wxWindow a const argument.
State of referenced window is not going to be changed and let caller know about it.
This commit is contained in:
@@ -2651,7 +2651,7 @@ protected:
|
||||
unsigned int GetTextColIndex() const
|
||||
{ return (unsigned int) m_capFgColIndex; }
|
||||
|
||||
void CalculateTextExtent( wxWindow* wnd, const wxFont& font );
|
||||
void CalculateTextExtent(const wxWindow* wnd, const wxFont& font);
|
||||
|
||||
int m_textExtent; // pre-calculated length of text
|
||||
wxByte m_capFgColIndex; // caption text colour index
|
||||
|
Reference in New Issue
Block a user