X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..b09857ae000a60704207d63290be937584805fb0:/interface/wx/clntdata.h?ds=sidebyside diff --git a/interface/wx/clntdata.h b/interface/wx/clntdata.h index 62d7a86429..44f8de01bf 100644 --- a/interface/wx/clntdata.h +++ b/interface/wx/clntdata.h @@ -3,15 +3,14 @@ // Purpose: interface of wxClientData[Container] and wxStringClientData // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxClientDataContainer - @wxheader{clntdata.h} - 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 @@ -36,7 +35,7 @@ public: /** Destructor. */ - ~wxClientDataContainer(); + virtual ~wxClientDataContainer(); /** Get the untyped client data. @@ -63,7 +62,6 @@ public: /** @class wxClientData - @wxheader{clntdata.h} All classes deriving from wxEvtHandler (such as all controls and wxApp) can hold arbitrary data which is here referred to as "client data". This is @@ -101,14 +99,13 @@ public: /** Virtual destructor. */ - ~wxClientData(); + virtual ~wxClientData(); }; /** @class wxStringClientData - @wxheader{clntdata.h} Predefined client data class for holding a string. @@ -131,7 +128,7 @@ public: /** Get string client data. */ - const wxString GetData() const; + const wxString& GetData() const; /** Set string client data.