]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private/textmeasure.h
Allow using wxDEFAULT as font size in wxOSX.
[wxWidgets.git] / include / wx / msw / private / textmeasure.h
index a52deb59a17d041c9a105a7c858217436cd1bff8..e317510ffe745c337a1295569ff899eff415f943 100644 (file)
 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();