--- In anthemion-devtools
yahoogroups.com, Julian Smart <julian
...>
wrote:
ooops... Here ya go:
178 /*!
179 * wxMyGLCanvas constructors
180 */
181
182 wxMyGLCanvas::wxMyGLCanvas( )
183 {
184 }
185
186 wxMyGLCanvas::wxMyGLCanvas( wxWindow* parent, wxWindowID id, const
wxPoint& pos, const wxSize& size, long style, const wxString& name,
int* attribs ):
187 wxGLCanvas(parent, id, pos, size, style, name, attribs)
188 {
189 Create(parent, id, pos, size, style, name, attribs);
190 }
Hope this is readable...
>
> At 18:33 23/06/2006, you wrote:
> >--- In anthemion-devtools
yahoogroups.com, Julian Smart <julian
>
> >wrote:
> >I clicked on the wxGLCanvas, in the property sheet, changed the class
> >to wxMyGLCanvas. Clicked on the build and run button and I get the
> >following message:
> >
> >openglcanvaswidget.cpp(183): error C2512:'wxGLCanvas': no appropriate
> >default contructor available. Shouldnt wxMyGLCanvas have inherit from
> >wxGLCanvas if this is the only change to my widget?
>
> Yep. So what's at l. 183?
>
> Regards,
>
> Julian
>