]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private/textmeasure.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / msw / private / textmeasure.h
index a52deb59a17d041c9a105a7c858217436cd1bff8..ee14751a5b9f40fb5d88ad2f9b925b6c2a8fce1f 100644 (file)
@@ -3,7 +3,6 @@
 // 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
 ///////////////////////////////////////////////////////////////////////////////
 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();