Re: [M-CVS] CVS: M/include Mdnd.h,1.10,1.11

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
Hello,

now I cannot compile with wxGTK:

.src/gui/Mdnd.cpp:52: error: 'MMessagesDataObject' has not been declared
.src/gui/Mdnd.cpp:54: error: ISO C++ forbids declaration of 'MMessagesDataObject' with no type
.src/gui/Mdnd.cpp: In function 'int MMessagesDataObject(MsgCmdProc*, MailFolder*, const UIdArray&)':

And I didn't find wxUSE_DND in both wx 2.6 and 2.7, so I'm reverting it.

Nerijus

On Sun, 15 Jan 2006 11:53:28 -0800 Vadim Zeitlin <[email protected]> wrote:

VZ> Update of /cvsroot/mahogany/M/include
VZ> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3307/include
VZ> 
VZ> Modified Files:
VZ> 	Mdnd.h 
VZ> Log Message:
VZ> compilation fixes for wxUSE_DND == 0 (needed for wxMotif)
VZ> 
VZ> Index: Mdnd.h
VZ> ===================================================================
VZ> RCS file: /cvsroot/mahogany/M/include/Mdnd.h,v
VZ> retrieving revision 1.10
VZ> retrieving revision 1.11
VZ> diff -b -u -2 -r1.10 -r1.11
VZ> --- Mdnd.h	11 Oct 2003 23:13:45 -0000	1.10
VZ> +++ Mdnd.h	15 Jan 2006 19:53:25 -0000	1.11
VZ> @@ -22,4 +22,6 @@
VZ>  #include <wx/dnd.h>
VZ>  
VZ> +#if wxUSE_DND
VZ> +
VZ>  class MsgCmdProc;
VZ>  class MailFolder;
VZ> @@ -150,3 +152,5 @@
VZ>  };
VZ>  
VZ> +#endif // wxUSE_DND
VZ> +
VZ>  #endif // _MDND_H_



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.