]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/console/console.cpp
Update the files changed by the version number increment script.
[wxWidgets.git] / samples / console / console.cpp
index 89647376ce3719b1352ad63c33e7782feaca21cb..fa356714adb5c0d858c2ea5082421ec2e9c7cc0a 100644 (file)
@@ -103,6 +103,14 @@ int main(int argc, char **argv)
             break;
     }
 
+    if ( argc == 1 )
+    {
+        // If there were no command-line options supplied, emit a message
+        // otherwise it's not obvious that the sample ran successfully
+        wxPrintf("Welcome to the wxWidgets 'console' sample!\n");
+        wxPrintf("For more information, run it again with the --help option\n");
+    }
+
     // do something useful here
 
     return 0;