Hello,

I'm forwarding your message to m-devel, as Vadim usually knows better ;-)
You should subscribe to it if you want to post, but traffic is really small.
For me M cvs compiles with wx cvs, but I don't use --disable-compat24.
As for printing, you can comment out not compiling lines, printing is
not significant in this case.

Regards,
Nerijus

------ Forwarded message ------
From: Mart Raudsepp <[EMAIL PROTECTED]>
Date: Mon, 29 Nov 2004 23:45:26 +0200
Subject: Re: [wx-dev] GTK2 wxTextCtrl patches outstanding
To: Nerijus Baliunas <[EMAIL PROTECTED]>

On Mon, 2004-11-29 at 22:18 +0200, Nerijus Baliunas wrote:
> On Mon, 29 Nov 2004 17:06:28 +0200 Mart Raudsepp <[EMAIL PROTECTED]> wrote:
> 
> > For some reason when I tried to compile mahogany
> > to look into the slowness described there, it didn't with
> > gtk/gtktextbuffer.h when including my modified textctrl.h, it also
> > didn't find gtk/gtk.h. However it includes wx/treectrl.h just fine which
> > in turn also include <gtk/gtk.h>. How comes?
> 
> Mahogany only includes wx headers, so if you want gtk headers also,
> you should add `pkg-config gtk+-2.0 --cflags` to compilation line.
> wxGTK doesn't use gtk/treectrl.h, which includes <gtk/gtk.h>:
> 
> #elif defined(__WXGTK__)
>     #include "wx/generic/treectlg.h"
> 
> It uses generic/treectlg.h.

D'oh right, we can currently only dream about a native tree control for
wxGTK. So, whoops.
Fixed my own patch to not include gtk headers in a wx header anymore.

Now I'm stuck here:

.src/gui/wxDialogLayout.cpp: In function `wxRadioBox*
CreateRadioBox(wxWindow*, const wxChar*, long int, wxControl*,
wxCoord)':
.src/gui/wxDialogLayout.cpp:275: error: 'class wxArrayString' has no
member named 'GetStringArray'
.src/gui/wxDialogLayout.cpp: In member function `wxControl*
wxEnhancedPanel::CreateComboBoxOrChoice(bool, const wxChar*, long int,
wxControl*, wxCoord)':
.src/gui/wxDialogLayout.cpp:853: error: 'class wxArrayString' has no
member named 'GetStringArray'


.src/gui/wxFolderTree.cpp: In constructor
`wxFolderTreeNode::wxFolderTreeNode(wxTreeCtrl*, MFolder*,
wxFolderTreeNode*, int)':
.src/gui/wxFolderTree.cpp:1373: error: invalid conversion from `int' to
`void*'
.src/gui/wxFolderTree.cpp:1373: error:   initializing argument 1 of
`wxTreeItemId::wxTreeItemId(void*)'
.src/gui/wxFolderTree.cpp: In member function `void
wxFolderTreeImpl::OnBeginLabelEdit(wxTreeEvent&)':
.src/gui/wxFolderTree.cpp:2405: error: invalid conversion from `long
int' to `void*'
.src/gui/wxFolderTree.cpp:2405: error:   initializing argument 1 of
`wxTreeItemId::wxTreeItemId(void*)'
.src/gui/wxFolderTree.cpp:2407: error: invalid conversion from `long
int' to `void*'
.src/gui/wxFolderTree.cpp:2407: error:   initializing argument 1 of
`wxTreeItemId::wxTreeItemId(void*)'
.src/gui/wxFolderTree.cpp:2414: error: invalid conversion from `long
int' to `void*'
.src/gui/wxFolderTree.cpp:2414: error:   initializing argument 1 of
`wxTreeItemId::wxTreeItemId(void*)'
.src/gui/wxFolderTree.cpp:2423: error: invalid conversion from `long
int' to `void*'
.src/gui/wxFolderTree.cpp:2423: error:   initializing argument 1 of
`wxTreeItemId::wxTreeItemId(void*)'


.src/gui/wxFolderView.cpp: In member function `virtual wxListItemAttr*
wxFolderListCtrl::OnGetItemAttr(long int) const':
.src/gui/wxFolderView.cpp:3177: error: incomplete type `wxLocale' used
in nested name specifier

This is fixed by adding a #include <wx/inlt.h>

This might be from gnomeprint in which case moot:

.src/gui/wxMApp.cpp: In member function `void
wxMApp::CleanUpPrintData()':
.src/gui/wxMApp.cpp:1219: error: 'class wxPrintData' has no member named
'GetPrinterCommand'
.src/gui/wxMApp.cpp:1220: error: 'class wxPrintData' has no member named
'GetPrinterOptions'
.src/gui/wxMApp.cpp: In member function `virtual const wxPrintData*
wxMApp::GetPrintData()':
.src/gui/wxMApp.cpp:1279: error: 'class wxPrintData' has no member named
'SetFontMetricPath'
.src/gui/wxMApp.cpp:1286: error: 'class wxPrintData' has no member named
'SetPrinterCommand'
.src/gui/wxMApp.cpp:1287: error: 'class wxPrintData' has no member named
'SetPrinterOptions'


This is with
./configure  --with-gtk --enable-debug --enable-debug_gdb
--disable-compat24 --with-gnomeprint --with-sdl --with-opengl
configured wxGTK CVS
and ./configure  --disable-nls --enable-debug --enable-profile
configured M CVS.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to