Re: Gtk::Style paint_box() cannot be used fully



Philip Boulain wrote:
> As for GTK+'s C API, Gtk::Style's paint_box() method is documented as 
> accepting NULL (zero, specifically) for parameters such as "area". 
> However, these parameters take references (e.g. "const Gdk::Rectangle& 
> area"), and therefore zero cannot actually be passed to them.

As an ugly workaround, try passing `*static_cast <const Gdk::Rectangle*> (0)'
as a parameter.

Paul



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