Some doc corrections; various small fixes for Cygwin and BC++

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-05-06 08:38:01 +00:00
parent 04a6512306
commit 6776a0b25c
14 changed files with 21 additions and 9 deletions

View File

@ -443,7 +443,7 @@ Returns the type of the given entry or {\it Unknown} if the entry doesn't
exist. This function should be used to decide which version of Read() should
be used because some of wxConfig implementations will complain about type
mismatch otherwise: e.g., an attempt to read a string value from an integer
key with \helpref{wxRegConfig}{wxregconfig} will fail.
key with wxRegConfig will fail.
The result is an element of enum EntryType:

View File

@ -144,7 +144,7 @@ dialog boxes. By default, uses the frame associated with the first view.
Gets the filename associated with this document, or "" if none is
associated.
\membersection{wxDocument::GetFirstView}{wxdocumentgetfirstview}
\membersection{wxDocument::GetFirstView}\label{wxdocumentgetfirstview}
\constfunc{wxView *}{GetFirstView}{\void}
@ -169,7 +169,7 @@ Gets the title for this document. The document title is used for an associated
frame (if any), and is usually constructed by the framework from
the filename.
\membersection{wxDocument::GetViews}{wxdocumentgetviews}
\membersection{wxDocument::GetViews}\label{wxdocumentgetviews}
\constfunc{wxList \&}{GetViews}{\void}
@ -177,7 +177,6 @@ Returns the list whose elements are the views on the document.
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
\constfunc{virtual bool}{IsModified}{\void}

View File

@ -1378,7 +1378,7 @@ Now obsolete: use \helpref{wxWindow::Close}{wxwindowclose} instead.
<wx/utils.h>
\membersection{::wxSafeYield}{wxsafeyield}
\membersection{::wxSafeYield}\label{wxsafeyield}
\func{bool}{wxSafeYield}{\param{wxWindow*}{ win = NULL}}
@ -1393,7 +1393,7 @@ Returns the result of the call to \helpref{::wxYield}{wxyield}.
<wx/utils.h>
\membersection{::wxEnableTopLevelWindows}{wxenabletoplevelwindows}
\membersection{::wxEnableTopLevelWindows}\label{wxenabletoplevelwindows}
\func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}}

View File

@ -199,7 +199,7 @@ before matching.
\helpref{wxMenu::FindItemForId}{wxmenufinditemforid}
\membersection{wxMenu::FindItemForId}\label{wxmenufinditem}
\membersection{wxMenu::FindItemForId}\label{wxmenufinditemforid}
\constfunc{wxMenuItem*}{FindItemForId}{\param{int}{ id}, \param{wxMenu **}{ menuForItem = NULL}}

View File

@ -1,5 +1,5 @@
[OPTIONS]
BMROOT=d:\wx2\wxWindows\docs\latex\wx ; Assume that bitmaps are where the source is
BMROOT=d:\wx2\wxWind~1\docs/latex/wx ; Assume that bitmaps are where the source is
TITLE=wxWindows Manual
CONTENTS=Contents
COMPRESS=HIGH

View File

@ -185,6 +185,9 @@
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
// Watcom 11+ supports bool
#define HAVE_BOOL
#elif defined(__GNUWIN32__)
// Cygwin supports bool
#define HAVE_BOOL
#endif // compilers
#endif // HAVE_BOOL

View File

@ -272,6 +272,8 @@ WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile;
#define wxConv_file wxConvFile
WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
#define wxConv_current wxConvCurrent
#define wxFNCONV(name) name
#define FNSTRINGCAST WXSTRINGCAST
#endif//wxUSE_WCHAR_T
// ---------------------------------------------------------------------------

View File

@ -216,6 +216,8 @@ inline WORD __wxMSW_ctype(wxChar ch)
#else
#define wxUSE_WCHAR_T 0
#endif
#elif defined(__GNUWIN32__) && !defined(__MINGW32__) // Cygwin (not Mingw32) doesn't have wcslen.h, needed in buffer.h
#define wxUSE_WCHAR_T 0
#else
// add additional compiler checks if this fails
#define wxUSE_WCHAR_T 1

View File

@ -37,6 +37,7 @@
#include "wx/gdicmn.h"
#include "wx/cmndata.h"
#include "wx/log.h"
#include "wx/paper.h"

View File

@ -40,6 +40,7 @@
#include "wx/settings.h"
#include "wx/dcmemory.h"
#include "wx/msw/checklst.h"
#include "wx/log.h"
#include <windows.h>
#include <windowsx.h>

View File

@ -24,6 +24,7 @@
#endif
#include "wx/dcprint.h"
#include "wx/log.h"
#include "math.h"
#include <windows.h>
@ -194,7 +195,7 @@ bool wxPrinterDC::StartDoc(const wxString& message)
if (ret <= 0)
{
DWORD lastError = GetLastError();
wxDebugMsg("wxDC::StartDoc failed with error: %d\n", lastError);
wxLogDebug("wxDC::StartDoc failed with error: %d\n", lastError);
}
#endif

View File

@ -35,6 +35,7 @@
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/menuitem.h"
#include "wx/log.h"
#ifdef LoadAccelerators
#undef LoadAccelerators

View File

@ -38,6 +38,7 @@
#include "wx/ownerdrw.h"
#include "wx/menuitem.h"
#include "wx/log.h"
#include <windows.h>

View File

@ -40,6 +40,7 @@
#include "wx/msw/printwin.h"
#include "wx/dcprint.h"
#include "wx/printdlg.h"
#include "wx/log.h"
#include "wx/msw/private.h"
#include <stdlib.h>