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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user