1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-24 06:10:09 +01:00

Fix for bug #936 part 2

Keeping this one separate in case we need to back it out.
This commit is contained in:
Leland Lucius
2015-09-02 02:24:15 -05:00
parent d21d2cd777
commit 0235c80859
2 changed files with 3 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ extern "C"
case AppQuiting: { case AppQuiting: {
wxASSERT(gBench != NULL); wxASSERT(gBench != NULL);
if (gBench) { if (gBench) {
delete gBench; gBench->Close(true);
gBench = NULL; gBench = NULL;
} }
} }
@@ -270,7 +270,7 @@ void NyqTextCtrl::OnChar(wxKeyEvent & e)
} }
} }
#if defined(__WXMAC__) #if defined(__WXMAC__REMOVED_UNTIL_ITS_PROVEN_THAT_IT_IS_STILL_NEEDED)
#include <wx/mac/uma.h> #include <wx/mac/uma.h>
// This is hackage to correct a problem on Leopard where the // This is hackage to correct a problem on Leopard where the

View File

@@ -53,7 +53,7 @@ class NyqTextCtrl:public wxTextCtrl
void GoNext(); void GoNext();
private: private:
#if defined(__WXMAC__) #if defined(__WXMAC__REMOVED_UNTIL_ITS_PROVEN_THAT_IT_IS_STILL_NEEDED)
void OnKeyDown(wxKeyEvent & e); void OnKeyDown(wxKeyEvent & e);
#endif #endif
void OnKeyUp(wxKeyEvent & e); void OnKeyUp(wxKeyEvent & e);