List Info

Thread: wxGLCanvas and DB 3.02




wxGLCanvas and DB 3.02
user name
2006-06-23 20:30:26

Ah, wxGLCanvas is one of the few classes without a default constructor,
so I'll need to fix the code generation. Meanwhile you can manually
remove the default ctor.

Thanks,

Julian

At 21:13 23/06/2006, you wrote:
&gt;--- In anthemion-devtoolsyahoogroups.com, Julian Smart <julian...>
&gt;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&amp; 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 }
>
&gt;Hope this is readable...
>
&gt; >
> > 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; >
>
>
>;
>
&gt;
>
&gt;
>
>
>Yahoo! Groups Links
>;
>
&gt;
>

==============================================================================
Julian Smart juliananthemion.co.uk
28/5 Gillespie Crescent, Edinburgh, http://www.anthemion.co.uk
Midlothian, U.K., EH10 4HU +44 (0)131 229 5306
Writer's Cafe: power tools for writers http://www.writerscafe.co.uk
HelpBlocks: HTML help authoring http://www.helpblocks.com
DialogBlocks: cross-platform dialogs http://www.anthemion.co.uk/dialogblocks
==============================================================================

__._,_.___
.

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

--- In anthemion-devtoolsyahoogroups.com, Julian Smart <julian...>
wrote:
okie dokie...
>
&gt; Ah, wxGLCanvas is one of the few classes without a default constructor,
> so I'll need to fix the code generation. Meanwhile you can manually
> remove the default ctor.
>;
> Thanks,
&gt;
> Julian
&gt;
> At 21:13 23/06/2006, you wrote:
&gt; >--- In anthemion-devtoolsyahoogroups.com, Julian Smart <julian>
> >wrote:
> >ooops... Here ya go:
> >
> >178 /*!
> >179 * wxMyGLCanvas constructors
> >180 */
> >181
&gt; >182 wxMyGLCanvas::wxMyGLCanvas( )
> >183 {
> >184 }
> >185
&gt; >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; > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
>; >
> >
> >
> >
>
>
==============================================================================
&gt; Julian Smart julian...
> 28/5 Gillespie Crescent, Edinburgh, http://www.anthemion.co.uk
&gt; Midlothian, U.K., EH10 4HU +44 (0)131 229 5306
> Writer's Cafe: power tools for writers http://www.writerscafe.co.uk
> HelpBlocks: HTML help authoring http://www.helpblocks.com
>; DialogBlocks: cross-platform dialogs
http://www.anthemion.co.uk/dialogblocks
>
==============================================================================
>

__._,_.___
.

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

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