Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv7872/include/gui

Modified Files:
        wxBrowseButton.h wxllist.h wxlwindow.h 
Log Message:
compilation fixes for wxCocoa (no wxUSE_TOOLTIPS nor wxUSE_PRINTING_ARCHITECTURE)

Index: wxBrowseButton.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxBrowseButton.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -u -2 -r1.23 -r1.24
--- wxBrowseButton.h    18 Sep 2003 16:30:43 -0000      1.23
+++ wxBrowseButton.h    10 Jan 2004 18:49:23 -0000      1.24
@@ -42,5 +42,10 @@
 public:
    wxBrowseButton(wxWindow *parent, const wxString& tooltip)
-      : wxButton(parent, -1, _T(">>")) { SetToolTip(tooltip); }
+      : wxButton(parent, -1, _T(">>"))
+   {
+#if wxUSE_TOOLTIPS
+      SetToolTip(tooltip); 
+#endif // wxUSE_TOOLTIPS
+   }
 
    // function which shows the file selection dialog and changes the associated

Index: wxllist.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxllist.h,v
retrieving revision 1.82
retrieving revision 1.83
diff -b -u -2 -r1.82 -r1.83
--- wxllist.h   11 Oct 2003 23:13:46 -0000      1.82
+++ wxllist.h   10 Jan 2004 18:49:23 -0000      1.83
@@ -24,4 +24,6 @@
 #include   <wx/generic/prntdlgg.h>
 #include   <wx/dataobj.h>
+#include   <wx/font.h>
+#include   <wx/colour.h>
 
 // skip the following defines if embedded in M application
@@ -1334,4 +1336,5 @@
 };
 
+#if wxUSE_PRINTING_ARCHITECTURE
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
@@ -1418,4 +1421,5 @@
    DECLARE_NO_COPY_CLASS(wxLayoutPrintout)
 };
+#endif // wxUSE_PRINTING_ARCHITECTURE
 
 

Index: wxlwindow.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxlwindow.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -b -u -2 -r1.53 -r1.54
--- wxlwindow.h 11 Oct 2003 23:13:46 -0000      1.53
+++ wxlwindow.h 10 Jan 2004 18:49:23 -0000      1.54
@@ -15,4 +15,6 @@
 #include "gui/wxllist.h"
 
+#include <wx/scrolwin.h>
+
 #ifndef WXLOWIN_MENU_FIRST
 #   define WXLOWIN_MENU_FIRST 12000



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to