I believe I have found a qt4 bug. Here is a very simply gambas 3 (svn current to 1/2/10), this works perfectly find and as expected if i switch to gtk.
Error is, and it only outputted to the gambas console: QPainter::begin: Widget painting can only begin as a result of a paintEvent QPainter::setBackground: Painter not active QPainter::pen: Painter not active QPainter::setPen: Painter not active QPainter::brush: Painter not active QPainter::setBrush: Painter not active gambas program: Public Sub Button1_Click() Draw.Begin(DrawingArea1) Draw.Line(1, 130, 500, 400) Draw.End End DrawingArea1 is locked on the main form. Thanks Andy -- View this message in context: http://old.nabble.com/qt4-draw-error-tp27005884p27005884.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
