Corrected wxFormatConverter for strings which need

not get converted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-08-26 20:58:56 +00:00
parent 768f1af6a2
commit 678d3dd242

View File

@@ -566,7 +566,7 @@ class wxFormatConverter
public:
wxFormatConverter(const wxChar *format);
operator const wxChar *() const { return m_fmt.c_str(); }
operator const wxChar *() const { return m_nCopied ? m_fmtOrig : m_fmt.c_str(); }
private:
// copy another character to the translated format: this function does the