Robin Dunn wrote: >> Does this work right for you? I'm getting >> >> "EnsureIsValid(): Cannot nest wxDCs on the same window" >> >> errors on OS-X, but I haven't had a chance to look yet at why. > > This will happen if you have a paint or client DC associated with a > window and then you either cause a recursive call to the same code, or > you have some other code that is called that creates another DC for the > same window before the first one is destroyed. This is an issue only on > OS X where you must make sure that there is only one active DC at a time > for the window.
Thanks Robin. I figured it was something like that, but I haven't had a chance to dig into it. This will help me narrow down what to look for. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
