Re: Fwd: gtkmm-list Digest, Vol 80, Issue 2



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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]