There is nothing to stop an application using templates or the string class for its own
purposes.<P>
+<H3>Is there a rich edit/markup widget for wxWindows 2?</H3>
+
+These are the possibilities so far:<P>
+
+<ul>
+<li>The richedit sample has a text editor that does markup.
+<li>See <a href="http://www.scintilla.org" target=_top>www.scintilla.org</a> for
+a very nice syntax-highlighting editor widget. Robin Dunn is writing a wxWindows wrapper
+for this widget.
+<li>If you only need to display marked-up information, rather than edit it,
+then wxHTML will suit your needs. wxHTML is built into wxWindows - please see the reference
+manual for details, and samples/html.
+<li>There are rich edit widgets in both WIN32 and GTK+, but there is currently
+no wxWindows wrapper for these.
+</ul>
+
+<P>
+
<H3>How is wxWindows 2 being developed?</H3>
We are using the <a href="cvs.htm">CVS</a> system to develop and maintain wxWindows. This allows
directory, or set wxUSE_ODBC to 0 in include\wx\msw\setup.h and
recompile wxWindows. The same applies if compiling using the IDE.
+Note (5): BC++ 4.5 (not 5.0) trips up over jdmerge.c in the JPEG folder;
+you will therefore need to set wxUSE_LIBJPEG to 0 in setup.h and remove
+the jpeg target from src\msw\makefile.b32.
+
Compiling using the IDE files:
1. Load src\bc32.ide (Release settings)
#elif defined(__WXMSW__) && defined(WXUSINGDLL)
// NT defines APIENTRY, 3.x not
#if !defined(WXAPIENTRY)
- #define WXAPIENTRY FAR wxSTDCALL
+ #define WXAPIENTRY WXFAR wxSTDCALL
#endif
#define IMPLEMENT_WXWIN_MAIN \
#endif
// the keywords needed for WinMain() declaration
+
#ifdef __WIN16__
- #ifndef FAR
#ifdef __VISUALC__
- #define FAR __far
+ #define WXFAR __far
#else // !VC++
- #define FAR _far
+ #define WXFAR _far
#endif
- #endif // no FAR
#else // Win32
- #ifndef FAR
- #define FAR
+ #ifndef WXFAR
+ #define WXFAR
#endif
#endif // Win16/32
return (val + tp.millitm);
}
#else
+#ifndef __BORLANDC__
#warning "wxStopWatch will be up to second resolution!"
+#endif
#endif
return val;
//
// m_owner->PrepareDC( dc );
- wxCoord x, y;
+ int x, y;
m_owner->CalcUnscrolledPosition( 0, 0, &x, &y );
dc.SetDeviceOrigin( 0, -y );
//
// m_owner->PrepareDC( dc );
- wxCoord x, y;
+ int x, y;
m_owner->CalcUnscrolledPosition( 0, 0, &x, &y );
dc.SetDeviceOrigin( -x, 0 );
}
}
-
/*
* Upsample and color convert for the case of 2:1 horizontal and 2:1 vertical.
*/
case CF_OEMTEXT:
size = strlen((const char *)pBuf);
break;
-#ifndef __WATCOMC__
+#if !defined(__WATCOMC__) && ! (defined(__BORLANDC__) && (__BORLANDC__ < 0x500))
case CF_UNICODETEXT:
size = wcslen((const wchar_t *)pBuf);
break;
}
}
-void wxStatusBar95::SetFieldsCount(int nFields, const int widths[])
+void wxStatusBar95::SetFieldsCount(int nFields, const int *widths)
{
// this is Windows limitation
wxASSERT_MSG( (nFields > 0) && (nFields < 255), _T("too many fields") );