Search found 8 matches

by uqkobi
Fri Jul 22, 2005 1:40 am
Forum: General Development
Topic: Design problem
Replies: 3
Views: 1098

Hi I am not really experienced at using threads. Basically I have three processes to run . 1 and 2 can be run at the same time, but process 3 needs process 2 to be done. These processes use autonomous executables that do not use wxWindows. So here is my question: I see that I run the processes in wx...
by uqkobi
Fri Jul 22, 2005 12:33 am
Forum: C++ Development
Topic: wxProgressDialog
Replies: 4
Views: 1069

Hi I got it to work, it was related to mpProgressDialog->Update(mIntCounter -1 , wxString( mFilesToGenerateDataFor[mIntCounter].c_str()).AfterLast('/') ); I just got rid of the "-1". And this is related to the following reasoning: The problem was related to the fact that I thought the prog...
by uqkobi
Thu Jul 21, 2005 6:34 am
Forum: C++ Development
Topic: wxProgressDialog
Replies: 4
Views: 1069

Hmm well I must be doing something wrong because the time always stays at zero! This is how I construct the dialog: mpProgressDialog = new wxProgressDialog(wxT("Generating correlation files"), wxT("Preparing"), mFilesToGenerateDataFor.size(), NULL, wxPD_AUTO_HIDE | wxPD_REMAINING...
by uqkobi
Thu Jul 21, 2005 5:16 am
Forum: C++ Development
Topic: wxProgressDialog
Replies: 4
Views: 1069

wxProgressDialog

HI,

how do I set the remaining time in a progress dialog? :)
by uqkobi
Thu Jul 21, 2005 2:27 am
Forum: General Development
Topic: Design problem
Replies: 3
Views: 1098

Design problem

Hi, I have a design problem more than anything else. In my wxFrame the user selects "Go" from the tool bar (or menu) and what follows is the execution of several wxProcesses (accompanied by wxProgressDialogs). They can take quite a while. After they are completed a new page is added to the...
by uqkobi
Tue Jul 12, 2005 2:38 am
Forum: C++ Development
Topic: wxMiniFrame, wxGLCanvas, wxPaintDC - GetFont segfault
Replies: 2
Views: 963

I tried that but I got the same problem :( . Actually looking at the frame stack (GDB output) I can see that wxWindows has called wxWindow::gtkSendPaintEvents(). After a few event handling functions calls an OnPaint event is received and my wxGLCanvas is drawn after a few other function calls. Actua...
by uqkobi
Mon Jul 11, 2005 6:10 am
Forum: C++ Development
Topic: How to lower the disk space taken by my programs!
Replies: 26
Views: 7045

Hi,

In Linux you can use the command line tool "strip"

Hope that helps.
by uqkobi
Mon Jul 11, 2005 6:07 am
Forum: C++ Development
Topic: wxMiniFrame, wxGLCanvas, wxPaintDC - GetFont segfault
Replies: 2
Views: 963

wxMiniFrame, wxGLCanvas, wxPaintDC - GetFont segfault

Hi, for simplicity I will say I am using a wxMiniFrame or a wxGLCanvas when really I am using classes derived from them. I am running a wxMiniFrame, the wxMiniFrame has a pointer to a wxGLCanvas. Using GDB, when I call wxPaintDC(this) the first time I call the draw function in the wxGLCanvas, I get ...