void Matrix3Tests::SetData()

{
	Matrix3 Temp(1,0,0,0,1,0,0,0,1);
	Matrix3 Temp2(1,2,3,4,1,2,3,4,1);
	Matrix3 Temp3(1,4,3,2,1,4,3,2,1);
	Matrix3 TempOrthoProject();
	Matrix3 XTempScale(5,0,0,0,4,0,0,0,0);
	Matrix3 XTempRotation();
	Matrix3 XTempTransformPoint();
	Matrix3 XTempTransformVector();
	Matrix3 XTempMatrixMultiplication(14,12,14,12,21,18,14,18,26);

	/*XResOrthographicProj = TempOrthoProject;*/
	XResScale = XTempScale;
	/*XResRotation = XTempRotation;*/
	/*XResTransformPoint = XTempTransformPoint;
	XResTransformVector = XTempTransformVector;*/
	ResMatrixMultiplication = XTempMatrixMultiplication;

	T1 = Temp;
	T2 = Temp2;
	T3 = Temp3;


	TScaler = 10;
	TScalerX = 5;
	TScalerY = 4;
	dt = .5;


	Mat3 = "MATRIX 3";
	/*OrthoProj = "Orthographic Projection";*/
	Scale = "Scale Matrix3";
	Rotation = "Rotate Matrix3";
	TransformPoint = "Transform Point";
	TransformVector = "Transform Vector";
	MatrixMultiplication = "Matrix Multiplication";
	
}
bool FileDrop::OnDropFiles(wxCoord, wxCoord, const wxArrayString& FileNames)
{
    #if !defined(__WXMSW__)
        wxArrayString FileNames2;
        for (size_t Pos=0; Pos<FileNames.size(); Pos++)
        {
            if (wxFile::Exists(FileNames[Pos]) || wxDir::Exists(FileNames[Pos]))
                FileNames2.Add(FileNames[Pos]);
            else
            {
                wxString Temp(FileNames[Pos]);
                std::string Temp2;
                for (size_t Temp_Pos=0; Temp_Pos<Temp.size(); Temp_Pos++)
                    Temp2.append(1, (char)Temp[Temp_Pos]);
                wxString Temp3(Temp2.c_str(), wxConvLocal);
                if (wxFile::Exists(Temp3) || wxDir::Exists(Temp3))
                    FileNames2.Add(Temp3);
                else
                    FileNames2.Add(FileNames[Pos]);
            }
        }
    #endif //!defined(__WXMSW__)

    C->Menu_File_Open_Files_Begin();

    wxDateTime Begin=wxDateTime::UNow();
    for (size_t Pos=0; Pos<FileNames.size(); Pos++)
    #if defined(__WXMSW__)
        C->Menu_File_Open_Files_Continue(String(FileNames[Pos].c_str()));
    #else //defined(__WXMSW__)
        C->Menu_File_Open_Files_Continue(String(FileNames2[Pos].c_str()));
    #endif //defined(__WXMSW__)
    wxTimeSpan Span=wxDateTime::UNow()-Begin;
    ((GUI_Main*)C->GUI_Main_Handler)->View_Refresh();
    if (((GUI_Main*)C->GUI_Main_Handler)->GetStatusBar()==NULL)
        ((GUI_Main*)C->GUI_Main_Handler)->CreateStatusBar();
    ((GUI_Main*)C->GUI_Main_Handler)->GetStatusBar()->SetLabel(Span.Format(__T("%Ss %lms")));
    return true;
}