From 3f088628d9fb08d501bd74cdc1f0fc45a815a5fe Mon Sep 17 00:00:00 2001 From: leamas Date: Wed, 22 Jan 2025 13:28:46 +0100 Subject: [PATCH] Update string handling Clarify the need to use wxString agains wxWidgets. --- manual/modules/ROOT/pages/coding-guidelines.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/manual/modules/ROOT/pages/coding-guidelines.adoc b/manual/modules/ROOT/pages/coding-guidelines.adoc index c2ade580fe..ed4bdf9955 100644 --- a/manual/modules/ROOT/pages/coding-guidelines.adoc +++ b/manual/modules/ROOT/pages/coding-guidelines.adoc @@ -44,6 +44,7 @@ Use C++ standard library components over wxWidgets and old style C equivalents: . Use double-quoted strings for unicode strings. . Do not use `_T()` or `wxT()` macros. +. Avoid wxString except when interfacing wxWidgets routines. See link:++https://docs.wxwidgets.org%2F3.2%2Fgroup__group__funcmacro__string.html%23ga437ea6ba615b75dac8603e96ec864160++[wxWidgets string guidelines]. === Exception handling