From dfddb1d3029e1f129e94b5a2e802f32dd03fe188 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 17 Jan 2014 17:10:19 +0000 Subject: need to call SetFrameSize on Resize otherwise if the crop tab is not the initial tab shown then it doesn't repaint correctly when it is shown Change-Id: Ie61819fe3fb089b716547fa5e54352ae04fd8087 --- cui/source/inc/grfpage.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'cui/source/inc/grfpage.hxx') diff --git a/cui/source/inc/grfpage.hxx b/cui/source/inc/grfpage.hxx index 474565ddaf02..0b13e11b096b 100644 --- a/cui/source/inc/grfpage.hxx +++ b/cui/source/inc/grfpage.hxx @@ -36,6 +36,7 @@ public: SvxCropExample( Window* pPar, WinBits nStyle ); virtual void Paint( const Rectangle& rRect ); + virtual void Resize(); virtual Size GetOptimalSize() const; void SetTopLeft( const Point& rNew ) { aTopLeft = rNew; } -- cgit