X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50ccc908dc4e6376de91edd7f74018898fd690b1..7a04b644092ff91f8f2c6ecdd191e96285d39a1d:/include/wx/mac/carbon/glcanvas.h?ds=sidebyside 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();