]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/glcanvas.h
Override CreateItem so wxListBox can turn its notifications into events.
[wxWidgets.git] / include / wx / palmos / glcanvas.h
index 4d89567993ffe2031511e2c1880327ee01e9f4a0..013ee3d81d1bbffa9d907b17e0910ba897bbadc0 100644 (file)
@@ -1,18 +1,14 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx/palmos/glcanvas.h
 // Purpose:     wxGLCanvas, for using OpenGL with wxWidgets under Palm OS
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "glcanvas.h"
-#endif
-
 #ifndef _WX_GLCANVAS_H_
 #define _WX_GLCANVAS_H_
 
@@ -63,7 +59,7 @@ public:
         const wxPalette& WXUNUSED(palette),
         const wxGLContext *other /* for sharing display lists */ );
 
-    ~wxGLContext();
+    virtual ~wxGLContext();
 
 
     void SetCurrent();
@@ -115,7 +111,7 @@ public:
         int *attribList = 0,
         const wxPalette& palette = wxNullPalette);
 
-    ~wxGLCanvas();
+    virtual ~wxGLCanvas();
 
     // Replaces wxWindow::Create functionality, since
     // we need to use a different window class