Add support for wxNO_IMPLICIT_WXSTRING_CONV_TO_PTR to wxString
This symbol is similar to the existing wxNO_IMPLICIT_WXSTRING_ENCODING and can be defined when building the application (as opposed to when building the library) to disable implicit wxString conversions to pointer types, i.e. char*, wchat_t* and void*. This makes the just added wxUSE_CHAR_CONV_IN_WXSTRING library build option unnecessary, so remove it.
This commit is contained in:
parent
4913857ef7
commit
889845fbc4
16 changed files with 44 additions and 141 deletions
|
|
@ -90,7 +90,6 @@ wx_dependent_option(wxUSE_UTF8_LOCALE_ONLY "only support UTF-8 locales in UTF-8
|
|||
if(NOT WIN32)
|
||||
wx_option(wxUSE_VISIBILITY "use of ELF symbols visibility")
|
||||
endif()
|
||||
wx_option(wxUSE_CHAR_CONV_IN_WXSTRING "provide implicit conversions to const wchar_t* and const char* in wxString" ON)
|
||||
wx_option(wxUSE_STD_STRING_CONV_IN_WXSTRING "provide implicit conversions to std::wstring and std::string in wxString" OFF)
|
||||
wx_option(wxUSE_UNSAFE_WXSTRING_CONV "provide unsafe implicit conversions in wxString to const char* or std::string")
|
||||
wx_option(wxUSE_REPRODUCIBLE_BUILD "enable reproducable build" OFF)
|
||||
|
|
|
|||
|
|
@ -159,8 +159,6 @@
|
|||
|
||||
#cmakedefine01 wxUSE_UNSAFE_WXSTRING_CONV
|
||||
|
||||
#cmakedefine01 wxUSE_CHAR_CONV_IN_WXSTRING
|
||||
|
||||
#cmakedefine01 wxUSE_STD_STRING_CONV_IN_WXSTRING
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue