Search found 26 matches
- Fri Mar 12, 2010 8:43 am
- Forum: Announcements and Discoveries
- Topic: ANN: wxSQLite3 1.9.8 released
- Replies: 10
- Views: 4750
Well I use wxSQLite3Table in the wxGridTableBase as data source. I checked wxSQLite3 API and this is the only usefull class for this. For example wxSQLite3ResultSet do not provide number of rows, can move only forward ( NextRow() ). With wxSQLite3Table we can move at any row using SetRow(). That is...
- Fri Mar 12, 2010 4:20 am
- Forum: Announcements and Discoveries
- Topic: ANN: wxSQLite3 1.9.8 released
- Replies: 10
- Views: 4750
I'd like to remark that using method GetTable is usually not the recommended way to query the database as underlying SQLite loads the complete resultset into memory and converts every data item into string representation. Well I use wxSQLite3Table in the wxGridTableBase as data source. I checked wx...
- Thu Mar 11, 2010 5:56 am
- Forum: Announcements and Discoveries
- Topic: ANN: wxSQLite3 1.9.8 released
- Replies: 10
- Views: 4750
- Sat Feb 27, 2010 9:19 am
- Forum: C++ Development
- Topic: wxDataViewRenderer and model items
- Replies: 2
- Views: 926
Hi, If you store your data in wxVariantData objects, then you can save that value when wxDataViewRenderer::SetValue is called. Then you can retrieve it from the your renderer object during the wxDataViewRenderer::Render routine. Thanks, Jim. Yes, this helps. I wrote about almost the same way void S...
- Fri Feb 26, 2010 8:18 am
- Forum: C++ Development
- Topic: wxDataViewRenderer and model items
- Replies: 2
- Views: 926
wxDataViewRenderer and model items
Hi. My question is probably for wx team. As I understand current wxDataView architecture do not allow to reach model's item by wxDataViewRenderer. And wxDataViewRenderer can use only item value (which is returned by wxDataViewModel::GetValue() ) for rendering. And if model item contains some extra d...
- Sat Jan 23, 2010 12:13 pm
- Forum: C++ Development
- Topic: Autocomplete and wxLogTrace
- Replies: 0
- Views: 535
Autocomplete and wxLogTrace
Faced with one problem. I have a simple dialog with wxTextCtrl. For this wxTextCtrl i set auto complete strings array. And on dialog closing my application crashes. I found the problem. wxTextEntry uses wxIEnumString for autocmplete stuff (src\msw\textentry.cpp) and wxIEnumString::Release() uses wxL...
- Mon Nov 23, 2009 6:05 am
- Forum: C++ Development
- Topic: WX as a plug in for Non-WX program
- Replies: 11
- Views: 5131
- Thu Nov 19, 2009 3:38 am
- Forum: C++ Development
- Topic: WX as a plug in for Non-WX program
- Replies: 11
- Views: 5131
Does wxAUI work now in your application ? Well, it works, but it have some problems when you try to move/drag aui panel. Everything (or almost everything) freezes until you release mouse button... And i do not know what to do. Also how did you initialize wxWidgets so it works in a window applicatio...
- Wed Nov 18, 2009 3:55 pm
- Forum: C++ Development
- Topic: WX as a plug in for Non-WX program
- Replies: 11
- Views: 5131
My app is an extension for a host program. So it works from a window application... I think the main difference between your solution and our is that we use hooks for process messages and pass them to the wx event loop and you use just loop with PeekMessage(). So for gui application you have to use ...
- Wed Nov 18, 2009 6:31 am
- Forum: C++ Development
- Topic: [Solved]wxAUI manual initialization when used in a DLL ?
- Replies: 3
- Views: 991
Hi.
I have the same problem, I think...
Look here: http://forums.wxwidgets.org/viewtopic.php?t=25414
Maybe we can solve this problem together?
I have the same problem, I think...
Look here: http://forums.wxwidgets.org/viewtopic.php?t=25414
Maybe we can solve this problem together?
- Mon Sep 21, 2009 8:22 am
- Forum: C++ Development
- Topic: WX as a plug in for Non-WX program
- Replies: 11
- Views: 5131
- Tue Sep 15, 2009 6:21 am
- Forum: C++ Development
- Topic: WX as a plug in for Non-WX program
- Replies: 11
- Views: 5131
Hello. I'm developing wx-plugin in non wx application too. And thx to dsmtoday . Your code is works. But some things do not work properly. For example wxProgressDialog wants event loop (check wxProgressDialog::Update()) for process gui events. So I created gui event loop for this situation in wxApp:...
- Wed Jul 15, 2009 7:24 am
- Forum: wxWidgets Development (Russian)
- Topic: Сортировка для wxDataViewVirtualListModel
- Replies: 1
- Views: 1451
Пока сделал так: Главная проблема, узнать столбец и направление сортировки, поэтому модель должна знать свой view. Для этого добавляем в модель: class VirtualModel: public wxDataViewVirtualListModel { ... wxDataViewCtrl *m_parentView; ... }; ... void VirtualModel::setParentView(wxDataViewCtrl *view)...
- Wed Jul 15, 2009 5:44 am
- Forum: wxWidgets Development (Russian)
- Topic: Сортировка для wxDataViewVirtualListModel
- Replies: 1
- Views: 1451
Сортировка для wxDataViewVirtualListModel
Версия wxWidgets-trunk. Разбираюсь с сортировкой. Как я понял, для сортировки используется wxDataViewModel::Compare(). Этот метод вызывается после клика по заголовку столбца, если тот имеет флаг wxDATAVIEW_COL_SORTABLE. Но для виртуальной модели этого не происходит, те Compare() не вызывается. Порыл...
- Thu Jul 02, 2009 5:57 am
- Forum: wxWidgets Development (Russian)
- Topic: Memory Leak при выгрузке dll
- Replies: 16
- Views: 7203