Page 1 of 1

Dbgrid.h and Db.h

Posted: Mon Jan 13, 2014 2:20 am
by eldonfsr
Hello everubaody here well u=i just started with wx and start some test firsrt serial comm is not avaliable on it, and the second why for dbgrid the manual an examples says include wx/dbgrid.h and wx/db.h if you look there those file are not exist, that is thirth librery or is part of wx, i using codeblocks and wx3.0 or some bady know a version of wich came with all files pls give me idea. what i need for work with database sql or sqlite.

best regards.
enrique

Re: Dbgrid.h and Db.h

Posted: Mon Jan 13, 2014 11:59 am
by doublemax
The database classes were removed in wx 3.0 because they were unmaintained and there is no other database component included in wxWidgets.

If you need support for sqlite only, there is the very good wxSqlite3:
viewtopic.php?f=10&t=38453

Another option would be wxDatabaseLayer (but it has a few minor bugs and doesn't seem to be maintained any more).

But you don't really need a special wxWIdgets component to access a database. You could also use any "generic" C++ library, e.g. SOCI:
http://soci.sourceforge.net/

Re: Dbgrid.h and Db.h

Posted: Sat Jan 18, 2014 3:57 pm
by evstevemd
doublemax wrote:
Another option would be wxDatabaseLayer (but it has a few minor bugs and doesn't seem to be maintained any more).


there is maintained version here. Soon version 1 (which is developed quitly locally now) will be available
meanwhile see this thread

viewtopic.php?f=10&t=36408

Re: Dbgrid.h and Db.h

Posted: Tue Feb 04, 2014 8:50 pm
by pmcnary
When do you think version 1 will be available?

Is this a CodeBlocks on Ubuntu project?

Re: Dbgrid.h and Db.h

Posted: Wed Feb 05, 2014 9:36 am
by evstevemd
pmcnary wrote:When do you think version 1 will be available?

Is this a CodeBlocks on Ubuntu project?

Can't promse Yet but not that far.
It will have bakefiles (thanks to Patlki) and CodeLite Projects.
May be another one will make C::B project for that version!