backport the WXDLLIMPEXP_FWD_XXX macros to 2.8 (patches 1822143 and 1822146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -559,7 +559,7 @@ static wxString FileToCppArray(wxString filename, int num)
|
||||
wxASSERT_MSG( offset >= 0 , wxT("Invalid file length") );
|
||||
|
||||
const size_t lng = wx_truncate_cast(size_t, offset);
|
||||
wxASSERT_MSG( lng == offset, wxT("Huge file not supported") );
|
||||
wxASSERT_MSG( !(lng - offset), wxT("Huge file not supported") );
|
||||
|
||||
snum.Printf(_T("%i"), num);
|
||||
output.Printf(_T("static size_t xml_res_size_") + snum + _T(" = %i;\n"), lng);
|
||||
@@ -712,7 +712,7 @@ static wxString FileToPythonArray(wxString filename, int num)
|
||||
wxASSERT_MSG( offset >= 0 , wxT("Invalid file length") );
|
||||
|
||||
const size_t lng = wx_truncate_cast(size_t, offset);
|
||||
wxASSERT_MSG( offset == lng, wxT("Huge file not supported") );
|
||||
wxASSERT_MSG( !(offset - lng), wxT("Huge file not supported") );
|
||||
|
||||
snum.Printf(_T("%i"), num);
|
||||
output = _T(" xml_res_file_") + snum + _T(" = '''\\\n");
|
||||
|
Reference in New Issue
Block a user