diff options
Diffstat (limited to 'src/wx/audio_plot.cc')
| -rw-r--r-- | src/wx/audio_plot.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/audio_plot.cc b/src/wx/audio_plot.cc index 2539a93d9..7ed792351 100644 --- a/src/wx/audio_plot.cc +++ b/src/wx/audio_plot.cc @@ -61,7 +61,7 @@ AudioPlot::AudioPlot (wxWindow* parent) _colours.push_back (wxColour ( 0, 0, 255)); _colours.push_back (wxColour (100, 100, 100)); - Connect (wxID_ANY, wxEVT_PAINT, wxPaintEventHandler (AudioPlot::paint), 0, this); + Bind (wxEVT_PAINT, boost::bind (&AudioPlot::paint, this)); SetMinSize (wxSize (640, 512)); } @@ -104,7 +104,7 @@ AudioPlot::set_message (wxString s) } void -AudioPlot::paint (wxPaintEvent &) +AudioPlot::paint () { wxPaintDC dc (this); |
