Replaced wxSVG with wxStaticBitmap and removed the libwxsvg-dev and libwxsvg3 from dependencies.

This commit is contained in:
apoorv569
2021-07-19 09:02:58 +05:30
parent 25a4c1a5cc
commit 779b027d11
4 changed files with 4 additions and 10 deletions
+1 -3
View File
@@ -255,9 +255,7 @@ MainFrame::MainFrame()
// Temporary widget to show a waveform sample image
// TODO: Replace with actual waveform display
m_WaveformViewer = new wxSVGCtrl(m_TopPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize);
m_WaveformViewer->Load(WAVEFORM_SVG);
m_WaveformViewer->Show();
m_WaveformViewer = new wxStaticBitmap(m_TopPanel, wxID_ANY, wxBitmap(WAVEFORM_SVG));
// Initialize browser control buttons
m_PlayButton = new wxButton(m_TopPanel, BC_Play, _("Play"), wxDefaultPosition, wxDefaultSize, 0);