]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Add comment about wxBitmap::SetPalette() not being implemented
[wxWidgets.git] / include / wx / window.h
index 50fae004cd1a59da88128d0f1a4d8cada6898371..5396fe59eec19a83525b97c04c3fd15b7b82c9ab 100644 (file)
@@ -692,7 +692,10 @@ public:
                           const wxRect *rect = (const wxRect *) NULL ) = 0;
 
         // a less awkward wrapper for Refresh
-    void RefreshRect(const wxRect& rect) { Refresh(true, &rect); }
+    void RefreshRect(const wxRect& rect, bool eraseBackground = true)
+    {
+        Refresh(eraseBackground, &rect);
+    }
 
         // repaint all invalid areas of the window immediately
     virtual void Update() { }