name == _T("notebookpage") ||
name == _T("separator") ||
name == _T("sizeritem") ||
+ name == _T("wxMenu") ||
name == _T("wxMenuBar") ||
name == _T("wxMenuItem") ||
- name == _T("wxStaticBoxSizer") )
+ name.EndsWith(_T("Sizer")) )
{
return false;
}
wxCMD_LINE_VAL_STRING,
wxCMD_LINE_PARAM_MULTIPLE | wxCMD_LINE_OPTION_MANDATORY },
- wxCMD_LINE_DESC_END
+ wxCMD_LINE_DESC_END
};
wxCmdLineParser parser(cmdLineDesc, argc, argv);
}
wxString name, ext, path;
- wxSplitPath(parFiles[i], &path, &name, &ext);
+ wxFileName::SplitPath(parFiles[i], &path, &name, &ext);
FindFilesInXML(doc.GetRoot(), flist, path);
if (flagH)
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( static_cast<wxFileOffset>(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);
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( static_cast<wxFileOffset>(lng) == offset,
+ wxT("Huge file not supported") );
snum.Printf(_T("%i"), num);
output = " xml_res_file_" + snum + " = '''\\\n";