From 7e706cf64654aea466c059c307e5723e2423ed5d Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:20:50 +0200 Subject: 5.6 --- wx+/graph.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'wx+/graph.h') diff --git a/wx+/graph.h b/wx+/graph.h index db52753b..70da5dc3 100644 --- a/wx+/graph.h +++ b/wx+/graph.h @@ -279,20 +279,15 @@ private: void OnMouseLeftUp (wxMouseEvent& event); void OnMouseCaptureLost(wxMouseCaptureLostEvent& event); - void onPaintEvent(wxPaintEvent& evt) + void onPaintEvent(wxPaintEvent& event) { wxAutoBufferedPaintDC dc(this); //this one happily fucks up for RTL layout by not drawing the first column (x = 0)! //wxPaintDC dc(this); render(dc); } - void onRefreshRequired(wxEvent& evt) - { - Refresh(); - evt.Skip(); - } - - void onEraseBackGround(wxEraseEvent& evt) {} + void onSizeEvent(wxSizeEvent& event) { Refresh(); event.Skip(); } + void onEraseBackGround(wxEraseEvent& event) {} void render(wxDC& dc) const; -- cgit