Re: Fwd: gtkmm-list Digest, Vol 80, Issue 2
- From: José Alburquerque <jaalburquerque cox net>
- To: american communist party gmail com
- Cc: gtkmm-list gnome org
- Subject: Re: Fwd: gtkmm-list Digest, Vol 80, Issue 2
- Date: Thu, 09 Dec 2010 13:58:25 -0500
On Thu, 2010-12-09 at 18:14 +0000, american communist party gmail com
wrote:
> On Dec 8, 2010 11:41pm, Chun Yang <achunyang2010 gmail com> wrote:
> >inc/examplewindow.h:59: error: ‘ToolPalette’ in namespace ‘Gtk’ does
> not name a type
>
> > Here is the offending code in red:
> >
> > //Child widgets:
> > Gtk::ToolPalette m_ToolPalette;
>
> Try using a forward declaration;
>
> class Gtk::ToolPallette;
>
> Before declaring your containing class.
Actually, since the declaration is neither a pointer or a reference, it
would be necessary to include the <gtkmm/toolpalette.h> header file, I
think.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
José
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]