USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you

must recompile everything after upgrading!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-09-25 13:28:52 +00:00
parent d069d02e1e
commit 47d67540a0
166 changed files with 1374 additions and 1314 deletions

View File

@@ -33,9 +33,9 @@
// Set to zero to use no double-buffering
#ifdef __WXMSW__
#define USE_DOUBLE_BUFFERING 1
#define wxUSE_DOUBLE_BUFFERING 1
#else
#define USE_DOUBLE_BUFFERING 0
#define wxUSE_DOUBLE_BUFFERING 0
#endif
#define wxGRID_DRAG_NONE 0
@@ -418,7 +418,7 @@ void wxGenericGrid::OnPaint(wxPaintEvent& WXUNUSED(event))
int w, h;
GetClientSize(&w, &h);
bool useDoubleBuffering = (bool) USE_DOUBLE_BUFFERING;
bool useDoubleBuffering = (bool) wxUSE_DOUBLE_BUFFERING;
if (useDoubleBuffering)
{
// Reuse the old bitmap if possible