// Name: tipdlg.h
// Purpose: interface of wxTipProvider
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
*/
wxTipProvider(size_t currentTip);
+ virtual ~wxTipProvider();
+
/**
- Returns the index of the current tip (i.e. the one which would be returned by GetTip()).
+ Returns the index of the current tip (i.e.\ the one which would be returned by GetTip()).
The program usually remembers the value returned by this function after calling
wxShowTip(). Note that it is not the same as the value which was passed to
Return the text of the current tip and pass to the next one.
This function is pure virtual, it should be implemented in the derived classes.
*/
- wxString GetTip();
+ virtual wxString GetTip() = 0;
/**
Returns a modified tip.
modification to the string. If you return wxEmptyString, then this tip is
skipped, and the next one is read.
*/
- virtual wxString PreProcessTip(const wxString& tip);
+ virtual wxString PreprocessTip(const wxString& tip);
};
// Global functions/macros
// ============================================================================
-/** @ingroup group_funcmacro_dialog */
+/** @addtogroup group_funcmacro_dialog */
//@{
/**