Search found 43 matches

by Peer Sommerlund
Fri Jul 21, 2006 7:01 am
Forum: C++ Development
Topic: wxThread do not stop
Replies: 2
Views: 1099

I think that calling TestDestroy from your SimThread may solve the problem.

This is what the manual says
http://www.wxwidgets.org/manuals/2.6.3/ ... estdestroy
by Peer Sommerlund
Fri Jul 21, 2006 6:57 am
Forum: Compiler / Linking / IDE Related
Topic: Bringing up wxWidgets to work with Code::Blocks
Replies: 5
Views: 3417

Re: Bringing up wxWidgets to work with Code::Blocks

Uhm, I'm not an expert, but the message "m_serviceName undeclared" seems to indicate that the wxWidgets-2.6.3/include/wx/msw/dde.h has some problem. I don't have the source code at hand, but try to take a look at lines 103 and 111 in dde.h and see if you can figure out what went wrong. you...
by Peer Sommerlund
Thu Jul 20, 2006 9:38 pm
Forum: Announcements and Discoveries
Topic: wxAUI integrated into wxWidgets CVS
Replies: 21
Views: 9682

... applying other people's patches and contributions such as Peer Sommerlund's layout saving code ... Off topic, I know :oops: - but this patch is Huge's, not mine. I have done some reverse engineering to understand wxIFM, so my desk has a few diagrams that could be thrown at new developers trying...
by Peer Sommerlund
Thu Jul 20, 2006 9:13 pm
Forum: Announcements and Discoveries
Topic: wxAUI integrated into wxWidgets CVS
Replies: 21
Views: 9682

Re: wxAUI Tabs - first phase

bwilliams wrote:... first crack at tabs in wxAUI. It's not the full deal yet, but we'll get there soon enough.
Good work Ben.

By the way, does the inclusion of wxAUI mean the exclusion of wxFL, the old docking toolkit found in contrib?
by Peer Sommerlund
Wed Jul 19, 2006 7:03 am
Forum: Announcements and Discoveries
Topic: wxIFM support probe
Replies: 1
Views: 1362

wxIFM support probe

I'm currious to see how many people here would like to support development of wxIFM, the current alternative to wxAUI. Both components provide docking windows, and both of them have featuers that the other is missing. wxAUI has a community around http://www.kirix.com/community/wxaui.html whereas wxI...
by Peer Sommerlund
Tue Jul 18, 2006 8:14 pm
Forum: Announcements and Discoveries
Topic: wxAUI integrated into wxWidgets CVS
Replies: 21
Views: 9682

Most projects that end up on SF simply rot. Although mine will be rotting as well, so there isn't much of a difference in that regard. True, you need a critical mass to get your project rolling. But I believe that wxIFM can get that mass with just a small effort attracting new developers. Using SF ...
by Peer Sommerlund
Tue Jul 18, 2006 5:23 am
Forum: Announcements and Discoveries
Topic: wxAUI integrated into wxWidgets CVS
Replies: 21
Views: 9682

I don't know what I will do with my OSS projects at this point. I have not the desire to spend countless hours on them, and a project like wxIFM2 is the kind of projet that requires detication to get anywhere with. One option is to place the codebase on sourceforge and invite more developers onboar...
by Peer Sommerlund
Mon Jul 17, 2006 5:44 am
Forum: C++ Development
Topic: How to handle wxThread::Wait() == -1
Replies: 2
Views: 1163

That explains it. :-)

I thought Delete was an asynchronous signal to tell the thread to terminate, and Wait the only way to join threads.

The documentation for 2.6.2 states that you must call Wait on joinable threads.
by Peer Sommerlund
Sun Jul 16, 2006 5:54 am
Forum: C++ Development
Topic: How to handle wxThread::Wait() == -1
Replies: 2
Views: 1163

How to handle wxThread::Wait() == -1

Hi. I'm trying to delete two joinable threads, but Wait() returns -1 How can I see what this error indicates? Why is the ErrorCode type a void* and not an int? Example code: timer->Delete(); // @todo implicit? timer->Wait(); if (timer->Wait() == (wxThread::ExitCode)-1) TRACE("*** Error waiting ...
by Peer Sommerlund
Fri Jul 14, 2006 1:03 pm
Forum: Compiler / Linking / IDE Related
Topic: New to wxWidgets - please recommend compiler
Replies: 11
Views: 3341

Which IDE's to people tend to use? I'm using CodeBlocks & MinGW for coding and wxGlade for prototyping. I have used DevCpp and wxDevCpp in the past, but find that CodeBlocks work better for me. DevCpp introduced DevPacks as a way to distribute compiled libraries, which I continue to use with Co...
by Peer Sommerlund
Fri Jul 14, 2006 8:02 am
Forum: Compiler / Linking / IDE Related
Topic: New to wxWidgets - please recommend compiler
Replies: 11
Views: 3341

gcc is a must since you do cross platform work, vc is to make windows users more happy downloading (but not using) your application. I think the effort is better spent adding features and removing bugs, than by optimizing download time. Use the 20-80 rule: Spend 20% of the time needed to achive mini...
by Peer Sommerlund
Thu Jul 13, 2006 12:52 pm
Forum: C++ Development
Topic: Sockets FAQ/Tutorial
Replies: 31
Views: 103995

May I suggest this FAQ is merged into http://www.wxwidgets.org/wiki/index.php/WxSocket This will have two bennefits: 1) Less confusion because there is only one source for wxSocket info 2) Faster to read because you don't have to go through the entire thread to make sure you did not miss some import...
by Peer Sommerlund
Tue Jun 13, 2006 7:46 am
Forum: C++ Development
Topic: Problem with wxCondition Timeout
Replies: 1
Views: 905

The threading part of wxWidgets has some long standing bugs. Take a look at http://sourceforge.net/tracker/?group_id=9863&atid=109863, select Category=Thread I experienced a similar problem back in wxWidgets 2.4.1, but changed my code to work around it. Also, you might find the patches section i...