Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30709/include/gui

Modified Files:
        wxDialogLayout.h 
Log Message:
cygwin compilation fixes

Index: wxDialogLayout.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxDialogLayout.h,v
retrieving revision 1.73
retrieving revision 1.74
diff -b -u -2 -r1.73 -r1.74
--- wxDialogLayout.h    10 Feb 2004 22:44:05 -0000      1.73
+++ wxDialogLayout.h    21 Apr 2004 13:58:07 -0000      1.74
@@ -57,7 +57,16 @@
 
 class WXDLLEXPORT wxFrame;
+class WXDLLEXPORT wxCheckBox;
+class WXDLLEXPORT wxCheckListBox;
+class WXDLLEXPORT wxChoice;
 class WXDLLEXPORT wxControl;
+class WXDLLEXPORT wxComboBox;
 class WXDLLEXPORT wxListBox;
-class WXDLLEXPORT wxCheckBox;
+class WXDLLEXPORT wxRadioBox;
+class WXDLLEXPORT wxScrolledWindow;
+class WXDLLEXPORT wxStaticBitmap;
+class WXDLLEXPORT wxStaticBox;
+class WXDLLEXPORT wxStaticText;
+
 class /* WXDLLEXPORT */ wxColorBrowseButton;
 class /* WXDLLEXPORT */ wxDirBrowseButton;
@@ -68,11 +77,4 @@
 class /* WXDLLEXPORT */ wxIconBrowseButton;
 class /* WXDLLEXPORT */ wxTextBrowseButton;
-class WXDLLEXPORT wxStaticBitmap;
-class WXDLLEXPORT wxStaticText;
-class WXDLLEXPORT wxStaticBox;
-class WXDLLEXPORT wxCheckListBox;
-class WXDLLEXPORT wxRadioBox;
-class WXDLLEXPORT wxChoice;
-class WXDLLEXPORT wxComboBox;
 
 // ----------------------------------------------------------------------------
@@ -549,5 +551,7 @@
    wxWindow *GetCanvas() const
    {
-       return m_canvas ? m_canvas : (wxWindow *)this;   // const_cast
+      // first cast to wxWindow is needed if wxScrolledWindow is only forward
+      // declared and not visible from here
+      return m_canvas ? (wxWindow *)m_canvas : (wxWindow *)this; // const_cast
    }
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to