compile
authorvisnov <visnov@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Tue, 13 Nov 2007 10:26:40 +0000 (10:26 +0000)
committervisnov <visnov@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Tue, 13 Nov 2007 10:26:40 +0000 (10:26 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/branches/tmp/sh/mod-ui/web-wt@41998 e0cc52ee-31ee-0310-8b87-e83c4596d67c

src/YWebWidgetFactory.cc

index 1372ef4..2a4191e 100644 (file)
@@ -22,6 +22,8 @@
 
 #include "YTypes.h"
 
+#include "YWebPushButton.h"
+
 using std::string;
 
 class YWidget;
@@ -43,7 +45,6 @@ class YMultiLineEdit;
 class YMultiSelectionBox;
 class YPackageSelector;
 class YProgressBar;
-class YPushButton;
 class YRadioButton;
 class YRadioButtonGroup;
 class YReplacePoint;
@@ -85,7 +86,11 @@ class YTree;
     // Common Leaf Widgets
     //
 
-    YPushButton *      YWebWidgetFactory::createPushButton     ( YWidget * parent, const string & label )                              {}
+YPushButton *  YWebWidgetFactory::createPushButton     ( YWidget * parent, const string & label )                              
+{
+    return new YWebPushButton( parent, label );
+}
+
     YLabel *           YWebWidgetFactory::createLabel          ( YWidget * parent, const string & text, bool isHeading, bool isOutputField ) {}
     YInputField *      YWebWidgetFactory::createInputField     ( YWidget * parent, const string & label, bool passwordMode )   {}
     YCheckBox *                YWebWidgetFactory::createCheckBox               ( YWidget * parent, const string & label, bool isChecked )      {}