X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..107ea8f0694830232c7df4a1568b707111c04649:/interface/wx/clntdata.h diff --git a/interface/wx/clntdata.h b/interface/wx/clntdata.h index 62d7a86429..dea129e018 100644 --- a/interface/wx/clntdata.h +++ b/interface/wx/clntdata.h @@ -8,7 +8,6 @@ /** @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 @@ -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.