- wxLogMessage("This is some message - everything is ok so far.");
- wxLogMessage("Another message...\n... this one is on multiple lines");
- wxLogWarning("And then something went wrong!");
+ wxLogMessage(wxT("This is some message - everything is ok so far."));
+ wxLogMessage(wxT("Another message...\n... this one is on multiple lines"));
+ wxLogWarning(wxT("And then something went wrong!"));
- wxLogError("Intermediary error handler decided to abort.");
- wxLogError("The top level caller detected an unrecoverable error.");
+ wxLogError(wxT("Intermediary error handler decided to abort."));
+ wxLogError(wxT("The top level caller detected an unrecoverable error."));
- msg += wxString::Format("\t%u: %u (%s)\n", n, selections[n],
+ msg += wxString::Format(wxT("\t%u: %u (%s)\n"), n, selections[n],
-// wxFAIL_MSG( "Test assert" );
-
- wxFileDialog dialog(this, "Testing open file dialog", "", "", "*.txt", 0);
+ wxFileDialog dialog(this, "Testing open file dialog",
+ "", "",
+ "C++ files (*.h;*.cpp)|*.h;*.cpp");
- wxLogError("Sorry, generic dir dialog not available:\n"
- "set wxUSE_DIRDLGG to 1 and recompile");
+ wxLogError(wxT("Sorry, generic dir dialog not available:\n")
+ wxT("set wxUSE_DIRDLGG to 1 and recompile"));
type == wxEVT_COMMAND_FIND_NEXT ? "next " : "",
event.GetFindString().c_str(),
DecodeFindDialogEventFlags(event.GetFlags()).c_str());
type == wxEVT_COMMAND_FIND_NEXT ? "next " : "",
event.GetFindString().c_str(),
DecodeFindDialogEventFlags(event.GetFlags()).c_str());
type == wxEVT_COMMAND_FIND_REPLACE_ALL ? "all " : "",
event.GetFindString().c_str(),
event.GetReplaceString().c_str(),
type == wxEVT_COMMAND_FIND_REPLACE_ALL ? "all " : "",
event.GetFindString().c_str(),
event.GetReplaceString().c_str(),