]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dcscreen.h
Fixed bug #1163384. Moved the code that handles activating the cell
[wxWidgets.git] / include / wx / msw / dcscreen.h
index eccf1d7847a6bb258d91147fc0738579cd271563..035e547e2330e5825f6e26cf522745143f1292f5 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCSCREEN_H_
@@ -25,9 +25,9 @@ public:
     wxScreenDC();
 
     // Compatibility with X's requirements for drawing on top of all windows
-    static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
-    static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
-    static bool EndDrawingOnTop() { return TRUE; }
+    static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
+    static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
+    static bool EndDrawingOnTop() { return true; }
 
 protected:
     virtual void DoGetSize(int *width, int *height) const;