Resets the internal `modified' flag as if the current edits had been saved.
-\membersection{wxTextCtrl::GetDefaultStyle}{wxtextctrlgetdefaultstyle}
+\membersection{wxTextCtrl::GetDefaultStyle}\label{wxtextctrlgetdefaultstyle}
\constfunc{const wxTextAttr\& }{GetDefaultStyle}{\void}
the previous default style didn't set them neither, the global font or colours
of the text control itself are used as fall back.
+However if the {\it style} parameter is the default wxTextAttr, then the
+default style is just reset (instead of being combined with the new style which
+wouldn't change it at all).
+
\wxheading{Parameters}
\docparam{style}{The style for the new text.}