more compilation fixes for VC6 (#9492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -680,7 +680,18 @@ struct wxPixelDataOut<wxBitmap>
|
|||||||
|
|
||||||
#endif //wxUSE_GUI
|
#endif //wxUSE_GUI
|
||||||
|
|
||||||
template <class Image, class PixelFormat = typename wxPixelFormatFor<Image>::Format >
|
// FIXME-VC6: VC6 doesn't like typename in default template parameters while
|
||||||
|
// it is necessary with standard-conforming compilers, remove this
|
||||||
|
// #define and just use typename when we drop VC6 support
|
||||||
|
#if defined(__VISUALC__) && !wxCHECK_VISUALC_VERSION(7)
|
||||||
|
#define wxTYPENAME_IN_TEMPLATE_DEFAULT_PARAM
|
||||||
|
#else
|
||||||
|
#define wxTYPENAME_IN_TEMPLATE_DEFAULT_PARAM typename
|
||||||
|
#endif
|
||||||
|
|
||||||
|
template <class Image,
|
||||||
|
class PixelFormat = wxTYPENAME_IN_TEMPLATE_DEFAULT_PARAM
|
||||||
|
wxPixelFormatFor<Image>::Format >
|
||||||
class wxPixelData :
|
class wxPixelData :
|
||||||
public wxPixelDataOut<Image>::template wxPixelDataIn<PixelFormat>
|
public wxPixelDataOut<Image>::template wxPixelDataIn<PixelFormat>
|
||||||
{
|
{
|
||||||
|
@@ -103,6 +103,9 @@
|
|||||||
typedef HRESULT (CALLBACK* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
|
typedef HRESULT (CALLBACK* DLLGETVERSIONPROC)(DLLVERSIONINFO *);
|
||||||
#endif // defined(DLLVERSIONINFO)
|
#endif // defined(DLLVERSIONINFO)
|
||||||
|
|
||||||
|
#ifndef ATTACH_PARENT_PROCESS
|
||||||
|
#define ATTACH_PARENT_PROCESS ((DWORD)-1)
|
||||||
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// global variables
|
// global variables
|
||||||
|
Reference in New Issue
Block a user