Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13975
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: Sat May 04 00:15:39 CEST 2024

Total time taken to generate the page: 0.03061 seconds