Committing in .

Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/common/mimecmn.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms wxWindows/src/unix/mimetype.cpp

  Updated compile support for OpenVMS

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2001-05-01 14:46:48 +00:00
parent d9a4f62064
commit 2900bd1c81
7 changed files with 39 additions and 16 deletions

View File

@@ -351,7 +351,7 @@ size_t wxFileType::GetAllCommands(wxArrayString *verbs,
if ( commands )
commands->Clear();
#if defined (__WXMSW__) || (__UNIX__)
#if defined (__WXMSW__) || defined(__UNIX__)
return m_impl->GetAllCommands(verbs, commands, params);
#else // !__WXMSW__ || Unix
// we don't know how to retrieve all commands, so just try the 2 we know
@@ -385,21 +385,19 @@ bool wxFileType::Unassociate()
{
#if defined(__WXMSW__)
return m_impl->Unassociate();
#endif
#if defined(__UNIX__)
#elif defined(__UNIX__)
return m_impl->Unassociate(this);
#endif
#else
wxFAIL_MSG( _T("not implemented") ); // TODO
return FALSE;
#endif
}
bool wxFileType::SetCommand(const wxString& cmd, const wxString& verb,
bool overwriteprompt)
{
#if defined (__WXMSW__) || (__UNIX__)
#if defined (__WXMSW__) || defined(__UNIX__)
return m_impl->SetCommand(cmd, verb, overwriteprompt);
#else
wxFAIL_MSG(_T("not implemented"));
@@ -419,7 +417,7 @@ bool wxFileType::SetDefaultIcon(const wxString& cmd, int index)
#endif
wxCHECK_MSG( !sTmp.empty(), FALSE, _T("need the icon file") );
#if defined (__WXMSW__) || (__UNIX__)
#if defined (__WXMSW__) || defined(__UNIX__)
return m_impl->SetDefaultIcon (cmd, index);
#else
wxFAIL_MSG(_T("not implemented"));