Fix typos in sample comments

Closes https://github.com/wxWidgets/wxWidgets/pull/2513
This commit is contained in:
Blake Madden
2021-09-06 17:01:35 -04:00
committed by Vadim Zeitlin
parent 8368914725
commit 1380b1914c
23 changed files with 30 additions and 30 deletions

View File

@@ -213,7 +213,7 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
{
// This reduces flicker effects - even better would be to define
// OnEraseBackground to do nothing. When the tree control's scrollbars are
// show or hidden, the frame is sent a background erase event.
// shown or hidden, the frame is sent a background erase event.
SetBackgroundColour(*wxWHITE);
// Give it an icon
@@ -1039,7 +1039,7 @@ void MyTreeCtrl::CreateStateImageList(bool del)
int width = icons[0].GetWidth(),
height = icons[0].GetHeight();
// Make an state image list containing small icons
// Make a state image list containing small icons
states = new wxImageList(width, height, true);
for ( size_t i = 0; i < WXSIZEOF(icons); i++ )