compilation fix for wxGetEmptyString() with wxUSE_STL == 1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-30 08:23:28 +00:00
parent 1c97259a91
commit 12f9921085

View File

@@ -1287,7 +1287,7 @@ public:
#if wxUSE_STL #if wxUSE_STL
// return an empty wxString (not very useful with wxUSE_STL == 1) // return an empty wxString (not very useful with wxUSE_STL == 1)
inline const wxString wxGetEmptyString() { wxString(); } inline const wxString wxGetEmptyString() { return wxString(); }
#else // !wxUSE_STL #else // !wxUSE_STL
// return an empty wxString (more efficient than wxString() here) // return an empty wxString (more efficient than wxString() here)
inline const wxString& wxGetEmptyString() inline const wxString& wxGetEmptyString()