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:
@@ -566,7 +566,7 @@ class wxFormatConverter
|
|||||||
public:
|
public:
|
||||||
wxFormatConverter(const wxChar *format);
|
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:
|
private:
|
||||||
// copy another character to the translated format: this function does the
|
// copy another character to the translated format: this function does the
|
||||||
|
Reference in New Issue
Block a user