]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/private/textmeasure.h
remove instance init function, memory is already zeroed
[wxWidgets.git] / include / wx / gtk / private / textmeasure.h
index 5027be7b3539ef29aaee92a5d75a18f275d58379..d32466f287e4ebb749c85a640f7a8113f0e91269 100644 (file)
@@ -20,13 +20,13 @@ class WXDLLIMPEXP_FWD_CORE wxWindowDCImpl;
 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();