Cleanup: 0 -> nullptr.
authorCarl Hetherington <cth@carlh.net>
Sun, 15 Jan 2023 18:56:45 +0000 (19:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 15 Jan 2023 18:56:45 +0000 (19:56 +0100)
src/wx/disk_warning_dialog.cc

index 8f581c2d1f1b5e5365f138de556060eb736e833f..8a69c87f7ce9523132e7490650b5e3536599dd6f 100644 (file)
@@ -23,7 +23,7 @@
 #include "wx_util.h"
 
 DiskWarningDialog::DiskWarningDialog ()
 #include "wx_util.h"
 
 DiskWarningDialog::DiskWarningDialog ()
-       : wxDialog (0, wxID_ANY, _("Important notice"))
+       : wxDialog(nullptr, wxID_ANY, _("Important notice"))
 {
        auto sizer = new wxBoxSizer (wxVERTICAL);
        auto text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(400, 300));
 {
        auto sizer = new wxBoxSizer (wxVERTICAL);
        auto text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(400, 300));