]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/toolbar.cpp
include wx/arrstr.h as it's needed by wxImageHandler and may not be implicitly includ...
[wxWidgets.git] / samples / toolbar / toolbar.cpp
index 05e49a011b7af67b2e92abe1947a4f052a17fee1..06f3ddd5591c896fea6388f1ecacf97a79285eba 100644 (file)
@@ -958,7 +958,7 @@ void MyFrame::OnToolbarBgCol(wxCommandEvent& WXUNUSED(event))
 
 void MyFrame::OnToolbarCustomBitmap(wxCommandEvent& WXUNUSED(event))
 {
-    m_pathBmp = wxLoadFileSelector(_T("custom bitmap"));
+    m_pathBmp = wxLoadFileSelector("custom bitmap", "");
 
     RecreateToolbar();
 }