wxArt2D
List of all members
a2dMemoryCriticalSectionHelper Class Reference

#include <gen.h>

Detailed Description

This object helps fixing initialization order of static objects and the wxWidgets

internal memory critical sections. If you have static object that owns dynamic memory, but doesn't create it in its constructor, just create such an object in the objects constructor of before the definition of the static object to fix crashes in memory.cpp.

This could also be a function as it doesn't have data, but you might want to use it as static object, so it is a class.

Definition at line 4031 of file gen.h.


The documentation for this class was generated from the following file:
a2dMemoryCriticalSectionHelper Class Reference -- Sun Oct 12 2014 17:04:43 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation