if (mkDlg.cbOpenAfter->IsChecked())\r
{\r
// 作成先を開く。\r
- ::wxExecute(DIR_APP + swInfo.fnDestinationDirectory.GetFullPath());\r
+ ::wxExecute(DIR_APP + QuoteString(swInfo.fnDestinationDirectory.GetFullPath()));\r
}\r
\r
if (mkDlg.cbExitAfter->IsChecked())\r
if (mkDlg.cbOpenAfter->IsChecked())\r
{\r
// 作成先を開く。\r
- ::wxExecute(DIR_APP + swInfo.fnDestinationDirectory.GetFullPath());\r
+ ::wxExecute(DIR_APP + QuoteString(swInfo.fnDestinationDirectory.GetFullPath()));\r
}\r
\r
if (mkDlg.cbExitAfter->IsChecked())\r
if (mkDlg.cbOpenAfter->IsChecked())\r
{\r
// 展開先を開く。\r
- ::wxExecute(DIR_APP + swInfo.fnDestinationDirectory.GetFullPath());\r
+ ::wxExecute(DIR_APP + QuoteString(swInfo.fnDestinationDirectory.GetFullPath()));\r
}\r
\r
if (mkDlg.cbExitAfter->IsChecked())\r
{\r
#ifdef __LINUX__\r
// Linuxでは引用符で囲む必要がある。\r
- ::wxExecute(ftFile->GetOpenCommand(wxT('"') + asFiles[0] + wxT('"')), wxEXEC_SYNC);\r
+ ::wxExecute(ftFile->GetOpenCommand(QuoteString(asFiles[0])), wxEXEC_SYNC);\r
#else\r
::wxExecute(ftFile->GetOpenCommand(asFiles[0]), wxEXEC_SYNC);\r
#endif\r
bool WillMakeDirByArcName(MainFrame *, MakeDialog *);\r
wxString GetFileTypeName(wxFileName);\r
wxIcon GetFileTypeIcon(wxFileName);\r
+wxString QuoteString(wxString);\r
\r
#endif\r