]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/numdlgg.h
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / include / wx / generic / numdlgg.h
index 1ac15c680fdc6f4c822df4b730569a396916b624..da413d2da76a3139fe1a37e35f94a292a9813a19 100644 (file)
@@ -57,7 +57,7 @@ protected:
 private:
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxNumberEntryDialog)
-    DECLARE_NO_COPY_CLASS(wxNumberEntryDialog)
+    wxDECLARE_NO_COPY_CLASS(wxNumberEntryDialog);
 };
 
 // ----------------------------------------------------------------------------
@@ -71,7 +71,7 @@ WXDLLIMPEXP_CORE long
                         long value = 0,
                         long min = 0,
                         long max = 100,
-                        wxWindow *parent = (wxWindow *)NULL,
+                        wxWindow *parent = NULL,
                         const wxPoint& pos = wxDefaultPosition);
 
 #endif // wxUSE_NUMBERDLG