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:
@@ -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
|
exist. This function should be used to decide which version of Read() should
|
||||||
be used because some of wxConfig implementations will complain about type
|
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
|
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:
|
The result is an element of enum EntryType:
|
||||||
|
|
||||||
|
@@ -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
|
Gets the filename associated with this document, or "" if none is
|
||||||
associated.
|
associated.
|
||||||
|
|
||||||
\membersection{wxDocument::GetFirstView}{wxdocumentgetfirstview}
|
\membersection{wxDocument::GetFirstView}\label{wxdocumentgetfirstview}
|
||||||
|
|
||||||
\constfunc{wxView *}{GetFirstView}{\void}
|
\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
|
frame (if any), and is usually constructed by the framework from
|
||||||
the filename.
|
the filename.
|
||||||
|
|
||||||
\membersection{wxDocument::GetViews}{wxdocumentgetviews}
|
\membersection{wxDocument::GetViews}\label{wxdocumentgetviews}
|
||||||
|
|
||||||
\constfunc{wxList \&}{GetViews}{\void}
|
\constfunc{wxList \&}{GetViews}{\void}
|
||||||
|
|
||||||
@@ -177,7 +177,6 @@ Returns the list whose elements are the views on the document.
|
|||||||
|
|
||||||
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
|
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
|
||||||
|
|
||||||
|
|
||||||
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
|
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
|
||||||
|
|
||||||
\constfunc{virtual bool}{IsModified}{\void}
|
\constfunc{virtual bool}{IsModified}{\void}
|
||||||
|
@@ -1378,7 +1378,7 @@ Now obsolete: use \helpref{wxWindow::Close}{wxwindowclose} instead.
|
|||||||
|
|
||||||
<wx/utils.h>
|
<wx/utils.h>
|
||||||
|
|
||||||
\membersection{::wxSafeYield}{wxsafeyield}
|
\membersection{::wxSafeYield}\label{wxsafeyield}
|
||||||
|
|
||||||
\func{bool}{wxSafeYield}{\param{wxWindow*}{ win = NULL}}
|
\func{bool}{wxSafeYield}{\param{wxWindow*}{ win = NULL}}
|
||||||
|
|
||||||
@@ -1393,7 +1393,7 @@ Returns the result of the call to \helpref{::wxYield}{wxyield}.
|
|||||||
|
|
||||||
<wx/utils.h>
|
<wx/utils.h>
|
||||||
|
|
||||||
\membersection{::wxEnableTopLevelWindows}{wxenabletoplevelwindows}
|
\membersection{::wxEnableTopLevelWindows}\label{wxenabletoplevelwindows}
|
||||||
|
|
||||||
\func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}}
|
\func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}}
|
||||||
|
|
||||||
|
@@ -199,7 +199,7 @@ before matching.
|
|||||||
|
|
||||||
\helpref{wxMenu::FindItemForId}{wxmenufinditemforid}
|
\helpref{wxMenu::FindItemForId}{wxmenufinditemforid}
|
||||||
|
|
||||||
\membersection{wxMenu::FindItemForId}\label{wxmenufinditem}
|
\membersection{wxMenu::FindItemForId}\label{wxmenufinditemforid}
|
||||||
|
|
||||||
\constfunc{wxMenuItem*}{FindItemForId}{\param{int}{ id}, \param{wxMenu **}{ menuForItem = NULL}}
|
\constfunc{wxMenuItem*}{FindItemForId}{\param{int}{ id}, \param{wxMenu **}{ menuForItem = NULL}}
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
[OPTIONS]
|
[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
|
TITLE=wxWindows Manual
|
||||||
CONTENTS=Contents
|
CONTENTS=Contents
|
||||||
COMPRESS=HIGH
|
COMPRESS=HIGH
|
||||||
|
@@ -185,6 +185,9 @@
|
|||||||
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
|
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
|
||||||
// Watcom 11+ supports bool
|
// Watcom 11+ supports bool
|
||||||
#define HAVE_BOOL
|
#define HAVE_BOOL
|
||||||
|
#elif defined(__GNUWIN32__)
|
||||||
|
// Cygwin supports bool
|
||||||
|
#define HAVE_BOOL
|
||||||
#endif // compilers
|
#endif // compilers
|
||||||
#endif // HAVE_BOOL
|
#endif // HAVE_BOOL
|
||||||
|
|
||||||
|
@@ -272,6 +272,8 @@ WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile;
|
|||||||
#define wxConv_file wxConvFile
|
#define wxConv_file wxConvFile
|
||||||
WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
|
WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
|
||||||
#define wxConv_current wxConvCurrent
|
#define wxConv_current wxConvCurrent
|
||||||
|
#define wxFNCONV(name) name
|
||||||
|
#define FNSTRINGCAST WXSTRINGCAST
|
||||||
#endif//wxUSE_WCHAR_T
|
#endif//wxUSE_WCHAR_T
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@@ -216,6 +216,8 @@ inline WORD __wxMSW_ctype(wxChar ch)
|
|||||||
#else
|
#else
|
||||||
#define wxUSE_WCHAR_T 0
|
#define wxUSE_WCHAR_T 0
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__GNUWIN32__) && !defined(__MINGW32__) // Cygwin (not Mingw32) doesn't have wcslen.h, needed in buffer.h
|
||||||
|
#define wxUSE_WCHAR_T 0
|
||||||
#else
|
#else
|
||||||
// add additional compiler checks if this fails
|
// add additional compiler checks if this fails
|
||||||
#define wxUSE_WCHAR_T 1
|
#define wxUSE_WCHAR_T 1
|
||||||
|
@@ -37,6 +37,7 @@
|
|||||||
|
|
||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
#include "wx/cmndata.h"
|
#include "wx/cmndata.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
|
||||||
#include "wx/paper.h"
|
#include "wx/paper.h"
|
||||||
|
|
||||||
|
@@ -40,6 +40,7 @@
|
|||||||
#include "wx/settings.h"
|
#include "wx/settings.h"
|
||||||
#include "wx/dcmemory.h"
|
#include "wx/dcmemory.h"
|
||||||
#include "wx/msw/checklst.h"
|
#include "wx/msw/checklst.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/dcprint.h"
|
#include "wx/dcprint.h"
|
||||||
|
#include "wx/log.h"
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@@ -194,7 +195,7 @@ bool wxPrinterDC::StartDoc(const wxString& message)
|
|||||||
if (ret <= 0)
|
if (ret <= 0)
|
||||||
{
|
{
|
||||||
DWORD lastError = GetLastError();
|
DWORD lastError = GetLastError();
|
||||||
wxDebugMsg("wxDC::StartDoc failed with error: %d\n", lastError);
|
wxLogDebug("wxDC::StartDoc failed with error: %d\n", lastError);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
#include "wx/statusbr.h"
|
#include "wx/statusbr.h"
|
||||||
#include "wx/toolbar.h"
|
#include "wx/toolbar.h"
|
||||||
#include "wx/menuitem.h"
|
#include "wx/menuitem.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
|
||||||
#ifdef LoadAccelerators
|
#ifdef LoadAccelerators
|
||||||
#undef LoadAccelerators
|
#undef LoadAccelerators
|
||||||
|
@@ -38,6 +38,7 @@
|
|||||||
|
|
||||||
#include "wx/ownerdrw.h"
|
#include "wx/ownerdrw.h"
|
||||||
#include "wx/menuitem.h"
|
#include "wx/menuitem.h"
|
||||||
|
#include "wx/log.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
@@ -40,6 +40,7 @@
|
|||||||
#include "wx/msw/printwin.h"
|
#include "wx/msw/printwin.h"
|
||||||
#include "wx/dcprint.h"
|
#include "wx/dcprint.h"
|
||||||
#include "wx/printdlg.h"
|
#include "wx/printdlg.h"
|
||||||
|
#include "wx/log.h"
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Reference in New Issue
Block a user