]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/dcprint.h
don't try to refresh the menu bar before showing it, fixes crash on startup with...
[wxWidgets.git] / include / wx / mac / dcprint.h
index cd3722edee78045a53ec2734f4f176f3d7fff382..b06714920c6be97b881eae41a04cfabb05d2a6b3 100644 (file)
@@ -35,11 +35,15 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
     virtual void EndPage(void) ;
  protected :
  #if TARGET_CARBON
-       PMPrintContext  m_macPrintPort ;
+    #if PM_USE_SESSION_APIS
+      PMPrintSession  m_macPrintSession;
+    #else
+      PMPrintContext  m_macPrintPort ;
+    #endif
  #else
-       TPPrPort        m_macPrintPort ;
+      TPPrPort         m_macPrintPort ;
  #endif
-       wxPrintData m_printData ;
+      wxPrintData m_printData ;
 #endif // wxUSE_PRINTING_ARCHITECTURE
 };