X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0d9c6cb9112174b71970686a95b628819797b87..cb7d73757f9e8771e7d8fc6b22f1acf27aac35bd:/samples/richedit/wxllist.h diff --git a/samples/richedit/wxllist.h b/samples/richedit/wxllist.h index d62a236737..5039bb82b1 100644 --- a/samples/richedit/wxllist.h +++ b/samples/richedit/wxllist.h @@ -10,10 +10,6 @@ #ifndef WXLLIST_H #define WXLLIST_H -#ifdef __GNUG__ -# pragma interface "wxllist.h" -#endif - #include "kbList.h" #include "wx/wx.h" @@ -260,9 +256,6 @@ protected: /// 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; @@ -595,7 +588,7 @@ public: @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 ; @@ -607,7 +600,7 @@ public: @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, @@ -771,7 +764,7 @@ public: private: /// Destructor is private. Use DeleteLine() to remove it. - ~wxLayoutLine(); + ~wxLayoutLine(){}; /**@name Functions to let the lines synchronise with each other. */ //@{ @@ -1412,7 +1405,7 @@ public: _T("wxLayout Printout")); /// Destructor. - ~wxLayoutPrintout(); + ~wxLayoutPrintout(){}; /** Function which prints the n-th page. @param page the page number to print