]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ipcbase.h
adding an autorelease capability (got weird crashes when deleting tools from a toolba...
[wxWidgets.git] / include / wx / ipcbase.h
index 28fb1f46cbfbfe336f00f9ce809ea0840e7a7806..45f61b66f4e278a8cbf26b46426377422692dfe7 100644 (file)
@@ -48,8 +48,8 @@ class WXDLLIMPEXP_BASE wxConnectionBase: public wxObject
 public:
   wxConnectionBase(wxChar *buffer, int size); // use external buffer
   wxConnectionBase(); // use internal, adaptive buffer
-  wxConnectionBase(wxConnectionBase& copy);
-  ~wxConnectionBase(void);
+  wxConnectionBase(const wxConnectionBase& copy);
+  virtual ~wxConnectionBase(void);
 
   void SetConnected( bool c ) { m_connected = c; }
   bool GetConnected() { return m_connected; }