Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv25007/src/gui

Modified Files:
        wxTemplateDialog.cpp 
Log Message:
Correcting an access violation in FillListBox()

Index: wxTemplateDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxTemplateDialog.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -u -2 -r1.23 -r1.24
--- wxTemplateDialog.cpp        11 Mar 2002 19:41:00 -0000      1.23
+++ wxTemplateDialog.cpp        3 Jun 2002 11:02:52 -0000       1.24
@@ -605,4 +605,8 @@
    combo->SetConstraints(c);
 
+   // between the listbox and the buttons there is the text control where
+   // template file can be edited
+   m_textctrl = new TemplateEditor(menu, this);
+
    // fill the listbox now to let it auto adjust the width before setting the
    // constraints
@@ -633,7 +637,4 @@
    m_btnDelete->SetConstraints(c);
 
-   // between the listbox and the buttons there is the text control where
-   // template file can be edited
-   m_textctrl = new TemplateEditor(menu, this);
    c = new wxLayoutConstraints;
    c->top.SameAs(combo, wxTop);


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to