Re: Access violation in Gtk::TreeDragDest::~TreeDragDest()



08.04.2011 13:01, Povietkin Konstantin пишет:
> Please post this class:
> 
>> ORM::Data

namespace ORM
{
	class Data : public Gtk::ListStore
	{
	public:
		static Glib::RefPtr<Data> create(const Scheme& columns)
		{
			return Glib::RefPtr<Data>(new Data(columns));
		}

		const FieldBase& GetField(size_t i) const
		{
			return m_Scheme.GetField(i);
		}
	private:
		Data(const Scheme& columns)
			:Gtk::ListStore(columns),
			m_Scheme(columns)
		{
		}
		~Data()
		{
		}

		const Scheme& m_Scheme;
	};
}
---
But I change it into Gtk::ListStore and that's fixed error here.


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