Skip to content

Commit 8fceb16

Browse files
committed
Show usage message in msgbox on Windows
As the process is GUI one, it doesn't have stderr console and can't show any wxCmdLineParser output there.
1 parent 313b3f7 commit 8fceb16

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

diff-pdf.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -931,9 +931,6 @@ int main(int argc, char *argv[])
931931

932932
wxCmdLineParser parser(cmd_line_desc, argc, argv);
933933

934-
// Set default output to stderr
935-
wxMessageOutput::Set(new wxMessageOutputStderr);
936-
937934
switch ( parser.Parse() )
938935
{
939936
case -1: // --help

0 commit comments

Comments
 (0)