Is there any way to either make sure the entire area of a window is visible, with no other windows above it, or to cause a wxWindowDC to see the whole window even though part of it isn't visible? I'm trying to print an object derived from a wxGLCanvas by calling Blit to a wxPrinterDC from my object's wxWindowDC. The problem is if the printing dialogs cover a portion of the object I want to print it causes that portion of the object to be blank in the printout. Is there a way to ensure I capture the entire window even if part of it isn't visible to the screen? Or is there a better way to print objects I don't know about? Is there anyway to set the device context an object draws to to be a wxPrinterDC instead of the screen?
Thanks,
Andrew