]> code.citadel.org Git - citadel.git/commitdiff
Good stuff
authorArt Cancro <ajc@citadel.org>
Fri, 23 Apr 1999 01:18:17 +0000 (01:18 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 23 Apr 1999 01:18:17 +0000 (01:18 +0000)
daphne/roomview.cpp
daphne/utils.cpp
daphne/who.cpp

index a50912cef211d3b881acd05c24807a6d31943aaa..09e217f235f8b706b13477e4f2efcc1c60c3773b 100644 (file)
@@ -60,14 +60,14 @@ RoomView::RoomView(
        b1->height.PercentOf(this, wxHeight, 25);
        banner->SetConstraints(b1);
 
-       wxStaticText *rname = new wxStaticText(banner, -1, roomname);
+       wxStaticText *rname = new wxStaticText(banner, -1, ThisRoom);
        rname->SetFont(wxFont(18, wxDEFAULT, wxNORMAL, wxNORMAL));
        rname->SetForegroundColour(wxColour(0xFF, 0xFF, 0x00));
        wxLayoutConstraints *b2 = new wxLayoutConstraints;
        b2->top.SameAs(banner, wxTop, 1);
        b2->left.SameAs(banner, wxLeft, 1);
-       b2->width.AsIs();
-       b2->height.AsIs();
+       b2->width.PercentOf(banner, wxWidth, 50);
+       b2->height.PercentOf(banner, wxHeight, 50);
        rname->SetConstraints(b2);
 
        close_button = new wxButton(
index c171aefd1e28319305f020ba6a86b9c3b3ec7ac1..dadf902b9bc3360e8524a032b44c7cdb38ea07ce 100644 (file)
@@ -15,6 +15,7 @@ void extract(wxString& outputbuf, wxString inputbuf, int parmnum) {
                        return;
                }
        }
+       outputbuf = "";
 }
 
 int extract_int(wxString inputbuf, int parmnum) {
index 41e756ec0b7e2cc44cde96f4d54d7d204be53f85..46b9d4e7e9eb4ac2e211fe431eab3f6038cb38a8 100644 (file)
@@ -79,9 +79,8 @@ who::who(CitClient *sock, wxMDIParentFrame *MyMDI)
 
        SetAutoLayout(TRUE);
        Show(TRUE);
-        Layout();
-
        LoadWholist();
+        Layout();
 }