Search found 543 matches

by MoonKid
Tue Oct 05, 2010 10:37 pm
Forum: C++ Development
Topic: wxProgressDialog without mainframe-window but eventloop
Replies: 4
Views: 1074

Does prog.Pulse() work, too?

btw: I will update my SVN and try it with the newest version. If this doesn't work I will post more code here.
by MoonKid
Tue Oct 05, 2010 11:02 am
Forum: C++ Development
Topic: wxProgressDialog without mainframe-window but eventloop
Replies: 4
Views: 1074

wxProgressDialog without mainframe-window but eventloop

wxProgressDialog need a running eventloop to work. I have a wxApp without creating a top-level window. It only do some work automaticly and tell the progress with a progress-window and close after that automaticly. Using wxProgressDialog inside wxApp::OnInit() doesn't work because while this no even...
by MoonKid
Tue Oct 05, 2010 10:59 am
Forum: C++ Development
Topic: [wxProgressDialog] inactive event loop
Replies: 3
Views: 536

Does no one has a solution for my problem?
by MoonKid
Sun Oct 03, 2010 1:05 am
Forum: C++ Development
Topic: [wxProgressDialog] inactive event loop
Replies: 3
Views: 536

Ok this make sense for me. I reorganized the code but still have a problem. I do some works in OnInit(). It works well. After that my own OnRun() is called automaticly/implicitly. Using a wxProgressDialog in it cause in the same error I desribed below. I know it is because of the mainloop doesn't ru...
by MoonKid
Tue Aug 31, 2010 5:39 pm
Forum: C++ Development
Topic: [wxProgressDialog] inactive event loop
Replies: 3
Views: 536

[wxProgressDialog] inactive event loop

While using a wxProgressDialog::Pulse() I recieve an assert error message that there is no active event loop. The affected lines are this void wxProgressDialog::UpdateMessage(const wxString &newmsg) { wxCHECK_RET(wxEventLoopBase::GetActive(), "wxProgressDialog::UpdateMessage needs a running event lo...
by MoonKid
Tue Nov 17, 2009 1:20 am
Forum: C++ Development
Topic: [BUG?] wxDirPicker crash
Replies: 5
Views: 726

I can reproduce it on WinXP SP3, too.
by MoonKid
Tue Nov 17, 2009 12:43 am
Forum: C++ Development
Topic: [BUG?] wxDirPicker crash
Replies: 5
Views: 726

I am using wxWidgets2.9.0.
I tried the wxDirPicker in the "widgets" sample.

I can reproduce it on Win7 with that sample.
by MoonKid
Mon Nov 16, 2009 11:13 pm
Forum: C++ Development
Topic: [BUG?] wxDirPicker crash
Replies: 5
Views: 726

Has anyone tried to reproduce this?
by MoonKid
Mon Nov 16, 2009 11:23 am
Forum: Compiler / Linking / IDE Related
Topic: [email protected]
Replies: 4
Views: 890

Re: [email protected]

I guess you mean unresolved external symbol. Do you have IMPLEMENT_APP in your code? Ah, I see... I have IMPLEMENT_APP_CONSOLE there. So I need to tell the IDE that it is a console app. But I found nothing about that in the project-dialog. Maybe I need to do something in the code? Yes it is a conso...
by MoonKid
Mon Nov 16, 2009 9:31 am
Forum: Compiler / Linking / IDE Related
Topic: [email protected]
Replies: 4
Views: 890

[email protected]

I am migrating a project from Code::Blocks to MSVC++2008 ExpressEdition. But it is not complete. The linker found a unreferenced extern link "[email protected]". What is missing in the project. These are the libs in Debug Dynamic mode. wxmsw29ud_adv.lib wxmsw29ud_core.lib wxbase29ud.lib wxbase29ud_net.lib...
by MoonKid
Thu Nov 05, 2009 3:33 pm
Forum: C++ Development
Topic: [BUG?] wxDirPicker crash
Replies: 5
Views: 726

[BUG?] wxDirPicker crash

Can someone reproduce a crash if you enter "C::" into a wxDirPicker ? Typing the thierd character cause directly in a crash because of something in wxFileName::SetPath. I didn't pressed an ok-button or something like that. While typing it in the crash causes. I am using wx2.9 debug on Win7 Prof 32bi...
by MoonKid
Thu Nov 05, 2009 3:32 pm
Forum: C++ Development
Topic: [BUG?] wxDirPicker crash
Replies: 1
Views: 457

[BUG?] wxDirPicker crash

Can someone reproduce a crash if you enter "C::" into a wxDirPicker ? Typing the thierd character cause directly in a crash because of something in wxFileName::SetPath. I didn't pressed an ok-button or something like that. While typing it in the crash causes. I am using wx2.9 debug on Win7 Prof 32bi...
by MoonKid
Thu Nov 05, 2009 3:32 pm
Forum: C++ Development
Topic: [BUG?] wxDirPicker crash
Replies: 1
Views: 354

[BUG?] wxDirPicker crash

Can someone reproduce a crash if you enter "C::" into a wxDirPicker ? Typing the thierd character cause directly in a crash because of something in wxFileName::SetPath. I didn't pressed an ok-button or something like that. While typing it in the crash causes. I am using wx2.9 debug on Win7 Prof 32bi...
by MoonKid
Thu Nov 05, 2009 2:35 pm
Forum: C++ Development
Topic: valid path
Replies: 2
Views: 455

jfouche wrote:Have a look to wxFileName::IsOK andwxFileName::IsDir.
Sorry, but this methodes sucks!

They are not able to catch any of my examples. But they catch a correct path.
"D:" is not a valid path for that methodes.

I think I need to write my own one.
by MoonKid
Wed Nov 04, 2009 11:54 am
Forum: C++ Development
Topic: valid path
Replies: 2
Views: 455

valid path

I have a filesystem path stored in a wxString. Is it possible to check if it is a valid path no matter if the path realy exists or not?

I want to catch things like that
"D"
"D::"
"D\:"
"D:\folder\\folder"