]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dataobj.h
added a menu command to switch between clipboard and primary selection
[wxWidgets.git] / include / wx / dataobj.h
index 174c649316d343fe9da6b6dd8319d19e67a32c0a..2201cd195abeab2d1afd2e7b9a1184517f3d4177 100644 (file)
@@ -525,6 +525,11 @@ private:
     class WXDLLEXPORT wxURLDataObject : public wxTextDataObject
     {
     public:
+        wxURLDataObject(const wxString& url = wxEmptyString)
+            : wxTextDataObject(url)
+        {
+        }
+
         wxString GetURL() const { return GetText(); }
         void SetURL(const wxString& url) { SetText(url); }
     };