diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index 05e49a011b..06f3ddd559 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -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(); }