Used RequestUserAttention instead of wxBell. But apparently the event COMPILER_FINISHED never gets triggered