]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/ogl/canvas.h
more const correctness (slightly modified patch 1655991)
[wxWidgets.git] / contrib / include / wx / ogl / canvas.h
index d65589029ae0dde72cba15c79c66a63744aeec5f..745e610e9f7ba416f5fae1d2b836e06283967e09 100644 (file)
@@ -6,16 +6,12 @@
 // Created:     12/07/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _OGL_CANVAS_H_
 #define _OGL_CANVAS_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "canvas.h"
-#endif
-
 
 // Drag states
 #define NoDragging             0
@@ -34,7 +30,7 @@ class WXDLLIMPEXP_OGL wxShapeCanvas: public wxScrolledWindow
 {
  DECLARE_DYNAMIC_CLASS(wxShapeCanvas)
  public:
-  wxShapeCanvas(wxWindow *parent = NULL, wxWindowID id = -1,
+  wxShapeCanvas(wxWindow *parent = NULL, wxWindowID id = wxID_ANY,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxBORDER | wxRETAINED,