mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-05 00:23:56 +01:00
Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on Linux and OSX. You can get Windows to build, but there's still some display issues. These changes should work with wxWidgets 2.8.12 as well, so we can take our time to get things working properly before switching over.
This commit is contained in:
@@ -76,6 +76,7 @@ void FileIO::Close()
|
||||
void FileIO::SetCatalogInfo()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
#if !wxCHECK_VERSION(3, 0, 0)
|
||||
if (!mOpen ) {
|
||||
return;
|
||||
}
|
||||
@@ -90,6 +91,7 @@ void FileIO::SetCatalogInfo()
|
||||
(ext[3] & 0xff);
|
||||
|
||||
SetCatalogInfo(type);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return;
|
||||
@@ -98,6 +100,7 @@ void FileIO::SetCatalogInfo()
|
||||
void FileIO::SetCatalogInfo(wxUint32 type)
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
#if !wxCHECK_VERSION(3, 0, 0)
|
||||
if (!mOpen ) {
|
||||
return;
|
||||
}
|
||||
@@ -105,6 +108,7 @@ void FileIO::SetCatalogInfo(wxUint32 type)
|
||||
wxFileName fn(mName);
|
||||
|
||||
fn.MacSetTypeAndCreator(type, AUDACITY_CREATOR);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user