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
{
#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"));
-
return FALSE;
#endif
}
#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"));
EnsureImpl();
m_impl->Initialize(mcapStyle, sExtraDir);
+#else
+ (void)mcapStyle;
+ (void)sExtraDir;
#endif // Unix
}