diff options
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/PlatWin.cxx | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 9fde8a272..d3997e96b 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -419,6 +419,12 @@ void Surface::SetClip(PRectangle rc) {  	::IntersectClipRect(hdc, rc.left, rc.top, rc.right, rc.bottom);  } +void Surface::FlushCachedState() { +	pen = 0; +	brush = 0; +	font = 0; +} +  Window::~Window() {  } | 
