X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..6e36db5ecaca60f633fa3321b30feae863eaeecd:/interface/wx/clntdata.h?ds=sidebyside diff --git a/interface/wx/clntdata.h b/interface/wx/clntdata.h index 561d71ae20..44f8de01bf 100644 --- a/interface/wx/clntdata.h +++ b/interface/wx/clntdata.h @@ -3,14 +3,14 @@ // Purpose: interface of wxClientData[Container] and wxStringClientData // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxClientDataContainer - This class is a mixin that provides storage and management of "client - data." This data can either be of type void - in which case the data + This class is a mixin that provides storage and management of "client data". + This data can either be of type void - in which case the data @e container does not take care of freeing the data again or it is of type wxClientData or its derivatives. In that case the container will free the memory itself later. Note that you @e must not assign both void data @@ -35,7 +35,7 @@ public: /** Destructor. */ - ~wxClientDataContainer(); + virtual ~wxClientDataContainer(); /** Get the untyped client data. @@ -99,7 +99,7 @@ public: /** Virtual destructor. */ - ~wxClientData(); + virtual ~wxClientData(); }; @@ -128,7 +128,7 @@ public: /** Get string client data. */ - const wxString GetData() const; + const wxString& GetData() const; /** Set string client data.