X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67daf87774c71ae9f73af9969008af220e52a11..ec45f8ee19190fce57180381611075d3a5b63435:/src/generic/gridg.cpp diff --git a/src/generic/gridg.cpp b/src/generic/gridg.cpp index 6e12f51835..d12a8a9e1b 100644 --- a/src/generic/gridg.cpp +++ b/src/generic/gridg.cpp @@ -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