From: Vadim Zeitlin Date: Thu, 17 Jan 2008 18:31:04 +0000 (+0000) Subject: correct misleading OnSize() comment X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/728bcab0b8150d6b0fe390bfa24ce6f171fee832 correct misleading OnSize() comment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/glcanvas.h b/include/wx/mac/carbon/glcanvas.h index 79069995d1..10656f0ef8 100644 --- a/include/wx/mac/carbon/glcanvas.h +++ b/include/wx/mac/carbon/glcanvas.h @@ -116,9 +116,8 @@ public: // implementation-only from now on - // Unlike some other platforms, this must get called if you override it. - // It sets the viewport correctly and update the context. - // You shouldn't call glViewport yourself either (use SetViewport if you must reset it.) + // Unlike some other platforms, this must get called if you override it, + // i.e. don't forget "event.Skip()" in your EVT_SIZE handler void OnSize(wxSizeEvent& event); virtual void MacSuperChangedPosition();