Applied patch [ 631639 ] Print should be generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#ifndef _WX_PRINT_H_BASE_
|
#ifndef _WX_PRINT_H_BASE_
|
||||||
#define _WX_PRINT_H_BASE_
|
#define _WX_PRINT_H_BASE_
|
||||||
|
|
||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
|
||||||
#include "wx/msw/printwin.h"
|
#include "wx/msw/printwin.h"
|
||||||
|
|
||||||
#ifndef wxPrinter
|
#ifndef wxPrinter
|
||||||
|
@@ -1,7 +1,9 @@
|
|||||||
#ifndef _WX_PRINTDLG_H_BASE_
|
#ifndef _WX_PRINTDLG_H_BASE_
|
||||||
#define _WX_PRINTDLG_H_BASE_
|
#define _WX_PRINTDLG_H_BASE_
|
||||||
|
|
||||||
#if defined(__WXMSW__)
|
#if defined(__WXUNIVERSAL__)
|
||||||
|
#include "wx/generic/prntdlgg.h"
|
||||||
|
#elif defined(__WXMSW__)
|
||||||
#include "wx/msw/printdlg.h"
|
#include "wx/msw/printdlg.h"
|
||||||
#elif defined(__WXMOTIF__)
|
#elif defined(__WXMOTIF__)
|
||||||
#include "wx/generic/prntdlgg.h"
|
#include "wx/generic/prntdlgg.h"
|
||||||
@@ -19,7 +21,7 @@
|
|||||||
#include "wx/generic/prntdlgg.h"
|
#include "wx/generic/prntdlgg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__WXMSW__) && !defined(__WXMAC__)
|
#if defined(__WXUNIVERSAL__) || (!defined(__WXMSW__) && !defined(__WXMAC__))
|
||||||
#define wxPrintDialog wxGenericPrintDialog
|
#define wxPrintDialog wxGenericPrintDialog
|
||||||
#define sm_classwxPrintDialog sm_classwxGenericPrintDialog
|
#define sm_classwxPrintDialog sm_classwxGenericPrintDialog
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user