X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cd79b7af0760eb91d42ff9ac7c0ccead8d50c6b..659ca93c425faabda30fce9dee68b38cb6868d14:/include/wx/msw/private/textmeasure.h diff --git a/include/wx/msw/private/textmeasure.h b/include/wx/msw/private/textmeasure.h index 2651a600ec..e317510ffe 100644 --- a/include/wx/msw/private/textmeasure.h +++ b/include/wx/msw/private/textmeasure.h @@ -3,6 +3,7 @@ // Purpose: wxMSW-specific declaration of wxTextMeasure class // Author: Manuel Martin // Created: 2012-10-05 +// RCS-ID: $Id: // Copyright: (c) 1997-2012 wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -19,12 +20,13 @@ class wxTextMeasure : public wxTextMeasureBase { public: - wxTextMeasure(const wxDC *dc, const wxFont *font) + wxEXPLICIT wxTextMeasure(const wxDC *dc, const wxFont *font = NULL) : wxTextMeasureBase(dc, font) { Init(); } - wxTextMeasure(const wxWindow *win, const wxFont *font) + + wxEXPLICIT wxTextMeasure(const wxWindow *win, const wxFont *font = NULL) : wxTextMeasureBase(win, font) { Init();