]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/dataobj.cpp
avoid flicker when setting the text which is the same as the current status bar pane...
[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;