diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index ac46f91a31..4d72e60e64 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -405,6 +405,11 @@ public: */ static wxGraphicsContext* Create(wxImage& image); + /** + Create a lightweight context that can be used only for measuring text. + */ + static wxGraphicsContext* Create(); + /** Clips drawings to the specified region. */