changes to makefiles / build system

Kai-Uwe Behrmann ku.b at gmx.de
Thu Jun 5 12:00:44 BST 2003


Am 05.06.03, 10:14 +0200 schrieb Pablo d'Angelo:

> In my last commit I have already set our wxConfig object as the global
> one, with wxConfig:set().
> It can be accessed from everywhere, using the static wxConfig::Get()
> So the thing you wanted was already there. And it

I will look at it. The global thing is allready in cvs I undo it as soon
the wxConfig::Get().. is done for my dialogs.

> When global objects are needed, they should be created using the
> singleton design pattern that enforces only one global instance of
> an class. usually such an object creates itself when it is first
> asked for the instance with a static getInstance() function.
>
> The GlobalCmdHistory is another singleton in the hugin, code.

In the docu or the samples I hope something more to find to understand
this better.

Kai-Uwe



More information about the ptX mailing list