Update of /cvsroot/mahogany/M/src/adb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7851/src/adb
Modified Files:
AdbFrame.cpp
Log Message:
fixes for deprecation warnings with wx 2.5
Index: AdbFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/AdbFrame.cpp,v
retrieving revision 1.118
retrieving revision 1.119
diff -b -u -2 -r1.118 -r1.119
--- AdbFrame.cpp 21 Apr 2004 13:58:10 -0000 1.118
+++ AdbFrame.cpp 24 Jan 2005 18:36:11 -0000 1.119
@@ -1577,5 +1577,5 @@
// first determine the longest button caption
wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
long width, widthMax = 0;
for ( n = 0; n < nButtons; n++ ) {
@@ -2481,5 +2481,5 @@
m_treeAdb->SetItemImage(id, icon);
- m_treeAdb->SetItemSelectedImage(id, icon);
+ m_treeAdb->SetItemImage(id, icon, wxTreeItemIcon_Selected);
}
@@ -2782,5 +2782,5 @@
long widthLabel, heightLabel;
wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
dc.GetTextExtent(label, &widthLabel, &heightLabel);
@@ -2937,5 +2937,5 @@
long widthLabel, heightLabel;
wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
dc.GetTextExtent(label, &widthLabel, &heightLabel);
@@ -3042,5 +3042,5 @@
// first determine the longest label
wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
long widthLabel, heightLabel = 0, widthLabelMax = 0;
for ( n = 0; n < WXSIZEOF(labels); n++ ) {
@@ -3571,5 +3571,5 @@
size_t nBtn;
wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
long width, widthMax = 0;
for ( nBtn = 0; nBtn < WXSIZEOF(aszLabels); nBtn++ ) {
@@ -3633,5 +3633,5 @@
// first determine the longest label
wxClientDC dc(this);
- dc.SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
long width, widthMax = 0;
for ( n = 0; n < nCount; n++ ) {
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates