From 46792d49333da4f9758d53c363897bcc5ab285d5 Mon Sep 17 00:00:00 2001 From: PB Date: Fri, 25 Oct 2019 19:39:47 +0200 Subject: [PATCH] Fix typos in wxStaticBox docs Add missing commas in code examples. Closes #18542 --- interface/wx/statbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/statbox.h b/interface/wx/statbox.h index d9f2a564de..bb323d85fa 100644 --- a/interface/wx/statbox.h +++ b/interface/wx/statbox.h @@ -25,7 +25,7 @@ wxPanel *panel = new wxPanel(this); wxStaticBox *box = new wxStaticBox(panel, wxID_ANY, "StaticBox"); - new wxStaticText(box, wxID_ANY "This window is a child of the staticbox"); + new wxStaticText(box, wxID_ANY, "This window is a child of the staticbox"); ... } @endcode @@ -34,7 +34,7 @@ @code wxStaticBox *box = new wxStaticBox(panel, wxID_ANY, "StaticBox"); - new wxStaticText(panel, wxID_ANY "This window is a child of the panel"); + new wxStaticText(panel, wxID_ANY, "This window is a child of the panel"); ... @endcode