mac 2,9 "Cannot nest wxDCs on the same window"

Riccardo Cohen rcohen at articque.com
Mon Oct 1 09:48:28 PDT 2007


Hi
I have a program that works on wxmac2,7 , but with 2,9 it displays the 
following assertion : "Cannot nest wxDCs on the same window"

this happens when I do

   wxClientDC      *dc=new wxClientDC(diag);
   dc->DrawRectangle(rec);
   delete(dc);

inside a timer_wake event.
I do not understand exactly what it means. Is there something changed 
from 2,7 to 2,9 on dc creation ?

Thanks for any info.

-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49




More information about the wx-users mailing list