Page 1 of 1

wxDBLControls 0.2 released

Posted: Sat Nov 18, 2006 8:52 am
by gururamnath
I have updated the GUI controls for DatabaseLayer with additional support for Listbox, Combobox and ListView Controls.

Please download the control and the demo (compiled win32 sqlite based demo program included) from :

http://wxdsgn.sf.net/guru_s_stuff/dbwrapcontrols_2.7z

I have also fixed the Unicode related compilation errors reported by jb_coder.

If you have any suggestion or patch for improving the controls, please send them to [email protected].

If the controls are stable enough by couple of months, it will be part of the next major release of wx-DevC++.

-Guru Kathiresan

Posted: Sun Nov 19, 2006 3:55 pm
by jb_coder
It compiles fine under Unicode now. There was one non-Unicode related change needed to get it to compile under gcc on Linux though. In dblcontrols.cpp

Code: Select all

EVT_LIST_ITEM_SELECTED(-1,OnSelected)
had to be changed to

Code: Select all

EVT_LIST_ITEM_SELECTED(-1, wxDBLListCtrl::OnSelected)
to get past the error

Code: Select all

dblcontrols.cpp:389: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function.
A couple of things aren't working for me on Linux also. The state of the "Can work over time" and the "Phone" don't seem to change. The list view also doesn't seem to populate. I'm not sure if this is an issue with DatabaseLayer or wxDBLControls though.

I really like the new look of the interface that you've designed!