// Created: 17/09/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
&gcvalues);
m_backgroundPixel = (int) gcvalues.background;
- m_ok = TRUE;
+ m_ok = true;
}
wxScreenDC::~wxScreenDC()
bool wxScreenDC::StartDrawingOnTop(wxRect* rect)
{
if (sm_overlayWindow)
- return FALSE;
+ return false;
Display *dpy = (Display*) wxGetDisplay();
Pixmap screenPixmap = RootWindow(dpy, DefaultScreen(dpy));
if (sm_overlayWindow)
{
XMapWindow(dpy, (Window) sm_overlayWindow);
- return TRUE;
+ return true;
}
else
- return FALSE;
+ return false;
}
bool wxScreenDC::EndDrawingOnTop()
{
XDestroyWindow((Display*) wxGetDisplay(), (Window) sm_overlayWindow);
sm_overlayWindow = 0;
- return TRUE;
+ return true;
}
else
- return FALSE;
+ return false;
}