]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/toolbar.cpp
force use of generic about dialog as to test unfocused-repainting of wxGrid
[wxWidgets.git] / samples / toolbar / toolbar.cpp
index c1c95e469b6283c13370cc22bf83eaf05aeb2380..3b9d95cac011f33b4c550e74824cff2e538c4484 100644 (file)
@@ -424,6 +424,8 @@ void MyFrame::PopulateToolbar(wxToolBarBase* toolBar)
         }
     }
 
+    // this call is actually unnecessary as the toolbar will adjust its tools
+    // size to fit the biggest icon used anyhow but it doesn't hurt neither
     toolBar->SetToolBitmapSize(wxSize(w, h));
 
     toolBar->AddTool(wxID_NEW, _T("New"),