samples/toolTips: Took out extra stuff in toolTips samples
authorJerome St-Louis <jerome@ecere.com>
Sat, 4 Feb 2012 17:41:46 +0000 (00:41 +0700)
committerJerome St-Louis <jerome@ecere.com>
Sat, 4 Feb 2012 17:41:46 +0000 (00:41 +0700)
samples/guiAndGfx/toolTips/toolTips.ec

index 68da39e..1dc470f 100644 (file)
@@ -5,20 +5,12 @@ class ToolTipsDemo : Window
    text = "Tool Tips Demo";
    background = activeBorder;
    borderStyle = sizable;
-   hasMaximize = true;
-   hasMinimize = true;
    nativeDecorations = true;
    tabCycle = true;
    hasClose = true;
    font = { "Arial", 14 };
    size = { 400, 300 };
 
-   bool OnKeyDown(Key key, unichar ch)
-   {
-      if(key == escape) Destroy(0);
-      return true;
-   }
-
    Button button1
    {
       this, text = "Simple Tooltip", position = { 88, 104 };