diff --git a/build/wxExtend.vcxproj b/build/wxExtend.vcxproj index 52df22a..2eb105e 100644 --- a/build/wxExtend.vcxproj +++ b/build/wxExtend.vcxproj @@ -40,6 +40,9 @@ + + + {A3A36689-AC35-4026-93DA-A3BA0C0E767C} wxExtend diff --git a/build/wxExtend.vcxproj.filters b/build/wxExtend.vcxproj.filters index 0383df5..150b51d 100644 --- a/build/wxExtend.vcxproj.filters +++ b/build/wxExtend.vcxproj.filters @@ -44,11 +44,18 @@ - - Resource Files\Localization - Resource Files\Localization + + + Resource Files\Localization + + + + + Resource Files + + \ No newline at end of file diff --git a/include/wxex/common.h b/include/wxex/common.h index 275460e..1ce0636 100644 --- a/include/wxex/common.h +++ b/include/wxex/common.h @@ -17,13 +17,33 @@ along with wxExtend. If not, see . */ -#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 #include #include +/// +/// Public function calling convention +/// #ifdef WXEXTEND #define ZRCOLA_API __declspec(dllexport) #else @@ -31,6 +51,9 @@ #endif +/// +/// Debug macros +/// #if wxDEBUG_LEVEL #define wxVERIFY(x) wxASSERT((x)) #else @@ -79,3 +102,6 @@ inline bool wxModifyStyleEx(_In_ WXHWND hWnd, _In_ DWORD dwRemove, _In_ DWORD dw return true; } + +#endif // !defined(RC_INVOKED) && !defined(MIDL_PASS) +#endif // !defined(__wxEXTEND_common_h__) diff --git a/res/wxExtend.rc b/res/wxExtend.rc new file mode 100644 index 0000000..7b40ff5 Binary files /dev/null and b/res/wxExtend.rc differ