diff --git a/docs/doxygen/overviews/datetime.h b/docs/doxygen/overviews/datetime.h index d2284e255f..fb64d18e8f 100644 --- a/docs/doxygen/overviews/datetime.h +++ b/docs/doxygen/overviews/datetime.h @@ -175,8 +175,8 @@ I.e. you would just write @code wxDateTime dt(...whatever...); -printf("The time is %s in local time zone", dt.FormatTime().c_str()); -printf("The time is %s in GMT", dt.FormatTime(wxDateTime::GMT).c_str()); +wxPrintf("The time is %s in local time zone", dt.FormatTime()); +wxPrintf("The time is %s in GMT", dt.FormatTime(wxDateTime::GMT)); @endcode