just to be safe, you should check for mWnd != NULL.  eg. someone else uses this class or maybe if new code sneaks in that calls the hidden constructor from within this class.