Doc & Symantec C++ fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-01-07 08:43:47 +00:00
parent 06cfab1738
commit 2432b92dd7
97 changed files with 576 additions and 326 deletions

View File

@@ -23,6 +23,9 @@
#ifndef WX_PRECOMP
#include "wx/textctrl.h"
#include "wx/settings.h"
#include "wx/brush.h"
#include "wx/utils.h"
#include "wx/log.h"
#endif
#if wxUSE_CLIPBOARD
@@ -514,7 +517,7 @@ void wxTextCtrl::SetSelection(long from, long to)
bool wxTextCtrl::LoadFile(const wxString& file)
{
if (!FileExists(WXSTRINGCAST file))
if (!wxFileExists(WXSTRINGCAST file))
return FALSE;
m_fileName = file;
@@ -754,7 +757,7 @@ int wxTextCtrl::overflow(int c)
#if wxUSE_IOSTREAMH
if ( allocate()==EOF )
{
wxError("Streambuf allocation failed","Internal error");
wxLogError("Streambuf allocation failed");
return EOF;
}
#endif