]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/console/console.cpp
Compilation fix to propgrid sample after r74628.
[wxWidgets.git] / samples / console / console.cpp
index 89647376ce3719b1352ad63c33e7782feaca21cb..2d2d435070786f5426505e375af19296560d65b3 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     04.10.99
-// RCS-ID:      $Id$
 // Copyright:   (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -103,6 +102,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;