void WFini( void ) { HINSTANCE inst; inst = WGetEditInstance(); WFiniStatusLines(); WOptsShutdown(); WShutdownRibbons(); WShutdownToolBars(); WFiniEditWindows(); WCtl3DFini( inst ); UnregisterClass( WMainClass, inst ); WUnRegisterPrevClass( inst ); if( InsertBefore != (HBITMAP)NULL ) { DeleteObject( InsertBefore ); InsertBefore = (HBITMAP)NULL; } if( InsertAfter != (HBITMAP)NULL ) { DeleteObject( InsertAfter ); InsertAfter = (HBITMAP)NULL; } if( InsertSub != (HBITMAP)NULL ) { DeleteObject( InsertSub ); InsertSub = (HBITMAP)NULL; } if( InsertNoSub != (HBITMAP)NULL ) { DeleteObject( InsertNoSub ); InsertNoSub = (HBITMAP)NULL; } JDialogFini(); }
void WFini( void ) { HINSTANCE inst; inst = WGetEditInstance(); WFiniStatusLines(); WOptsShutdown(); WShutdownRibbons(); WShutdownToolBars(); WFiniEditWindows(); WCtl3DFini( inst ); UnregisterClass( WMainClass, inst ); JDialogFini(); }