]> 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 2651a600ec17e1f52d1698d3b653f9ee4a3228c8..ee14751a5b9f40fb5d88ad2f9b925b6c2a8fce1f 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();