eh....
how to install
I cover the whole folder
then cant open....
C::B will not start up if you have no default.conf.I can't confirm this; this 28 March 2006 build starts up fine for me without a default.conf.
Ok patch was rejected. BUT I removed it from that header and it works perfectly. If that flag was in the header C::B use 99% CPU if I have no default.conf....I originally removed that flag from the header, but left it there when updating to Ceniza's newest release of the splash screen class. It is a default parameter, so it was trivial to specify the correct parameter in app.cpp. This way, we do not have a patched 3rd party component (which would cause problems every time we update it, again). We need not and we should not patch that header.
So why does removing the flag make the 99% CPU bug go away then? :? I'm not trying to be argumentative just wondering...... Umm so what is my problem? Why can I not start C::B without default.conf?
EDIT:
This build works fine without default.conf.... Unfortunately my version compiled from SVN doesn't. :P
I can confirm the 99% cpu bug is still present. I deleted my
*.conf, started CB. After choosing gcc at the compiler dlg, CB
went into a 99% cpu loop displaying the splash.
Well, look at app.cpp, line 575. Whatever is in that header, the default value is not used. Changing the default value in the header does not fix anything.
Yiannis was working on the startup problems yesterday afternoon, I thought he had fixed everything. Maybe there's more than one thing. Whatever it is, it is not the wxSTAY_ON_TOP flag, however. :)
Index: src/src/splashscreen.cpp
===================================================================
--- src/src/splashscreen.cpp (revision 2290)
+++ src/src/splashscreen.cpp (working copy)
@@ -22,12 +22,16 @@
void cbSplashScreen::OnPaint(wxPaintEvent &)
{
+ // an obscure statement in the wxWidgets book says to
+ // allocate the DC even if you don't paint to avoid
+ // a paint loop. //pecan 2006/04/3
+ wxPaintDC paint_dc(this); //pecan 2006/04/3
if (m_painted)
{
return;
}
- wxPaintDC paint_dc(this);
+ //-wxPaintDC paint_dc(this);
DoPaint(paint_dc);
m_painted = true; // paint once
}