Error when using custom widget.
Hey.
I'm trying to use a custom widget. Error:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!
Program: ...mulator\msvs\..\..\build\Debug\bin\Application.exe
File: ..\..\..\..\framework\source\touchgf...\CanvasWidget.cpp
Line: 40
Expression: canvasPainter != 0 && "No painter set"
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
---------------------------
PS: Problem solved. Was my inattention
