git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
14 files changed:
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
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:
The result is an element of enum EntryType:
Gets the filename associated with this document, or "" if none is
associated.
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}
\constfunc{wxView *}{GetFirstView}{\void}
frame (if any), and is usually constructed by the framework from
the filename.
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}
\constfunc{wxList \&}{GetViews}{\void}
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
\constfunc{virtual bool}{IsModified}{\void}
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
\constfunc{virtual bool}{IsModified}{\void}
-\membersection{::wxSafeYield}{wxsafeyield}
+\membersection{::wxSafeYield}\label{wxsafeyield}
\func{bool}{wxSafeYield}{\param{wxWindow*}{ win = NULL}}
\func{bool}{wxSafeYield}{\param{wxWindow*}{ win = NULL}}
-\membersection{::wxEnableTopLevelWindows}{wxenabletoplevelwindows}
+\membersection{::wxEnableTopLevelWindows}\label{wxenabletoplevelwindows}
\func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}}
\func{void}{wxEnableTopLevelWindow}{\param{bool}{ enable = TRUE}}
\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}}
-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
TITLE=wxWindows Manual
CONTENTS=Contents
COMPRESS=HIGH
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
// Watcom 11+ supports bool
#define HAVE_BOOL
#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
#endif // compilers
#endif // HAVE_BOOL
#define wxConv_file wxConvFile
WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
#define wxConv_current wxConvCurrent
#define wxConv_file wxConvFile
WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
#define wxConv_current wxConvCurrent
+#define wxFNCONV(name) name
+#define FNSTRINGCAST WXSTRINGCAST
#endif//wxUSE_WCHAR_T
// ---------------------------------------------------------------------------
#endif//wxUSE_WCHAR_T
// ---------------------------------------------------------------------------
#else
#define wxUSE_WCHAR_T 0
#endif
#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
#else
// add additional compiler checks if this fails
#define wxUSE_WCHAR_T 1
#include "wx/gdicmn.h"
#include "wx/cmndata.h"
#include "wx/gdicmn.h"
#include "wx/cmndata.h"
#include "wx/settings.h"
#include "wx/dcmemory.h"
#include "wx/msw/checklst.h"
#include "wx/settings.h"
#include "wx/dcmemory.h"
#include "wx/msw/checklst.h"
#include <windows.h>
#include <windowsx.h>
#include <windows.h>
#include <windowsx.h>
#endif
#include "wx/dcprint.h"
#endif
#include "wx/dcprint.h"
#include "math.h"
#include <windows.h>
#include "math.h"
#include <windows.h>
if (ret <= 0)
{
DWORD lastError = GetLastError();
if (ret <= 0)
{
DWORD lastError = GetLastError();
- wxDebugMsg("wxDC::StartDoc failed with error: %d\n", lastError);
+ wxLogDebug("wxDC::StartDoc failed with error: %d\n", lastError);
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/menuitem.h"
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/menuitem.h"
#ifdef LoadAccelerators
#undef LoadAccelerators
#ifdef LoadAccelerators
#undef LoadAccelerators
#include "wx/ownerdrw.h"
#include "wx/menuitem.h"
#include "wx/ownerdrw.h"
#include "wx/menuitem.h"
#include "wx/msw/printwin.h"
#include "wx/dcprint.h"
#include "wx/printdlg.h"
#include "wx/msw/printwin.h"
#include "wx/dcprint.h"
#include "wx/printdlg.h"
#include "wx/msw/private.h"
#include <stdlib.h>
#include "wx/msw/private.h"
#include <stdlib.h>