Fix resizing/redraw problems on Windows.
authorCarl Hetherington <cth@carlh.net>
Mon, 6 May 2013 15:12:49 +0000 (16:12 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 6 May 2013 15:12:49 +0000 (16:12 +0100)
src/wx/audio_dialog.cc

index 39650d15718de466e8e5847ef93a4e1b766b2c9e..d12b5516fc8f72023c67bdd7801a18dfad937d3a 100644 (file)
@@ -29,7 +29,7 @@ using boost::bind;
 using boost::optional;
 
 AudioDialog::AudioDialog (wxWindow* parent)
-       : wxDialog (parent, wxID_ANY, _("Audio"), wxDefaultPosition, wxSize (640, 512), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
+       : wxDialog (parent, wxID_ANY, _("Audio"), wxDefaultPosition, wxSize (640, 512), wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxFULL_REPAINT_ON_RESIZE)
        , _plot (0)
 {
        wxBoxSizer* sizer = new wxBoxSizer (wxHORIZONTAL);