Fixes for 'doze
authorArt Cancro <ajc@citadel.org>
Thu, 22 Apr 1999 04:09:38 +0000 (04:09 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 22 Apr 1999 04:09:38 +0000 (04:09 +0000)
daphne/enter.cpp
daphne/roomview.cpp
daphne/send_express.cpp
daphne/who.cpp

index abca4994d470f67a1ee6b432a48807a42e86d805..9d29adfdbc5d8d054ee4c3fd66dffa35edb42fa2 100644 (file)
@@ -93,7 +93,7 @@ EnterMessage::EnterMessage(
 
        SetAutoLayout(TRUE);
        Show(TRUE);
-
+        Layout();
 }
 
 
index 4ae23b08816485f9ed7db2d02ade9c91e8d902a0..0fb27b7992a6c07553efa9a54e97fa876243d111 100644 (file)
@@ -118,7 +118,7 @@ RoomView::RoomView(
        c4->right.LeftOf(readall_button, 5);
        enter_button->SetConstraints(c4);
 
-
+        Layout();
 
 }
 
@@ -169,6 +169,7 @@ void RoomView::do_readloop(wxString readcmd) {
 
                buf.Printf("Reading message %d", ++i);
                citMyMDI->SetStatusText(buf, 0);
+                wxYield();
 
                buf = xferbuf.Left(pos);
                xferbuf = xferbuf.Mid(pos+1);
@@ -203,6 +204,7 @@ void RoomView::do_readloop(wxString readcmd) {
        message_window->SetConstraints(m1);
 
        message_window->SetPage(allmsgs);
+        Layout();
 }
 
 
index eb38a1838d3db646b135026f7f26aef5eef3ca66..5a0931a5eb74200e155f2b66610993f1a5bae314 100644 (file)
@@ -51,7 +51,6 @@ SendExpress::SendExpress(     CitClient *sock,
 
        wxString sendcmd, recvcmd, buf;
        wxString xferbuf;
-        int i, pos;
         wxString user;
 
        citsock = sock;
@@ -160,6 +159,7 @@ SendExpress::SendExpress(   CitClient *sock,
 
        SetAutoLayout(TRUE);
        Show(TRUE);
+        Layout();
 
         sendcmd = "RWHO";
         if (citsock->serv_trans(sendcmd, recvcmd, xferbuf) != 1) return;
index ca1c0e211e574e9e816c8d008bd6db1828e7dcce..41e756ec0b7e2cc44cde96f4d54d7d204be53f85 100644 (file)
@@ -79,6 +79,7 @@ who::who(CitClient *sock, wxMDIParentFrame *MyMDI)
 
        SetAutoLayout(TRUE);
        Show(TRUE);
+        Layout();
 
        LoadWholist();
 }