From 6cbff20054b860d50895b8d360453f71a2e4e7e8 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 13 Jun 2011 07:35:28 +0000 Subject: [PATCH] .uppdev git-svn-id: svn://ultimatepp.org/upp/trunk@3518 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppdev/EditField/main.cpp | 58 ++++++++++++++------------------------- 1 file changed, 21 insertions(+), 37 deletions(-) diff --git a/uppdev/EditField/main.cpp b/uppdev/EditField/main.cpp index 55fe46b6a..1b0df0aaf 100644 --- a/uppdev/EditField/main.cpp +++ b/uppdev/EditField/main.cpp @@ -1,37 +1,21 @@ -#include "EditField.h" - -void EditFieldApp::Set() -{ - ef1 <<= "Just a test!"; - ef1.SetReadOnly(); -} - -EditFieldApp::EditFieldApp() -{ - CtrlLayoutOKCancel(*this, "Test"); - set <<= THISBACK(Set); - ef1.NullText("(default)"); - ef2.AutoSize(); -} - -GUI_APP_MAIN -{ - EditFieldApp app; - app.Run(); -} - -yyyxxx - - - - - -xxxxxxx - - - - - - - -xxxxxxxx +#include "EditField.h" + +void EditFieldApp::Set() +{ + ef1 <<= "Just a test!"; + ef1.SetReadOnly(); +} + +EditFieldApp::EditFieldApp() +{ + CtrlLayoutOKCancel(*this, "Test"); + set <<= THISBACK(Set); + ef1.NullText("(default)"); + ef2.AutoSize(); +} + +GUI_APP_MAIN +{ + EditFieldApp app; + app.Run(); +}