예제 #1
0
파일: Image.cs 프로젝트: wshcdr/wxnet
        //---------------------------------------------------------------------

        public static void InsertHandler(ImageHandler handler)
        {
            wxImage_InsertHandler(Object.SafePtr(handler));
        }
예제 #2
0
파일: Image.cs 프로젝트: wshcdr/wxnet
        //---------------------------------------------------------------------

        /*
         * // doesn't work. wxImageHandler is an abstract class...
         * public static ArrayList Handlers
         * {
         * get {
         *    wxList wl = new wxList(wxImage_GetHandlers());
         *    ArrayList al = new ArrayList();
         *
         *    for (int i = 0; i < wl.Count; i++)
         *          al.Add(new ImageHandler(wl.Item(i)));
         *
         *    return wl;
         * }
         * }
         */

        //---------------------------------------------------------------------

        public static void AddHandler(ImageHandler handler)
        {
            wxImage_AddHandler(Object.SafePtr(handler));
        }