]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/clipbrd.cpp
Update wxHtmlWindow documentation to refer to wxWebView.
[wxWidgets.git] / src / osx / carbon / clipbrd.cpp
index fd8e9a6d45fb7b148e7ffec593a40001e62cce53..293173c9ec9c387359b1ec670a8c1b61715a598c 100644 (file)
@@ -63,6 +63,8 @@ void wxClipboard::Clear()
 {
     wxDELETE(m_data);
 
+    wxCHECK_RET( m_pasteboard, "Clipboard creation failed." );
+
     OSStatus err = PasteboardClear( m_pasteboard );
     if (err != noErr)
     {