| 36 | StringSetting perfAudioComUserId { wxT("/cloud/audiocom/userId"), wxEmptyString }; |
| 37 | |
| 38 | wxBitmap LoadEmbeddedPNG(const unsigned char* data, size_t len) |
| 39 | { |
| 40 | wxMemoryInputStream stream(data, len); |
| 41 | wxImage image; |
| 42 | if (!image.LoadFile(stream, wxBITMAP_TYPE_PNG)) |
| 43 | { |
| 44 | wxLogError("Failed to load embedded PNG image."); |
| 45 | return wxBitmap(); |
| 46 | } |
| 47 | return wxBitmap(image); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | Audacity40PromoDialog::Audacity40PromoDialog(wxWindow* parent, const Notification& notification) |
no test coverage detected