]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/glcanvas.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / mac / carbon / glcanvas.h
index 79069995d10b492fe3c48d340fbc88426dc169ff..10656f0ef8781613f4991db95b5d9287c588b290 100644 (file)
@@ -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();