git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34488
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int GetValue()
{
int nOut;
int GetValue()
{
int nOut;
- CFNumberGetValue( m_cfnRef,
+ CFNumberGetValue( m_cfnRef,
kCFNumberIntType,
&nOut
);
kCFNumberIntType,
&nOut
);
wxCFDictionary cfdInfo;
bool bInfoOpenSuccess = false;
wxFile indictfile;
wxCFDictionary cfdInfo;
bool bInfoOpenSuccess = false;
wxFile indictfile;
- if(indictfile.Open(sInfoPath, wxFile::read));
+ if(indictfile.Open(sInfoPath, wxFile::read))
{
CFIndex cfiBufLen = (CFIndex) indictfile.Length();
const UInt8* pBuffer = new UInt8[cfiBufLen];
{
CFIndex cfiBufLen = (CFIndex) indictfile.Length();
const UInt8* pBuffer = new UInt8[cfiBufLen];
wxCFDictionary cfdInfo;
bool bInfoOpenSuccess = false;
wxFile indictfile;
wxCFDictionary cfdInfo;
bool bInfoOpenSuccess = false;
wxFile indictfile;
- if(indictfile.Open(sInfoPath, wxFile::read));
+ if(indictfile.Open(sInfoPath, wxFile::read))
{
CFIndex cfiBufLen = (CFIndex) indictfile.Length();
const UInt8* pBuffer = new UInt8[cfiBufLen];
{
CFIndex cfiBufLen = (CFIndex) indictfile.Length();
const UInt8* pBuffer = new UInt8[cfiBufLen];
bool wxFileTypeImpl::SetCommand(const wxString& cmd, const wxString& verb, bool overwriteprompt)
{
bool wxFileTypeImpl::SetCommand(const wxString& cmd, const wxString& verb, bool overwriteprompt)
{
}
bool wxFileTypeImpl::SetDefaultIcon(const wxString& strIcon, int index)
{
}
bool wxFileTypeImpl::SetDefaultIcon(const wxString& strIcon, int index)
{
}
bool wxFileTypeImpl::GetCommand(wxString *command, const char *verb) const
{
}
bool wxFileTypeImpl::GetCommand(wxString *command, const char *verb) const
{
}
// @@ this function is half implemented
bool wxFileTypeImpl::GetExtensions(wxArrayString& extensions)
{
}
// @@ this function is half implemented
bool wxFileTypeImpl::GetExtensions(wxArrayString& extensions)
{
}
bool wxFileTypeImpl::GetMimeType(wxString *mimeType) const
}
bool wxFileTypeImpl::GetMimeType(wxString *mimeType) const
if ( m_strFileType.Length() > 0 )
{
*mimeType = m_strFileType ;
if ( m_strFileType.Length() > 0 )
{
*mimeType = m_strFileType ;
}
bool wxFileTypeImpl::GetMimeTypes(wxArrayString& mimeTypes) const
{
wxString s;
}
bool wxFileTypeImpl::GetMimeTypes(wxArrayString& mimeTypes) const
{
wxString s;
if (GetMimeType(&s))
{
mimeTypes.Clear();
mimeTypes.Add(s);
if (GetMimeType(&s))
{
mimeTypes.Clear();
mimeTypes.Add(s);
}
bool wxFileTypeImpl::GetIcon(wxIconLocation *WXUNUSED(icon)) const
{
// no such file type or no value or incorrect icon entry
}
bool wxFileTypeImpl::GetIcon(wxIconLocation *WXUNUSED(icon)) const
{
// no such file type or no value or incorrect icon entry
}
bool wxFileTypeImpl::GetDescription(wxString *desc) const
{
}
bool wxFileTypeImpl::GetDescription(wxString *desc) const
{
bool
wxMimeTypesManagerImpl::Unassociate(wxFileType *ft)
{
bool
wxMimeTypesManagerImpl::Unassociate(wxFileType *ft)
{