예제 #1
0
파일: shape.cpp 프로젝트: basisbit/neogfx
	i_shape& shape::buddy() const
	{
		if (!has_buddy())
			throw no_buddy();
		return container().buddy(*this);
	}
예제 #2
0
파일: label.cpp 프로젝트: FlibbleMr/neogfx
	i_widget& label::buddy() const
	{
		if (has_buddy())
			return *iBuddy;
		throw no_buddy();
	}