RE: [gtkmm] Dialog Problem



> From: Gene Ruebsamen [mailto:gene erachampion com] 
> I am having a problem with a class I've derived from 
> Gtk::Dialog. The problem is that I cannot call the run() 
> method on any objects derived from 
> Gtk::Dialog.  I get the following compiler error trying to do so:
> 
> ---- output from mingw ---- [gcc 3.2]
> d:/dev-cpp/include/gtkmm-2.0/gtkmm/dialog.h: In member 
> function `virtual void 
>    DropMenu::on_help_about(MainWindow*)':
> d:/dev-cpp/include/gtkmm-2.0/gtkmm/dialog.h:196: `int 
> Gtk::Dialog::run()' is 
>    inaccessible
> mainwindow.cpp:52: within this context
> ---------------------------

It's difficult to say what the problem is without seeing your DropMenu class
or mainwindow.cpp:52. It looks like a pure C++ problem.

Murray Cumming
murrayc usa net
www.murrayc.com 



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