// 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
/**
Destructor.
*/
- ~wxClientDataContainer();
+ virtual ~wxClientDataContainer();
/**
Get the untyped client data.
/**
@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
/**
Virtual destructor.
*/
- ~wxClientData();
+ virtual ~wxClientData();
};
/**
@class wxStringClientData
- @wxheader{clntdata.h}
Predefined client data class for holding a string.
/**
Get string client data.
*/
- const wxString GetData() const;
+ const wxString& GetData() const;
/**
Set string client data.