X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cb0e8d05cadea6be3a7bd93f1fea9a9e0df95f0..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/convauto.h?ds=inline diff --git a/include/wx/convauto.h b/include/wx/convauto.h index 3a2e2e4809..bc514cea3b 100644 --- a/include/wx/convauto.h +++ b/include/wx/convauto.h @@ -14,8 +14,6 @@ #include "wx/strconv.h" #include "wx/fontenc.h" -#if wxUSE_WCHAR_T - // ---------------------------------------------------------------------------- // wxConvAuto: uses BOM to automatically detect input encoding // ---------------------------------------------------------------------------- @@ -107,11 +105,11 @@ private: void InitFromBOM(BOMType bomType); // create the correct conversion object for the BOM present in the - // beginning of the buffer; adjust the buffer to skip the BOM if found + // beginning of the buffer // // return false if the buffer is too short to allow us to determine if we // have BOM or not - bool InitFromInput(const char **src, size_t *len); + bool InitFromInput(const char *src, size_t len); // adjust src and len to skip over the BOM (identified by m_bomType) at the // start of the buffer @@ -144,7 +142,5 @@ private: wxDECLARE_NO_ASSIGN_CLASS(wxConvAuto); }; -#endif // wxUSE_WCHAR_T - #endif // _WX_CONVAUTO_H_