U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Untrivial EditString bug(?) in FreeBSD(and may be all POSIX)
Re: Untrivial EditString bug(?) in FreeBSD(and may be all POSIX) [message #20755 is a reply to message #20754] Sat, 04 April 2009 20:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Sat, 04 April 2009 13:21

I`ve made trivial testcase:
#include <CtrlLib/CtrlLib.h>
using namespace Upp;

class TestWindow : public TopWindow
{
};

EditString es; //if you comment it, everything is OK

GUI_APP_MAIN
{
	TestWindow().Run();
}



Because es is global.

For some untrivial subtle reasons, it is not possible to have widgets as global variables (they get initialized too soon).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using DMC
Next Topic: Cross Compile HowTo?
Goto Forum:
  


Current Time: Fri Sep 25 02:53:54 GMT+2 2026

Total time taken to generate the page: 0.00849 seconds