-
-wxString tok;
-
-while (ReadOrs(tok))
- ;
-
-wxFprintf(m_wxr,_T(" control = [%i,wxGauge,'','wxGA_HORIZONTAL','%s',"),m_controlid,varname.c_str());
-
-int x,y,width,height;
-
-ReadRect(x,y,width,height);
-
-wxFprintf(m_wxr,_T("%i,%i,%i,%i,"),x,y,width,height);
-
-wxFprintf(m_wxr,_T(" 0, 10,\\\n"));
-
-wxFprintf(m_wxr,_T("[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n"));
-
-}
-
-
-
-bool rc2wxr::ReadOrs(wxString & w)
-
-{
-
-wxString tok;
-
-tok=PeekToken();
-
-if (tok.IsNumber())
-
- return false;
-
-w=GetToken();
-
-return true;
-
-}
-
-
-
-//Is it a check button or a radio button
-
-void rc2wxr::ParseCtrlButton(wxString label, wxString varname)
-
-{
-
-wxString tok;
-
-tok=GetToken();
-
-
-
-m_controlid++;
-
-int x,y,width,height;
-
-
-
-if (tok==_T("BS_AUTOCHECKBOX"))
-
-{
-
- wxFprintf(m_wxr,_T(" control = [%i,wxCheckBox,'%s','0','%s',"),m_controlid,label.c_str(),varname.c_str());