]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/clipbrd.h
extract event handler body in a separate function instead of using a hack to call...
[wxWidgets.git] / include / wx / clipbrd.h
index 3c018f328125a32c56b67f01d7bae64f1d0a786c..3376472381886c8563c580895232f4fc345e2296 100644 (file)
@@ -111,12 +111,11 @@ public:
     bool SupportsFormat(const wxDataFormat& format) const;
     void AddFormat(const wxDataFormat& format);
 
-    virtual wxEvent *Clone() const { return new wxClipboardEvent(*this); }
+    virtual wxEvent *Clone() const;
 
 protected:
     wxVector<wxDataFormat> m_formats;
 
-private:
     DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxClipboardEvent)
 };
 
@@ -189,7 +188,7 @@ public:
 private:
     wxClipboard *m_clipboard;
 
-    DECLARE_NO_COPY_CLASS(wxClipboardLocker)
+    wxDECLARE_NO_COPY_CLASS(wxClipboardLocker);
 };
 
 #endif // wxUSE_CLIPBOARD