provide both const char* and const wchar_t* implicit conversion of wxCStrData regardl...
[wxWidgets.git] / src / msw / ole / dataobj.cpp
index d4ec164a93c4a56b025534c9fb5feb0edf710b6b..4cfcee5e9ebf813d1f8fca73f3df6d1d54cbc4c1 100644 (file)
@@ -159,6 +159,7 @@ wxString wxDataFormat::GetId() const
     if ( !len )
     {
         wxLogError(_("The clipboard format '%d' doesn't exist."), m_format);
+        return wxEmptyString;
     }
 
     return s;