git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29456
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/buffer.h" // for wxCharBuffer
#include "wx/strconv.h" // for wxConvertXXX() macros and wxMBConv classes
#include "wx/buffer.h" // for wxCharBuffer
#include "wx/strconv.h" // for wxConvertXXX() macros and wxMBConv classes
+class WXDLLIMPEXP_BASE wxString;
+
// ---------------------------------------------------------------------------
// macros
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// macros
// ---------------------------------------------------------------------------
-// return an empty wxString
-class WXDLLIMPEXP_BASE wxString; // not yet defined
-inline const wxString& wxGetEmptyString() { return *(wxString *)&wxEmptyString; }
-
+// return an empty wxString (doesn't make much sense with wxUSE_STL == 1)
+inline const wxString wxGetEmptyString() { wxString(); }
+
#include "wx/beforestd.h"
#include <string>
#include "wx/afterstd.h"
#include "wx/beforestd.h"
#include <string>
#include "wx/afterstd.h"
+// return an empty wxString
+inline const wxString& wxGetEmptyString() { return *(wxString *)&wxEmptyString; }
+
#ifndef HAVE_STD_STRING_COMPARE
#define HAVE_STD_STRING_COMPARE
#endif
#ifndef HAVE_STD_STRING_COMPARE
#define HAVE_STD_STRING_COMPARE
#endif