]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/printdlg.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / printdlg.h
index a1455213a13e323d23f2dcb0b53e02e0c7e8b49d..e92e2f52f405ea55704c9ed8c725b6482e935432 100644 (file)
@@ -7,13 +7,26 @@
 #include "wx/generic/prntdlgg.h"
 #elif defined(__WXGTK__)
 #include "wx/generic/prntdlgg.h"
-#elif defined(__WXQT__)
+#elif defined(__WXX11__)
 #include "wx/generic/prntdlgg.h"
 #elif defined(__WXMAC__)
+#include "wx/mac/printdlg.h"
+#elif defined(__WXPM__)
 #include "wx/generic/prntdlgg.h"
-#elif defined(__WXSRUBS__)
+#elif defined(__WXSTUBS__)
 #include "wx/generic/prntdlgg.h"
 #endif
 
+#if !defined(__WXMSW__) && !defined(__WXMAC__)
+#define wxPrintDialog wxGenericPrintDialog
+#define sm_classwxPrintDialog sm_classwxGenericPrintDialog
+
+#define wxPrintSetupDialog wxGenericPrintSetupDialog
+#define sm_classwxPrintSetupDialog sm_classwxGenericPrintSetupDialog
+
+#define wxPageSetupDialog wxGenericPageSetupDialog
+#define sm_classwxPageSetupDialog sm_classwxGenericPageSetupDialog
+#endif
+
 #endif
     // _WX_PRINTDLG_H_BASE_