WXEXTEND_API is defined according to WXEXTEND_DLL and WXEXTEND_DLLIMP constants instead of WXEXTEND now
This commit is contained in:
parent
2fff163aea
commit
a287e6e884
@ -8,9 +8,6 @@
|
||||
<OutDir>..\..\..\output\$(Platform).$(Configuration)\</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WXEXTEND;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<POCompile>
|
||||
<OutputFile>$(OutDir)..\locale\%(Filename)\$(ProjectName)$(wxExtendVersion).mo</OutputFile>
|
||||
</POCompile>
|
||||
|
@ -5,6 +5,10 @@
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>WXEXTEND_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
@ -48,14 +48,14 @@
|
||||
///
|
||||
/// Public function calling convention
|
||||
///
|
||||
#ifdef WXEXTEND
|
||||
#ifdef _WINDLL
|
||||
#define WXEXTEND_API __declspec(dllexport)
|
||||
#ifndef WXEXTEND_API
|
||||
#if defined(WXEXTEND_DLL)
|
||||
#define WXEXTEND_API __declspec(dllexport)
|
||||
#elif defined(WXEXTEND_DLLIMP)
|
||||
#define WXEXTEND_API __declspec(dllimport)
|
||||
#else
|
||||
#define WXEXTEND_API
|
||||
#endif
|
||||
#else
|
||||
#define WXEXTEND_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user