implemented default buttons
authorArt Cancro <ajc@citadel.org>
Sat, 24 Apr 1999 02:59:53 +0000 (02:59 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 24 Apr 1999 02:59:53 +0000 (02:59 +0000)
daphne/send_express.cpp
daphne/userlogin.cpp

index a5b156124210224100426a84a3cecbc6d65e3f9a..c27166c5dbf53bc689d58937788317b35213f467 100644 (file)
@@ -69,6 +69,7 @@ SendExpress::SendExpress(     CitClient *sock,
                wxDefaultValidator,
                "send_button"
                );
+       send_button->SetDefault();
 
        wxButton *cancel_button = new wxButton(
                this,
index 356ca7bc03a21096c8054248fc056d3fbc3c5c65..e3a89600c8da6b3a31f3256688db568f0834875f 100644 (file)
@@ -106,6 +106,7 @@ UserLogin::UserLogin(CitClient *sock, wxMDIParentFrame *MyMDI)
                wxDefaultValidator,
                "login_button"
                );
+       login_button->SetDefault();
 
        newuser_button = new wxButton(
                this,