Extract wxLOCALE_XXX constants into their own header
No real changes, just make it possible to use these constants without including the entire wx/intl.h. Note that the existing headers including wx/intl.h need to keep including it, unfortunately, as not doing it any longer would break compilation of any code including them which relies on _() or wxGetTranslation() being defined after including e.g. wx/dc.h. This was, of course, never guaranteed, but in practice it worked for a very long time, so don't break it now. This commit is best viewed with --color-moved git option.
This commit is contained in:
@@ -735,6 +735,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
wx/generic/fswatcher.h
|
||||
wx/secretstore.h
|
||||
wx/lzmastream.h
|
||||
wx/localedefs.h
|
||||
</set>
|
||||
|
||||
|
||||
|
@@ -651,6 +651,7 @@ set(BASE_CMN_HDR
|
||||
wx/fswatcher.h
|
||||
wx/generic/fswatcher.h
|
||||
wx/lzmastream.h
|
||||
wx/localedefs.h
|
||||
)
|
||||
|
||||
set(NET_UNIX_SRC
|
||||
|
@@ -574,6 +574,7 @@ BASE_CMN_HDR =
|
||||
wx/link.h
|
||||
wx/list.h
|
||||
wx/listimpl.cpp
|
||||
wx/localedefs.h
|
||||
wx/log.h
|
||||
wx/longlong.h
|
||||
wx/lzmastream.h
|
||||
|
@@ -823,6 +823,7 @@
|
||||
<ClInclude Include="..\..\include\wx\secretstore.h" />
|
||||
<ClInclude Include="..\..\include\wx\evtloopsrc.h" />
|
||||
<ClInclude Include="..\..\include\wx\lzmastream.h" />
|
||||
<ClInclude Include="..\..\include\wx\localedefs.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@@ -598,6 +598,9 @@
|
||||
<ClInclude Include="..\..\include\wx\listimpl.cpp">
|
||||
<Filter>Common Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\include\wx\localedefs.h">
|
||||
<Filter>Common Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\include\wx\log.h">
|
||||
<Filter>Common Headers</Filter>
|
||||
</ClInclude>
|
||||
|
@@ -2103,6 +2103,10 @@
|
||||
RelativePath="..\..\include\wx\list.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\localedefs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\log.h"
|
||||
>
|
||||
|
@@ -2099,6 +2099,10 @@
|
||||
RelativePath="..\..\include\wx\list.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\localedefs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\log.h"
|
||||
>
|
||||
|
Reference in New Issue
Block a user