Make some member functions const
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
void SetDC(wxDC *dc, double pixel_scale, double font_scale);
|
||||
|
||||
wxDC *GetDC() {return m_DC;}
|
||||
double GetPixelScale() {return m_PixelScale;}
|
||||
double GetPixelScale() const { return m_PixelScale; }
|
||||
int GetCharHeight() const {return m_CharHeight;}
|
||||
int GetCharWidth() const {return m_CharWidth;}
|
||||
|
||||
|
Reference in New Issue
Block a user