// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_VIEW_H_
public:
wxView *view;
- MyCanvas(wxView *view, wxWindow *parent = NULL, wxWindowID id = -1,
+ MyCanvas(wxView *view, wxWindow *parent = NULL, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxRETAINED);
~MyCanvas(void);
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC *dc);
void OnUpdate(wxView *sender, wxObject *hint = NULL);
- bool OnClose(bool deleteWindow = TRUE);
+ bool OnClose(bool deleteWindow = true);
wxShape *FindSelectedShape(void);