ports/graphics/panoglview/files/patch-src_panointeractivecanvas.h
Steve Wills e4f8fefbea graphics/panoglview: use wx30-gtk2 as a default wxWidgets toolkit
PR:		233752
Submitted by:	Iouri V. Ivliev <ii@any.com.ru> (maintainer)
2018-12-04 17:46:22 +00:00

14 lines
570 B
C

--- src/panointeractivecanvas.h.orig 2008-07-23 21:09:11 UTC
+++ src/panointeractivecanvas.h
@@ -39,7 +39,11 @@ class panoInteractiveCanvas : public panoCanvas (publi
void OnMouse(wxMouseEvent& event);
void OnTimer(wxTimerEvent &event);
void OnPaint(wxPaintEvent &event);
+#if wxCHECK_VERSION(3,0,0)
+ void resized(wxSizeEvent &event);
+#else //wxCHECK_VERSION(3,0,0)
void OnSize(wxSizeEvent &event);
+#endif //wxCHECK_VERSION(3,0,0)
void setBoundaryMode(int boundarymode);
void enableShowBoundaries(bool show);
void enableUseBoundaries(bool use);