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

@@ -62,6 +62,10 @@ enum
wxCONFIG_USE_NO_ESCAPE_CHARACTERS = 8
};
#ifdef __BORLANDC__
# pragma option -w-inl
#endif
// ----------------------------------------------------------------------------
// abstract base class wxConfigBase which defines the interface for derived
// classes
@@ -287,6 +291,10 @@ private:
long m_style;
};
#ifdef __BORLANDC__
# pragma option -w.inl
#endif
// a handy little class which changes current path to the path of given entry
// and restores it in dtor: so if you declare a local variable of this type,
// you work in the entry directory and the path is automatically restored