Added more wxRegion tests to erase sample.

Implemented "clear now, paint later".
  Corrected colour-by-name lookup.
  Corrected DrawRectangle code which produced
    redraw garbage under wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-02-18 22:13:23 +00:00
parent 28f5082b32
commit 887dd52f06
8 changed files with 57 additions and 16 deletions

View File

@@ -120,8 +120,11 @@ public:
// arrange status bar, toolbar etc.
virtual bool PreResize();
// Generates paint events
void X11SendPaintEvents();
// Generates paint events from m_updateRegion
void SendPaintEvents();
// Generates erase events from m_clearRegion
void SendEraseEvents();
// Clip to paint region?
bool GetClipPaintRegion() { return m_clipPaintRegion; }