/// Define a list type of wxLayoutObject pointers.
KBLIST_DEFINE(wxLayoutObjectList, wxLayoutObject);
-/// An illegal iterator to save typing.
-#define NULLIT (wxLayoutObjectList::iterator(NULL))
-
/// The iterator type.
typedef wxLayoutObjectList::iterator wxLOiterator;
@param xpos the column number
@param offset where to store the difference between xpos and
the object's head
- @return iterator to the object or NULLIT
+ @return iterator to the object or iterator to NULL
*/
wxLayoutObjectList::iterator FindObject(CoordType xpos, CoordType
*offset) const ;
@param xpos the screen x coordinate
@param offset where to store the difference between xpos and
the object's head
- @return iterator to the object or NULLIT
+ @return iterator to the object or iterator to NULL
*/
wxLayoutObjectList::iterator FindObjectScreen(wxDC &dc,
wxLayoutList *llist,
inline CoordType GetLineNumber() const { return m_LineNumber; }
/** Return the length of the line.
- @return line lenght in cursor positions
+ @return line length in cursor positions
*/
inline CoordType GetLength() const { return m_Length; }
//@}
private:
/// Destructor is private. Use DeleteLine() to remove it.
- ~wxLayoutLine();
+ ~wxLayoutLine(){};
/**@name Functions to let the lines synchronise with each other. */
//@{
_T("wxLayout Printout"));
/// Destructor.
- ~wxLayoutPrintout();
+ ~wxLayoutPrintout(){};
/** Function which prints the n-th page.
@param page the page number to print