Search found 131 matches

by mrdebug
Tue Aug 11, 2009 5:06 pm
Forum: C++ Development
Topic: Pointer to function
Replies: 6
Views: 502

I think I need something like the custom event that works like a pointer to function. I think that the custom event can pass something like argument and can return something. In pascal is very simple to do. It seems to me that there are two way to write custom events in wxWidgets. Which is the simpl...
by mrdebug
Sun Aug 09, 2009 4:21 pm
Forum: C++ Development
Topic: Pointer to function
Replies: 6
Views: 502

Pointer to function

How I write a pointer to function between two classes?
I have wrote something like this:

Code: Select all

    ...
    void (*MyPointer)();
    MyPointer= Print;
}

void wxFViaggioImp::Print() {
}
but does not work.
Can you help me?
by mrdebug
Fri Apr 24, 2009 3:47 pm
Forum: wxCode
Topic: Using wxFreeChart
Replies: 0
Views: 754

Using wxFreeChart

I use wxFreeChart componet in my project.

With bars mode I don't have understand how to increase the font size.
Can I add bars without to specify the colors? Is there an automatic mode to change colors?
How I increase the bar's width?
There is a zoom?
Thanks 1000.
by mrdebug
Mon Apr 13, 2009 7:04 pm
Forum: wxCode
Topic: Debian repository.
Replies: 1
Views: 606

Debian repository.

I have installed wxwidgets library from http://apt.wxwidgets.org/ lenny-wx main debian repository.
Who is the mainteiner? Can he include the odbc support?
by mrdebug
Mon Apr 13, 2009 10:41 am
Forum: Compiler / Linking / IDE Related
Topic: wxPack 2.8.9.02 and wxDateTime bug
Replies: 0
Views: 217

wxPack 2.8.9.02 and wxDateTime bug

Has Denis the wxDateTime bug fix (SetMounth() after ::Today())?
by mrdebug
Sat Apr 11, 2009 10:59 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.8.10
Replies: 0
Views: 308

wxWidgets 2.8.10

Someone has able to compile wxWidgets 2.8.10 with mingw 3.4.5?
by mrdebug
Mon Feb 23, 2009 3:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem
Replies: 5
Views: 738

wxDbConnectInf
by mrdebug
Mon Feb 23, 2009 7:43 am
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem
Replies: 5
Views: 738

I have included wx/sql.h header (that works well on Codeblocks for Windows) for to use wxDbConnectInf object.

What is the right mode to do this on Linux?
by mrdebug
Sun Feb 22, 2009 3:48 pm
Forum: Compiler / Linking / IDE Related
Topic: Compilation problem
Replies: 5
Views: 738

Compilation problem

On Linux with these repositories

Code: Select all

deb http://apt.wxwidgets.org/ lenny-wx main
deb-src http://apt.wxwidgets.org/ lenny-wx main
when I try to compile my project I obtain this error:

Code: Select all

/usr/include/wx-2.8/wx/db.h|83|error: sql.h: No such file or directory|
by mrdebug
Thu Jan 01, 2009 3:41 pm
Forum: C++ Development
Topic: wxWidgets and ODBC support
Replies: 8
Views: 889

I can not compile databaselayer with PosgtreSQL support under Windows.
by mrdebug
Sun Dec 28, 2008 3:34 pm
Forum: C++ Development
Topic: wxWidgets and ODBC support
Replies: 8
Views: 889

wxWidgets and ODBC support

I'm worried because I read in lists.wxwidgets.org this: "We removed ODBC support because noone maintained it."
I tried databaselayer but in the readme.txt I read that there is no official support for wxWidgets 2.8 ("Only tested on 2.5.x and 2.6.x")
What I will do in the future to get database support?
by mrdebug
Mon Dec 08, 2008 5:58 pm
Forum: C++ Development
Topic: insert date time (timestamp) value into database.
Replies: 5
Views: 741

wxDateTime.Format(wxT("%Y-%m-%d %X"));
by mrdebug
Mon Nov 10, 2008 4:25 pm
Forum: wxCode
Topic: Compiling DatabaseLayer with Postgresql support on Windows.
Replies: 4
Views: 1051

I think no. What is the right website to downloads it?

Sorry for my bad english.
by mrdebug
Sat Nov 08, 2008 9:25 am
Forum: wxCode
Topic: Compiling DatabaseLayer with Postgresql support on Windows.
Replies: 4
Views: 1051

Compiling DatabaseLayer with Postgresql support on Windows.

I try this: mingw32-make -f makefile.gcc WXWIN=C:\wxWidgets-2.8.9 postgresql but I obtain: C:\Documents and Settings\Denis\Desktop\databaselayer_src_1.7.1.tar\databaselaye r\build>mingw32-make -f makefile.gcc WXWIN=C:\wxWidgets-2.8.9 postgresql if not exist ..\lib\gcc_lib mkdir ..\lib\gcc_lib g++ -c...
by mrdebug
Mon Nov 03, 2008 7:37 am
Forum: C++ Development
Topic: insert date time (timestamp) value into database.
Replies: 5
Views: 741

I use wxDb - ODBC to store data in postgresql database.

Normally I use this string

"insert into MyTable(id, DataOra) values (1, '"+ wxDateTime.FormatDate()+ "')"

to store data but hour, minute, seconds, milliseconds is omitted.

How can I do?

Sorry for my bad english.