Widget to display waveform.

I’m making a application using wxWidgets, and as Audacity also used wxWidgets for GUI toolkit, I wanna know which widget Audacity uses to display the waveform when you load a audio file to it.

Sorry if this is the wrong board to ask such question.

The drawing of the waveform in Audacity is rather complex. You can view the code here: https://github.com/audacity/audacity/blob/master/src/TrackArtist.cpp

From Missing features - Audacity Support
“The GUI code is mostly written using wxWidgets library, which handles dialogs and common GUI controls. HOWEVER, the waveforms (in the TrackPanel) is not a standard widget, and Audacity code draws the TrackPanel itself, placing the lines and text and clickable icons.”