Update of /cvsroot/mahogany/M/src/adb
In directory sc8-pr-cvs1:/tmp/cvs-serv1556/src/adb

Modified Files:
        AdbFrame.cpp 
Log Message:
don't write beyond the end of the label in the book properties dialog

Index: AdbFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/AdbFrame.cpp,v
retrieving revision 1.105
retrieving revision 1.106
diff -b -u -2 -r1.105 -r1.106
--- AdbFrame.cpp        19 Jul 2003 23:20:22 -0000      1.105
+++ AdbFrame.cpp        20 Jul 2003 17:20:25 -0000      1.106
@@ -641,7 +641,7 @@
 
   wxStaticText *m_staticFileSize,
-               *m_staticFileName,
                *m_staticNumEntries;
   wxTextCtrl   *m_textName,
+               *m_textFileName,
                *m_textDescription;
 };
@@ -2970,5 +2970,5 @@
                                 wxDefaultPosition,
                                 wxDefaultSize,
-                                wxDEFAULT_DIALOG_STYLE | wxDIALOG_MODAL)
+                                wxDEFAULT_DIALOG_STYLE)
 {
   m_book = book;
@@ -3034,5 +3034,6 @@
   m_textName = new wxTextCtrl(this, -1, _T(""), wxPoint(x, y), sizeText);
   y += heightText;
-  m_staticFileName = new wxStaticText(this, -1, _T(""), wxPoint(x, y + dy), 
sizeLabel);
+  m_textFileName = new wxTextCtrl(this, -1, _T(""),
+                                  wxPoint(x, y + dy), sizeText, wxTE_READONLY);
   y += heightText;
   m_staticFileSize = new wxStaticText(this, -1, _T(""), wxPoint(x, y + dy), 
sizeLabel);
@@ -3089,5 +3090,5 @@
 
   m_staticFileSize->SetLabel(str);
-  m_staticFileName->SetLabel(filename);
+  m_textFileName->SetValue(filename);
 
   str.Printf(_T("%ld"), (unsigned long)m_book->GetNumberOfEntries());



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to