Re: Gtk::Style paint_box() cannot be used fully
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: gtkmm-list gnome org
- Subject: Re: Gtk::Style paint_box() cannot be used fully
- Date: Thu, 31 Aug 2006 01:00:48 +0300
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]