Search found 113 matches
- Thu Apr 30, 2009 6:25 am
- Forum: C++ Development
- Topic: Deleting a wxMutex on detachable threads
- Replies: 3
- Views: 1340
Deleting a wxMutex on detachable threads
Hi, I m having a problem. I have some fire and forget threads that do some stuff. I m using two wxMutex declared as: mainFrm.h class mainFrm:wxFrame{ ... public: static wxMutex *s_mutexSerial; static wxMutex *s_mutexCfgNumber; }; mainFrm.cpp wxMutex * mainFrm::s_mutexSerial = 0; wxMutex * mainFrm::s...
- Tue Sep 09, 2008 4:23 am
- Forum: C++ Development
- Topic: multi threading problem
- Replies: 1
- Views: 777
Re: multi threading problem
My app includes a real time component, which is running in it's own thread. The problem is I need to prevent wxWidgets from changing certain things for during the rendering to ensure that the area i'm rendering fits on the panel for that frame (eg there is no chance of displaying "old" ar...
- Tue Sep 09, 2008 4:20 am
- Forum: C++ Development
- Topic: Threading and memory usage
- Replies: 7
- Views: 2916
You are creating all the threads on the heap. This is not bad for threads. I guess somehow thread's memory is released on program exit. But they won't be freed upon the thread termination. So, if you don´t want memory pilling up, my advice would be to delete the thread when its work is done. Regards...
- Fri Aug 29, 2008 2:12 pm
- Forum: C++ Development
- Topic: print data from wxgrid
- Replies: 1
- Views: 902
Re: print data from wxgrid
hello every one, i have some data in wxgrid i need to print the data with all the cells. can any one tell me how i can do that i need to print the grid also. (i have tried copying dc by using dc::blit function but its not working) I created some classes to do this some time ago. Don't know if it wi...
- Fri Aug 29, 2008 2:05 pm
- Forum: C++ Development
- Topic: MultiThread problem
- Replies: 1
- Views: 1109
- Mon Aug 11, 2008 8:05 am
- Forum: C++ Development
- Topic: Why my wxListCtrl style is different from the sample?
- Replies: 3
- Views: 1577
- Mon Jun 23, 2008 4:15 am
- Forum: C++ Development
- Topic: Bad rendering in Windows XP SP2 UE8
- Replies: 1
- Views: 1087
- Mon Jun 23, 2008 4:06 am
- Forum: C++ Development
- Topic: Bad rendering in Windows XP SP2 UE8
- Replies: 1
- Views: 1087
Bad rendering in Windows XP SP2 UE8
Hi, I´m getting some rendering problems on Windows XP SP2 UE8.
Unfortunaly I can't get my hands on another PC at this moment. I´ve been away from wx app develompment for quite some time now.
Any idea about this?
(See the picture plz)
Best regards, Matías
Unfortunaly I can't get my hands on another PC at this moment. I´ve been away from wx app develompment for quite some time now.
Any idea about this?
(See the picture plz)
Best regards, Matías
- Fri May 18, 2007 2:57 pm
- Forum: C++ Development
- Topic: how to produce publishing quality documentation from drawing
- Replies: 4
- Views: 1548
Very nice!T-Rex wrote:http://rexlab.narod.ru/ZIPTest_pdf.7z (536 KB)
Thnx T-Rex, it will sure come handy in the future.
Mat
- Fri May 18, 2007 2:40 pm
- Forum: C++ Development
- Topic: deleting selected items in a wxListCtrl ... BETTER way?
- Replies: 7
- Views: 4501
Re: deleting selected items in a wxListCtrl ... BETTER way?
Use wxListView instead of wxListCtrl. It's the same as wxListCtrl but with some easy to use methods. void MyFrame::OnBitmapbuttonMinusClick( wxCommandEvent& event ) { long index=filez->GetFirstSelected(); long count=filez->GetItemCount(); if(count==1)//if there is only one item in the list, dele...
- Fri May 18, 2007 2:09 pm
- Forum: C++ Development
- Topic: create diagrams
- Replies: 7
- Views: 1985
Re: create diagrams
hello, I would like to create an interface where I could build diagrams with line and components and I could define characteristics and functions for the diagram components. Which classes should I use to do that? This is kinda vague. Can you elaborate a little more? Would this be like a drawing app...
- Fri May 18, 2007 2:04 pm
- Forum: C++ Development
- Topic: how to produce publishing quality documentation from drawing
- Replies: 4
- Views: 1548
- Fri May 18, 2007 1:57 pm
- Forum: Compiler / Linking / IDE Related
- Topic: bakefile problem
- Replies: 2
- Views: 1096
Mmm...first of all, there is no reason why you should have the sources mixed with the objs if you are using bakefile. Second, the place where objs are placed may vary from compiler to compiler. Anyway, I think your are not using bakefiles as good as you can. I use bakefiles for my wx projects using ...
- Wed May 16, 2007 6:11 pm
- Forum: wxCode
- Topic: error with firebird and wxActiveRecordGenerator
- Replies: 3
- Views: 1771
Re: error conditions
The error happend when I press Generate button. I am using the example database employee.fbd and not use relations (I select table COUNTRY), and I don't find the file wxarg. It's being worked on. The problem comes from the fact that Firebird doesn't have a LIMIT clause. Instead it uses FIRST and SK...
- Thu May 10, 2007 4:44 pm
- Forum: wxCode
- Topic: error with firebird and wxActiveRecordGenerator
- Replies: 3
- Views: 1771