#pragma hdrstop
#endif
+#if wxUSE_CMDLINE_PARSER
+
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
// Resets switches and options
void wxCmdLineParser::Reset()
{
- unsigned int i;
- for (i = 0; i < m_data->m_options.Count(); i++)
- {
- wxCmdLineOption& opt = m_data->m_options[(size_t)i];
- opt.SetHasValue(FALSE);
- }
+ for ( size_t i = 0; i < m_data->m_options.Count(); i++ )
+ {
+ wxCmdLineOption& opt = m_data->m_options[i];
+ opt.SetHasValue(FALSE);
+ }
}
size_t countParam = m_data->m_paramDesc.GetCount();
- Reset();
+ Reset();
// parse everything
wxString arg;
return s;
}
+
+#endif // wxUSE_CMDLINE_PARSER