X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0613b80c171f77425226621886e9160f6767ad30..ca7b163fc2f9a3ea016a812dcb8be162c1ebb79b:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 8d58b43bfa..e2e134ea9e 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -293,12 +293,6 @@ typedef int wxWindowID; #define wxConstCast(obj, className) ((className *)(obj)) #endif -#ifdef HAVE_STATIC_CAST - #define wxStaticCast(val, type) static_cast(val) -#else - #define wxStaticCast(val, type) ((type)(val)) -#endif - #ifndef HAVE_STD_WSTRING #if defined(__VISUALC__) && (__VISUALC__ >= 1100) /* VC++ 6.0 and 5.0 have std::wstring (what about earlier versions?) */ @@ -2000,7 +1994,8 @@ enum wxPrintMode wxPRINT_MODE_NONE = 0, wxPRINT_MODE_PREVIEW = 1, /* Preview in external application */ wxPRINT_MODE_FILE = 2, /* Print to file */ - wxPRINT_MODE_PRINTER = 3 /* Send to printer */ + wxPRINT_MODE_PRINTER = 3, /* Send to printer */ + wxPRINT_MODE_STREAM = 4 /* Send postscript data into a stream */ }; /* ---------------------------------------------------------------------------- */