]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textentry.cpp
Fixed wxPropertyGridInterface::SetPropertyValues() documentation
[wxWidgets.git] / src / msw / textentry.cpp
index b39db7f12ca1d5ce27ae46835355cb50335e5093..5e1b753ee73e498e56a8645f6df1cf755f3fafff 100644 (file)
@@ -451,7 +451,7 @@ wxString wxTextEntry::GetHint() const
         wchar_t buf[256];
         if ( ::SendMessage(GetEditHwnd(), EM_GETCUEBANNER,
                             (WPARAM)buf, WXSIZEOF(buf)) )
-            return buf;
+            return wxString(buf);
     }
 
     return wxTextEntryBase::GetHint();