Re: Gtk::Calendar



On Thu, 2005-05-19 at 14:37 -0500, Bob Caryl wrote:
> When I compile this, I get the following errors:
> 
> employee.cpp:1823: error: invalid use of undefined type `struct _GtkCalendar
> /opt/gnome/include/gtkmm-2.4/gtkmm/calendar.h:33: error: forward 
> declaration of `struct _GtkCalendar'
> make: *** [employee.o] Error 1
> 
> I think I'm probably on the right track here...  but I'm probably 
> skipping an object reference somehow.  Anyone care to enlighten me?

#include <gtk/gtkcalendar.h>

We don't pollute the gtkmm headers with the GTK+ headers when it's not
necessary.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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