Version resource added
This commit is contained in:
parent
27edfa1a59
commit
6914baf5b2
@ -40,6 +40,9 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\locale\wxExtend.pot" />
|
<None Include="..\locale\wxExtend.pot" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\res\wxExtend.rc" />
|
||||||
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{A3A36689-AC35-4026-93DA-A3BA0C0E767C}</ProjectGuid>
|
<ProjectGuid>{A3A36689-AC35-4026-93DA-A3BA0C0E767C}</ProjectGuid>
|
||||||
<RootNamespace>wxExtend</RootNamespace>
|
<RootNamespace>wxExtend</RootNamespace>
|
||||||
|
@ -44,11 +44,18 @@
|
|||||||
</ClInclude>
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\locale\sl.po">
|
|
||||||
<Filter>Resource Files\Localization</Filter>
|
|
||||||
</None>
|
|
||||||
<None Include="..\locale\wxExtend.pot">
|
<None Include="..\locale\wxExtend.pot">
|
||||||
<Filter>Resource Files\Localization</Filter>
|
<Filter>Resource Files\Localization</Filter>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<POCompile Include="..\locale\sl.po">
|
||||||
|
<Filter>Resource Files\Localization</Filter>
|
||||||
|
</POCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="..\res\wxExtend.rc">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -17,13 +17,33 @@
|
|||||||
along with wxExtend. If not, see <http://www.gnu.org/licenses/>.
|
along with wxExtend. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#if !defined(__wxEXTEND_common_h__)
|
||||||
|
#define __wxEXTEND_common_h__
|
||||||
|
|
||||||
|
///
|
||||||
|
/// wxExtend Version
|
||||||
|
///
|
||||||
|
#define wxEXTEND_VERSION 0x01000000
|
||||||
|
|
||||||
|
#define wxEXTEND_VERSION_MAJ 1
|
||||||
|
#define wxEXTEND_VERSION_MIN 0
|
||||||
|
#define wxEXTEND_VERSION_REV 0
|
||||||
|
#define wxEXTEND_VERSION_BUILD 0
|
||||||
|
|
||||||
|
#define wxEXTEND_VERSION_STR "1.0"
|
||||||
|
#define wxEXTEND_BUILD_YEAR_STR "2016"
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(RC_INVOKED) && !defined(MIDL_PASS)
|
||||||
|
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <wx/debug.h>
|
#include <wx/debug.h>
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
|
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Public function calling convention
|
||||||
|
///
|
||||||
#ifdef WXEXTEND
|
#ifdef WXEXTEND
|
||||||
#define ZRCOLA_API __declspec(dllexport)
|
#define ZRCOLA_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
@ -31,6 +51,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Debug macros
|
||||||
|
///
|
||||||
#if wxDEBUG_LEVEL
|
#if wxDEBUG_LEVEL
|
||||||
#define wxVERIFY(x) wxASSERT((x))
|
#define wxVERIFY(x) wxASSERT((x))
|
||||||
#else
|
#else
|
||||||
@ -79,3 +102,6 @@ inline bool wxModifyStyleEx(_In_ WXHWND hWnd, _In_ DWORD dwRemove, _In_ DWORD dw
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !defined(RC_INVOKED) && !defined(MIDL_PASS)
|
||||||
|
#endif // !defined(__wxEXTEND_common_h__)
|
||||||
|
BIN
res/wxExtend.rc
Normal file
BIN
res/wxExtend.rc
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user