      *  This is the actual object created from the _titleIcon class
      */
     mx_internal var titleIconObject:Object;
-
+    
     //--------------------------------------------------------------------------
     //
     //  Skin Parts

                                            button_mouseDownHandler);
            maximizeButton.removeEventListener(MouseEvent.CLICK,
                                            maximizeButton_clickHandler);
            DisplayObject(window).removeEventListener(
                NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE,
                window_displayStateChangeHandler);
        }
        
    }

        }
    }
    
    /** 
     *  @private
     */
    private function partRemovedHandler(event:SkinPartEvent):void
    {
        if (event.instance == this)
        {
            var targetWindow:DisplayObject = DisplayObject(window);
            targetWindow.removeEventListener(
                NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGE,
                window_displayStateChangeHandler);
            targetWindow.removeEventListener(SkinPartEvent.PART_REMOVED, partRemovedHandler);
        }
    }
    
}

}
