wxString dir, filename, ext;
wxSplitPath(file, & dir, & filename, & ext);
- if (!dir.IsEmpty())
+ if (!dir.empty())
dir = dir + wxFILE_SEP_PATH;
// Try to find a suitable file
return true;
}
+#else
+ wxUnusedVar(text);
#endif // wxUSE_TIPWINDOW
return false;