]> code.citadel.org Git - citadel.git/commitdiff
whatever
authorArt Cancro <ajc@citadel.org>
Tue, 27 Apr 1999 02:57:06 +0000 (02:57 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 27 Apr 1999 02:57:06 +0000 (02:57 +0000)
daphne/main.cpp
daphne/userlogin.cpp

index 4c176fa4c907bd85e23dc9562fab7a912e42a3a7..8281824112e47a2676309dda26644c4eff8cbcc1 100644 (file)
@@ -225,6 +225,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
 
         Show(TRUE);
 
+       wxYield();
        ini->Read("/Citadel Server/ConnectOnStartup", &buf, "no");
        if (!buf.CmpNoCase("yes")) {
                wxCommandEvent cjunk;
index ca424068df295e4ab5d8873111095888561f517c..9a7185bcef666649732602ed9e91b868fb867269 100644 (file)
@@ -136,20 +136,14 @@ UserLogin::UserLogin(CitClient *sock, wxMDIParentFrame *MyMDI)
         banner = new wxPanel(this, -1);
         banner->SetBackgroundColour(wxColour(0x00, 0x00, 0x77));
         banner->SetForegroundColour(wxColour(0xFF, 0xFF, 0x00));
+
         wxLayoutConstraints *b1 = new wxLayoutConstraints;
         b1->top.SameAs(this, wxTop, 2);
         b1->left.SameAs(this, wxLeft, 2);
         b1->right.SameAs(this, wxRight, 2);
-        b1->height.PercentOf(this, wxHeight, 25);
+        b1->height.PercentOf(this, wxHeight, 10);
         banner->SetConstraints(b1);
 
-       wxLayoutConstraints *t1 = new wxLayoutConstraints;
-       t1->top.SameAs(this, wxTop, 5);
-       t1->left.SameAs(this, wxLeft, 5);
-       t1->right.SameAs(this, wxRight, 5);
-       t1->height.AsIs();
-       banner->SetConstraints(t1);
-
         wxStaticText *rname = new wxStaticText(banner, -1, citsock->HumanNode);
         rname->SetFont(wxFont(18, wxDEFAULT, wxNORMAL, wxNORMAL));
         rname->SetForegroundColour(wxColour(0xFF, 0xFF, 0x00));