home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / include / wx / print.h < prev    next >
C/C++ Source or Header  |  1999-11-09  |  807b  |  42 lines

  1. #ifndef _WX_PRINT_H_BASE_
  2. #define _WX_PRINT_H_BASE_
  3.  
  4. #if defined(__WXMSW__)
  5. #include "wx/msw/printwin.h"
  6.  
  7. #ifndef wxPrinter
  8. #define wxPrinter wxWindowsPrinter
  9. #endif
  10. #ifndef wxPrintPreview
  11. #define wxPrintPreview wxWindowsPrintPreview
  12. #endif
  13.  
  14. #elif defined(__WXMAC__)
  15.  
  16. #include "wx/mac/printmac.h"
  17.  
  18. #ifndef wxPrinter
  19. #define wxPrinter wxMacPrinter
  20. #endif
  21. #ifndef wxPrintPreview
  22. #define wxPrintPreview wxMacPrintPreview
  23. #endif
  24.  
  25. #else
  26. #include "wx/generic/printps.h"
  27.  
  28. #ifndef wxPrinter
  29. #define wxPrinter wxPostScriptPrinter
  30. #define sm_classwxPrinter sm_classwxPostScriptPrinter
  31. #endif
  32. #ifndef wxPrintPreview
  33. #define wxPrintPreview wxPostScriptPrintPreview
  34. #define sm_classwxPrintPreview sm_classwxPostScriptPrintPreview
  35. #endif
  36.  
  37. #endif
  38.  
  39.  
  40. #endif
  41.     // _WX_PRINT_H_BASE_
  42.