// class constructor
EditArrayOrderDlg::EditArrayOrderDlg(wxWindow* parent, const wxArrayString& array)
    : m_Array(array)
{
    wxXmlResource::Get()->LoadObject(this, parent, _T("dlgEditArrayOrder"),_T("wxScrollingDialog"));
    XRCCTRL(*this, "wxID_OK", wxButton)->SetDefault();
    DoFillList();
}
예제 #2
0
//---------------------------------------------------------------------------
void __fastcall TForm1::FileOpenActionExecute(TObject *Sender)
{
	if (OpenDialog1->Execute())
	{
		 if (m_history != NULL)
		 {
			delete m_history;
			m_history = NULL;
		 }
		 AnsiString str = OpenDialog1->FileName;
		 m_history = new TMeasurementColorHistory(str);

		 DoFillList();

		 m_path = ExtractFilePath(OpenDialog1->FileName);
	}
}
예제 #3
0
// class constructor
EditArrayOrderDlg::EditArrayOrderDlg(wxWindow* parent, const wxArrayString& array)
    : m_Array(array)
{
	wxXmlResource::Get()->LoadObject(this, parent, _T("dlgEditArrayOrder"),_T("wxScrollingDialog"));
	DoFillList();
}