List Info

Thread: wxGLCanvas and DB 3.02




wxGLCanvas and DB 3.02
user name
2006-06-23 18:14:44

At 18:33 23/06/2006, you wrote:
&gt;--- In anthemion-devtoolsyahoogroups.com, Julian Smart <julian...>
&gt;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

__._,_.___
.

__,_._,___
wxGLCanvas and DB 3.02
user name
2006-06-23 20:13:21

--- In anthemion-devtoolsyahoogroups.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&amp; 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:
&gt; >--- In anthemion-devtoolsyahoogroups.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?
&gt;
> Yep. So what's at l. 183?
>
> Regards,
>
> Julian
&gt;

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )