|
List Info
Thread: wxGLCanvas and DB 3.02
|
|
| wxGLCanvas and DB 3.02 |

|
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:
>--- 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
> >
>
>
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
==============================================================================
Julian Smart julian anthemion.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 |

|
2006-06-23 21:16:01 |
|
--- In anthemion-devtools yahoogroups.com, Julian Smart <julian ...>
wrote:
okie dokie...
>
> 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:
> >--- 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
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
>
>
==============================================================================
> Julian Smart julian ...
> 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
>
==============================================================================
>
__._,_.___
.
__,_._,___
|
[1-2]
|
|