Added some pragmas, to address problem mentioned

in bug report:

[ 670355 ] Borland C++ 5.5 with wxW 2.4.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-01 19:00:48 +00:00
parent 000c548490
commit a031ea171a
9 changed files with 80 additions and 0 deletions

View File

@@ -118,9 +118,17 @@ public:
// remove one page from the notebook, without deleting it
virtual bool RemovePage(int nPage) { return DoRemovePage(nPage) != NULL; }
#ifdef __BORLANDC__
# pragma option -w-inl
#endif
// remove all pages and delete them
virtual bool DeleteAllPages() { WX_CLEAR_ARRAY(m_pages); return TRUE; }
#ifdef __BORLANDC__
# pragma option -w.inl
#endif
// adds a new page to the notebook (it will be deleted by the notebook,
// don't delete it yourself) and make it the current one if bSelect
virtual bool AddPage(wxNotebookPage *pPage,