On Wed, Feb 11, 2009 at 4:37 PM, Massimo Belgrano <[email protected]>wrote:

> I am interested to your experiment with GTWVT, GWXC + XHGTK.
> can you share experience here?
> I have tried xhgtk but seem work only with mingw & msvc


After some tweaking, now I have an xhgtk.lib for MSVC.
I had to manually fix the makefile and fix one error in code in
latest SVN.

I've used packages from here:
http://www.gtk.org/download-windows.html

The missing bit was "libglade-2.0", which I got from here:
http://gladewin32.sourceforge.net/

Here's the patch for the error:
---
Index: source/gtk/gtkcomboboxentry.c
===================================================================
--- source/gtk/gtkcomboboxentry.c (revision 357)
+++ source/gtk/gtkcomboboxentry.c (working copy)
@@ -90,6 +90,7 @@

 HB_FUNC( XHGTK_COMBO_BOX_ENTRY_GET_ENTRY )
 {
-   GtkWidget *widget = hb_gtk_param(1, TRUE);
+   GtkWidget *widget = ( GtkWidget * ) hb_gtk_param(1, TRUE);
    hb_gtk_ret( (GtkEntry*) GTK_ENTRY( GTK_BIN( widget )->child ), FALSE );
 }
+
---

Now comes to build and run some samples.

Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to