コード例 #1
0
ファイル: commanddialog.cpp プロジェクト: Sneedd/penv
//----------------------------------------------------------------
void CommandDialog::OnButtonAcceptClick(wxCommandEvent& event)
/**
 * \brief Occurs when the Accept Button is clicked. Saves the content.
 * \param event CommandEvent.
 **/
{
    SaveContent();
}
コード例 #2
0
ファイル: commanddialog.cpp プロジェクト: Sneedd/penv
//----------------------------------------------------------------
void CommandDialog::OnButtonOkClick(wxCommandEvent& event)
/**
 * \brief Occurs when the Ok button is clicked. Saves and closes
 * the dialog.
 * \param event CommandEvent.
 **/
{
    SetReturnCode(wxID_OK);
    SaveContent();
    Destroy();
}
コード例 #3
0
ファイル: data_filedb.cpp プロジェクト: Morgulas/gccg-dev
	DataFileDB::~DataFileDB()
	{
		SaveContent();
		Dump("~DataFileDB()","destruct");
	}