From 8c574e5c2b7224f2403fb7aeb8959dc9efa08287 Mon Sep 17 00:00:00 2001 From: Dummy Date: Fri, 21 Feb 2020 14:30:43 +0100 Subject: [PATCH] Fix documentation of wxFile::Write() default conversion value It's wxConvAuto, not wxConvUTF8. Closes #18672. --- interface/wx/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/file.h b/interface/wx/file.h index 4e354185a0..adb0f3086b 100644 --- a/interface/wx/file.h +++ b/interface/wx/file.h @@ -450,7 +450,7 @@ public: to write data with embedded @c NULs to the file you should use the other Write() overload. */ - bool Write(const wxString& s, const wxMBConv& conv = wxConvUTF8); + bool Write(const wxString& s, const wxMBConv& conv = wxConvAuto()); /** Returns the file descriptor associated with the file.